/* Confirmation Modal Styles */

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

.confirmation-modal-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10002;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Modal Header */
.confirmation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.confirmation-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

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

.confirmation-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* 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: #374151;
    line-height: 1.6;
    margin: 0;
}

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

/* Button Styles */
.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    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;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
}

.btn-primary:focus {
    outline: 2px solid #3b82f6;
    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%;
    }
}