/* Main container */
#ashfaq-scanner {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    font-family: "poppins", Roboto, Helvetica, Arial, sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    #ashfaq-scanner {
        max-width: 98%;
        padding: 20px;
    }
    .ashfaq-summary{
        font-size: 17px;
    }
}

/* Form layout */
#ashfaq-scan-form {
    display: flex;
    gap: 12px;
    align-items: stretch; /* Make inputs & button equal height */
    flex-wrap: wrap;
}

/* Inputs & button stylish & responsive */
#ashfaq-scan-form input,
#ashfaq-scan-form button {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    font-size: 17px;
    border-radius: 0px;
    height: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center; /* Vertical text centering */
}

/* Input styling */
#ashfaq-scan-form input {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#ashfaq-scan-form input:focus {
    border-color: #0078d7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,120,215,0.2);
}

/* Button styling */
#ashfaq-scan-form button {
    background: linear-gradient(135deg, hsl(122, 62%, 24%), #207e53);
    color: #fff;
    font-weight: 600;
    border: none;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#ashfaq-scan-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(1,140,64,0.25);
}

/* Mobile: stack fields */
@media (max-width: 768px) {
    #ashfaq-scan-form {
        flex-direction: column;
    }

    #ashfaq-scan-form input,
    #ashfaq-scan-form button {
        width: 100%;
        min-width: 100%;
    }
}

/* Loading */
#ashfaq-loading {
    text-align: center;
    font-size: 17px;
    color: #0078d7;
    margin-top: 20px;
}

/* Results */
#ashfaq-results {
    margin-top: 30px;
}

#ashfaq-results h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

#ashfaq-results h4 {
    margin-top: 20px;
    font-size: 18px;
    color: #444;
}

#ashfaq-results ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Meters */
.ashfaq-meters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.meter {
    flex: 1;
    padding: 15px;
    border-radius: 0px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.meter.seo { background: #0078d7; }
.meter.aeo { background: #6a1b9a; }
.meter.geo { background: #2e7d32; }
.meter.overall { background: #e65100; }

/* CTA */
.cta {
    margin-top: 25px;
    text-align: center;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e63946, #d62828);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #d62828, #b71c1c);
    transform: translateY(-2px);
}

/* Error message */
.error {
    color: #e63946;
    font-weight: 600;
    margin-top: 15px;
}

/* Success banner for congratulatory message */
.ashfaq-congrats {
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
    font-weight: 600;
    border-radius: 0px;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease-in-out;
}

/* Warning banner for losing traffic message */
.ashfaq-issues .cta {
    margin-top: 20px;
    padding: 15px;
    background: #c62828;
    color: #fff;
    font-weight: 500;
    border-radius: 0px;
    text-align: center;
    font-size: 16px;
}

/* Optional fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ashfaq-issues li{
    color: #333;
}
