:root {
    --bg-color: #050505;
    --card-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(0, 229, 255, 0.15);
    --text-color: #e0e0e0;
    --accent-color: #00ff9d;
    --secondary-color: #00e5ff;
    --danger-color: #ff2a6d;
    --success-color: #00ff9d;
    --font-family: 'JetBrains Mono', 'Courier New', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base Layout: natural page scroll, NO fixed/height hacks ──
   The page scrolls normally. Header sticks to top, input sticks
   to bottom. Works on every browser without viewport unit issues. */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    user-select: none;
}

/* Every screen is at least as tall as the viewport */
.screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out;
}

.hidden {
    display: none !important;
}

/* Login & Type-select: scroll their content normally */
#login-screen,
#type-select-screen {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 1rem;
    justify-content: flex-start;
    align-items: center;
}

/* Chat screen: flex column, fills at least the full viewport.
   NO position:fixed, NO overflow:hidden, NO height units. */
#chat-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    padding: 2.5rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 500px;
    text-align: center;
    /* Don't collapse on very tall content */
    flex-shrink: 0;
}

h1 {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: 3rem;
    letter-spacing: -2px;
}

/* ── Brand Header (logo + title) ── */
.brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 1rem;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    flex-shrink: 0;
}

.brand-logo-sm {
    width: 52px;
    height: 52px;
    border-radius: 12px;
}

/* ── Chat header inline logo ── */
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.subtitle {
    opacity: 0.6;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 2rem;
}

input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: var(--secondary-color);
    padding: 18px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.1rem;
    transition: border-color 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

button {
    background: var(--secondary-color);
    color: #000;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

button:active {
    transform: scale(0.98);
}

/* Mode Selection */
.mode-selection {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.mode-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #888;
    padding: 12px 20px;
    font-size: 0.85rem;
    box-shadow: none;
}

.mode-btn.active {
    background: var(--secondary-color);
    color: #000;
}

.mode-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Room Modes */
.room-mode {
    animation: fadeIn 0.3s ease;
}

.mode-description {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Generated Room Display */
.generated-room-display {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 1.5rem;
}

.room-id-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.room-id-value {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    word-break: break-all;
}

.copy-btn {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    font-size: 0.75rem;
    box-shadow: none;
}

.copy-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    color: #000;
}

.copy-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Action Buttons */
.action-btn {
    width: 100%;
    margin-top: 10px;
}

.action-btn.secondary {
    background: var(--accent-color);
}

/* Session Duration Group */
.session-duration-group {
    margin: 1.2rem 0 0.6rem;
}

.session-duration-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.session-duration-input {
    flex: 1;
    width: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 14px;
    letter-spacing: 1px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    /* hide default number spinners */
    -moz-appearance: textfield;
    appearance: textfield;
}

.session-duration-input::-webkit-outer-spin-button,
.session-duration-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.session-duration-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15);
}

.session-duration-unit {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
    white-space: nowrap;
}

.session-duration-hint {
    font-size: 0.68rem;
    color: #555;
    margin-top: 0.45rem;
    letter-spacing: 0.5px;
}

.status {
    margin-top: 1rem;
    font-size: 0.8rem;
    min-height: 20px;
    color: var(--accent-color);
}

.status.error {
    color: var(--danger-color);
}


/* Header: sticky so it stays visible while messages scroll */
header {
    padding: 1rem 2rem;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    flex-shrink: 0;
    position: sticky;
    top: 0;
}

.header-info {
    display: flex;
    flex-direction: column;
}

#room-display {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.connected {
    color: var(--accent-color);
}

.disconnected {
    color: var(--danger-color);
}

.connecting {
    color: #ffb800;
    animation: pulseAmber 1.2s ease-in-out infinite;
}

@keyframes pulseAmber {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* Tiny spinning ring shown while connecting */
.spin-ring {
    display: inline-block;
    width: 9px;
    height: 9px;
    border: 2px solid rgba(255, 184, 0, 0.25);
    border-top-color: #ffb800;
    border-radius: 50%;
    animation: spinRing 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
    flex-shrink: 0;
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}

.session-expiry {
    font-size: 0.7rem;
    color: var(--danger-color);
    opacity: 0.8;
    margin-left: 15px;
}

/* Messages: grows to fill available space, no internal scroll —
   the page itself scrolls through messages naturally */
#messages-container {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 60vh;   /* ensure enough space even with few messages */
}

.message {
    max-width: 65%;
    padding: 12px 18px;
    border-radius: 16px;
    position: relative;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-text {
    line-height: 1.5;
    word-break: break-word;
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.5;
    letter-spacing: 0.5px;
    align-self: flex-end;
    margin-top: 2px;
}

.message.me {
    align-self: flex-end;
    background: rgba(0, 255, 157, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-bottom-right-radius: 4px;
    color: var(--accent-color);
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.message.peer {
    align-self: flex-start;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-bottom-left-radius: 4px;
    color: var(--secondary-color);
    animation: slideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.message.system {
    align-self: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    padding: 6px 16px;
    border-radius: 20px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.destruct-timer {
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 0.6rem;
    background: var(--danger-color);
    color: black;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: bold;
}

/* Input Area: sticky to the bottom of the viewport */
.input-area {
    padding: 1rem 2rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 50;
}

#message-input {
    flex-grow: 1;
}

#privacy-toolbar {
    padding: 0.5rem 2rem;
    display: flex;
    gap: 20px;
    font-size: 0.7rem;
    color: #666;
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

#privacy-toolbar label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

#privacy-toolbar input {
    width: 12px;
    height: 12px;
}

#decoy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #888;
    padding: 8px 12px;
    font-size: 0.7rem;
    box-shadow: none;
}

#decoy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Indicators */
#typing-indicator {
    font-size: 0.7rem;
    color: var(--secondary-color);
    padding: 0 3rem 1rem;
    font-style: italic;
    animation: blink 1.5s infinite;
    flex-shrink: 0;
}

/* Panic Screen Style */
.panic-screen {
    position: fixed;
    inset: 0;
    background: #fff;
    color: #000;
    z-index: 10000;
    padding: 2rem;
    font-family: sans-serif;
    display: none;
}

.panic-screen.active {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes pulseGreen {
    0%, 100% { opacity: 0.8; }
    50%       { opacity: 1; }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Security Overlay Redesign */
#security-alert {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2147483647;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(40px);
}

#security-alert:not(.hidden) {
    display: flex;
}

.alert-box {
    border: 1px solid var(--danger-color);
    background: rgba(20, 0, 0, 0.8);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
}

.alert-box h2 {
    color: var(--danger-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Obscure Content State */
body.content-obscured .screen {
    filter: blur(100px);
    pointer-events: none;
}

/* ── RAF Instant Blackout Layer (anti-screenshot) ── */
#__stealth-blackout {
    position: fixed;
    inset: 0;
    background: #000 !important;
    z-index: 2147483647 !important;
    display: none;        /* JS controls this inline for synchronous reflow */
    pointer-events: none;
}

/* Class-based fallback (used by CSS injection from screenshotDetector) */
body.stealth-blackout #__stealth-blackout {
    display: block !important;
}

/* Aggressive Protection */
.security-blindfold {
    position: fixed;
    inset: 0;
    background: #000 !important;
    z-index: 2147483646 !important;
    display: none;
}

body.hard-obscure .security-blindfold {
    display: block;
}

body.hard-obscure .screen,
body.hard-obscure header,
body.hard-obscure .input-area {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Prevent WebKit print rendering from capturing content */
@media print {
    body * {
        display: none !important;
    }
    body::after {
        content: "SECURE SESSION — PRINTING DISABLED" !important;
        display: block !important;
        font-size: 2rem !important;
        text-align: center !important;
        margin-top: 40vh !important;
        color: #000 !important;
    }
}

/* =============================================
   RESPONSIVE / MOBILE STYLES
   ============================================= */

/* --- Tablet (≤ 900px) --- */
@media (max-width: 900px) {
    .container {
        padding: 2.5rem 2rem;
        max-width: 94vw;
    }

    h1 {
        font-size: 2.2rem;
    }

    .brand-logo {
        width: 56px;
        height: 56px;
    }

    .brand-logo-sm {
        width: 42px;
        height: 42px;
    }

    header {
        padding: 0.75rem 1.25rem;
        flex-wrap: wrap;
        gap: 6px;
    }

    .session-timer {
        font-size: 0.65rem;
        order: 3;
        width: 100%;
        text-align: left;
        opacity: 0.7;
    }

    .settings-group {
        gap: 6px;
    }

    #messages-container {
        padding: 1.25rem;
    }

    .input-area {
        padding: 1rem 1.25rem;
    }

    #privacy-toolbar {
        padding: 0.4rem 1.25rem;
    }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {

    /* Login + Type-select: scroll naturally within their min-height container */
    #login-screen {
        padding: 1rem;
        padding-top: 8vh;
        align-items: flex-start;
    }

    .container {
        padding: 1.75rem 1.25rem;
        max-width: 100%;
        border-radius: 14px;
    }

    h1 {
        font-size: 1.9rem;
        letter-spacing: -1px;
        margin-bottom: 0;
    }

    .brand-header {
        gap: 12px;
        margin-bottom: 0.75rem;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-logo-sm {
        width: 36px;
        height: 36px;
    }

    .subtitle {
        font-size: 0.72rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
    }

    .mode-btn {
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    .room-id-value {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .action-btn {
        padding: 14px 20px;
        font-size: 0.88rem;
    }


    /* ── Chat Header: single no-wrap row on mobile ──────────────────── */
    header {
        padding: 0 0.5rem;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;          /* NEVER wrap — keeps everything on one line */
        align-items: center;
        gap: 4px;
        min-height: 48px;
        overflow: hidden;           /* clip anything that doesn't fit */
        flex-shrink: 0;
    }

    .hamburger-btn {
        flex-shrink: 0;
        order: 0;
    }

    /* Room info: takes available space, but can shrink */
    .header-info {
        flex: 1 1 0;
        min-width: 0;
        order: 1;
        overflow: hidden;
    }

    #room-display {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .status-indicator {
        font-size: 0.55rem;
        white-space: nowrap;
        overflow: hidden;
        gap: 3px;
    }

    /* Session timer: HIDDEN on mobile (no room, wraps off-screen otherwise) */
    .session-timer {
        display: none;
    }

    /* Seal: HIDDEN on mobile (too cramped) */
    .session-seal-container {
        display: none !important;
    }

    /* Settings group: shown as an inline flex row (NOT full-width block).
       We only show #leave-btn inside it — .setting-item children are hidden.
       This way TERMINATE is always visible without needing the expand chevron. */
    .settings-group {
        order: 2;
        display: flex !important;   /* override any previous display:none */
        flex-wrap: nowrap;
        align-items: center;
        gap: 0;
        padding: 0;
        border: none;
        margin: 0;
        width: auto;                /* NOT full-width */
        flex-shrink: 0;
        background: transparent;
    }

    /* Hide the timer and decoy controls — too cramped on mobile */
    .settings-group .setting-item {
        display: none !important;
    }

    /* TERMINATE: always visible, compact */
    #leave-btn {
        display: inline-flex !important;
        align-items: center;
        flex-shrink: 0;
        padding: 5px 10px;
        font-size: 0.6rem;
        white-space: nowrap;
        margin-left: 0;
    }

    /* Chevron expand button: no longer needed — hide it */
    .header-expand-btn {
        display: none !important;
    }

    /* Send button: compact text, fully centered */
    #send-btn {
        flex-shrink: 0;
        padding: 10px 12px;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: fit-content;
    }
    /* Remove the arrow we added earlier */
    #send-btn::after {
        display: none;
    }

    .setting-item {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .setting-item label {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    #timer-select {
        padding: 4px 6px;
        font-size: 0.72rem;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid var(--glass-border);
        color: var(--secondary-color);
        border-radius: 6px;
        font-family: inherit;
    }

    #decoy-btn {
        padding: 5px 8px;
        font-size: 0.65rem;
    }

    /* Messages — page scrolls naturally, just reduce padding on mobile */
    #messages-container {
        padding: 0.75rem;
        gap: 12px;
        min-height: 55vh;
    }


    .message {
        max-width: 82%;
        padding: 10px 14px;
    }

    .message.system {
        font-size: 0.65rem;
        max-width: 90%;
    }

    /* Input Area — always pinned to bottom, never pushed off screen */
    .input-area {
        padding: 0.6rem 0.75rem;
        padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
        gap: 8px;
        flex-shrink: 0;   /* never compress the input row */
    }

    #message-input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    #send-btn {
        padding: 12px 14px;
        font-size: 0.75rem;
        letter-spacing: 1px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Privacy Toolbar */
    #privacy-toolbar {
        padding: 0.35rem 0.75rem;
        gap: 12px;
        font-size: 0.65rem;
        flex-wrap: wrap;
    }

    /* Typing Indicator */
    #typing-indicator {
        padding: 0 0.75rem 0.5rem;
        font-size: 0.65rem;
    }

    /* Security Alert */
    .alert-box {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .alert-box h2 {
        font-size: 1.3rem;
    }
}

/* --- Small phones (≤ 420px) --- */
@media (max-width: 420px) {
    h1 {
        font-size: 1.6rem;
    }

    .container {
        padding: 1.4rem 1rem;
    }

    .room-id-value {
        font-size: 1.1rem;
        letter-spacing: 0;
    }

    .mode-btn {
        font-size: 0.72rem;
        padding: 9px 8px;
    }

    .message {
        max-width: 88%;
    }

    #message-input {
        font-size: 0.9rem;
    }

    #send-btn {
        padding: 12px 10px;
        font-size: 0.68rem;
    }

    #room-display {
        font-size: 0.72rem;
        max-width: 45vw;
    }

    .generated-room-display {
        padding: 14px;
    }
}

/* --- Landscape phones --- */
@media (max-height: 480px) and (orientation: landscape) {
    #login-screen {
        padding-top: 5vh;
        overflow-y: auto;
    }

    .container {
        padding: 1rem 1.5rem;
    }

    h1 {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }

    .subtitle {
        margin-bottom: 0.8rem;
    }

    #messages-container {
        padding: 0.5rem 0.75rem;
        gap: 8px;
    }

    .input-area {
        padding: 0.4rem 0.75rem;
        padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
    }

    header {
        padding: 0.4rem 1rem;
    }
}

/* =============================================
   AUDIO CALL & MEDIA SHARE — NEW STYLES
   ============================================= */

/* Icon-only buttons in the input area (📞 📎) */
.icon-btn {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--secondary-color);
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none;
    transition: all 0.25s ease;
}

.icon-btn:hover {
    background: rgba(0, 229, 255, 0.18);
    border-color: var(--secondary-color);
    transform: scale(1.05) translateY(-1px);
}

.icon-btn:active {
    transform: scale(0.96);
}

.icon-btn.active-call {
    background: rgba(255, 42, 109, 0.15);
    border-color: var(--danger-color);
    animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
    0%, 100% { opacity: 0.8; }
    50%       { opacity: 1; }
}

/* ---- Call Overlay ---- */
.call-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(30px);
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-overlay.hidden {
    display: none !important;
}

.call-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 3rem 4rem;
    border: 1px solid rgba(255, 42, 109, 0.3);
    border-radius: 24px;
    background: rgba(15, 0, 5, 0.85);
    position: relative;
    text-align: center;
}

/* Pulsing ring behind the icon */
.call-pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 42, 109, 0.5);
    animation: ringExpand 2s ease-out infinite;
    pointer-events: none;
}

@keyframes ringExpand {
    0%   { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.call-status-icon {
    font-size: 3rem;
    animation: pulseRed 1.5s infinite;
    position: relative;
    z-index: 1;
}

.call-title {
    color: var(--danger-color);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.call-subtitle {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.call-timer {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    font-variant-numeric: tabular-nums;
}

.end-call-btn {
    background: var(--danger-color);
    padding: 14px 32px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 8px;
    border-radius: 14px;
}

.end-call-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ---- Media Transfer Progress Bar ---- */
.media-progress {
    position: relative;
    height: 28px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 10px;
    flex-shrink: 0;
}

.media-progress.hidden {
    display: none !important;
}

.media-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 157, 0.25), rgba(0, 229, 255, 0.25));
    transition: width 0.2s ease;
    width: 0%;
}

.media-progress span {
    position: relative;
    z-index: 1;
    font-size: 0.65rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Media Message Bubbles ---- */
.message.media-message {
    padding: 8px;
    max-width: 55%;
}

.message.media-message img,
.message.media-message video {
    display: block;
    max-width: 100%;
    max-height: 280px;
    border-radius: 10px;
    object-fit: cover;
}

.message.media-message video {
    cursor: pointer;
}

.media-label {
    font-size: 0.6rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    text-align: right;
}

/* Mobile adjustments for new elements */
@media (max-width: 768px) {
    .icon-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .call-box {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .call-title {
        font-size: 1.1rem;
    }

    .call-timer {
        font-size: 1.8rem;
    }

    .message.media-message {
        max-width: 78%;
    }

    .message.media-message img,
    .message.media-message video {
        max-height: 200px;
    }
}


/* =============================================
   TYPE SELECTION SCREEN
   ============================================= */

#type-select-screen {
    /* justify-content / align-items / overflow handled by top-of-file rule */
    background: var(--bg-color);
}

.type-select-container {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 680px;
    width: 100%;
    flex-shrink: 0;
}

.type-cards {
    display: flex;
    gap: 24px;
    margin: 2.5rem 0;
    justify-content: center;
}

.type-card {
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    color: var(--text-color);
    text-align: center;
    font-family: inherit;
    font-weight: 800;
}

.type-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.p2p-card {
    border-color: rgba(0, 229, 255, 0.35);
}

.p2p-card:hover {
    border-color: var(--secondary-color);
}

.group-card {
    border-color: rgba(0, 255, 157, 0.35);
}

.group-card:hover {
    border-color: var(--accent-color);
}

.type-card-icon {
    font-size: 3.5rem;
    line-height: 1;
}

.type-card-title {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: inherit;
}

.p2p-card .type-card-title { color: var(--secondary-color); }
.group-card .type-card-title { color: var(--accent-color); }

.type-card-desc {
    font-size: 0.72rem;
    color: #888;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.type-card-badge {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-top: 4px;
}

.p2p-card .type-card-badge {
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.3);
    color: var(--secondary-color);
}

.group-card .type-card-badge {
    background: rgba(0,255,157,0.1);
    border: 1px solid rgba(0,255,157,0.3);
    color: var(--accent-color);
}

.type-footer {
    font-size: 0.68rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   LOGIN SCREEN — NEW ELEMENTS
   ============================================= */

.back-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.back-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #666;
    padding: 6px 14px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: none;
}

.back-btn:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: none;
    box-shadow: none;
}

.chat-mode-badge {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 800;
}

.chat-mode-badge.p2p {
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.3);
    color: var(--secondary-color);
}

.chat-mode-badge.group {
    background: rgba(0,255,157,0.1);
    border: 1px solid rgba(0,255,157,0.3);
    color: var(--accent-color);
}

/* Name input group */
.name-input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.field-label {
    display: block;
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#name-input {
    width: 100%;
    color: var(--accent-color);
    border-color: rgba(0,255,157,0.2);
}

#name-input:focus {
    border-color: var(--accent-color);
}

/* =============================================
   HAMBURGER BUTTON
   ============================================= */

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(0,229,255,0.06);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: none;
    flex-shrink: 0;
    transition: all 0.25s ease;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.hamburger-btn:hover {
    background: rgba(0,229,255,0.15);
    border-color: var(--secondary-color);
    transform: none;
}

.hamburger-btn:hover span {
    opacity: 0.9;
}

/* =============================================
   PARTICIPANTS SIDEBAR
   ============================================= */

.participants-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background: rgba(5, 8, 12, 0.96);
    backdrop-filter: blur(24px);
    border-right: 1px solid var(--glass-border);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 40px rgba(0,0,0,0.6);
}

.participants-panel.open {
    transform: translateX(0);
}

.participants-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
}

.close-panel-btn {
    background: transparent;
    border: none;
    color: #555;
    padding: 4px 8px;
    font-size: 1rem;
    box-shadow: none;
    border-radius: 6px;
    line-height: 1;
    transition: color 0.2s;
}

.close-panel-btn:hover {
    color: var(--danger-color);
    background: rgba(255,42,109,0.1);
    transform: none;
    box-shadow: none;
}

.participants-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 1.25rem;
    transition: background 0.2s;
    border-radius: 0;
}

.participant-item:hover {
    background: rgba(0,229,255,0.05);
}

.participant-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
    animation: pulseGreen 2s infinite;
}

.participant-name {
    font-size: 0.82rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participant-name em {
    font-style: normal;
    color: #555;
    font-size: 0.72rem;
}

.participants-panel-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #444;
    text-transform: uppercase;
}

.panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
    backdrop-filter: blur(2px);
}

/* =============================================
   SESSION SEAL
   ============================================= */

.session-seal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    border: 1px solid rgba(0,255,157,0.25);
    border-radius: 10px;
    background: rgba(0,255,157,0.04);
    cursor: help;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.session-seal-container:hover {
    border-color: var(--accent-color);
}

.session-seal-label {
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: #555;
    text-transform: uppercase;
}

.session-seal {
    font-size: 1.6rem;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.session-seal-container.seal-pulse {
    animation: sealAppear 2s ease;
}

.session-seal-container.seal-mismatch {
    border-color: var(--danger-color) !important;
    background: rgba(255,42,109,0.08) !important;
    animation: mismatchPulse 0.5s ease infinite alternate !important;
}

/* The ⚠️ warning spin-in when MITM detected */
.session-seal-container.seal-mismatch .session-seal {
    animation: warningFlip 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes warningFlip {
    0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
    60%  { transform: scale(1.4) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes sealAppear {
    0%   { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes mismatchPulse {
    from { opacity: 0.8; }
    to   { opacity: 1; }
}

/* =============================================
   GROUP MESSAGE — SENDER NAME LABEL
   ============================================= */

.message-sender-name {
    font-size: 0.62rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    opacity: 0.7;
    margin-bottom: 3px;
    font-weight: 700;
}

.message.peer .message-sender-name {
    color: var(--secondary-color);
}

/* =============================================
   RESPONSIVE OVERRIDES FOR NEW ELEMENTS
   ============================================= */

@media (max-width: 768px) {
    /* Type selection */
    .type-cards {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin: 1.5rem 0;
    }
    .type-card {
        max-width: 100%;
        width: 100%;
        padding: 1.25rem 1rem;
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    .type-card-icon { font-size: 2.5rem; flex-shrink: 0; }
    .type-card-title { font-size: 0.95rem; }
    .type-card-desc { font-size: 0.68rem; }
    .type-card-badge { margin-top: 0; }
    .type-select-container { padding: 1.2rem 0.75rem; }

    /* Participants panel */
    .participants-panel { width: 80vw; max-width: 280px; }

    /* Session seal */
    .session-seal { font-size: 1.1rem; }
    .session-seal-container { padding: 4px 8px; }

    /* Hamburger in mobile header */
    .hamburger-btn { width: 36px; height: 36px; gap: 4px; }
}

@media (max-width: 420px) {
    .type-card {
        padding: 1.25rem 1rem;
        gap: 12px;
    }
    .type-card-icon { font-size: 2rem; }
}

/* =============================================
   SESSION SEAL POPUP MODAL
   ============================================= */

.seal-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(24px);
    z-index: 8000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.seal-popup.hidden {
    display: none !important;
}

.seal-popup-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 3rem 3.5rem;
    border: 1px solid rgba(0, 255, 157, 0.35);
    border-radius: 24px;
    background: rgba(5, 15, 10, 0.9);
    text-align: center;
    max-width: 480px;
    width: 90%;
}

.seal-popup-label {
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
}

.seal-popup-emoji {
    font-size: 4rem;
    letter-spacing: 8px;
    line-height: 1.2;
    filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.7));
    animation: sealAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: text;
}

.seal-popup-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.7;
    letter-spacing: 0.3px;
    max-width: 320px;
}

.seal-popup-desc strong {
    color: var(--accent-color);
}

.seal-popup-close {
    background: var(--accent-color);
    color: #000;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 4px;
}

.seal-popup-close:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .seal-popup-box {
        padding: 2rem 1.75rem;
    }
    .seal-popup-emoji {
        font-size: 3rem;
        letter-spacing: 6px;
    }
}

/* =============================================
   SECURE FILE CARD — View / Download
   ============================================= */

.message.media-message {
    padding: 0;
    background: transparent;
    border: none;
    max-width: 75%;
}

.secure-file-card {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 14px;
    padding: 14px 16px 10px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.25s ease;
}

.secure-file-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
}

/* Top row: icon + info */
.secure-file-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.secure-file-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.secure-file-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.secure-file-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.secure-file-meta {
    font-size: 0.62rem;
    color: #555;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Inline preview (shown on VIEW click) */
.media-preview-inline {
    width: 100%;
    max-height: 280px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.4);
    display: block;
}

audio.media-preview-inline {
    width: 100%;
    max-height: unset;
    height: 40px;
}

/* Button row */
.secure-file-btns {
    display: flex;
    gap: 8px;
}

.secure-file-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.22s ease;
    cursor: pointer;
}

.secure-file-btn.view {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--secondary-color);
    box-shadow: none;
}

.secure-file-btn.view:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--secondary-color);
    transform: none;
}

.secure-file-btn.save {
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.3);
    color: var(--accent-color);
    box-shadow: none;
}

.secure-file-btn.save:hover {
    background: rgba(0, 255, 157, 0.18);
    border-color: var(--accent-color);
    transform: none;
}

/* Timer bar */
.secure-file-timer-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 2px;
    margin-top: 4px;
}

.secure-file-timer-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.secure-file-timer-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 1s linear, background 0.3s ease;
}

.secure-file-timer-lbl {
    font-size: 0.58rem;
    color: #444;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: right;
    transition: color 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    /* ── Login / Type-select scrolling ───────────────────────────── */
    #login-screen,
    #type-select-screen {
        justify-content: flex-start;
        padding: 1.2rem 0.75rem 2rem;
    }

    .container {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    h1 { font-size: 2rem; }

    .brand-logo    { width: 52px; height: 52px; }
    .brand-logo-sm { width: 40px; height: 40px; }

    .subtitle {
        font-size: 0.72rem;
        margin-bottom: 1.5rem;
    }

    /* Call sign input */
    .name-input-group { margin-bottom: 1.2rem; }
    input { padding: 14px; font-size: 0.95rem; }

    /* Mode buttons */
    .mode-selection { margin-bottom: 1.2rem; }
    .mode-btn { padding: 10px 12px; font-size: 0.78rem; }

    /* Room display box */
    .generated-room-display { padding: 14px; margin-bottom: 1rem; }
    .room-id-value { font-size: 1.35rem; }

    /* Session duration */
    .session-duration-group { margin: 0.9rem 0 0.5rem; }
    .session-duration-input { font-size: 0.95rem; padding: 10px; }

    /* Action buttons — bigger tap targets */
    .action-btn {
        padding: 16px;
        font-size: 0.88rem;
        letter-spacing: 1px;
        margin-top: 8px;
    }

    /* Type-select cards */
    .type-cards { flex-direction: column; gap: 12px; }
    .type-card  { padding: 1.2rem 1rem; }
    .type-card-icon .svg-icon { font-size: 2rem; }
    .type-card-title { font-size: 0.9rem; }
    .type-card-desc  { font-size: 0.72rem; }

    /* ── Chat screen internal layout ───────────────────────── */
    .message.media-message { max-width: 88%; }
    .secure-file-card   { padding: 12px 12px 8px; }
    .secure-file-name   { font-size: 0.76rem; }
    .media-preview-inline { max-height: 200px; }
}

/* Extra-small phones */
@media (max-width: 380px) {
    .container   { padding: 1.2rem 1rem; }
    h1           { font-size: 1.7rem; }
    .action-btn  { padding: 14px; font-size: 0.82rem; }
    .room-id-value { font-size: 1.1rem; letter-spacing: 1px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SVG ICON SYSTEM
   All emoji replaced with crisp, professional SVG icons via Icons.get() helper.
   ─────────────────────────────────────────────────────────────────────────────── */

/* Base icon wrapper */
.svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 1;
}

.svg-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

/* Size variants */
.svg-icon.icon-xs  { font-size: 0.85rem; }
.svg-icon.icon-sm  { font-size: 1rem; }
.svg-icon.icon-md  { font-size: 1.3rem; }
.svg-icon.icon-lg  { font-size: 1.8rem; }
.svg-icon.icon-xl  { font-size: 2.6rem; }

/* Colour state helpers */
.svg-icon.seal-icon   { color: var(--accent-color); }
.svg-icon.seal-warning { color: var(--danger-color); }

/* Call overlay active-call dot — filled red circle */
.call-dot svg {
    fill: currentColor;
    stroke: none;
}
.call-dot { color: var(--danger-color); }

/* Buttons that contain SVG icons — align icon + text side by side */
button .svg-icon,
label .svg-icon {
    margin-right: 0.35em;
}

/* Icon-only buttons (attach, call) — keep compact */
.icon-btn .svg-icon { margin-right: 0; }

/* Type-card large icons */
.type-card-icon .svg-icon {
    color: inherit;
}

/* System alert messages may contain inline SVG */
.message.system .svg-icon {
    vertical-align: middle;
    margin-right: 0.3em;
    opacity: 0.85;
}

/* Secure file card icon container */
.secure-file-icon .svg-icon {
    color: var(--secondary-color);
}

/* Seal popup */
.seal-popup-label .svg-icon {
    color: var(--accent-color);
    margin-right: 0.4em;
}

/* Seal container header badge */
.session-seal .svg-icon {
    color: var(--accent-color);
}
