/**
 * AI-Ready WP — Admin Styles
 */

.airewp-wrap {
    max-width: 900px;
}

/* Score Banner */
.airewp-score-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #2271b1;
    padding: 24px;
    margin: 20px 0;
    border-radius: 4px;
}

.airewp-score-circle {
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-width: 100px;
}

.airewp-score-number {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.airewp-score-circle[data-score="10"] .airewp-score-number,
.airewp-score-circle[data-score="9"] .airewp-score-number {
    color: #00a32a;
}

.airewp-score-circle[data-score="8"] .airewp-score-number,
.airewp-score-circle[data-score="7"] .airewp-score-number {
    color: #72aee6;
}

.airewp-score-circle[data-score="6"] .airewp-score-number,
.airewp-score-circle[data-score="5"] .airewp-score-number {
    color: #dba617;
}

.airewp-score-circle[data-score="4"] .airewp-score-number,
.airewp-score-circle[data-score="3"] .airewp-score-number,
.airewp-score-circle[data-score="2"] .airewp-score-number,
.airewp-score-circle[data-score="1"] .airewp-score-number,
.airewp-score-circle[data-score="0"] .airewp-score-number {
    color: #d63638;
}

.airewp-score-label {
    font-size: 20px;
    color: #787c82;
    font-weight: 400;
}

.airewp-score-text h2 {
    margin: 0 0 4px;
    font-size: 18px;
}

.airewp-score-text p {
    margin: 0;
    color: #50575e;
}

/* Status Section */
.airewp-status-section {
    margin-top: 30px;
}

.airewp-status-section h2 {
    margin-bottom: 12px;
}

/* Status Badges */
.airewp-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.airewp-status-ok {
    background: #edfaef;
    color: #00a32a;
}

.airewp-status-missing {
    background: #fcf0f1;
    color: #d63638;
}

.airewp-status-disabled {
    background: #f0f0f1;
    color: #787c82;
}

/* Footer */
.airewp-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #c3c4c7;
    color: #787c82;
    font-size: 13px;
}

.airewp-footer a {
    text-decoration: none;
}

/* Settings Sections */
.airewp-wrap .form-table th {
    width: 200px;
}

.airewp-wrap textarea.large-text {
    width: 100%;
    max-width: 500px;
}

/* Crawler Stats */
.airewp-shield-stats {
    margin-top: 8px;
}

.airewp-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.airewp-stat-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
}

.airewp-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
}

.airewp-stat-label {
    display: block;
    font-size: 12px;
    color: #787c82;
    margin-top: 4px;
}

/* Pro Info Box */
.airewp-pro-info {
    margin-top: 20px;
}

.airewp-pro-info h3 {
    margin-top: 0;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .airewp-score-banner {
        flex-direction: column;
        text-align: center;
    }

    .airewp-wrap .form-table th {
        width: auto;
    }

    .airewp-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
