/**
 * edge-aeo-grader.css
 * Simple, gradient card styling for EDGE AEO Grader v3.0.
 */

.edge-aeo-wrapper {
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #181f4e, #6b3fc9);
    border-radius: 16px;
    color: #f9f9ff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.edge-aeo-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

.edge-aeo-form {
    background: rgba(12, 12, 40, 0.7);
    border-radius: 14px;
    padding: 1.5rem;
}

.edge-aeo-field {
    margin-bottom: 1rem;
}

.edge-aeo-field label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.edge-aeo-field input[type="text"],
.edge-aeo-field input[type="email"],
.edge-aeo-field textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #f9f9ff;
    font-size: 0.95rem;
}

.edge-aeo-field textarea {
    resize: vertical;
    min-height: 64px;
}

.edge-aeo-field input::placeholder,
.edge-aeo-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.edge-aeo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.8rem;
}

@media (max-width: 640px) {
    .edge-aeo-grid {
        grid-template-columns: 1fr;
    }
}

.edge-aeo-checks label {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.edge-aeo-checks input[type="checkbox"] {
    margin-right: 0.3rem;
}

.edge-aeo-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.edge-aeo-submit,
.edge-aeo-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
}

.edge-aeo-submit {
    width: 100%;
    background: #1bc1ff;
    color: #061326;
    transition: background 0.15s ease, transform 0.15s ease;
}

.edge-aeo-submit:hover {
    background: #11a4da;
    transform: translateY(-1px);
}

.edge-aeo-secondary {
    margin-top: 1rem;
    background: transparent;
    color: #f9f9ff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.edge-aeo-status {
    margin-top: 0.7rem;
    font-size: 0.9rem;
}

.edge-aeo-error {
    color: #ffb3c1;
}

.edge-aeo-success {
    color: #bdfcc2;
}

.edge-aeo-result-card {
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #292f70, #7b47da);
    color: #f9f9ff;
}

.edge-aeo-score-heading {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.edge-aeo-summary {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.edge-aeo-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 0.6rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .edge-aeo-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.edge-aeo-metric {
    padding: 0.6rem 0.5rem;
    border-radius: 12px;
    background: rgba(10, 10, 30, 0.45);
    text-align: center;
}

.edge-aeo-metric-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.2rem;
}

.edge-aeo-metric-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.edge-aeo-citations {
    margin-bottom: 0.8rem;
}

.edge-aeo-citation-item {
    padding: 0.45rem 0.4rem;
    border-radius: 8px;
    background: rgba(5, 5, 20, 0.5);
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.edge-aeo-citation-title {
    font-weight: 500;
}

.edge-aeo-citation-meta span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 0.5rem;
}

.edge-aeo-message {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}
