/* 
 * Operator Glass Styles - Phase 4
 * Premium Glassmorphism for Operator Control Panel
 */

/* Operator Page Background */
.operator-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 25%, #7DD3FC 50%, #38BDF8 100%);
    position: relative;
}

.operator-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 50%);
    z-index: -1;
}

/* Enhanced Date Control */
.date-control-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.date-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.date-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-400) 0%, var(--ocean-600) 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.date-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.date-input-enhanced {
    flex: 1;
    height: 50px;
    padding: 0 20px;
    border: 2px solid transparent;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    transition: all 0.3s ease;
}

.date-input-enhanced:focus {
    border-color: var(--sky-500);
    background: white;
    box-shadow: 
        0 0 0 4px rgba(14, 165, 233, 0.1),
        0 4px 20px rgba(14, 165, 233, 0.2);
}

.date-quick-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.date-quick-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    color: var(--ocean-700);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-quick-btn:hover {
    background: rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

/* Label Cards Enhancement */
.label-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.label-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.label-header {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.label-header:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
}

.label-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--ocean-600) 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

/* 3. 라벨 정보 텍스트 (별명, 스케줄 개수) */
.label-info {
    /* 글자색을 더 진하게 */
    color: #1E293B;  /* 기본보다 진한 색 */
    font-weight: 600;  /* 굵게 */
}

/* 4. 확장/축소 화살표 (▼) */
.expand-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    color: #1E293B;  /* 화살표 색상을 진하게 */
    font-weight: bold;
}

/* 링크 액션 버튼 */
.btn-link-action {
    padding: 6px 12px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 8px;
    background: white;
    color: #0c4a6e;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.btn-link-action:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.btn-link-action.primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    border: none;
}

.btn-link-action.primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* 모바일에서 버튼 균형 조정 */
@media (max-width: 768px) {
    .btn-link-action {
        padding: 8px;
        font-size: 1.1em;
        min-width: 36px;
        min-height: 36px;
        justify-content: center;
    }

    /* 텍스트만 숨기고 이모지는 유지 */
    .label-header .btn-link-action {
        font-size: 1em;
    }
}

/* Quick Add Section Glass */
.quick-add-header {
    background: rgba(240, 249, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 14px;
    margin: 15px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Compact Schedule List */
.schedule-list-compact {
    margin: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: white;
    border-radius: 10px;
    border-left: 3px solid rgba(14, 165, 233, 0.3);
    transition: all 0.2s ease;
    gap: 12px;
}

.schedule-item:hover {
    background: rgba(14, 165, 233, 0.03);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.schedule-item.past {
    border-left-color: #10b981;
    opacity: 0.7;
}

.schedule-item.imminent {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.schedule-item.future {
    border-left-color: rgba(14, 165, 233, 0.5);
}

.schedule-item-time {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.time-input-compact {
    font-size: 1em;
    font-weight: 600;
    padding: 6px 10px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #0c4a6e;
    transition: all 0.2s ease;
    width: 85px;
}

.time-input-compact:focus {
    border-color: #0ea5e9;
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.status-badge {
    font-size: 1.1em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-badge.past {
    background: rgba(16, 185, 129, 0.1);
}

.status-badge.imminent {
    background: rgba(245, 158, 11, 0.15);
    animation: pulse-warning 2s infinite;
}

.status-badge.future {
    background: rgba(14, 165, 233, 0.1);
}

@keyframes pulse-warning {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.schedule-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.duration-compact {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(14, 165, 233, 0.05);
    padding: 6px 10px;
    border-radius: 8px;
}

.duration-input-compact {
    width: 40px;
    font-size: 0.95em;
    font-weight: 600;
    padding: 2px 4px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 4px;
    text-align: center;
    background: white;
    color: #0c4a6e;
}

.duration-input-compact:focus {
    border-color: #0ea5e9;
    outline: none;
}

.duration-compact span {
    font-size: 0.85em;
    color: #64748b;
}

.btn-icon-compact {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1em;
}

.btn-icon-compact:hover {
    background: rgba(14, 165, 233, 0.2);
    transform: scale(1.1);
}

.btn-icon-compact.delete {
    background: rgba(239, 68, 68, 0.1);
}

.btn-icon-compact.delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .schedule-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .schedule-item-time {
        justify-content: space-between;
        width: 100%;
    }

    .schedule-item-controls {
        justify-content: space-between;
        width: 100%;
    }

    .duration-compact {
        flex: 1;
    }

    .btn-icon-compact {
        flex: 0 0 38px;
        height: 38px;
    }
}

/* Time Status Enhancement */
.time-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.time-icon.past {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

.time-icon.imminent {
    background: rgba(251, 191, 36, 0.1);
    color: #F59E0B;
    animation: pulse-glow 2s infinite;
}

.time-icon.future {
    background: rgba(34, 197, 94, 0.1);
    color: #10B981;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
}

/* Enhanced Buttons */
.btn-play {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Emergency Controls Glass */
.emergency-controls {
    background: rgba(239, 68, 68, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.btn-emergency {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5);
}

/* Schedule Item Enhancement */
.schedule-item-enhanced {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.schedule-item-enhanced:hover {
    border-color: var(--sky-300);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}

/* Duration Controls Glass */
.duration-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.05);
    padding: 8px 12px;
    border-radius: 10px;
}

.duration-input {
    width: 60px;
    padding: 8px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    background: white;
    text-align: center;
    font-weight: 600;
    color: var(--ocean-700);
}

/* Realtime Indicator */
.realtime-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.realtime-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Modal Enhancement */
.modal-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ===== OPERATOR COMPACT FIXED HEADER & FOOTER ===== */

/* Compact Fixed Header */
.operator-fixed-header.compact {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.operator-header-compact {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    margin: 0;
    border-radius: 0;
}

/* Header Brand */
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-brand .logo-small {
    height: 30px;
    width: auto;
}

.header-brand h1 {
    font-size: 1.2rem;
    margin: 0;
    white-space: nowrap;
}

/* Compact Date Control - 너비 조정 */
.date-control-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 165, 233, 0.05);
    padding: 5px 10px;
    border-radius: 10px;
    flex: 0 1 auto;
}

.date-nav-mini {
    width: 20px;
    height: 24px;
    border: none;
    background: var(--sky-500);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.date-nav-mini:hover {
    background: var(--sky-600);
    transform: scale(1.1);
}

.date-input-mini {
    height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 6px;
    font-size: 13px;
    width: 130px;
}

.date-quick-mini {
    display: flex;
    gap: 2px;
    margin-left: 5px;
    flex-shrink: 0;
}

.date-quick-mini button {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.date-quick-mini button:hover,
.date-quick-mini button.active {
    background: var(--sky-100);
    border-color: var(--sky-500);
}

.date-info-mini {
    font-size: 13px;
    color: var(--ocean-700);
    font-weight: 600;
    margin-left: 8px;
    white-space: nowrap;
    min-width: 80px;
}

/* Header Actions - 중앙 정렬 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.realtime-indicator-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.realtime-indicator-mini .realtime-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.btn-mini {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-mini:hover {
    background: var(--sky-100);
    border-color: var(--sky-500);
    transform: translateY(-1px);
}

/* Compact Emergency - 오른쪽 배치 */
.emergency-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.05);
    padding: 5px 10px;
    border-radius: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.duration-mini {
    width: 40px;
    height: 26px;
    padding: 0 5px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
}

.emergency-compact span {
    font-size: 12px;
    color: #666;
}

.btn-emergency-mini {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-emergency-mini:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

/* Main Content with Compact Header */
.operator-main-content.compact {
    padding-top: 70px;
    padding-bottom: 100px; /* 푸터가 커짐 */
    min-height: 100vh;
}

/* Fixed Footer with Shortcuts */
.operator-fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(0deg, rgba(224, 242, 254, 0.98) 0%, rgba(224, 242, 254, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    margin: 0;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px;
}

.quick-links {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-label {
    font-weight: 600;
    color: var(--ocean-700);
    margin-right: 10px;
}

.footer-btn {
    background: rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ocean-700);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.2);
    cursor: pointer;
}

.footer-btn:hover {
    background: rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.footer-btn.logout {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #DC2626;
}

.footer-btn.logout:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Keyboard Shortcuts in Footer */
.keyboard-shortcuts-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 8px;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    flex-wrap: wrap;
}

.shortcut-item {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.shortcut-item kbd {
    background: rgba(14, 165, 233, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 10px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--ocean-700);
    font-weight: 600;
}

/* Responsive Compact Header */
@media (max-width: 1200px) {
    .operator-header-compact {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 15px;
    }
    
    .header-brand {
        width: 100%;
    }
    
    .date-control-compact {
        flex: 1;
        order: 2;
    }
    
    .header-actions {
        order: 3;
        flex: 0 1 auto;
    }
    
    .emergency-compact {
        order: 4;
        margin-left: 0;
    }
    
    .operator-main-content.compact {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .header-brand h1 {
        font-size: 1rem;
    }
    
    .header-brand .logo-small {
        height: 25px;
    }
    
    .date-input-mini {
        width: 110px;
    }
    
    .date-quick-mini button {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .btn-mini {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .realtime-indicator-mini span {
        display: none;
    }
    
    .realtime-indicator-mini {
        padding: 4px;
    }
    
    .footer-label {
        display: none;
    }
    
    .footer-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .keyboard-shortcuts-inline {
        gap: 10px;
    }
    
    .shortcut-item {
        font-size: 10px;
    }
}

/* Fix label cards margin */
#labelCardsContainer {
    margin-top: 20px;
}

/* Remove old shortcuts modal button */
button[onclick="showKeyboardShortcuts()"] {
    display: none;
}

/* ===== 운영자 페이지 알림 토스트 스타일 ===== */
.container > .alert {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
    animation: slideInTop 0.4s ease-out;
}

/* 알림 타입별 스타일 */
.container > .alert.alert-success {
    background: rgba(76, 175, 80, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.container > .alert.alert-warning {
    background: rgba(255, 193, 7, 0.95);
    color: #333;
    border: 1px solid rgba(255, 235, 59, 0.3);
}

.container > .alert.alert-danger {
    background: rgba(244, 67, 54, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.container > .alert.alert-info {
    background: rgba(33, 150, 243, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 애니메이션 */
@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* 5초 후 자동 사라짐 */
@keyframes fadeOutTop {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
}

/* 자동 사라짐 적용 (5초) */
.container > .alert {
    animation: 
        slideInTop 0.4s ease-out,
        fadeOutTop 0.4s ease-out 4.6s forwards;
}

/* 플레이어 상태 미니 표시 */
.player-status-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(14, 165, 233, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.player-status-mini .status-icon {
    font-size: 16px;
}

.player-status-mini:hover {
    background: rgba(14, 165, 233, 0.2);
    cursor: pointer;
}

/* 라벨 카드의 플레이어 상태 */
.player-status-indicator {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 🆕 연결 상태 표시 스타일 */
.player-status-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.player-status-mini .status-icon {
    font-size: 18px;
}

.player-status-mini .status-text {
    color: #64748b;
}

/* 연결 상태별 색상 */
.player-status-mini.status-good {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
}

.player-status-mini.status-good .status-icon {
    animation: pulse-green 2s ease-in-out infinite;
}

.player-status-mini.status-warning {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.player-status-mini.status-warning .status-icon {
    animation: pulse-yellow 2s ease-in-out infinite;
}

.player-status-mini.status-error {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.player-status-mini.status-error .status-icon {
    animation: pulse-red 2s ease-in-out infinite;
}

/* 펄스 애니메이션 */
@keyframes pulse-green {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes pulse-yellow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes pulse-red {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}