/* Login accent: teal (matches WA MS theme), not WhatsApp green */
.wa-login-body {
    --wa-accent: #2dd4bf;
    --wa-accent-deep: #0d9488;
    --wa-accent-mid: #14b8a6;
    --wa-accent-bright: #5eead4;
    --wa-accent-glow: rgba(45, 212, 191, 0.22);
    --wa-lime: #2dd4bf;
    --wa-lime-deep: #0d9488;
    --wa-lime-glow: rgba(45, 212, 191, 0.22);
}
.wa-enterprise__bg {
    background:
        radial-gradient(ellipse 90% 70% at 12% 18%, rgba(45, 212, 191, 0.14), transparent 58%),
        radial-gradient(ellipse 70% 55% at 88% 82%, rgba(13, 148, 136, 0.1), transparent 52%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 0, 0, 0.45), transparent 70%),
        linear-gradient(165deg, #050a0d 0%, #0b141a 42%, #101c24 100%) !important;
}
.wa-enterprise__orb--a { background: rgba(45, 212, 191, 0.18) !important; }
.wa-enterprise__orb--b { background: rgba(13, 148, 136, 0.16) !important; }
.wa-enterprise__scan {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(45, 212, 191, 0.045) 50%,
        transparent 100%
    ) !important;
}
.wa-enterprise__kicker,
.wa-enterprise__auth-eyebrow { color: rgba(45, 212, 191, 0.9) !important; }
.wa-enterprise__wa-icon {
    color: #2dd4bf !important;
    filter: drop-shadow(0 0 14px rgba(45, 212, 191, 0.45)) !important;
    display: inline-block;
    animation: waChGlyph 3.4s ease-in-out infinite;
}
.wa-enterprise__channels li:hover { border-color: rgba(45, 212, 191, 0.42) !important; }
.wa-enterprise__ch-icon {
    background: rgba(45, 212, 191, 0.12) !important;
    border-color: rgba(45, 212, 191, 0.3) !important;
    color: #2dd4bf !important;
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.12) !important;
    animation: waChIconGlow 3.2s ease-in-out infinite;
}
.wa-enterprise__ch-icon > i {
    display: inline-block;
    transform-origin: center;
    animation: waChGlyph 2.8s ease-in-out infinite;
}
.wa-enterprise__ch-icon--hl {
    background: rgba(45, 212, 191, 0.1) !important;
    border-color: rgba(45, 212, 191, 0.28) !important;
    color: #2dd4bf !important;
    animation-delay: 0.85s;
}
.wa-enterprise__ch-icon--hl i {
    color: #2dd4bf !important;
}
.wa-enterprise__ch-icon--hl > .fa-phone {
    animation-delay: 0.85s;
}
.wa-enterprise__ch-icon--hl > .fa-comment-dots {
    animation: waChBubble 2.6s ease-in-out infinite 0.85s;
}
.wa-enterprise__ch-icon--th {
    background: rgba(45, 212, 191, 0.1) !important;
    border-color: rgba(45, 212, 191, 0.28) !important;
    color: #2dd4bf !important;
    animation-delay: 1.7s;
}
.wa-enterprise__ch-icon--th > i {
    animation-delay: 1.7s;
}
@keyframes waChIconGlow {
    0%, 100% {
        box-shadow: 0 0 14px rgba(45, 212, 191, 0.12), 0 0 0 0 rgba(45, 212, 191, 0);
        border-color: rgba(45, 212, 191, 0.3);
    }
    50% {
        box-shadow: 0 0 22px rgba(45, 212, 191, 0.3), 0 0 0 5px rgba(45, 212, 191, 0.08);
        border-color: rgba(45, 212, 191, 0.52);
    }
}
@keyframes waChGlyph {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 3px rgba(45, 212, 191, 0.2));
    }
    50% {
        transform: translateY(-1.5px) scale(1.05);
        filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.5));
    }
}
@keyframes waChBubble {
    0%, 100% { transform: scale(1); opacity: 0.88; }
    50% { transform: scale(1.14); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .wa-enterprise__ch-icon,
    .wa-enterprise__ch-icon > i,
    .wa-enterprise__ch-icon--hl > .fa-comment-dots,
    .wa-enterprise__wa-icon {
        animation: none !important;
    }
}
.wa-enterprise__live {
    background: linear-gradient(90deg, #2dd4bf, #5eead4) !important;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.35) !important;
}
.wa-enterprise__auth-card {
    box-shadow:
        0 0 0 1px rgba(45, 212, 191, 0.07),
        0 24px 64px rgba(0, 0, 0, 0.45) !important;
}
.wa-enterprise__auth-card::before {
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.55), transparent) !important;
}
.wa-alert--ok { border-color: rgba(45, 212, 191, 0.4) !important; }

/* Premium 3D outward-curved CTA — solid brand teal (#358585 = logo / light sidebar selected) */
.wa-btn-portal {
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
    color: #041016 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    background-color: #358585 !important;
    background-image:
        radial-gradient(140% 120% at 50% -20%, rgba(255, 255, 255, 0.28) 0%, transparent 48%),
        radial-gradient(120% 90% at 50% 120%, rgba(20, 60, 60, 0.28) 0%, transparent 55%) !important;
    background-size: auto !important;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.35),
        0 6px 14px rgba(44, 111, 111, 0.35),
        0 0 0 1px rgba(44, 111, 111, 0.55),
        0 0 28px rgba(53, 133, 133, 0.28),
        inset 0 2px 1px rgba(255, 255, 255, 0.45),
        inset 0 8px 16px rgba(255, 255, 255, 0.12),
        inset 0 -3px 6px rgba(20, 60, 60, 0.35),
        inset 0 -1px 0 rgba(20, 50, 50, 0.45) !important;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}
.wa-btn-portal::before {
    background: linear-gradient(
        105deg,
        transparent 28%,
        rgba(255, 255, 255, 0.28) 48%,
        transparent 68%
    ) !important;
}
.wa-btn-portal:hover {
    filter: brightness(1.06) !important;
    transform: translateY(-3px) !important;
    background-color: #358585 !important;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.38),
        0 10px 20px rgba(44, 111, 111, 0.4),
        0 0 0 1px rgba(44, 111, 111, 0.6),
        0 0 36px rgba(53, 133, 133, 0.34),
        inset 0 2px 1px rgba(255, 255, 255, 0.5),
        inset 0 10px 18px rgba(255, 255, 255, 0.14),
        inset 0 -3px 6px rgba(20, 60, 60, 0.32),
        inset 0 -1px 0 rgba(20, 50, 50, 0.4) !important;
}
.wa-btn-portal:active {
    filter: brightness(0.96) !important;
    transform: translateY(1px) !important;
    background-color: #2c6f6f !important;
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.28),
        0 2px 6px rgba(44, 111, 111, 0.28),
        0 0 0 1px rgba(44, 111, 111, 0.55),
        inset 0 3px 8px rgba(20, 60, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
}
.wa-btn-portal:disabled {
    transform: translateY(0) !important;
    filter: brightness(0.95) !important;
    opacity: 0.9 !important;
}
.wa-enterprise__trust i { color: rgba(45, 212, 191, 0.85) !important; }

/* Premium 3D inward-curved (recessed) fields */
.wa-field--icon {
    --wa-field-radius: 1.15rem;
}
.wa-field input[type="text"],
.wa-field input[type="password"] {
    border-radius: var(--wa-field-radius, 1.15rem) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    background:
        radial-gradient(130% 90% at 50% -10%, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
        radial-gradient(90% 120% at 50% 120%, rgba(0, 0, 0, 0.35) 0%, transparent 55%),
        linear-gradient(185deg, rgba(3, 9, 13, 0.98) 0%, rgba(9, 18, 24, 0.88) 48%, rgba(6, 14, 19, 0.94) 100%) !important;
    box-shadow:
        /* raised lip around the well */
        0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 0 1px rgba(0, 0, 0, 0.35),
        /* deep inward carve */
        inset 0 4px 10px rgba(0, 0, 0, 0.55),
        inset 0 1px 2px rgba(0, 0, 0, 0.85),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05),
        inset 0 -8px 18px rgba(0, 0, 0, 0.18) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}
.wa-field input[type="text"]:hover,
.wa-field input[type="password"]:hover {
    border-color: rgba(45, 212, 191, 0.22) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.32),
        inset 0 4px 11px rgba(0, 0, 0, 0.58),
        inset 0 1px 2px rgba(0, 0, 0, 0.88),
        inset 0 -1px 1px rgba(255, 255, 255, 0.06),
        inset 0 -8px 18px rgba(0, 0, 0, 0.2) !important;
}
.wa-field input[type="text"]:focus,
.wa-field input[type="password"]:focus,
.wa-field input[type="text"]:focus-visible,
.wa-field input[type="password"]:focus-visible {
    outline: none !important;
    border-color: rgba(45, 212, 191, 0.5) !important;
    background:
        radial-gradient(130% 90% at 50% -10%, rgba(45, 212, 191, 0.08) 0%, transparent 42%),
        radial-gradient(90% 120% at 50% 120%, rgba(0, 0, 0, 0.28) 0%, transparent 55%),
        linear-gradient(185deg, rgba(4, 12, 16, 0.98) 0%, rgba(8, 20, 24, 0.92) 48%, rgba(5, 14, 18, 0.96) 100%) !important;
    box-shadow:
        0 0 0 3px rgba(45, 212, 191, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(45, 212, 191, 0.28),
        inset 0 5px 12px rgba(0, 0, 0, 0.62),
        inset 0 1px 2px rgba(0, 0, 0, 0.9),
        inset 0 -1px 1px rgba(94, 234, 212, 0.06),
        inset 0 0 0 1px rgba(45, 212, 191, 0.08) !important;
}
.wa-field__reveal {
    border-radius: 0.7rem !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    color: rgba(200, 214, 226, 0.72) !important;
}
.wa-field__reveal i,
.wa-field__reveal svg {
    filter: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    color: inherit !important;
}
.wa-field__reveal:hover {
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
}

.wa-field input:-webkit-autofill,
.wa-field input:-webkit-autofill:hover,
.wa-field input:-webkit-autofill:focus,
.wa-field input:-webkit-autofill:active {
    -webkit-text-fill-color: #e9edef !important;
    caret-color: #e9edef;
    border-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow:
        0 0 0 1000px rgba(7, 16, 21, 0.96) inset,
        0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 4px 10px rgba(0, 0, 0, 0.45),
        inset 0 1px 2px rgba(0, 0, 0, 0.7) !important;
    transition: background-color 99999s ease-out;
}
.wa-field input:-webkit-autofill:focus {
    border-color: rgba(45, 212, 191, 0.5) !important;
    box-shadow:
        0 0 0 1000px rgba(7, 16, 21, 0.96) inset,
        0 0 0 3px rgba(45, 212, 191, 0.18),
        inset 0 5px 12px rgba(0, 0, 0, 0.55),
        inset 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}
