/* Lightbox 樣式 */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: all 0.3s ease;
    text-align: center;
}

.lightbox-overlay.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: #333;
}

.lightbox-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
}

.lightbox-icon.success {
    color: #28a745;
}

.lightbox-icon.error {
    color: #dc3545;
}

.lightbox-icon.warning {
    color: #ffc107;
}

.lightbox-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.lightbox-message {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.lightbox-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lightbox-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.lightbox-button.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.lightbox-button.error {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

/* 動畫效果 */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.lightbox-icon.success {
    animation: checkmark 0.6s ease-in-out;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .lightbox-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .lightbox-title {
        font-size: 20px;
    }
    
    .lightbox-message {
        font-size: 14px;
    }
    
    .lightbox-icon {
        font-size: 50px;
    }
}
