/*
 * ═══════════════════════════════════════════════════════════════
 *  TEIXEIRA TRADER — Custom Gold Theme for MiroTalk SFU
 *  Overrides default blue/gray palette with dark + gold scheme
 * ═══════════════════════════════════════════════════════════════
 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* ─── CSS Variable Overrides ─── */
:root {
    --body-bg: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.04), #06050a 60%);
    --msger-bg: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.03), #06050a 60%);
    --wb-bg: #06050a;
    --settings-bg: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.03), #06050a 60%);
    --trx-bg: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.03), #06050a 60%);
    --select-bg: #110f0a;
    --left-msg-bg: #1a1710;
    --right-msg-bg: #2a2210;
    --private-msg-bg: #3a1a10;
    --btns-bg-color: rgba(6, 5, 10, 0.85);
    --tab-btn-active: rgba(212, 175, 55, 0.12);
    --border: 1px solid rgba(212, 175, 55, 0.18);
    --border-radius: 14px;
    --box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.08);
    --videoBar-active: 1px solid rgba(212, 175, 55, 0.4);
    --dd-color: #F2E08A;

    /* Gold palette */
    --gold-ink: #17140B;
    --gold-deep: #6B5628;
    --gold-main: #D4AF37;
    --gold-soft: #F2E08A;
    --gold-hi: #FFF1C2;
}

*:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.fa-light):not(.fa-duotone):not([class*="fa-"]) {
    font-family: 'Manrope', 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Protect Font Awesome icons — always use their own font */
.fa, .fas, .far, .fab, .fal, .fad,
.fa-solid, .fa-regular, .fa-brands, .fa-light, .fa-duotone,
i[class*="fa-"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'FontAwesome' !important;
}
.fab, .fa-brands {
    font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands', 'FontAwesome' !important;
}

/* ─── Body & Background ─── */
body {
    background: #06050a !important;
    color: hsl(44, 20%, 95%) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient gold glow */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 10%, rgba(212, 175, 55, 0.06), transparent),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(181, 137, 42, 0.04), transparent);
}

/* Subtle noise */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
    border-radius: 99px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.2));
}

/* ─── Selection ─── */
::selection {
    background: rgba(212, 175, 55, 0.35);
    color: #fff;
}

/* ═══════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════ */

/* Landing body bg */
.body-wrap {
    background: #06050a !important;
}

/* Site header */
.site-header {
    background: rgba(6, 5, 10, 0.9) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header::before {
    background: linear-gradient(80deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%) !important;
}

.header-links a:not(.button) {
    color: rgba(255, 255, 255, 0.55) !important;
}

.header-links a:not(.button):hover {
    color: #D4AF37 !important;
}

/* Hero section */
.hero-title,
h1, h2, h3 {
    color: #fff !important;
}

.hero-paragraph {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Landing page body colors */
.is-boxed {
    background: #06050a !important;
}

.body-wrap {
    color: rgba(255, 255, 255, 0.55) !important;
}

p {
    color: rgba(255, 255, 255, 0.55);
}

/* Features section */
.features-wrap,
.feature {
    background: transparent !important;
}

.feature-inner {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(212, 175, 55, 0.03) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.04)) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
}

/* CTA section */
.cta-inner {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.05) 0%, rgba(212, 175, 55, 0.06) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 18px !important;
}

/* Footer */
.site-footer {
    background: transparent !important;
    border-top: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.45) !important;
}

.site-footer a:hover {
    color: #D4AF37 !important;
}

/* ═══════════════════════════════════════════════
   BUTTONS — Landing
   ═══════════════════════════════════════════════ */
.button {
    border-radius: 14px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.button-primary {
    background: linear-gradient(135deg, #c9a02c 0%, #f2e08a 40%, #d4af37 70%, #b5892a 100%) !important;
    background-size: 200% 200% !important;
    color: #0e0c06 !important;
    font-weight: 700 !important;
    border: none !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.button-primary:hover {
    background-position: 100% 100% !important;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: hsl(44, 20%, 95%) !important;
}

.button-secondary:hover {
    background: rgba(212, 175, 55, 0.06) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #F2E08A !important;
}

/* ═══════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════ */
.login-card {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(212, 175, 55, 0.05) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 64px -28px rgba(212, 175, 55, 0.12), 0 4px 24px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

/* Login icon — gold accent instead of blue */
.login-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04)) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
}

.login-icon i {
    color: #D4AF37 !important;
}

/* Success variant */
.login-icon-success {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.06)) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
}

.login-icon-success i {
    color: #F2E08A !important;
}

/* Login title & description */
.login-title,
.join-room-title {
    color: #fff !important;
    letter-spacing: -0.01em;
}

.login-description {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Input groups — gold focus */
.login-input-group {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    border-radius: 14px !important;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.login-input-group:focus-within {
    border-color: rgba(212, 175, 55, 0.4) !important;
    background: rgba(212, 175, 55, 0.03) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1) !important;
}

.login-input-group:focus-within > i:first-child {
    color: #D4AF37 !important;
}

.login-input-group > i:first-child {
    color: rgba(255, 255, 255, 0.3) !important;
}

.login-input-group .form-input {
    color: hsl(44, 20%, 95%) !important;
}

.login-input-group .form-input::placeholder {
    color: rgba(255, 255, 255, 0.25) !important;
}

.login-input-group select.form-input option {
    background: #110f0a !important;
    color: #fff !important;
}

/* Validation error — keep red but with gold tint */
.login-input-group.input-error {
    border-color: rgba(255, 75, 75, 0.45) !important;
    background: rgba(255, 75, 75, 0.04) !important;
}

/* Login button — gold gradient */
.login-btn {
    background: linear-gradient(135deg, #c9a02c 0%, #f2e08a 40%, #d4af37 70%, #b5892a 100%) !important;
    background-size: 200% 200% !important;
    color: #0e0c06 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 14px !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.25s ease !important;
}

.login-btn:hover:not(:disabled) {
    background-position: 100% 100% !important;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.login-btn:disabled {
    opacity: 0.45 !important;
    filter: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Join room button — also gold */
.join-room-btn {
    background: linear-gradient(135deg, #c9a02c 0%, #f2e08a 40%, #d4af37 70%, #b5892a 100%) !important;
    background-size: 200% 200% !important;
    color: #0e0c06 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 14px !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.25s ease !important;
}

.join-room-btn:hover {
    background-position: 100% 100% !important;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* Random room button */
.random-room-btn {
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 14px !important;
}

.random-room-btn:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.06) !important;
}

/* Join Room form background */
#joinRoomForm {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(212, 175, 55, 0.05) 100%) !important;
    border-radius: 22px !important;
}

/* Focus indicators */
.login-btn:focus-visible,
.join-room-btn:focus-visible,
.random-room-btn:focus-visible,
.password-toggle:focus-visible {
    outline: 2px solid #D4AF37 !important;
    outline-offset: 2px;
}

/* Password toggle */
.password-toggle:hover {
    color: rgba(212, 175, 55, 0.6) !important;
}

/* ═══════════════════════════════════════════════
   WAITING ROOM / Who Are You
   ═══════════════════════════════════════════════ */
.waiting-card {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(212, 175, 55, 0.05) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 64px -28px rgba(212, 175, 55, 0.12), 0 4px 24px -8px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.waiting-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04)) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
}

.waiting-icon i {
    color: #D4AF37 !important;
}

/* Waiting spinner dots */
.waiting-spinner-dot {
    background: #D4AF37 !important;
}

/* Room name badge */
.waiting-room-name {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #F2E08A !important;
}

/* Ready status */
.waiting-status.ready {
    color: #D4AF37 !important;
}

/* ═══════════════════════════════════════════════
   ROOM / MEETING — Bottom Buttons
   ═══════════════════════════════════════════════ */
#bottomButtons {
    background: rgba(6, 5, 10, 0.7) !important;
    backdrop-filter: blur(16px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
    border: 1px solid rgba(212, 175, 55, 0.1) !important;
    border-radius: 16px !important;
}

#bottomButtons button {
    background: rgba(6, 5, 10, 0.6) !important;
    border: 1px solid rgba(212, 175, 55, 0.08) !important;
    border-radius: 12px !important;
    color: hsl(44, 20%, 90%) !important;
    transition: all 0.25s ease !important;
}

#bottomButtons button:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
    color: #F2E08A !important;
    transform: scale(1.08) !important;
}

#bottomButtons button i {
    color: inherit !important;
}

/* Active state for toggled buttons */
#bottomButtons button.active,
#bottomButtons button[style*="color: rgb(8, 189, 89)"] {
    color: #D4AF37 !important;
}

/* End call / exit button — keep red but harmonize */
#bottomButtons #exitButton,
#bottomButtons button[id*="exit"],
#bottomButtons button[id*="Exit"],
button[id="exitButton"] {
    background: rgba(180, 40, 40, 0.25) !important;
    border: 1px solid rgba(220, 60, 60, 0.35) !important;
    color: #ff6b6b !important;
}

#bottomButtons #exitButton:hover,
#bottomButtons button[id*="exit"]:hover,
#bottomButtons button[id*="Exit"]:hover,
button[id="exitButton"]:hover {
    background: rgba(220, 50, 50, 0.35) !important;
    border-color: rgba(255, 80, 80, 0.5) !important;
    color: #ff4444 !important;
}

/* Split button styling */
#bottomButtons .split-btn {
    border-radius: 12px !important;
    overflow: visible !important;
}

#bottomButtons .device-dropdown-toggle {
    border-left: 1px solid rgba(212, 175, 55, 0.12) !important;
}

/* Dropdown menu in meeting */
#bottomButtons .dropdown-menu {
    background: rgba(6, 5, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

#bottomButtons .dropdown-menu button {
    border: none !important;
    border-radius: 8px !important;
}

#bottomButtons .dropdown-menu button:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    color: #F2E08A !important;
    transform: none !important;
}

/* ═══════════════════════════════════════════════
   ROOM — Global Overrides
   ═══════════════════════════════════════════════ */

/* Select elements */
select,
.init-user select {
    background-color: #110f0a !important;
    color: hsl(44, 20%, 95%) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 10px !important;
}

/* Init user section buttons */
.init-user button {
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: hsl(44, 20%, 95%) !important;
    transition: all 0.25s ease !important;
}

.init-user button:hover {
    background: rgba(212, 175, 55, 0.06) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #F2E08A !important;
}

/* ═══════════════════════════════════════════════
   CHAT / MESSAGING
   ═══════════════════════════════════════════════ */

/* Chat container */
.msger-chat {
    background: rgba(6, 5, 10, 0.5) !important;
}

/* Send button */
.msger-send-btn,
#msgSendBtn {
    background: linear-gradient(135deg, #D4AF37, #B5892A) !important;
    color: #0e0c06 !important;
    border: none !important;
    border-radius: 10px !important;
}

.msger-send-btn:hover,
#msgSendBtn:hover {
    filter: brightness(1.1);
}

/* Chat input */
.msger-input,
#msgInput {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    color: hsl(44, 20%, 95%) !important;
    border-radius: 10px !important;
}

.msger-input:focus,
#msgInput:focus {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1) !important;
}

/* Message bubbles refinement */
.msg-bubble {
    border-radius: 14px !important;
}

/* ═══════════════════════════════════════════════
   SETTINGS PANEL
   ═══════════════════════════════════════════════ */
.settings-container,
#settingsContainer {
    background: rgba(6, 5, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

/* Tab buttons */
.tab-btn,
.settings-tab-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.1) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    border-radius: 10px !important;
    transition: all 0.25s ease !important;
}

.tab-btn:hover,
.settings-tab-btn:hover {
    background: rgba(212, 175, 55, 0.06) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
    color: #F2E08A !important;
}

.tab-btn.active,
.settings-tab-btn.active {
    background: rgba(212, 175, 55, 0.12) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #F2E08A !important;
}

/* ═══════════════════════════════════════════════
   SWEETALERT 2 — Modals
   ═══════════════════════════════════════════════ */
.swal2-popup {
    background: linear-gradient(168deg, rgba(15, 13, 8, 0.98) 0%, rgba(6, 5, 10, 0.98) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.swal2-title {
    color: hsl(44, 20%, 95%) !important;
    font-family: 'Manrope', sans-serif;
}

.swal2-html-container {
    color: rgba(255, 255, 255, 0.6) !important;
}

.swal2-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 14px !important;
    color: hsl(44, 20%, 95%) !important;
    padding: 12px 16px !important;
}

.swal2-input:focus {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1) !important;
}

.swal2-input:-webkit-autofill,
.swal2-input:-webkit-autofill:hover,
.swal2-input:-webkit-autofill:focus,
.swal2-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0a0908 inset !important;
    -webkit-text-fill-color: hsl(44, 20%, 95%) !important;
}

/* SweetAlert confirm button — gold */
.swal2-styled.swal2-confirm {
    background: linear-gradient(135deg, #c9a02c 0%, #f2e08a 40%, #d4af37 70%, #b5892a 100%) !important;
    background-size: 200% 200% !important;
    color: #0e0c06 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 12px 28px !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25) !important;
    transition: all 0.25s ease !important;
}

.swal2-styled.swal2-confirm:hover {
    background-position: 100% 100% !important;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35) !important;
    filter: brightness(1.08);
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25), 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
}

/* SweetAlert cancel/deny button */
.swal2-styled.swal2-cancel,
.swal2-styled.swal2-deny {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    color: hsl(44, 20%, 95%) !important;
    border-radius: 14px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.swal2-styled.swal2-cancel:hover,
.swal2-styled.swal2-deny:hover {
    background: rgba(212, 175, 55, 0.06) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #F2E08A !important;
}

/* SweetAlert timer bar */
.swal2-timer-progress-bar {
    background: linear-gradient(90deg, #D4AF37, #F2E08A) !important;
}

.swal2-timer-progress-bar-container {
    background: rgba(6, 5, 10, 0.6) !important;
}

/* SweetAlert validation */
.swal2-validation-message {
    background: rgba(212, 175, 55, 0.06) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    color: #F2E08A !important;
    border-radius: 10px !important;
}

/* ═══════════════════════════════════════════════
   VIDEO GRID & CONTAINERS
   ═══════════════════════════════════════════════ */

/* Video bar status */
.video-bar {
    border-color: rgba(212, 175, 55, 0.12) !important;
}

/* Name labels on video */
.video-name,
.nameSpan {
    background: rgba(6, 5, 10, 0.7) !important;
    color: hsl(44, 20%, 95%) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* ═══════════════════════════════════════════════
   ABOUT / INFO MODALS
   ═══════════════════════════════════════════════ */
#about button {
    background: linear-gradient(135deg, #c9a02c 0%, #d4af37 100%) !important;
    color: #0e0c06 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 12px !important;
}

#about button:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3) !important;
}

#about a {
    color: hsl(44, 20%, 95%) !important;
}

#about a:hover {
    color: #D4AF37 !important;
}

#about b {
    color: #D4AF37 !important;
}

/* ═══════════════════════════════════════════════
   TOOLTIPS & MISC
   ═══════════════════════════════════════════════ */
[data-tooltip]::after,
.tooltip-inner {
    background: rgba(6, 5, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    color: hsl(44, 20%, 95%) !important;
    border-radius: 10px !important;
}

/* Generic input styling */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    color: hsl(44, 20%, 95%) !important;
    border-radius: 10px !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1) !important;
    outline: none !important;
}

/* ═══════════════════════════════════════════════
   LINKS — Gold accent
   ═══════════════════════════════════════════════ */
a {
    color: #D4AF37;
    transition: color 0.2s ease;
}

a:hover {
    color: #F2E08A;
}

/* ═══════════════════════════════════════════════
   ACTIVE ROOMS PAGE
   ═══════════════════════════════════════════════ */
.active-rooms-container {
    background: rgba(6, 5, 10, 0.95) !important;
}

.room-card {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.04) 0%, rgba(212, 175, 55, 0.03) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 18px !important;
    transition: border-color 0.25s ease, box-shadow 0.3s ease !important;
}

.room-card:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 12px 40px -12px rgba(212, 175, 55, 0.15) !important;
}

/* ═══════════════════════════════════════════════
   CUSTOMIZE ROOM
   ═══════════════════════════════════════════════ */
#customizeRoomContainer {
    background: rgba(6, 5, 10, 0.95) !important;
}

/* ═══════════════════════════════════════════════
   POLLS
   ═══════════════════════════════════════════════ */
.poll-container {
    background: rgba(6, 5, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 18px !important;
}

/* ═══════════════════════════════════════════════
   LOADING OVERLAY
   ═══════════════════════════════════════════════ */
#loadingDiv {
    background: rgba(6, 5, 10, 0.9) !important;
}

#loadingDiv .lds-ring div {
    border-color: #D4AF37 transparent transparent transparent !important;
}

/* ═══════════════════════════════════════════════
   ERROR PAGES (404 / 50X)
   ═══════════════════════════════════════════════ */
.error-page,
.maintenance-page {
    background: #06050a !important;
    color: hsl(44, 20%, 95%) !important;
}

/* ═══════════════════════════════════════════════
   GROUP CHAT PANEL
   ═══════════════════════════════════════════════ */
.group-chat {
    background: rgba(6, 5, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

/* ═══════════════════════════════════════════════
   RTMP STREAMER
   ═══════════════════════════════════════════════ */
.rtmp-container {
    background: rgba(6, 5, 10, 0.95) !important;
}

/* ═══════════════════════════════════════════════
   INIT MODAL (camera preview modal) — Verificador Style
   ═══════════════════════════════════════════════ */
.init-modal-size {
    background: linear-gradient(165deg, rgba(255,255,255,0.04) 0%, rgba(8,7,5,0.7) 100%) !important;
    border: 1px solid rgba(212,175,55,0.12) !important;
    border-radius: 24px !important;
    backdrop-filter: blur(24px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.4) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 1 !important;
    padding: 40px 36px 28px !important;
    box-shadow: 0 24px 64px -12px rgba(0,0,0,0.6), 0 0 80px -20px rgba(212,175,55,0.08) !important;
}
.init-modal-size::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent 5%, rgba(212,175,55,0.25) 50%, transparent 95%) !important;
    z-index: 2 !important;
    border-radius: 24px 24px 0 0 !important;
}

/* Hide default swal title in init modal */
.init-modal-size .swal2-title {
    display: none !important;
}

/* === Scene backdrop === */
.swal2-container.init-scene {
    background: radial-gradient(ellipse 80% 60% at 50% 45%, rgba(212,175,55,0.06) 0%, transparent 70%), #06050a !important;
}

#initParticles {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.init-scene .login-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    z-index: 0;
}
.init-scene .login-glow--top {
    width: 600px;
    height: 600px;
    top: -18%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
    animation: loginGlowPulse 6s ease-in-out infinite alternate;
}
.init-scene .login-glow--bottom {
    width: 500px;
    height: 500px;
    bottom: -15%;
    right: -8%;
    background: radial-gradient(circle, rgba(181,137,42,0.08) 0%, transparent 70%);
    animation: loginGlowPulse 8s ease-in-out 2s infinite alternate;
}
.init-scene .login-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 750px;
    height: 750px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.05);
    pointer-events: none;
    z-index: 0;
    animation: loginRingSpin 60s linear infinite;
}
.init-scene .login-ring::before {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.03);
}

@keyframes loginGlowPulse {
    from { opacity: 0.6; transform: translateX(-50%) scale(1); }
    to   { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}
@keyframes loginRingSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === Premium header (logo + headline) === */
#initPremiumHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.premium-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.premium-badge-text strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #F2E08A;
    font-family: 'Manrope', system-ui, sans-serif;
}
.premium-badge-text span {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255,255,255,0.42);
    font-family: 'Manrope', system-ui, sans-serif;
}
.premium-title {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px;
    color: hsl(44, 20%, 95%) !important;
    line-height: 1.15;
    text-align: center;
    font-family: 'Manrope', system-ui, sans-serif;
}
.premium-subtitle {
    margin: 0 !important;
    color: rgba(255,255,255,0.42) !important;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
    font-family: 'Manrope', system-ui, sans-serif;
}

/* === Name / Phone input labels === */
.premium-input-label {
    text-align: left;
    margin: 12px 0 6px;
}
.premium-label-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    font-family: 'Manrope', system-ui, sans-serif;
}

/* === Input wrapper with icon === */
.premium-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.12);
    background: rgba(255,255,255,0.025);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.premium-input-wrap.is-focused {
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08), 0 0 20px rgba(212,175,55,0.06);
    background: rgba(255,255,255,0.04);
}
.premium-input-icon {
    flex-shrink: 0;
    color: rgba(212,175,55,0.4);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.premium-input-wrap.is-focused .premium-input-icon {
    color: rgba(212,175,55,0.75);
}

/* Override swal2-input when inside premium wrapper */
.premium-input-wrap .swal2-input {
    flex: 1 !important;
    padding: 15px 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: hsl(44, 20%, 95%) !important;
    font-size: 14px !important;
    letter-spacing: 0.3px !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: auto !important;
    font-family: 'Manrope', system-ui, sans-serif !important;
}
.premium-input-wrap .swal2-input::placeholder {
    color: rgba(255,255,255,0.2) !important;
}

/* Phone input inside premium wrapper */
.premium-phone-input {
    flex: 1;
    padding: 15px 0;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: hsl(44, 20%, 95%);
    font-size: 14px;
    letter-spacing: 0.3px;
    font-family: 'Manrope', system-ui, sans-serif;
    width: 100%;
}
.premium-phone-input::placeholder {
    color: rgba(255,255,255,0.2);
}

/* Phone verification wrapper spacing */
#phoneVerificationWrap {
    margin-top: 4px;
}

/* === Join button — Verificador gold gradient === */
.init-modal-size .swal2-actions {
    width: 100% !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
}
.init-modal-size .swal2-styled.swal2-confirm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 16px 24px !important;
    border-radius: 16px !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    cursor: pointer !important;
    color: #080705 !important;
    background: linear-gradient(135deg, #f5d76e 0%, #d4af37 50%, #b8962e 100%) !important;
    box-shadow: 0 4px 20px rgba(212,175,55,0.25), 0 1px 3px rgba(0,0,0,0.2) !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
    font-family: 'Manrope', system-ui, sans-serif !important;
    text-shadow: none !important;
    margin: 0 !important;
}
.init-modal-size .swal2-styled.swal2-confirm::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%) !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
}
.init-modal-size .swal2-styled.swal2-confirm:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 28px rgba(212,175,55,0.35), 0 2px 6px rgba(0,0,0,0.2) !important;
}
.init-modal-size .swal2-styled.swal2-confirm:hover:not(:disabled)::before {
    opacity: 1 !important;
}
.init-modal-size .swal2-styled.swal2-confirm:active:not(:disabled) {
    transform: translateY(0) !important;
}
.init-modal-size .swal2-styled.swal2-confirm:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

/* === Hint text === */
.premium-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 0 !important;
    padding: 0;
    color: rgba(255,255,255,0.42);
    font-size: 12px;
    opacity: 0.6;
    font-family: 'Manrope', system-ui, sans-serif;
}

/* === Validation message (error below inputs) === */
.init-modal-size .swal2-validation-message {
    background: rgba(212,175,55,0.06) !important;
    border: 1px solid rgba(212,175,55,0.15) !important;
    color: #F2E08A !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 8px 0 !important;
}

/* === Camera preview refinement === */
.init-modal-size .init-video-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.1);
}
.init-modal-size .init-video-container video {
    border-radius: 16px;
}

/* === Control buttons refinement === */
.init-modal-size .init-user button {
    border-radius: 12px !important;
    border: 1px solid rgba(212,175,55,0.15) !important;
    background: rgba(255,255,255,0.03) !important;
    transition: all 0.25s ease !important;
}
.init-modal-size .init-user button:hover {
    background: rgba(212,175,55,0.08) !important;
    border-color: rgba(212,175,55,0.35) !important;
    color: #F2E08A !important;
}

/* === Device selectors refinement === */
.init-modal-size .init-user select {
    border-radius: 12px !important;
    border: 1px solid rgba(212,175,55,0.12) !important;
    background: rgba(255,255,255,0.025) !important;
    color: hsl(44, 20%, 95%) !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    transition: border-color 0.3s ease !important;
}
.init-modal-size .init-user select:focus {
    border-color: rgba(212,175,55,0.4) !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08) !important;
}

/* === Responsive for init modal === */
@media (max-width: 540px) {
    .init-modal-size {
        padding: 26px 20px 20px !important;
    }
    .premium-badge-text strong {
        font-size: 20px;
    }
    .premium-title {
        font-size: 22px !important;
    }
    .init-modal-size .swal2-styled.swal2-confirm {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

/* ═══════════════════════════════════════════════
   IMAGE URL MODAL
   ═══════════════════════════════════════════════ */
.imageUrlModal {
    background: rgba(6, 5, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 18px !important;
}

.imageUrlModal button {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 10px !important;
    color: hsl(44, 20%, 95%) !important;
}

.imageUrlModal button:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #F2E08A !important;
}

/* ═══════════════════════════════════════════════
   WHO ARE YOU PAGE
   ═══════════════════════════════════════════════ */
.who-are-you-card {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.06) 0%, rgba(212, 175, 55, 0.05) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 64px -28px rgba(212, 175, 55, 0.12), 0 4px 24px -8px rgba(0, 0, 0, 0.5) !important;
}

/* ═══════════════════════════════════════════════
   MISC UI REFINEMENTS
   ═══════════════════════════════════════════════ */

/* Badge in landing page */
.badge, .tag {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04)) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    color: #F2E08A !important;
}

/* HR / Dividers */
hr {
    border-color: rgba(212, 175, 55, 0.1) !important;
}

/* Highlight text */
mark, .highlight {
    background: rgba(212, 175, 55, 0.2) !important;
    color: #FFF1C2 !important;
}

/* Participant count badge — keep visible with gold */
#participantsCountBadge {
    background: linear-gradient(135deg, #D4AF37, #B5892A) !important;
    color: #0e0c06 !important;
}

/* ═══════════════════════════════════════════════
   LANDING — Testimonials & Pricing (if visible)
   ═══════════════════════════════════════════════ */
.testimonial-inner,
.pricing-table-inner,
.tiles-item-inner {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.04) 0%, rgba(212, 175, 55, 0.03) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.12) !important;
    border-radius: 18px !important;
}

/* Pricing CTA */
.pricing-table-cta .button {
    background: linear-gradient(135deg, #c9a02c, #d4af37) !important;
    color: #0e0c06 !important;
}

/* ═══════════════════════════════════════════════
   FORM CONTROLS — Bootstrap overrides
   ═══════════════════════════════════════════════ */
.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    color: hsl(44, 20%, 95%) !important;
    border-radius: 10px !important;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(212, 175, 55, 0.03) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1) !important;
    color: hsl(44, 20%, 95%) !important;
}

/* Bootstrap buttons overrides */
.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B5892A) !important;
    border: none !important;
    color: #0e0c06 !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F2E08A, #D4AF37) !important;
    color: #0e0c06 !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    color: hsl(44, 20%, 95%) !important;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
}

/* ═══════════════════════════════════════════════
   DROPDOWN MENU
   ═══════════════════════════════════════════════ */
.dropdown-menu {
    background: rgba(6, 5, 10, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.6) !important;
}

.dropdown-item {
    color: hsl(44, 20%, 95%) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(212, 175, 55, 0.08) !important;
    color: #F2E08A !important;
}

/* ═══════════════════════════════════════════════
   LANDING — Section titles overrides 
   ═══════════════════════════════════════════════ */
.section-title {
    color: #fff !important;
}

.section-paragraph {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Divider/hr style in landing */
.has-bottom-divider::after,
.has-top-divider::before {
    background: rgba(212, 175, 55, 0.1) !important;
}

/* ═══════════════════════════════════════════════
   NEW ROOM / PERMISSION PAGES
   ═══════════════════════════════════════════════ */
.new-room-card,
.permission-card {
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.06) 0%, rgba(212, 175, 55, 0.05) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 22px !important;
}

/* ═══════════════════════════════════════════════
   SPONSORS / ADS — Soften the branding
   ═══════════════════════════════════════════════ */
.sponsors-section img,
.advertisers-section img {
    filter: grayscale(0.3) brightness(0.85);
    transition: filter 0.3s ease;
}

.sponsors-section img:hover,
.advertisers-section img:hover {
    filter: grayscale(0) brightness(1);
}

/* Spinner animation for phone verification */
@keyframes spin {
    to { transform: rotate(360deg); }
}
