/* SimpleVoice-Geyser Modern Next-Gen UI Theme */
@import url('./v2.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #090d16;
    --card-bg: rgba(19, 27, 46, 0.75);
    --card-border: rgba(255, 255, 255, 0.08);
    --accent-blue: #0284c7;
    --accent-cyan: #38bdf8;
    --accent-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    --accent-glow: 0 4px 20px rgba(2, 132, 199, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --input-bg: rgba(10, 15, 26, 0.7);
    --input-border: rgba(255, 255, 255, 0.1);
    --danger: #ef4444;
}

/* Base Body Styles */
body, html {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: var(--text-main) !important;
    min-height: 100vh;
}

body.mcDirtBackground {
    background: var(--bg-dark) !important;
    background-image: 
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.8) 0px, var(--bg-dark) 100%) !important;
    background-attachment: fixed !important;
}

/* Main Container Card */
.mainContainer.mcContainerStyle {
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--card-border) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    padding: 32px 28px !important;
    max-width: 460px !important;
    width: 92% !important;
    margin: 40px auto !important;
    transition: all 0.3s ease;
}

/* Headings & Typography */
.joinLabel, h2, h3 {
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: var(--text-main) !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.mcTextStyle1, .mcTextStyle2, label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

/* Inputs & Form Groups */
.usernameContainer, .passwordContainer, .micContainer, .speakerContainer {
    margin-bottom: 16px !important;
    gap: 8px !important;
}

.mcTextboxStyle {
    background: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    color: var(--text-main) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mcTextboxStyle:focus {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}

/* Dropdowns / Selects */
.mcButtonStyle select, select.mcButtonStyleInner {
    background: var(--input-bg) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.mcButtonStyle select:hover, select.mcButtonStyleInner:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Buttons System */
.mcButtonStyle, .mcIconButtonStyle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.mcButtonStyleInner {
    background: var(--accent-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.01em !important;
    box-shadow: var(--accent-glow) !important;
    text-shadow: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mcButtonStyleInner:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 6px 25px rgba(2, 132, 199, 0.55) !important;
    filter: brightness(1.1);
}

.mcButtonStyleInner:active {
    transform: translateY(0) scale(0.99) !important;
}

/* Microphone & Status States */
.unmuted {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4) !important;
}

.unmuted:hover {
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6) !important;
}

.muted {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4) !important;
}

/* Status Text */
.statusLabel {
    color: var(--accent-cyan) !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
}

/* Chat Log Modernization */
.mcTextviewStyle {
    background: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 14px !important;
    color: var(--text-main) !important;
    padding: 14px !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

/* Footer & Extras */
footer {
    gap: 20px !important;
    padding: 20px !important;
    justify-content: center !important;
}

.footerLink {
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.footerLink:hover {
    color: var(--accent-cyan) !important;
}

/* Floating Language & Bug Buttons */
.mcIconButtonStyleInner {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 50% !important;
    padding: 10px !important;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease !important;
}

.mcIconButtonStyleInner:hover {
    background: rgba(56, 189, 248, 0.2) !important;
    border-color: var(--accent-cyan) !important;
    transform: rotate(5deg) scale(1.05) !important;
}

/* Alert Overlay Modernization */
.alertOverlay {
    background: rgba(9, 13, 22, 0.85) !important;
    backdrop-filter: blur(12px) !important;
}

.alertOverlayInner {
    background: #1e293b !important;
    border: 1px solid var(--danger) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3) !important;
    padding: 16px 20px !important;
}

/* Functional Hide Override */
.hiddenWhenConnected.dev-hidden,
.dev-hidden,
[style*="display: none"] {
    display: none !important;
}