/* Custom Bootstrap Blue Theme Overrides */
body, .swal2-container ,button {
    user-select: none;
    cursor: default;
}
:root {
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
}

.text-primary {
    color: #0d6efd !important;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-outline-primary {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-color: #0d6efd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: #0d6efd;
}

.charity-registration-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    border: none !important;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.min-h-screen {
    min-height: 100vh;
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rounded-4 {
    border-radius: 1rem !important;
}

.opacity-90 {
    opacity: 0.9;
}

/* Modal Styles */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
    position: relative;
}

.modal-body {
    padding: 0 2rem 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.modal-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.btn-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    /* background: none; */
    border: none;
    /* font-size: 1.5rem; */
    color: #6b7280;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

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

/* Plan Selection Styles */
.plan-option {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.plan-option:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.plan-option.selected {
    border-color: #0d6efd;
    background: #f8faff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.plan-radio {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.plan-option.selected .plan-radio {
    border-color: #0d6efd;
    background: #0d6efd;
}

.plan-radio::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-content .plan-radio {
    display: none !important;
}

.plan-option.selected .plan-radio::after {
    opacity: 1;
}

.plan-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.plan-price {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
    gap: 1rem;
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #f3f4f6;
    border: none;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.modal-icon {
    width: 3rem;
    height: 3rem;
    background: #dbeafe;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.modal-icon i {
    font-size: 1.5rem;
    color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 0 1.5rem 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    .btn-close {
        top: 1rem;
        right: 1rem;
    }
}

.error {
    color: red;
}
