/**
 * Wallboard Styles
 * VitalPBX Asterisk Wallboard
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a12;
    min-height: 100vh;
    color: #fff;
    padding: 15px;
}

.wallboard {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: calc(100vh - 30px);
}

/* ========== TOP ROW ========== */
.top-row {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.queue-total {
    background: linear-gradient(145deg, #1a2744 0%, #0d1522 100%);
    border-radius: 16px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 2px solid #1e3a5f;
    transition: all 0.3s ease;
}

.queue-total.alert {
    background: linear-gradient(145deg, #4a1515 0%, #1a0808 100%);
    border-color: #991b1b;
    animation: alert-glow 2s ease-in-out infinite;
}

@keyframes alert-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 40px rgba(239, 68, 68, 0.5); }
}

.big-num {
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
}

.queue-total .info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.queue-total .label {
    font-size: 16px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wait-time {
    font-size: 42px;
    font-weight: 700;
}

.wait-time.ok { color: #4ade80; }
.wait-time.warning { color: #fbbf24; }
.wait-time.critical { color: #ef4444; }

/* Queue Cards */
.queue-cards {
    display: flex;
    gap: 10px;
    flex: 1;
}

.queue-card {
    flex: 1;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 12px;
    padding: 20px;
    border-top: 4px solid #374151;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.queue-card.has-calls { border-top-color: #f59e0b; }
.queue-card.critical { border-top-color: #ef4444; }

.queue-card .name {
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.queue-card .count {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.queue-card .wait {
    font-size: 16px;
    color: #64748b;
    margin-top: auto;
    padding-top: 10px;
}

/* Side Boxes */
.side-boxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sla-box {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    flex: 1;
}

.sla-box .label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
}

.sla-box .value {
    font-size: 52px;
    font-weight: 800;
}

.sla-box .value.good { color: #4ade80; }
.sla-box .value.warning { color: #fbbf24; }
.sla-box .value.bad { color: #ef4444; }

.callback-box {
    background: linear-gradient(145deg, #2e1065 0%, #1e1b4b 100%);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.callback-box .icon {
    font-size: 28px;
}

.callback-box .count {
    font-size: 36px;
    font-weight: 700;
    color: #c4b5fd;
}

.callback-box .label {
    font-size: 12px;
    color: #a78bfa;
    text-transform: uppercase;
}

/* ========== MAIN AREA ========== */
.main-area {
    display: flex;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.agents-panel {
    flex: 1;
    background: linear-gradient(145deg, #12121c 0%, #0a0a10 100%);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.panel-title {
    font-size: 18px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pills {
    display: flex;
    gap: 15px;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.pill-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.pill-dot.available { background: #4ade80; }
.pill-dot.oncall { background: #f97316; }
.pill-dot.ringing { background: #fbbf24; animation: pulse 0.5s infinite; }
.pill-dot.wrapup { background: #3b82f6; }
.pill-dot.paused { background: #6b7280; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    overflow-y: auto;
    flex: 1;
}

/* Agent Card */
.agent-card {
    background: #1a1a28;
    border-radius: 10px;
    padding: 15px;
    border-left: 5px solid #4ade80;
    transition: all 0.3s ease;
}

.agent-card.available { border-left-color: #4ade80; }
.agent-card.on_call { border-left-color: #f97316; }
.agent-card.ringing { border-left-color: #fbbf24; animation: ring-pulse 0.5s infinite; }
.agent-card.wrapup { border-left-color: #3b82f6; }
.agent-card.paused { border-left-color: #6b7280; opacity: 0.6; }
.agent-card.offline { border-left-color: #374151; opacity: 0.4; }

@keyframes ring-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.agent-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.agent-name {
    font-size: 20px;
    font-weight: 600;
}

.agent-ext {
    font-size: 14px;
    color: #64748b;
}

.agent-timer {
    font-family: monospace;
    font-size: 26px;
    font-weight: 700;
    color: #f97316;
}

.agent-timer.wrapup {
    font-size: 20px;
    background: #1e3a5f;
    color: #60a5fa;
    padding: 3px 10px;
    border-radius: 6px;
}

.agent-timer.wrapup.ending {
    background: #7f1d1d;
    color: #fca5a5;
}

.agent-status {
    font-size: 16px;
    margin-bottom: 10px;
}

.agent-status.available { color: #4ade80; }
.agent-status.talking { color: #60a5fa; font-family: monospace; }
.agent-status.ringing { color: #fbbf24; }
.agent-status.wrapup { color: #60a5fa; }
.agent-status.paused { color: #9ca3af; font-style: italic; }
.agent-status.offline { color: #6b7280; }

.brand-tag {
    font-size: 11px;
    background: #2d2d44;
    padding: 3px 8px;
    border-radius: 4px;
    color: #9ca3af;
    margin-left: 8px;
}

.queue-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.q-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.q-badge.in { background: #14532d; color: #4ade80; }
.q-badge.out { background: #1f1f2f; color: #4b5563; text-decoration: line-through; }

/* ========== RIGHT SIDEBAR ========== */
.right-sidebar {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.sidebar-panel {
    background: linear-gradient(145deg, #12121c 0%, #0a0a10 100%);
    border-radius: 16px;
    padding: 20px;
}

.sidebar-panel .title {
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.sidebar-panel.leaderboard {
    flex: 1;
}

/* Waiting List */
.waiting-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.waiting-item {
    background: #1a1a28;
    border-radius: 8px;
    padding: 12px;
    border-left: 4px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.waiting-item.warning { border-left-color: #f59e0b; }
.waiting-item.critical { border-left-color: #ef4444; background: #1f1215; }

.waiting-item .queue {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}

.waiting-item .caller {
    font-family: monospace;
    font-size: 15px;
    color: #60a5fa;
}

.waiting-item .time {
    font-family: monospace;
    font-size: 22px;
    font-weight: 700;
}

.waiting-item .time.ok { color: #4ade80; }
.waiting-item .time.warning { color: #fbbf24; }
.waiting-item .time.critical { color: #ef4444; }

/* Leaderboard */
.leader-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #1a1a28;
    border-radius: 8px;
    margin-bottom: 8px;
}

.leader-item:nth-child(1) { background: linear-gradient(90deg, rgba(234,179,8,0.15) 0%, #1a1a28 100%); }
.leader-item:nth-child(2) { background: linear-gradient(90deg, rgba(156,163,175,0.1) 0%, #1a1a28 100%); }
.leader-item:nth-child(3) { background: linear-gradient(90deg, rgba(180,83,9,0.1) 0%, #1a1a28 100%); }

.leader-medal {
    font-size: 28px;
}

.leader-info {
    flex: 1;
}

.leader-name {
    font-size: 18px;
    font-weight: 600;
}

.leader-title {
    font-size: 12px;
    color: #fbbf24;
}

.leader-stats {
    text-align: right;
}

.leader-calls {
    font-size: 28px;
    font-weight: 800;
}

.leader-avg {
    font-size: 12px;
    color: #64748b;
}

/* ========== BOTTOM BAR ========== */
.bottom-bar {
    background: linear-gradient(145deg, #12121c 0%, #0a0a10 100%);
    border-radius: 12px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 15px;
    color: #64748b;
    flex-shrink: 0;
}

.bottom-bar .brand {
    font-weight: 600;
    color: #94a3b8;
}

.bottom-bar .divider {
    width: 1px;
    height: 24px;
    background: #2d2d44;
}

.bottom-bar .queue-num {
    color: #60a5fa;
    font-family: monospace;
}

.bottom-bar .on-call {
    color: #fbbf24;
    margin-left: auto;
}

.bottom-bar .clock {
    font-family: monospace;
    font-size: 20px;
    color: #4b5563;
}

/* ========== OVERLAYS ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 18, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #1e3a5f;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    margin-top: 20px;
    font-size: 18px;
    color: #64748b;
}

.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 18, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.error-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.error-text {
    font-size: 24px;
    color: #ef4444;
    margin-bottom: 10px;
}

.error-sub {
    font-size: 16px;
    color: #64748b;
}

/* Empty message */
.empty-message {
    color: #4b5563;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) {
    .big-num {
        font-size: 72px;
    }
    
    .queue-card .count {
        font-size: 42px;
    }
    
    .wait-time {
        font-size: 32px;
    }
    
    .agents-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    .right-sidebar {
        width: 300px;
    }
}

@media (max-width: 1200px) {
    .right-sidebar {
        width: 280px;
    }
    
    .queue-cards {
        flex-wrap: wrap;
    }
    
    .queue-card {
        min-width: calc(50% - 5px);
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .wallboard {
        gap: 8px;
    }
    
    .top-row {
        flex-direction: column;
    }
    
    .main-area {
        flex-direction: column;
    }
    
    .right-sidebar {
        width: 100%;
        flex-direction: row;
    }
    
    .sidebar-panel {
        flex: 1;
    }
    
    .big-num {
        font-size: 56px;
    }
    
    .queue-card .count {
        font-size: 36px;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a28;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #3b3b5c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b4b7c;
}

/* Info icon tooltips */
.info-icon {
    cursor: help;
    font-size: 0.7em;
    opacity: 0.6;
    vertical-align: super;
}
.info-icon:hover {
    opacity: 1;
}

/* Agent card stats */
.agent-stats {
    font-size: 0.95rem;
    color: #aaa;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Queue card label */
.queue-card .queue-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-top: -5px;
    letter-spacing: 1px;
}

/* Status pill labels */
.status-pill .pill-label {
    font-size: 0.7rem;
    color: #aaa;
    margin-left: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sla-box .sla-target { font-size: 0.8rem; color: #888; margin-top: 5px; }


/* Queue stats line */
.queue-card .queue-stats {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 5px;
}
.queue-card .queue-stats:empty {
    display: none;
}

/* Make waiting indicator more prominent */
.queue-card .wait {
    font-size: 14px !important;
    font-weight: 600;
}

/* Waiting indicator when calls are in queue */
.queue-card.has-calls .wait,
.queue-card.critical .wait {
    font-size: 18px !important;
    font-weight: 700;
    color: #fbbf24;
}

/* Abandoned box styling */
.abandoned-box {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #ef4444;
}
.abandoned-box .icon {
    font-size: 28px;
}
.abandoned-box .count {
    font-size: 32px;
    font-weight: 800;
    color: #ef4444;
}
.abandoned-box .label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}

/* Total Calls box styling */
.total-calls-box {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #3b82f6;
}
.total-calls-box .icon {
    font-size: 28px;
}
.total-calls-box .count {
    font-size: 32px;
    font-weight: 800;
    color: #3b82f6;
}
.total-calls-box .label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}

/* ========== TEAM EXTENSIONS PANEL ========== */
.team-panel {
    background: linear-gradient(145deg, #12121c 0%, #0a0a10 100%);
    border-radius: 16px;
    padding: 15px 20px;
    margin-top: 12px;
    border-top: 3px solid #6366f1;
    flex-shrink: 0;
}

.team-panel .panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.team-panel .panel-title {
    font-size: 16px;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Team Member Card - Compact version of agent card */
.team-card {
    background: #1a1a28;
    border-radius: 8px;
    padding: 12px;
    border-left: 4px solid #4ade80;
    transition: all 0.3s ease;
}

.team-card.available { border-left-color: #4ade80; }
.team-card.on_call { border-left-color: #f97316; }
.team-card.ringing { border-left-color: #fbbf24; animation: ring-pulse 0.5s infinite; }
.team-card.paused { border-left-color: #6b7280; opacity: 0.6; }
.team-card.offline { border-left-color: #374151; opacity: 0.4; }

.team-card .team-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.team-card .team-name {
    font-size: 16px;
    font-weight: 600;
}

.team-card .team-ext {
    font-size: 12px;
    color: #64748b;
}

.team-card .team-timer {
    font-family: monospace;
    font-size: 20px;
    font-weight: 700;
    color: #f97316;
}

.team-card .team-status {
    font-size: 14px;
}

.team-card .team-status.available { color: #4ade80; }
.team-card .team-status.talking { color: #60a5fa; font-family: monospace; }
.team-card .team-status.ringing { color: #fbbf24; }
.team-card .team-status.paused { color: #9ca3af; font-style: italic; }
.team-card .team-status.offline { color: #6b7280; }

.team-card .team-dept {
    font-size: 11px;
    color: #6366f1;
    text-transform: uppercase;
    margin-top: 6px;
}

/* Responsive adjustments for team grid */
@media (max-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* ========== EASTER EGGS ========== */
.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 18, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.easter-egg-overlay.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Trophy Easter Egg */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0.7;
    }
}

.trophy-content {
    text-align: center;
    z-index: 10;
    animation: trophyBounce 0.6s ease-out;
}

@keyframes trophyBounce {
    0% { transform: scale(0) rotate(-10deg); }
    50% { transform: scale(1.2) rotate(5deg); }
    70% { transform: scale(0.9) rotate(-3deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.trophy-icon {
    font-size: 120px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
    animation: trophyGlow 2s ease-in-out infinite;
}

@keyframes trophyGlow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)); }
    50% { filter: drop-shadow(0 0 60px rgba(255, 215, 0, 1)); }
}

.trophy-message {
    font-size: 42px;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
}

.trophy-subtitle {
    font-size: 24px;
    color: #94a3b8;
    font-style: italic;
}

.trophy-zinger {
    font-size: 18px;
    color: #f97316;
    margin-top: 20px;
    font-weight: 600;
    animation: zingerPulse 1s ease-in-out infinite;
}

@keyframes zingerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Eric Easter Egg */
.eric-content {
    text-align: center;
}

.eric-bubble {
    background: linear-gradient(145deg, #1e3a5f 0%, #0d1522 100%);
    border-radius: 20px;
    padding: 30px 50px;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
    animation: bubblePop 0.4s ease-out;
}

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

.eric-text {
    font-size: 28px;
    color: #60a5fa;
    font-weight: 600;
}

.typing-dots {
    display: inline;
    margin-left: 2px;
}

.typing-dots span {
    font-size: 28px;
    color: #60a5fa;
    font-weight: 600;
    animation: typingDot 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0; }
    30% { opacity: 1; }
}

/* ========== ALERT POPUPS ========== */
.alert-popup-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.alert-popup {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 12px;
    padding: 15px;
    border-left: 5px solid #fbbf24;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease-out;
    transition: all 0.3s ease;
}

.alert-popup.warning {
    border-left-color: #fbbf24;
    background: linear-gradient(145deg, #2a2a1e 0%, #1a1a0a 100%);
}

.alert-popup.critical {
    border-left-color: #ef4444;
    background: linear-gradient(145deg, #2a1a1a 0%, #1a0a0a 100%);
    animation: slideIn 0.3s ease-out, criticalPulse 2s ease-in-out infinite;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes criticalPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(239, 68, 68, 0.6);
    }
}

.alert-popup.fade-out {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.alert-popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.alert-popup-icon {
    font-size: 20px;
}

.alert-popup-type {
    flex: 1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

.alert-popup-dismiss {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.2s;
}

.alert-popup-dismiss:hover {
    color: #fff;
}

.alert-popup-message {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.alert-popup.warning .alert-popup-message {
    color: #fbbf24;
}

.alert-popup.critical .alert-popup-message {
    color: #fca5a5;
}

.alert-popup-time {
    font-size: 12px;
    color: #64748b;
}

/* Responsive for alert popups */
@media (max-width: 768px) {
    .alert-popup-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}
