/* Confirmation Modal Styles - Dark Theme */

/* Modal Overlay */
.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001; /* Higher than pricing modal */
    padding: 1rem;
}

.confirmation-modal-container {
    background: var(--card-bg, #2E2541);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10002;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Header */
.confirmation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color, #FAFBFC);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.confirmation-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #80708F;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.confirmation-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color, #FAFBFC);
}

/* Modal Body */
.confirmation-modal-body {
    padding: 2rem;
    text-align: center;
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.confirmation-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.confirmation-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.confirmation-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.confirmation-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.confirmation-modal-body p {
    font-size: 1.125rem;
    color: var(--text-color, #FAFBFC);
    line-height: 1.6;
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Modal Footer */
.confirmation-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem 2rem 2rem;
    justify-content: flex-end;
}

/* Button Styles */
.btn-secondary {
    background: transparent;
    color: var(--text-color, #FAFBFC);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #6A5FC1), #362D59);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7B6FD1, #362D59);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(106, 95, 193, 0.4);
}

.btn-primary:focus {
    outline: 2px solid var(--primary-color, #6A5FC1);
    outline-offset: 2px;
}

/* Type-specific button styles */
.btn-primary.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.btn-primary.success:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-primary.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-primary.warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-primary.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-primary.danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* Responsive Design */
@media (max-width: 640px) {
    .confirmation-modal-container {
        margin: 1rem;
        max-width: none;
    }
    
    .confirmation-modal-header,
    .confirmation-modal-body,
    .confirmation-modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .confirmation-modal-footer {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
}