.dns-checker-container {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.dns-checker-container .form-group {
    margin-bottom: 15px;
}

.dns-checker-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.dns-checker-container input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dns-checker-container button {
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.dns-checker-container button:hover {
    background-color: #005177;
}

.dns-checker-container .button-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 14px;
}

.dns-checker-container .button-secondary:hover {
    background-color: #e0e0e0;
}

.dns-checker-container .button-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#selectors-found {
    margin-top: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#selectors-found ul {
    margin: 10px 0 0 0;
}

#selectors-found .selector-btn:hover {
    background-color: #005177 !important;
}

#dns-checker-results {
    margin-top: 20px;
}

.result-item {
    margin-bottom: 15px;
    padding: 10px;
    border-left: 4px solid #ccc;
    background: #fff;
}

.result-item.found {
    border-left-color: #46b450;
}

.result-item.missing {
    border-left-color: #dc3232;
}

.result-item.skipped {
    border-left-color: #ffb900;
}

.result-item.error {
    border-left-color: #dc3232;
}

.result-item pre {
    background: #eee;
    padding: 5px;
    margin-top: 5px;
    overflow-x: auto;
}

/*.error {
    color: #dc3232;
}*/

/* Results header */
.results-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

.results-header h2 {
    margin: 0;
    color: #333;
}

/* Overall score section */
.overall-score-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.score-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

#speedometer {
    flex-shrink: 0;
    margin-top: -20px;
}

.score-info {
    flex: 1;
}

.score-info h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.risk-level {
    margin: 10px 0 0 0!important;
    font-size: 16px;
    color: #666;
}

.risk-level strong {
    font-size: 18px;
    color: #333;
}

/* Individual scores */
.individual-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.score-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
}

.score-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.score-value {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

.selector-info {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* Detailed results */
.detailed-results {
    margin-top: 30px;
}

.detailed-results h3 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.result-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-section h4 {
    margin: 0 0 15px 0;
    color: #0073aa;
    font-size: 18px;
}

.record-display {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid #0073aa;
}

.record-display pre {
    margin: 0;
    font-size: 12px;
    word-break: break-all;
    white-space: pre-wrap;
}

/* Checks table */
.checks-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.checks-table thead {
    background: #f9f9f9;
}

.checks-table th {
    padding: 12px;
    text-align: left;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.checks-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.checks-table tbody tr:hover {
    background: #f9f9f9;
}

.check-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.check-status.pass {
    background: #46b450;
    color: white;
}

.check-status.fail {
    background: #dc3232;
    color: white;
}

/* Status message */
.status-message {
    padding: 20px;
   border-radius: 8px;
    margin: 20px 0;
    font-size: 1.4em;
    line-height: 1.6;
    text-align: center;
}

/*.status-message.success {
    background: #d4edda;
    border-left: 4px solid #46b450;
    color: #155724;
}

.status-message.warning {
    background: #fff3cd;
    border-left: 4px solid #ffb900;
    color: #856404;
}

.status-message.error {
    background: #f8d7da;
    border-left: 4px solid #dc3232;
    color: #721c24;
}*/

.status-message p {
    margin: 0;
}

.status-message .status-line1 {
    margin-bottom: 8px;
    font-weight: 500;
}

.status-message .status-line2 {
    margin-top: 8px;
    margin-bottom: 0;
}

.status-message .status-action {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.status-message .status-action a {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background 0.3s;
}

.status-message .status-action a:hover {
    background: #005177;
}

/* Admin recommendations */
.admin-recommendations {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px solid #0073aa;
}

.admin-recommendations h3 {
    margin: 0 0 20px 0;
    color: #0073aa;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.recommendation-section {
    margin-bottom: 30px;
}

.recommendation-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.recommendation-item {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #ccc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.recommendation-item.priority-high {
    border-left-color: #dc3232;
}

.recommendation-item.priority-medium {
    border-left-color: #ffb900;
}

.recommendation-item.priority-low {
    border-left-color: #0073aa;
}

.recommendation-header {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.points-badge {
    display: inline-block;
    background: #46b450;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}

.recommendation-description {
    margin: 10px 0;
    color: #666;
    line-height: 1.6;
}

.recommendation-action {
    margin-top: 15px;
    padding: 12px;
    background: #f0f0f0;
    border-radius: 4px;
    border-left: 3px solid #0073aa;
    color: #333;
    line-height: 1.6;
}

.recommendation-action strong {
    color: #0073aa;
}

/* Responsive */
@media (max-width: 768px) {
    .score-container {
        flex-direction: column;
        text-align: center;
    }
    
    .individual-scores {
        grid-template-columns: 1fr;
    }
    
    .checks-table {
        font-size: 14px;
    }
    
    .checks-table th,
    .checks-table td {
        padding: 8px;
    }
    
    .admin-recommendations {
        padding: 15px;
    }
    
    .recommendation-item {
        padding: 15px;
    }
}
