/* Shravak Portal Custom Styles */

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Auth Pages */
.shravak-auth-wrapper {
    min-height: calc(100vh - 150px);
}

.auth-card {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
}

.auth-logo {
    max-height: 80px;
}

.btn-auth {
    padding: 0.6rem 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

/* Navbar */
.shravak-navbar {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shravak-logo {
    max-height: 45px;
    object-fit: contain;
}

.shravak-navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 0.5rem;
    color: #555;
    transition: all 0.2s;
}

.shravak-navbar .nav-link:hover,
.shravak-navbar .nav-link.active {
    background-color: #f0f4f8;
    color: #0d6efd;
}

/* Dashboard Cards */
.stat-card {
    border-radius: 1rem;
    transition: transform 0.2s;
}

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

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-info-light {
    background-color: rgba(13, 202, 240, 0.1);
}

.bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
}

/* Tables & Content */
.content-card {
    border-radius: 1rem;
    overflow: hidden;
}

.custom-table th {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.custom-table td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.ls-wider {
    letter-spacing: 0.2rem;
}

/* Coming Soon */
.coming-soon-card {
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    border: 1px dashed #dee2e6 !important;
}

.o-50 {
    opacity: 0.5;
}

/* Donation Form Redesign */
.donation-card {
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.donation-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05) !important;
}

.donation-option {
    border-color: #e9ecef;
}

.donation-option:hover {
    border-color: #dee2e6;
    background-color: #f8f9fa;
}

/* Hide default radio buttons within donation options */
.donation-option .form-check-input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Visual indicators for selected donation options */
.donation-option.border-primary {
    border-color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.05);
    /* very light blue background */
}

/* Add custom check icon */
.donation-option.border-primary::after {
    content: '\f00c';
    /* FontAwesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #0d6efd;
    font-size: 1.2rem;
}

.payment-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
    border-radius: 0.5rem;
}

.shravak-btn-primary {
    background: linear-gradient(to right, #0d6efd, #0b5ed7);
    border: none;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3) !important;
}

.shravak-btn-primary:hover {
    background: linear-gradient(to right, #0b5ed7, #0a58ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4) !important;
}

.shravak-btn-primary:active {
    transform: translateY(1px);
}

.shravak-btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.8;
    background: #6c757d;
    box-shadow: none !important;
}

/* Custom Accordion overrides for Donation Form */
.accordion-item.donation-group {
    border: 1px solid #dee2e6 !important;
}

.accordion-item.donation-group .accordion-button {
    box-shadow: none !important;
    padding-right: 120px;
    /* Space for the clear button */
}

.accordion-item.donation-group .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #0d6efd;
}

.accordion-item.donation-group .accordion-button::after {
    margin-left: 0;
    position: absolute;
    right: 20px;
}

.clear-group-btn {
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.clear-group-btn:hover {
    background-color: #f8d7da;
    color: #dc3545;
    border-color: #dc3545;
}

#profilePhotoPreview {
    border: 3px solid #eaeaea;
    transition: 0.3s ease;
}

#profilePhotoPreview:hover {
    border-color: #0d6efd;
}