/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-0ry1gj4tkd] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-0ry1gj4tkd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MaintenanceNoticeModal.razor.rz.scp.css */
/* 점검 공지 모달 - 좌측 고정 */
.maintenance-modal[b-ldy9spm9bh] {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border: 2px solid #f0a500;
    border-left: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    max-width: 320px;
    animation: slideInLeft-b-ldy9spm9bh 0.4s ease-out;
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
}

.maintenance-modal.minimized[b-ldy9spm9bh] {
    min-width: auto;
    max-width: none;
    background: #f0a500;
    border-radius: 0 8px 8px 0;
    padding: 0;
}

@keyframes slideInLeft-b-ldy9spm9bh {
    from {
        transform: translateY(-50%) translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

/* 헤더 */
.maintenance-header[b-ldy9spm9bh] {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f0a500 0%, #e09400 100%);
    border-radius: 0 10px 0 0;
    color: white;
}

.warning-icon[b-ldy9spm9bh] {
    font-size: 20px;
    margin-right: 8px;
}

.maintenance-title[b-ldy9spm9bh] {
    flex: 1;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.3px;
}

.minimize-btn[b-ldy9spm9bh],
.close-btn[b-ldy9spm9bh] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    margin-left: 5px;
    transition: background 0.2s;
}

.minimize-btn:hover[b-ldy9spm9bh],
.close-btn:hover[b-ldy9spm9bh] {
    background: rgba(255, 255, 255, 0.35);
}

/* 본문 */
.maintenance-body[b-ldy9spm9bh] {
    padding: 15px;
}

.maintenance-message[b-ldy9spm9bh] {
    margin-bottom: 15px;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
}

.maintenance-message strong[b-ldy9spm9bh] {
    color: #c44b00;
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.maintenance-message p[b-ldy9spm9bh] {
    margin: 0;
    color: #555;
}

/* 일정 정보 */
.maintenance-schedule[b-ldy9spm9bh] {
    background: #fff;
    border: 1px solid #ffe0a0;
    border-radius: 8px;
    padding: 12px;
}

.schedule-row[b-ldy9spm9bh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #ffe0a0;
}

.schedule-row:last-child[b-ldy9spm9bh] {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-row.remaining[b-ldy9spm9bh] {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #ffe0a0;
    border-bottom: none;
}

.schedule-label[b-ldy9spm9bh] {
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

.schedule-value[b-ldy9spm9bh] {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

/* 카운트다운 스타일 */
.countdown[b-ldy9spm9bh] {
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 4px 10px;
    border-radius: 4px;
    background: #e8f5e9;
    color: #2e7d32;
}

.countdown.warning[b-ldy9spm9bh] {
    background: #fff3e0;
    color: #e65100;
}

.countdown.urgent[b-ldy9spm9bh] {
    background: #ffebee;
    color: #c62828;
    animation: pulse-b-ldy9spm9bh 1s infinite;
}

.countdown.in-progress[b-ldy9spm9bh] {
    background: #e53935;
    color: white;
}

@keyframes pulse-b-ldy9spm9bh {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 최소화 버튼 */
.maintenance-expand-btn[b-ldy9spm9bh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    transition: transform 0.2s;
}

.maintenance-expand-btn:hover[b-ldy9spm9bh] {
    transform: scale(1.1);
}

.minimized .warning-icon[b-ldy9spm9bh] {
    margin: 0;
    animation: wobble-b-ldy9spm9bh 2s infinite;
}

@keyframes wobble-b-ldy9spm9bh {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .maintenance-modal[b-ldy9spm9bh] {
        min-width: 250px;
        max-width: 280px;
        font-size: 12px;
    }
    
    .maintenance-title[b-ldy9spm9bh] {
        font-size: 13px;
    }
    
    .maintenance-message[b-ldy9spm9bh] {
        font-size: 12px;
    }
    
    .schedule-value[b-ldy9spm9bh] {
        font-size: 12px;
    }
}

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mufm9shajo],
.components-reconnect-repeated-attempt-visible[b-mufm9shajo],
.components-reconnect-failed-visible[b-mufm9shajo],
.components-pause-visible[b-mufm9shajo],
.components-resume-failed-visible[b-mufm9shajo],
.components-rejoining-animation[b-mufm9shajo] {
    display: none;
}

/* 점검 메시지는 기본적으로 숨김 - 명시적으로 분리 */
#components-reconnect-modal .components-maintenance-visible[b-mufm9shajo] {
    display: none !important;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-retrying[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-failed[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mufm9shajo] {
    display: block;
}

/* 점검 중 상태 - 다른 모든 요소 숨기고 점검 메시지만 표시 */
#components-reconnect-modal.components-reconnect-maintenance .components-reconnect-first-attempt-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-maintenance .components-reconnect-repeated-attempt-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-maintenance .components-reconnect-failed-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-maintenance .components-pause-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-maintenance .components-resume-failed-visible[b-mufm9shajo],
#components-reconnect-modal.components-reconnect-maintenance .components-rejoining-animation[b-mufm9shajo] {
    display: none !important;
}

/* 점검 모드일 때만 점검 메시지 표시 */
#components-reconnect-modal.components-reconnect-maintenance .components-maintenance-visible[b-mufm9shajo] {
    display: block !important;
}


#components-reconnect-modal[b-mufm9shajo] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-mufm9shajo 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mufm9shajo 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mufm9shajo 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mufm9shajo]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mufm9shajo 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mufm9shajo {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mufm9shajo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mufm9shajo {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mufm9shajo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mufm9shajo] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mufm9shajo] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mufm9shajo] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mufm9shajo] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mufm9shajo] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mufm9shajo] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mufm9shajo 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mufm9shajo] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mufm9shajo {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* 서버 점검 중 스타일 - 점검 모드일 때만 적용 */
#components-reconnect-modal.components-reconnect-maintenance .components-maintenance-visible[b-mufm9shajo] {
    text-align: center;
}

.maintenance-icon[b-mufm9shajo] {
    font-size: 48px;
    margin-bottom: 1rem;
    animation: maintenance-rotate-b-mufm9shajo 3s ease-in-out infinite;
}

@keyframes maintenance-rotate-b-mufm9shajo {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.maintenance-title[b-mufm9shajo] {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e65100;
    margin-bottom: 1rem;
}

.maintenance-schedule[b-mufm9shajo] {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.maintenance-schedule span[b-mufm9shajo] {
    font-weight: bold;
    color: #333;
}

.maintenance-remaining[b-mufm9shajo] {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.maintenance-remaining span[b-mufm9shajo] {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 4px;
    font-weight: bold;
    color: #e65100;
}

.maintenance-notice[b-mufm9shajo] {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

/* 점검 중 모달 배경색 변경 */
#components-reconnect-modal.components-reconnect-maintenance[b-mufm9shajo] {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border: 2px solid #f0a500;
}
