/**
 * Shared unlock confirmation modal styles
 * Include this in all report HTML files:
 * <link rel="stylesheet" href="/reports/shared/unlock-modal.css">
 */

/* 确认解锁模态框 */
.confirm-unlock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.confirm-unlock-overlay.active {
    display: flex;
}

.confirm-unlock-modal {
    background: var(--white, #ffffff);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: confirmModalIn 0.25s ease-out;
}

@keyframes confirmModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confirm-unlock-modal .unlock-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.confirm-unlock-modal h3 {
    color: var(--text-dark, #092B42);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.confirm-unlock-modal p {
    color: var(--text-gray, #555);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.confirm-unlock-modal .report-info {
    background: var(--bg-light, #F0F4F8);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.confirm-unlock-modal .report-info strong {
    color: var(--text-dark, #092B42);
    font-size: 1.1rem;
}

.confirm-unlock-modal .credit-cost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.confirm-unlock-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-unlock-buttons button {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.confirm-unlock-buttons .cancel-btn {
    background: var(--bg-light, #F0F4F8);
    color: var(--text-gray, #555);
}

.confirm-unlock-buttons .cancel-btn:hover {
    background: var(--border-color, #E2E8F0);
}

.confirm-unlock-buttons .confirm-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
}

.confirm-unlock-buttons .confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.confirm-unlock-buttons .confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Dark mode support */
[data-theme="dark"] .confirm-unlock-modal {
    background: var(--card-bg, #292929);
}

[data-theme="dark"] .confirm-unlock-modal .report-info {
    background: var(--bg-light, #1a1a1a);
}
