/* _content/GoodwayLotterySystem/Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout Scoped Styles - Minimal for Blazor Error UI */

body.fullscreen-hide-nav .page[b-lmlgyr16f1] { display:none !important; }
body.fullscreen-hide-nav main[b-lmlgyr16f1] { width:100% !important; margin:0; padding:0; }

#blazor-error-ui[b-lmlgyr16f1] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-lmlgyr16f1] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/GoodwayLotterySystem/Components/Shared/MessageBoxModal.razor.rz.scp.css */
/* Modal 遮罩背景 */
.modal-overlay[b-2iqnllb2vt] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn-b-2iqnllb2vt 0.2s ease-out;
    padding: 20px;
}

/* Modal Dialog 容器 */
.modal-dialog[b-2iqnllb2vt] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    animation: scaleIn-b-2iqnllb2vt 0.3s ease-out;
    overflow: hidden;
}

/* Modal Header */
.modal-header[b-2iqnllb2vt] {
    padding: 24px 28px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.modal-icon[b-2iqnllb2vt] {
    font-size: 32px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-title[b-2iqnllb2vt] {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
}

/* Modal Body */
.modal-body[b-2iqnllb2vt] {
    padding: 24px 28px;
}

.modal-message[b-2iqnllb2vt] {
    font-size: 18px;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 16px 0;
}

.modal-detail[b-2iqnllb2vt] {
    background: #f9fafb;
    border-left: 3px solid #d1d5db;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.detail-label[b-2iqnllb2vt] {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
}

.detail-content[b-2iqnllb2vt] {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    word-wrap: break-word;
}

/* Modal Footer */
.modal-footer[b-2iqnllb2vt] {
    padding: 20px 28px 24px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-confirm[b-2iqnllb2vt] {
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

/* Error 樣式 */
.modal-error .modal-icon[b-2iqnllb2vt] {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.modal-error .modal-title[b-2iqnllb2vt] {
    color: #dc2626;
}

.modal-error .modal-detail[b-2iqnllb2vt] {
    background: #fef2f2;
    border-left-color: #f87171;
}

.modal-error .btn-confirm[b-2iqnllb2vt] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.modal-error .btn-confirm:hover[b-2iqnllb2vt] {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Warning 樣式 */
.modal-warning .modal-icon[b-2iqnllb2vt] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.modal-warning .modal-title[b-2iqnllb2vt] {
    color: #d97706;
}

.modal-warning .modal-detail[b-2iqnllb2vt] {
    background: #fffbeb;
    border-left-color: #fbbf24;
}

.modal-warning .btn-confirm[b-2iqnllb2vt] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.modal-warning .btn-confirm:hover[b-2iqnllb2vt] {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* 動畫定義 */
@keyframes fadeIn-b-2iqnllb2vt {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn-b-2iqnllb2vt {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 響應式設計 - 手機版 */
@media (max-width: 768px) {
    .modal-overlay[b-2iqnllb2vt] {
        padding: 16px;
    }

    .modal-dialog[b-2iqnllb2vt] {
        max-width: none;
    }

    .modal-header[b-2iqnllb2vt] {
        padding: 20px 20px 16px;
    }

    .modal-icon[b-2iqnllb2vt] {
        font-size: 28px;
        width: 42px;
        height: 42px;
    }

    .modal-title[b-2iqnllb2vt] {
        font-size: 18px;
    }

    .modal-body[b-2iqnllb2vt] {
        padding: 20px;
    }

    .modal-message[b-2iqnllb2vt] {
        font-size: 18px;
    }

    .modal-footer[b-2iqnllb2vt] {
        padding: 16px 20px 20px;
    }

    .btn-confirm[b-2iqnllb2vt] {
        width: 100%;
    }
}
/* _content/GoodwayLotterySystem/Components/Shared/ToastContainer.razor.rz.scp.css */
/* Toast Container - 固定在畫面右上角 */
.toast-container[b-2wdhmuzkpb] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* Toast 基本樣式 */
.toast[b-2wdhmuzkpb] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 
                0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    animation: slideIn-b-2wdhmuzkpb 0.3s ease-out;
    transition: all 0.3s ease;
}

/* Toast 關閉動畫 */
.toast.closing[b-2wdhmuzkpb] {
    animation: slideOut-b-2wdhmuzkpb 0.3s ease-in forwards;
    opacity: 0;
    transform: translateX(100%);
}

/* Toast 成功樣式 */
.toast-success[b-2wdhmuzkpb] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
    color: white;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

/* Toast 資訊樣式 */
.toast-info[b-2wdhmuzkpb] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    color: white;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

/* Toast 圖示 */
.toast-icon[b-2wdhmuzkpb] {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Toast 內容 */
.toast-content[b-2wdhmuzkpb] {
    flex: 1;
    min-width: 0;
}

.toast-message[b-2wdhmuzkpb] {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
}

/* 動畫定義 */
@keyframes slideIn-b-2wdhmuzkpb {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* 響應式設計 - 手機版 */
@media (max-width: 768px) {
    .toast-container[b-2wdhmuzkpb] {
        top: auto;
        bottom: 20px;
        right: 12px;
        left: 12px;
    }

    .toast[b-2wdhmuzkpb] {
        min-width: auto;
        max-width: none;
        width: 100%;
        padding: 14px 16px;
    }

    .toast-icon[b-2wdhmuzkpb] {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }

    .toast-message[b-2wdhmuzkpb] {
        font-size: 13px;
    }
}
