/* Custom CSS for Forbidden Word Game - Neon Pink/Purple Theme */

:root {
    --bg-color: #090613;
    --card-bg: rgba(24, 15, 43, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-color: #f43f5e; /* Neon Rose/Pink */
    --primary-glow: rgba(244, 63, 94, 0.45);
    --accent-color: #d946ef; /* Cyber Fuchsia */
    --accent-glow: rgba(217, 70, 239, 0.45);
    --secondary-color: #06b6d4; /* Neon Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.35);
    
    --success-color: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --danger-color: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.45);
    --warning-color: #f59e0b;
    
    --text-main: #f8fafc;
    --text-muted: #a78bfa; /* Light Purple Muted */
    --transition-speed: 0.25s;
}

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

#forbidden-game-layout {
    font-family: 'Outfit', 'Mitr', sans-serif;
    color: var(--text-main);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Effects */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(#f43f5e, rgba(244,63,94,.15) 1.5px, transparent 40px),
        radial-gradient(#d946ef, rgba(217,70,239,.1) 1px, transparent 30px),
        radial-gradient(#06b6d4, rgba(6,182,212,.08) 1.5px, transparent 40px);
    background-size: 450px 450px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.2;
    z-index: -2;
}

.ambient-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.08) 0%, rgba(244, 63, 94, 0.05) 50%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.app-container {
    width: 100%;
    max-width: 1200px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.game-header {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.game-logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--primary-glow)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 15px var(--accent-glow)); }
}

h1.glitch-text {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(244, 63, 94, 0.1);
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* Warnings */
.warning-card-alert {
    border-left: 4px solid var(--primary-color) !important;
    background: rgba(244, 63, 94, 0.07) !important;
}

/* Cards & Containers */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    padding: 24px;
    width: 100%;
    transition: box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.card:hover {
    border-color: rgba(217, 70, 239, 0.2);
    box-shadow: 0 12px 40px 0 rgba(217, 70, 239, 0.08);
}

.welcome-card {
    max-width: 480px;
    margin: 0 auto;
}

/* Screen toggles */
.screen {
    display: none;
    width: 100%;
    animation: fadeIn 0.35s ease-out forwards;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Inputs and Forms */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.input-group input[type="text"] {
    width: 100%;
    background: rgba(15, 10, 30, 0.6);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all var(--transition-speed);
}

.input-group input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-glow);
    background: rgba(15, 10, 30, 0.85);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    user-select: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.45);
    filter: brightness(1.1);
}

.btn-accent {
    background: rgba(217, 70, 239, 0.15);
    color: #f472b6;
    border: 1.5px solid rgba(217, 70, 239, 0.3);
}

.btn-accent:hover {
    background: rgba(217, 70, 239, 0.25);
    color: white;
    box-shadow: 0 0 12px rgba(217, 70, 239, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 15px var(--danger-glow);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.55);
}

.btn-text {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 2px 6px;
    font-family: inherit;
    text-shadow: 0 0 8px var(--secondary-glow);
}

.btn-text:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 24px;
    font-size: 1.1rem;
}

/* Dividers */
.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 20px 0;
}

/* Badge System */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.badge-player {
    border-color: rgba(244, 63, 94, 0.25);
    color: #fda4af;
    background: rgba(244, 63, 94, 0.12);
}

.badge-owner {
    border-color: rgba(217, 70, 239, 0.3);
    color: #f472b6;
    background: rgba(217, 70, 239, 0.15);
}

.badge-mode {
    border-color: rgba(6, 182, 212, 0.25);
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.12);
}

/* Rules Section dropdown */
#rules-content {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; overflow: hidden; }
    to { opacity: 1; max-height: 800px; }
}

/* Lobby Layout */
.lobby-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

@media (min-width: 768px) {
    .lobby-layout {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Info Cards */
.info-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
}

.room-code-display {
    margin-bottom: 16px;
}

.room-code-display .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.room-code-display .code {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
    font-family: 'Outfit', monospace;
    padding-left: 6px; /* offset letter-spacing on last char */
}

.connection-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Radar pulse animation for members in lobby */
.radar-pulse {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    position: relative;
    margin: 15px auto;
    animation: radarPulse 1.8s infinite ease-out;
}

@keyframes radarPulse {
    0% { transform: scale(0.6); opacity: 1; box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.4); }
    100% { transform: scale(1.2); opacity: 0; box-shadow: 0 0 0 16px rgba(217, 70, 239, 0); }
}

.pulse-text {
    font-size: 0.85rem !important;
    animation: textFlash 1.5s infinite ease-in-out;
}

@keyframes textFlash {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; color: var(--accent-color); }
}

/* Player List UI in Lobby */
.players-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.player-list-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom scrollbar */
.player-list-scroll::-webkit-scrollbar,
.locations-checkbox-list::-webkit-scrollbar {
    width: 6px;
}
.player-list-scroll::-webkit-scrollbar-thumb,
.locations-checkbox-list::-webkit-scrollbar-thumb {
    background: rgba(217, 70, 239, 0.2);
    border-radius: 4px;
}
.player-list-scroll::-webkit-scrollbar-track,
.locations-checkbox-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.15);
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    list-style: none;
}

.player-grid li {
    background: rgba(15, 10, 30, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    word-break: break-all;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: all var(--transition-speed);
}

/* Settings Card UI */
.settings-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.setting-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.setting-item select,
.setting-item input[type="range"] {
    width: 100%;
}

.setting-item select {
    background: rgba(15, 10, 30, 0.6);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.setting-item select:focus {
    border-color: var(--primary-color);
}

.range-display {
    display: flex;
    align-items: center;
    gap: 16px;
}

.range-display input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    outline: none;
    accent-color: var(--primary-color);
}

/* Category Grid Checkboxes */
.categories-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
}

.category-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.78rem;
    user-select: none;
    transition: all var(--transition-speed);
}

.category-checkbox-label input {
    accent-color: var(--primary-color);
}

.category-checkbox-label.active {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.4);
    color: white;
    box-shadow: 0 0 8px rgba(244, 63, 94, 0.1);
}

/* Active Game Screens */
.game-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Game Header bar */
.game-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 8px;
}

.game-timer-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timer-ring {
    transform: rotate(-90deg);
}

.timer-ring__circle {
    transition: stroke-dashoffset 0.35s, stroke 0.3s;
    transform-origin: 50% 50%;
    stroke-dasharray: 163.36; /* 2 * PI * r (r=26) */
    stroke-dashoffset: 0;
}

.timer-text {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Outfit', monospace;
    letter-spacing: 0.5px;
    min-width: 55px;
}

/* Active Game Grid */
.active-game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .active-game-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Players and Forbidden Words Grid */
.words-panel h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* Individual word card */
.player-word-card {
    background: rgba(15, 10, 30, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed);
}

/* Glow highlight for myself (hidden word) */
.player-word-card.my-card {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.05);
}

.player-word-card .card-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.player-word-card .card-player-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-word-card .card-word-display {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
    text-align: center;
    margin: 8px 0;
    word-break: break-all;
}

/* Hidden word style */
.word-hidden-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
}

.word-hidden-display svg {
    animation: lockShake 3s infinite ease-in-out;
}

@keyframes lockShake {
    0%, 90%, 100% { transform: rotate(0); }
    92% { transform: rotate(10deg); }
    94% { transform: rotate(-10deg); }
    96% { transform: rotate(8deg); }
    98% { transform: rotate(-8deg); }
}

.btn-busted {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    width: 100%;
    text-align: center;
    margin-top: 6px;
}

.btn-busted:hover {
    background: var(--danger-color);
    color: white;
    box-shadow: 0 0 10px var(--danger-glow);
}

/* Busted/Eliminated overlay style */
.player-word-card.busted-card {
    background: rgba(15, 10, 30, 0.8) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    opacity: 0.5;
}

.player-word-card.busted-card .card-word-display {
    text-decoration: line-through;
    color: var(--danger-color) !important;
    text-shadow: none !important;
}

/* Diagonal banner for busted */
.busted-banner {
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--danger-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 25px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

/* Points indicator on word card */
.score-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
}

.score-badge.minus {
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
}

/* Switch UI Mode Panel */
.game-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Forehead Mode Layout (Huge Overlay Screen) */
.forehead-mode-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #05020c;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
    box-shadow: inset 0 0 100px rgba(244, 63, 94, 0.25);
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: inset 0 0 60px rgba(244, 63, 94, 0.15); }
    50% { box-shadow: inset 0 0 100px rgba(217, 70, 239, 0.25); }
}

.forehead-mode-overlay.active {
    display: flex;
}

.forehead-instructions {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.forehead-word-box {
    background: rgba(255, 255, 255, 0.03);
    border: 3px solid var(--primary-color);
    border-radius: 30px;
    padding: 48px 24px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 50px var(--primary-glow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    animation: borderRainbow 6s infinite linear;
}

@keyframes borderRainbow {
    0% { border-color: var(--primary-color); box-shadow: 0 0 40px var(--primary-glow); }
    50% { border-color: var(--accent-color); box-shadow: 0 0 40px var(--accent-glow); }
    100% { border-color: var(--primary-color); box-shadow: 0 0 40px var(--primary-glow); }
}

.forehead-word {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-shadow: 0 0 15px var(--primary-color);
    word-break: break-word;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .forehead-word {
        font-size: 5rem;
    }
}

.forehead-player-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 14px;
    border-radius: 12px;
}

/* Event notification feed */
.game-events-feed {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-item {
    font-size: 0.82rem;
    line-height: 1.4;
    border-left: 2.5px solid var(--border-color);
    padding-left: 8px;
    color: var(--text-slate-300);
}

.event-item.event-busted {
    border-left-color: var(--danger-color);
    color: #fda4af;
    background: rgba(239, 68, 68, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

.event-item.event-join {
    border-left-color: var(--success-color);
    color: #a7f3d0;
}

.event-item.event-system {
    border-left-color: var(--secondary-color);
    color: #c7d2fe;
}

/* Reveal Screen roles list */
.post-reveal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}

@media (min-width: 600px) {
    .post-reveal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.reveal-card {
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reveal-card.highlight {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.reveal-card .reveal-player {
    font-weight: 600;
    font-size: 0.95rem;
}

.reveal-card .reveal-word {
    font-weight: 700;
    color: var(--primary-color);
}

.reveal-card .reveal-score {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-muted);
}

/* Alert Modals (CSS implementation) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 10, 0.85);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease-out;
}

.modal-box {
    background: #0f0a1f;
    border: 1.5px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px var(--primary-glow);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    text-align: center;
    animation: modalSlideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.modal-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* QR Code Display Card */
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    background: white;
    padding: 12px;
    border-radius: 12px;
    width: 144px;
    height: 144px;
}
