/* ============================================
   EI Auto Translate – Indian Languages Pro
   v3.0.0  –  FIXED: Button contrast issues
   ============================================ */

/* ── BANNER (Dark) ──────────────────────────── */
.eiat-banner {
    padding: 18px 22px;
    margin: 0 0 22px;
    border-radius: 14px;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.eiat-banner-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.eiat-banner-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.eiat-banner-title {
    font-size: 16px;
    line-height: 1.5;
    color: #f1f5f9;
}

.eiat-banner-title strong {
    color: #7dd3fc;
    font-size: 17px;
}

.eiat-banner-sub {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

/* ── Countdown Bar ──────────────────────────── */
.eiat-countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.eiat-countdown-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.eiat-countdown-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #a78bfa);
    border-radius: 4px;
}

.eiat-countdown-text {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ── Banner Buttons ─────────────────────────── */
.eiat-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ★ TRANSLATE BUTTON – White text on solid gradient (FIXED CONTRAST) */
.eiat-btn-go,
.eiat-btn-go:visited,
.eiat-btn-go:link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    color: #ffffff !important;                          /* ★ WHITE text */
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;  /* ★ Solid blue-purple */
    border: none;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    letter-spacing: 0.01em;
}

.eiat-btn-go:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #1d4ed8, #6d28d9) !important;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.55);
    transform: translateY(-1px);
}

.eiat-btn-go:active {
    transform: translateY(0);
}

/* ★ STAY BUTTON – Clearly visible muted style */
.eiat-btn-stay,
.eiat-btn-stay:visited,
.eiat-btn-stay:link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    color: #cbd5e1 !important;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    cursor: pointer;
    transition: all 0.22s ease;
}

.eiat-btn-stay:hover {
    color: #f1f5f9 !important;
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.4);
}


/* ── BANNER (Light) ─────────────────────────── */
.eiat-banner-light {
    color: #1e293b;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.eiat-banner-light .eiat-banner-title { color: #1e293b; }
.eiat-banner-light .eiat-banner-title strong { color: #2563eb; }
.eiat-banner-light .eiat-banner-sub { color: #64748b; }
.eiat-banner-light .eiat-countdown-bar { background: rgba(0,0,0,0.06); }
.eiat-banner-light .eiat-countdown-text { color: #64748b; }

.eiat-banner-light .eiat-btn-go,
.eiat-banner-light .eiat-btn-go:visited {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.eiat-banner-light .eiat-btn-stay,
.eiat-banner-light .eiat-btn-stay:visited {
    color: #64748b !important;
    background: transparent;
    border-color: rgba(100, 116, 139, 0.25);
}
.eiat-banner-light .eiat-btn-stay:hover {
    color: #1e293b !important;
    background: rgba(100, 116, 139, 0.08);
}


/* ── MANUAL PILL (Dark) ─────────────────────── */
.eiat-pill {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px 16px;
    margin: 16px 0;
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.88));
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.eiat-pill-label {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #eaf6ff !important;
    white-space: nowrap;
}

.eiat-pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ★ PILL BUTTONS – High contrast: white text on translucent bg */
.eiat-pill-links a,
.eiat-pill-links a:visited,
.eiat-pill-links a:link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    color: #e0f2fe !important;                       /* ★ Very light blue — readable */
    background: rgba(37, 99, 235, 0.2);              /* ★ Tinted blue bg */
    border: 1px solid rgba(125, 211, 252, 0.25);
    transition: all 0.22s ease;
    cursor: pointer;
}

.eiat-pill-links a:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(124, 58, 237, 0.4));
    border-color: rgba(125, 211, 252, 0.5);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.eiat-pill-links a:active {
    transform: translateY(0);
}

/* ── PILL (Light) ───────────────────────────── */
.eiat-pill.eiat-light {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.eiat-light .eiat-pill-label {
    color: #0f172a !important;
}

.eiat-light .eiat-pill-links a,
.eiat-light .eiat-pill-links a:visited {
    color: #1e40af !important;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.eiat-light .eiat-pill-links a:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}


/* ── MOBILE ─────────────────────────────────── */
@media (max-width: 767px) {
    .eiat-banner {
        padding: 16px;
        border-radius: 12px;
    }
    .eiat-banner-top {
        gap: 10px;
    }
    .eiat-banner-icon {
        font-size: 24px;
    }
    .eiat-banner-title {
        font-size: 15px;
    }
    .eiat-banner-actions {
        flex-direction: column;
    }
    .eiat-btn-go,
    .eiat-btn-stay {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .eiat-pill {
        border-radius: 20px;
        padding: 12px 14px;
    }
    .eiat-pill-links a {
        font-size: 13px;
        padding: 7px 10px;
    }
}

@media (max-width: 400px) {
    .eiat-pill-links a {
        font-size: 12px;
        padding: 6px 8px;
    }
}
