@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
  font-family: 'Philosopher', serif;
}
a
{
    text-decoration: none;
}

.widget ul
{
    padding: 0 !important;
}
#dynamic-family-member-form .text-danger
{
    margin-top: 10px !important;
}

#refresh-upcoming-events-btn, #refresh-past-events-btn
{
    color: #fff;
    padding: 0.5rem;
}

.edit-existing-member,
.delete-family-member {
    position: relative;
    z-index: 1;
}

.edit-existing-member:hover,
.edit-existing-member:focus,
.edit-existing-member:active,
.edit-existing-member:focus-visible,
.delete-family-member:hover,
.delete-family-member:focus,
.delete-family-member:active,
.delete-family-member:focus-visible {
    color: inherit !important;
    background-color: inherit !important;
    border-color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    text-shadow: none !important;
}


.edit-existing-member, .delete-family-member
{
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}
.delete-family-member
{
    margin-left: 12px;
    color: red;
}
.delete-family-member:hover
{
    color: red;
}
.edit-existing-member
{
    color: blue;
}
.edit-existing-member:hover
{
    background: none !important;
    color: blue;
}

#family-member-loader {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
    margin-bottom: 15px;
    color: #3498db !important;
}

#family-member-loader p {
    color: #666;
    font-size: 1rem;
}

/* Smooth scroll animation */
html {
    scroll-behavior: smooth;
}

/* Events tabs styling */
.events-tabs-container .nav-tabs .event-nav-link {
    cursor: pointer;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    padding: 0.5rem 1rem;
}

/*.events-tabs-container .nav-tabs .event-nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}*/

.events-tabs-container .nav-tabs .event-nav-link:not(.active) {
    color: #007bff;
    background-color: transparent;
    border-color: transparent;
}

.events-tabs-container .nav-tabs .event-nav-link:not(.active):hover {
    border-color: #e9ecef #e9ecef #dee2e6;
}

/* Ensure events tab content is properly displayed */
.events-tab-content {
    transition: opacity 0.15s linear;
}

/* Prevent interference between form and events tabs */
#events-container {
    position: relative;
    z-index: 5;
    margin-bottom: 20px;
}

.form-nav-tabs {
    z-index: 10;
}

/* Make sure events tab buttons don't have Bootstrap's disabled styling */
.events-tab-btn {
    pointer-events: auto !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

/* Disable Bootstrap's default tab behavior for events */
a[data-bs-toggle="tab"][href^="#upcoming-events"],
a[data-bs-toggle="tab"][href^="#past-events"] {
    pointer-events: none;
}


/* ------------------------------------------------ Basic CSS START ------------------------------------------------ */
.spinner {
  border: 4px solid rgba(0,0,0,0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #09f;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.family-member-list {
    list-style: none;
    padding-left: 0;
}

.family-member-list li {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.family-member-list .toggle-icon {
    font-weight: bold;
    margin-right: 8px;
    user-select: none;
}

.family-member-list .member-name {
    font-weight: 600;
    vertical-align: middle;
}
.family-member-list .member-relationship {
    float: right;
    font-weight: 600;
    text-transform: capitalize;
}

.member-details p {
    margin: 2px 0;
    padding-left: 16px;
}

.api-btn
{
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    color: #fff;
}

#next-tab-btn:disabled,
#add-member-btn:disabled,
#save-all-members-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6c757d !important;
    border-color: #6c757d !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
}

#next-tab-btn:not(:disabled) {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
}

#add-member-btn:not(:disabled) {
    border-color: red !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
}

.error-field {
    border-color: #dc3545 !important;
}

.form-group.has-error {
    border: 1px solid #dc3545;
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.05);
}


/* Disabled tab styles */
.membership-detail-body .nav-tabs .nav-link.disabled {
    color: #bdc3c7 !important;
    cursor: not-allowed !important;
    background-color: transparent !important;
}

.membership-detail-body .nav-tabs .nav-link.disabled:hover {
    color: #bdc3c7 !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

/* Tab validation states */
.membership-detail-body .nav-link.has-error {
    border-bottom: 2px solid #e74c3c !important;
}

.membership-detail-body .nav-link.validated {
    border-bottom: 2px solid #27ae60 !important;
}

.required-asterisk {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

/* Optional: Add some additional styling for better visual hierarchy */
.form-group label {
    font-weight: 600;
    color: #0754a2;
    margin-bottom: 0.5rem;
}

/* Style for required fields to make them more noticeable */
/*.form-control:required {
    border-left: 3px solid #3498db;
}
*/
.form-control:required:focus {
    border-left-color: #e74c3c;
}

.required-field-note
{
    color: red;
    font-style: italic;    
    font-weight: 500;
    font-size: 00.9rem;
}

/* ------------------------------------------------ BASIC CSS END ------------------------------------------------ */
/* ------------------------------------------------ ADVANCE CSS START ------------------------------------------------ */

/* ===== BASE STYLES ===== */

.membership-detail-body .member-header
{
    border-radius: 10px;
    margin-bottom: 10px;
}
.membership-detail-body {
    color: #333;
    line-height: 1.6;
}

/* ===== HEADER STYLES ===== */
.membership-detail-body .member-header h3 {
    display: flex;
    gap: 15px;
    align-items: center;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
}


/* ===== CARD STYLES ===== */
.membership-detail-body .card {
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.membership-detail-body .card-header {
    background: linear-gradient(135deg, #256502, #41b900);
    color: white;
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
    padding: 0.3rem 1.25rem;
    border: none;
}
.membership-detail-body .card-header h4
{
    color: white;
}

.membership-detail-body .card-body {
    padding: 10px 30px;
}

/* ===== MEMBER DETAILS STYLES ===== */
.membership-detail-body .row.mb-2 .col-md-12 {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.2s ease;
}

.membership-detail-body .row.mb-2 .col-md-12:last-child {
    border-bottom: none;
}

.membership-detail-body .row.mb-2 .col-md-12 strong {
    color: #0754a2;
    min-width: 140px;
    display: inline-block;
}

/* ===== FORM STYLES ===== */
.membership-detail-body #dynamic-family-member-form {
    background: white;
    overflow: hidden;
}

.membership-detail-body #dynamic-family-member-form .nav-tabs
{
    margin: 0;
    border: none;
    padding: 5px 15px;
    gap: 20px;
}

#dynamic-family-member-form .tab-content
{
    padding: 0 10px;
}

/* Tab Styles */
/*.membership-detail-body .nav-tabs {
    padding: 0 1rem;
}*/

.membership-detail-body .nav-tabs .nav-link {
    border: none;
    color: #7f8c8d;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.membership-detail-body .nav-tabs .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.membership-detail-body .nav-tabs .nav-link:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}


.membership-detail-body .nav-tabs .nav-link:hover {
    border: none;
    color: #3498db;
    background: transparent;
}

.membership-detail-body .nav-tabs .nav-link.active {
    background: rgb(63 180 0 / 12%);
    border: none;
    border-bottom: 1px solid #41b900;
    color: #0754a2;
}

/* Form Group Styles */
.membership-detail-body .form-group {
    margin-bottom: 0.5rem;
}

.membership-detail-body .form-group label {
    font-weight: 600;
    color: #0754a2;
    margin-bottom: 0.3rem;
}

.membership-detail-body .form-control {
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    padding: 0 1rem;
    transition: all 0.3s ease;
    height: 40px;
}

.membership-detail-body .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.membership-detail-body .form-control.error-field {
    border-color: #e74c3c;
}

.membership-detail-body .form-control:disabled {
    background-color: #f8f9fa;
    opacity: 1;
}

/* Radio and Checkbox Styles */
.membership-detail-body .form-check {
    margin-bottom: 0.5rem;
}

.membership-detail-body .form-check-input {
    margin-top: 0.25rem;
}

.membership-detail-body .form-check-input:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.membership-detail-body .form-check-label {
    color: #0754a2;
    margin-left: 0.5rem;
}

/* Membership Amount Display */
.membership-detail-body #membershipamount-display {
    padding: 0.4rem 0;
    color: #1b5f00;
    display: flex;
    flex-direction: row;
}

#membershipamount-loader .spinner-border
{
    margin: 0 !important;
}

/* Button Styles */
.membership-detail-body .tab-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    align-items: center;

}

.membership-detail-body .btn {
    padding: 0.3rem 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
}

.membership-detail-body .logout-btn
{
    color: #fff;
    background-color: #dc3545;
}

.membership-detail-body .prev-tab-btn, .membership-detail-body .next-tab-btn {
    background: #95a5a6;
    color: white;
    border-color: #007bff !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
}
.membership-detail-body .prev-tab-btn{
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
}

.membership-detail-body .prev-tab-btn:hover, .membership-detail-body .next-tab-btn:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
}

.membership-detail-body .prev-tab-btn:disabled, .membership-detail-body .next-tab-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.membership-detail-body .save-form-btn-success {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
    color: white !important;
}

.membership-detail-body .save-form-btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #229954, #1e8449) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.membership-detail-body .save-form-btn-success:disabled {
    background: #95a5a6 !important;
    cursor: not-allowed;
}

/* ===== FAMILY MEMBERS LIST STYLES ===== */
.membership-detail-body #family-members
{
    align-content: flex-start;
}

.membership-detail-body #family-members h3
{
    margin-bottom: 10px;
}
.membership-detail-body #family-members h3, .membership-detail-body h3 {
    color: #0754a2;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.3rem;
}

.family-members-view-btn
{
    background: linear-gradient(135deg, #256502, #41b900);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem;
    border: none;
}
.family-members-view-btn:hover
{
    transform: translateY(-1px);
    color: white;
}


.membership-detail-body .family-member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.membership-detail-body .family-member-list li {
    background: white;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.membership-detail-body .family-member-list li:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
}

.membership-detail-body .member-name {
    font-weight: 600;
    color: #0754a2;
    font-size: 1.1rem;
}

.membership-detail-body .toggle-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    font-size: 20px;
}

.membership-detail-body .family-member-list li.active .toggle-icon {
    transform: rotate(45deg);
    background: #e74c3c;
}

.membership-detail-body .member-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
    animation: fadeIn 0.3s ease;
}

.membership-detail-body .member-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.membership-detail-body .member-details strong {
    color: #0754a2;
    min-width: 180px;
    display: inline-block;
}

/* ===== RESPONSE MESSAGES ===== */
.membership-detail-body .member-response-message {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.membership-detail-body .member-response-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.membership-detail-body .member-response-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.membership-detail-body #member-delete-message {
    padding: 1rem;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    font-weight: 500;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    #dynamic-family-member-form .tab-content
    {
        padding: 0 10px;
    }

    .membership-detail-body .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .membership-detail-body .btn, .api-btn{
        padding: 8px 15px !important;
        font-size: 13px !important;
    }

    .membership-detail-body .member-details strong {
        min-width: 120px;
        display: inline-block;
    }
    .btn.btn-venmo
    {
        padding: 0.8rem 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
.membership-detail-body .form-control:focus,
.membership-detail-body .form-check-input:focus,
.membership-detail-body .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

/* Print Styles */
@media print {
    .membership-detail-body .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .membership-detail-body .btn {
        display: none;
    }
    
    .membership-detail-body .nav-tabs {
        display: none;
    }
}

/* ------------------------------------------------ ADVANCE CSS END ------------------------------------------------ */


.file-preview-container {
    display: flex;
    align-items: center;
    padding: 5px;
}

.file-preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-preview-btn {
    background: #e74c3c !important;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.remove-preview-btn:hover {
    background: #c0392b !important;
}

/* Style for file input */
.form-control[type="file"] {
    border: 2px dashed #3498db;
    background: #f8f9fa;
    padding: 5px;
}

.form-control[type="file"]:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}


.error-field {
    border-color: #dc3545 !important;
}

.error-message {
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}



/* File Preview Styles */
.clickable-file {
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease;
}

.clickable-file:hover {
    transform: scale(1.02);
}

.clickable-file:hover .file-overlay {
    opacity: 1 !important;
}

.file-preview-container {
    position: relative;
}

.file-preview-image {
    transition: opacity 0.3s ease;
}

.clickable-file:hover .file-preview-image {
    opacity: 0.8;
}

/* Modal Styles for File Viewer */
#fileViewerModal .modal-dialog {
    max-width: 95%;
}

#fileViewerModal .modal-body {
    padding: 0;
    background: #f8f9fa;
}

#fileViewerModal embed {
    border: none;
}

/* File Type Icons */
.file-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.file-icon.pdf {
    color: #dc3545;
}

.file-icon.image {
    color: #28a745;
}

.file-icon.document {
    color: #007bff;
}

.field-error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: none;
}
.field-error-message.show {
    display: block;
}
.error-field {
    border-color: #dc3545 !important;
}
.has-error .form-check-label {
    color: #dc3545;
}


/* Edit button styles */
.btn-edit-existing {
    background: #007cba;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
}

.btn-edit-existing:hover {
    background: #005a87;
}

.member-header {
    display: flex;
    align-items: flex-start;
    padding: 10px 20px;
    background: linear-gradient(135deg, #256502, #41b900);
}


.toggle-icon {
    margin-right: 8px;
    font-weight: bold;
    min-width: 20px;
}

.member-name {
    flex: 1;
    font-weight: 500;
}

.member-relationship {
    margin-right: 10px;
    color: #6c757d;
    font-style: italic;
}

.family-member-list {
    list-style: none;
    padding: 0;
}

.family-member-list li {
    border-bottom: 1px solid #dee2e6;
    padding: 8px 0;
}

.member-details {
    padding-left: 28px;
    margin-top: 8px;
}

.member-details p {
    margin-bottom: 4px;
}


/*RESPONSIVE CSS*/


@media(max-width: 991px)
{
    .membership-detail-body .tab-navigation
    {
        flex-direction: column;
    }
}





.edit-member-btn {
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 12px;
    float: right;
}

.family-member-list li {
    position: relative;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.member-name {
    font-weight: bold;
}

.member-relationship {
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

.toggle-icon {
    cursor: pointer;
    margin-right: 10px;
    font-weight: bold;
}

.member-details {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}



/* Edit Modal Styles */
#editFamilyMemberModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#editFamilyMemberModal .form-group {
    margin-bottom: 1rem;
}

#editFamilyMemberModal .error-field {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#edit-current-total-info {
    background-color: #f8f9fa;
    border-left: 4px solid #17a2b8;
}

#edit-amount-difference {
    font-weight: bold;
}


/* Events Tabs Styling */

.nav-tabs .event-nav-link {
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs .event-nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    background-color: #f8f9fa;
}

.nav-tabs .event-nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border-bottom-color: transparent !important;
}

.nav-tabs .event-nav-link i {
    margin-right: 5px;
}

/* Event Cards Styling */
.event-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.event-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.event-card .card-body {
    flex-grow: 1;
    padding: 1.25rem;
}

.event-card .card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0,0,0,0.02);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.event-image-container {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    position: relative;
    height: 200px;
}

.event-image-container img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image-container img:hover {
    transform: scale(1.05);
}

.placeholder-image {
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.placeholder-image .placeholder-content {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.placeholder-image .placeholder-initials {
    font-size: 32px;
    font-weight: bold;
    opacity: 0.9;
}

/* Event Type Badges */
.event-card .badge {
    font-size: 0.7em;
    padding: 3px 8px;
    margin-left: 5px;
}

/* Pagination Styling */
#upcoming-events-pagination,
#past-events-pagination {
    display: none;
}

#upcoming-events-pagination button,
#past-events-pagination button {
    min-width: 100px;
}

#upcoming-events-page-info,
#past-events-page-info {
    font-size: 0.9em;
}

/* Modal Styling */
#eventDetailsModal .modal-body p {
    margin-bottom: 10px;
}

#eventDetailsModal .modal-body i {
    width: 20px;
    text-align: center;
}

/* Spinner Animation */
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: fa-spin 1s linear infinite;
}


/* Events Tabs Styling */
/*.events-tabs-container {
    margin-top: 20px;
}*/

.events-tabs-container .nav-tabs {
    margin: 0 !important;
    padding-bottom: 10px;
    justify-content: center;
    gap: 10px;
}

.events-tabs-container .nav-tabs .event-nav-link {
    color: #000;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.events-tabs-container .nav-tabs .event-nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    color: #000;
}

.events-tabs-container .nav-tabs .event-nav-link.active {
    background: rgb(63 180 0 / 12%);
    color: #256502;
    border-color: #dee2e6 #dee2e6 #fff;
}

/*.events-tabs-container .event-tab-content {
    padding-top: 20px;
}*/

.event-card {
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.event-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Spinner styling */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




.mb-profile-dropdown-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.mb-profile-toggle-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-weight: 500;
}

.mb-profile-toggle-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mb-profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.mb-profile-dropdown-wrapper:hover .mb-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mb-profile-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 2px 8px;
}

.mb-profile-dropdown a:hover {
    background: #f8f9fa;
    color: #007cba;
}

.mb-profile-dropdown a:last-child {
    color: #dc3545;
    border-top: 1px solid #eee;
    margin-top: 4px;
}
.login-btn
{
    margin-left: 10px;
    padding: 6px 16px;
    background: white;
    color: #256502;
}
.login-btn:hover
{
    background: white;
    color: #256502;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .mobile-btn 
    {
        padding: 6px 12px;
        font-size: 13px;
    }
    .mb-profile-dropdown 
    {
        right: -65px;
    }
}


/*login page css START*/

.logged-in-area {
    max-width: 600px;
    margin: 3rem auto;
    border-radius: 15px;
    overflow: hidden;
}


.btn-primary {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

/* Main Login Container */
.log-in-form-area {
    max-width: 450px;
    margin: 3rem auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.log-in-form-area:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Header Styling */
.log-in-form-area h2 {
    text-align: center;
    color: #0754a2;
    font-weight: 700;
    font-size: 2rem;
    margin: 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.log-in-form-area h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fd6804, #ff3838);
    border-radius: 2px;
}

/* Form Styling */
#member-login-form {
    padding: 0 2rem 1.5rem;
}

/* Form Group */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}


/* Form Controls */
.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control:focus {
    outline: none;
    border-color: #fd6804;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
    background-color: #fff;
}

.form-control:hover {
    border-color: #cbd5e0;
}

/* Placeholder Styling */
.form-control::placeholder {
    color: #a0aec0;
    font-size: 0.95rem;
}

/* Button Styling */
.log-in-form-area .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #256502 0%, #4cd800 100%) !important;
    border: none !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 0.5rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.log-in-form-area .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.log-in-form-area .btn-primary:hover {
    background: linear-gradient(135deg, #256502 0%, #4cd800 100%) !important;
    transform: translateY(-2px) !important;
}

.log-in-form-area .btn-primary:hover::before {
    left: 100%;
}

.log-in-form-area .btn-primary:active {
    transform: translateY(0) !important;
}

/* Registration Link */
.registration-link {
    text-align: center;
    padding: 1.5rem 2rem !important;
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

.registration-link a {
    color: #fd6804;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.registration-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fd6804;
    transition: width 0.3s ease;
}

.registration-link a:hover {
    color: #ff1e1e;
}

.registration-link a:hover::after {
    width: 100%;
}

/* Response Message */
.login-response-message {
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.login-response-message:empty {
    display: none;
}

/* Spinner for loading state */
#member-login-form .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Form states */
#member-login-form.loading .btn-primary {
    padding-right: 3rem;
}

#member-login-form.loading .spinner {
    display: block;
}

/* Error styling */
.error-field {
    border-color: #fc8181 !important;
    background-color: #fff5f5;
}

.error-field:focus {
    box-shadow: 0 0 0 3px rgba(252, 129, 129, 0.15) !important;
}

/* Success message styling */
.login-response-message.success {
    background-color: #f0fff4;
    border-color: #48bb78;
    color: #276749;
}

/* Error message styling */
.login-response-message.error {
    background-color: #fff5f5;
    border-color: #fc8181;
    color: #c53030;
}

/* Responsive Design */
@media (max-width: 576px) {
    .log-in-form-area {
        margin: 0;
        border-radius: 12px;
    }
    .log-in-form-area .btn
    {
        padding: 0.25rem 1.25rem !important;
    }
    .log-in-form-area .card-body
    {
        padding: 0 0.5rem;
    }
    
    .log-in-form-area h2 {
        font-size: 1.3rem;
        margin: 0.5rem 0;
    }
    
    #member-login-form {
        padding: 0;
    }
    
    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .registration-link {
        padding: 1.25rem 1.5rem !important;
        font-size: 0.9rem;
    }
    
    .btn-primary, .btn-outline-danger, .login-link {
        padding: 0.5rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
}


/*login page css END*/


/*Registration page css START*/

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 50px;
    width: 100%;
}

/* Password toggle button */
.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.password-toggle-btn:hover {
    color: #495057;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Eye icons */
.password-toggle-btn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

/* Initial states */
.eye-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.eye-closed {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(-90deg);
}

/* When password is visible */
.password-toggle-btn.active .eye-open {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(90deg);
}

.password-toggle-btn.active .eye-closed {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* Main Registration Container */
/* Header Styling */
.signup-header {
    text-align: center;
    position: relative;
}

.signup-header h2 {
    color: #0754a2;
    font-weight: 700;
    font-size: 2.25rem;
    margin: 0;
    padding-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.signup-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fd6804, #ff3838);
    border-radius: 2px;
}

/* Form Container */
#signup-api-form {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

#signup-api-form:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Form Row */
#signup-api-form .row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

#signup-api-form .col-md-6 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Form Group */
#signup-api-form .form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

#signup-api-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}


/* Form Controls */
#signup-api-form .form-control,
#signup-api-form .form-select {
    width: 100%;
    padding: 0.4rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    color: #2d3748;
}

#signup-api-form .form-control:hover,
#signup-api-form .form-select:hover {
    border-color: #cbd5e0;
}

#signup-api-form .form-control:focus,
#signup-api-form .form-select:focus {
    outline: none;
    border-color: #fd6804;
    background-color: #fff;
}

/* Placeholder Styling */
#signup-api-form .form-control::placeholder {
    color: #a0aec0;
    font-size: 0.95rem;
}

/* Select Dropdown Styling */
#signup-api-form .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Radio Group Styling */
#signup-api-form .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.25rem;
}

#signup-api-form .form-check {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

#signup-api-form .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0;
    margin-right: 0.5rem;
    border: 2px solid #cbd5e0;
    cursor: pointer;
    position: relative;
}

#signup-api-form .form-check-input:checked {
    background-color: #fd6804;
    border-color: #fd6804;
}

#signup-api-form .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
    border-color: #fd6804;
}

#signup-api-form .form-check-label {
    cursor: pointer;
    color: #4a5568;
    font-size: 0.95rem;
    user-select: none;
}

/* Clearfix for responsive layout */
.w-100 {
    width: 100%;
    height: 0;
    clear: both;
}

/* Submit Button Section */

/* Button Styling */
#signup-api-form .btn-primary {
    background: linear-gradient(135deg, #256502 0%, #4cd800 100%) !important;
    border: none !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

#signup-api-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#signup-api-form .btn-primary:hover {
    background: linear-gradient(135deg, #256502 0%, #4cd800 100%) !important;
    transform: translateY(-2px) !important;
}

#signup-api-form .btn-primary:hover::before {
    left: 100%;
}

#signup-api-form .btn-primary:active {
    transform: translateY(0) !important;
}

/* Response Message */
#form-response-message {
    margin: 2rem 0 0 !important;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background-color: #f8f9fa;
}

#form-response-message:empty {
    display: none;
}

/* Success and Error States */
#form-response-message.success {
    background-color: #f0fff4;
    border-color: #48bb78;
    color: #276749;
}

#form-response-message.error {
    background-color: #fff5f5;
    border-color: #fc8181;
    color: #c53030;
}

/* Loading Spinner */
#signup-api-form.loading .btn-primary {
    padding-right: 3rem !important;
}

#signup-api-form.loading .btn-primary::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Error Field Styling */
.error-field {
    border-color: #fc8181 !important;
    background-color: #fff5f5 !important;
}

.error-field:focus {
    box-shadow: 0 0 0 3px rgba(252, 129, 129, 0.15) !important;
}

.error-field + .form-text,
.form-group.has-error .form-text {
    color: #fc8181;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 !important;
        margin: 1rem auto;
    }
    
    .signup-header h2 {
        font-size: 1.875rem;
    }
    
    #signup-api-form {
        padding: 2rem;
        border-radius: 12px;
    }
    
    #signup-api-form .form-group {
        margin-bottom: 1.5rem;
    }
    
    #signup-api-form .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .w-100 {
        display: none; /* Hide clearfix on mobile */
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    #signup-api-form {
        padding: 1.5rem;
    }
    
    .signup-header {
        margin-bottom: 2rem !important;
    }
    
    .signup-header h2 {
        font-size: 1.625rem;
    }
    
    #signup-api-form .form-control,
    #signup-api-form .form-select {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }
    
    #signup-api-form .btn-primary {
        padding: 0.75rem 2rem !important;
        font-size: 0.95rem !important;
        min-width: 160px;
    }
}


/*Registration page css END*/


/*RSVP CSS START*/

/* RSVP Form Styles */
.rsvp-form-instructions {    
    margin: 10px 0 !important;
}

.rsvp-form-instructions .alert-info
{
    padding: 10px !important;
    margin: 0 !important;
}

/*.modal-header
{
    padding: 0;
}*/
#rsvp-form-container .form-label {
    font-weight: 600;
    margin-bottom: 5px;
}

#rsvp-form-container .form-control,
#rsvp-form-container .form-select {
    padding: 10px;
    border-radius: 5px;
}

#rsvp-form-container .form-check {
    margin-bottom: 8px;
}

#rsvp-response-message {
    transition: all 0.3s ease;
}

/* RSVP Modal Specific */
#rsvpModal .modal-dialog {
    max-width: 600px;
}

#rsvpModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/*.modal-body
{
    padding: 0 0.5rem !important;
}*/

.rsvp-overlay-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.event-image-container {
    position: relative;
}

.event-image-container .placeholder-image {
    position: relative;
}


/* RSVP Form Specific Styles - Scoped to #rsvp-event-form only */
#rsvp-event-form {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Form Group Layout - All in one line */
#rsvp-event-form .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 6px;
    gap: 15px;
    flex-wrap: nowrap;
}

#rsvp-event-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
    white-space: nowrap;
    min-width: 150px;
    flex-shrink: 0;
    text-align: left;
}

#rsvp-event-form .form-label .text-danger {
    color: #e74c3c;
    font-weight: bold;
}

/* Input fields styling */
#rsvp-event-form select.form-control,
#rsvp-event-form input.form-control[type="number"],
#rsvp-event-form input.form-control[type="text"],
#rsvp-event-form input.form-control[type="email"],
#rsvp-event-form input.form-control[type="tel"],
#rsvp-event-form textarea.form-control {
    border: 1px solid #dce1e6;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-grow: 1;
    min-width: 200px;
}

#rsvp-event-form select.form-control:focus,
#rsvp-event-form input.form-control:focus,
#rsvp-event-form textarea.form-control:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
    outline: none;
}

/* Radio Button Group - All in one line */
#rsvp-event-form #selectyourResponse-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-grow: 1;
    margin: 0;
}

#rsvp-event-form .form-check-inline {
    margin-right: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

#rsvp-event-form .form-check-input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border: 2px solid #bdc3c7;
    cursor: pointer;
    flex-shrink: 0;
}

#rsvp-event-form .form-check-input[type="radio"]:checked {
    background-color: #4a6cf7;
    border-color: #4a6cf7;
}

#rsvp-event-form .form-check-label {
    cursor: pointer;
    color: #34495e;
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 0;
}

/* Checkbox Group - Vertical list */
#rsvp-event-form #members-group {
    background-color: #f8fafc;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    border: 0;
    padding: 0;
}

#rsvp-event-form #members-group .form-check {
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    margin: 0;
}

#rsvp-event-form #members-group .form-check:hover {
    border-color: #4a6cf7;
    background-color: #f8f9ff;
}

#rsvp-event-form #members-group .form-check-input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

#rsvp-event-form #members-group .form-check-input[type="checkbox"]:checked {
    background-color: #4a6cf7;
    border-color: #4a6cf7;
}

#rsvp-event-form #members-group .form-check-label {
    color: #2c3e50;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

/* Number inputs in one line */
#rsvp-event-form .number-inputs-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

#rsvp-event-form input[type="number"] {
    width: 120px;
    padding: 8px 12px;
    border: 1px solid #dce1e6;
    border-radius: 5px;
    text-align: center;
}

/* Textarea styling */
#rsvp-event-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
    flex-grow: 1;
}

/* Error messages */
#rsvp-event-form .invalid-feedback {
    position: absolute;
    top: 100%;
    left: 0;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block !important;
    white-space: nowrap;
}

#rsvp-event-form .form-group {
    position: relative;
}

#rsvp-event-form .is-invalid {
    border-color: #e74c3c !important;
}

#rsvp-event-form .is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.25) !important;
}

/* Hidden inputs */
#rsvp-event-form input[type="hidden"] {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #rsvp-event-form {
        padding: 15px;
    }
    
    #rsvp-event-form .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    #rsvp-event-form .form-label {
        min-width: 100%;
        margin-bottom: 5px;
    }
    
    #rsvp-event-form #selectyourResponse-group {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    #rsvp-event-form #members-group {
        width: 100%;
        min-width: auto;
    }
    
    #rsvp-event-form input[type="number"] {
        width: 100%;
    }
    
    #rsvp-event-form .number-inputs-container {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    #rsvp-event-form .invalid-feedback {
        position: static;
        margin-top: 5px;
    }
}

/*RSVP CSS END*/




.inn-tabs-header 
{
 display: flex;
 gap: 10px;
}

.inn-tab-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    color: #256502;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inn-tab-btn:hover {
    background: rgb(63 180 0 / 12%);
    color: #256502;
}

.inn-tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #256502, #41b900);
}


.inn-tabs-content {
    padding: 10px 0;
}

.inn-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.inn-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {


    .inn-tab-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .inn-tabs-content {
        padding: 20px 0;
    }


}

@media (max-width: 480px) {

    .inn-tab-btn {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eaeaea;
    }

    .inn-tab-btn.active::after {
        width: 3px;
        height: 100%;
        left: 0;
        top: 0;
        bottom: auto;
    }
}



.inn-dash-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.inn-dash-member-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}


.inn-dash-member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.inn-dash-member-name {
    font-size: 1.5em;
    color: #333;
    font-weight: 700;
}

.inn-dash-member-badge {
    background: linear-gradient(135deg, rgb(37, 101, 2), rgb(65, 185, 0));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.member-info {
    color: #666;
    line-height: 1.8;
}
.member-info h3
{
    font-size: 1.7rem;
    margin-bottom: 10px !important;
} 
.member-actions
{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.member-info strong {
    color: #333;
}

.add-familymember-btn
{
    display: flex;
    justify-content: end;
    padding: 10px 0;
    gap: 20px;
}




/* Hide close button when editing existing member */
/*.editing-existing-member .modal-header .btn-close {
    display: none !important;
}*/

/* Hide close button when editing existing member */
/*#familyMemberModal.editing-existing-member .modal-header .btn-close {
    display: none !important;
}*/

/* Ensure the close button is visible by default */
#familyMemberModal .modal-header .btn-close {
    display: block !important;
}

/* Add to your existing CSS */
.disabled-option {
    color: #999 !important;
    font-style: italic !important;
    background-color: #f8f9fa !important;
}



.member-actions {
    position: relative;
    padding-top: 8px;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.member-action-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}
.member-action-loader .spinner-border
{
    margin-bottom: 0;
}

.spinner-border {
    animation: spinner-border 1s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.membership-detail-body .form-control[type="select"],
.membership-detail-body select.form-control {    
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}




#rsvp-event-form #selectyourresponse-group
{
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0;
}

/* Make modal body scrollable with proper height */
.modal-body {
    overflow-y: auto;
    position: relative;
    padding: 0 0.5rem 0 0.5rem !important; /* Remove top padding for sticky tabs */
}

/* Style for the form wrapper */
#family-member-form-wrapper {
    position: relative;
    min-height: 100%;
}

/* Sticky tabs at the top */
#dynamic-family-member-form .nav.nav-tabs {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1030;
    padding: 0 0 0 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Make tab content scrollable with padding for both sticky headers */
#dynamic-family-member-form .tab-content {
    overflow-y: auto;
    max-height: calc(70vh - 120px); /* Adjust based on header/footer height */
}

/* Sticky footer at the bottom */
#dynamic-family-member-form .tab-navigation {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    z-index: 1029;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Ensure proper button styling */
.tab-navigation-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Style for the notes */
.notes-for-user {
    margin: 0;
}

.notes-for-user p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Adjust modal dialog for better scrolling */
.modal-dialog.modal-dialog-scrollable {
    max-height: 100%;
}

.modal-content {
    max-height: 85vh;
}

/* Ensure form elements don't get hidden behind sticky elements */
.form-group {
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-height: 700px) {

    #dynamic-family-member-form .tab-content {
        max-height: calc(65vh - 120px);
    }
    
    .tab-navigation {
        padding: 12px 15px;
    }
}

@media (max-width: 992px) {
    #dynamic-family-member-form .tab-content 
    {
        max-height: calc(65vh - 145px); 
    }
}
@media (max-width: 700px) {

    /*#dynamic-family-member-form .tab-content 
    {
        max-height: calc(60vh - 120px); 
    }*/
    .member-info h3
    {
        font-size: 1.4rem;
    } 
}
@media (max-height: 500px) {
    .modal-body {
        max-height: 60vh;
    }
    
    #dynamic-family-member-form .tab-content {
        max-height: calc(60vh - 110px);
        padding-bottom: 120px;
    }
    
    .tab-navigation {
        padding: 10px 12px;
    }
    
    .notes-for-user {
        display: none; /* Hide notes on very small screens */
    }

}

@media (max-width: 500px) {
    /*#dynamic-family-member-form .tab-content 
    {
        max-height: calc(50vh - 120px); /* Adjust based on header/footer height */
    }*/
}

/* Fix for tab content scroll */
#dynamic-family-member-form .tab-pane {
    padding-bottom: 10px;
}

/* Make sure the loader is positioned correctly */
#family-member-loader {
    position: relative;
    z-index: 1000;
}

/*QR CODE CSS*/

/* QR Code Styles */
.member-qr-section {
    min-width: 150px;
}

#qr-code-loader
{
    justify-content: center;
    gap: 5px;
    align-items: center;
}
#qr-code-loader .text-muted, #qr-code-loader .visually-hidden
{
    color: white !important;
}
#qr-code-loader .spinner-border
{
    margin-bottom: 0;
}

.qr-code-wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    display: inline-block;
}

.qr-code-image {
    display: block;
    margin: 0 auto;
    max-width: 120px;
    height: auto;
}

.qr-code-actions {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.qr-code-actions .btn {
    padding: 3px 8px;
    font-size: 12px;
}


.gcam-stats-grid {
    display: flex;
    gap: 20px;
}
.gcam-stat-card h3
{
    color: #000 !important;
    margin-bottom: 0 !important;
    font-size: 1.5rem;
}
.gcam-stat-card 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.modal-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.modal-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.modal-content-disabled {
    position: relative;
    pointer-events: none;
}

.modal-loading-content {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #e0e0e0;
}

.modal-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: modal-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes modal-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-loading-message {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.modal-loading-submessage {
    font-size: 14px;
    color: #666;
}

.modal-content-disabled {
    pointer-events: none;
}

/* ------------------------------- ------------------------------- all responsive CSS START*/

@media (max-width: 768px) {

    .member-qr-section {
        width: 100%;
        text-align: left !important;
    }
    
    .qr-code-wrapper {
        align-items: center;
    }
    
    .qr-code-actions {
        flex-direction: column;
        gap: 5px;
    }
    .member-info h3
    {
        font-size: 1.5rem;
    }
    .inn-dash-member-card
    {
        padding: 15px;
    }
    .events-tabs-container .nav-tabs .event-nav-link
    {
        padding: 8px 15px;
        font-size: 13px;
    }
    .gcam-stat-card p
    {
        font-size: 0.9rem;
    }
}
@media (max-width: 474px) {

    .member-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
    .member-qr-section  #qr-code-container
    {
        text-align: center !important;
    }
    .member-header
    {
        align-items: center !important;
    }
    .inn-dash-member-name
    {
        font-size: 1.2em;
    }
    .member-info h3
    {
        font-size: 1.2rem;
    }
    .member-qr-section
    {
        display: none;
    }
}

.donation-form-container {
    position: relative;
    min-height: 200px;
}
.form-loader {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
}

#donation-form
{
    padding: 20px;
}

#donation-form .form-control
{
    padding: 0.375rem 0.75rem !important;
    display: inline-block !important;
}

#donation-form-submit
{
    font-size: 0.9rem;
    padding: 0.5rem;
    background: #fd6804;
    border: none;
}



/* Modern member list styles */
.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.border-b {
    border-bottom-width: 1px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-t {
    border-top-width: 1px;
}

.border-t-2 {
    border-top-width: 2px;
}

.last\\:border-0:last-child {
    border-width: 0;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-900 {
    color: #111827;
}

.text-sm {
    font-size: 0.875rem;
}

.text-gray-500 {
    color: #6b7280;
}

.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: 700;
}

.text-orange-500 {
    color: #f97316;
}

.text-green-600 {
    color: #16a34a;
}

.text-blue-600 {
    color: #2563eb;
}

.text-red-600 {
    color: #dc2626;
}

.text-xl {
    font-size: 1.25rem;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mr-4 {
    margin-right: 1rem;
}
.ml-4 {
    margin-left: 1rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.edit-temp-member-btn, .delete-temp-member-btn
{
    padding: .25rem .5rem !important;
    font-size: 0.7rem !important;
}


#temporary-members-list
{
    margin: 0 0 20px 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
    border-radius: 1.5rem;
    padding: 1rem;
}

#temporary-members-container > div {
    border-bottom: 1px solid #f3f4f6; /* border-gray-100 */
}

#temporary-members-container > div:last-child {
    border-bottom: 0;
    border-top: 1px solid #232020;
}



/* Payment Gateway Styles */
.payment-container {
    padding: 0 10px;
}

.payment-summary-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.payment-summary-card h5 {
    color: #333;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid #007bff;
}

.payment-details p {
    margin-bottom: 10px;
    font-size: 16px;
}

.payment-details .amount {
    font-weight: bold;
    font-size: 20px;
}

#paypal-button-container {
    min-height: 50px;
}

#payment-message {
    padding: 15px;
    border-radius: 4px;
    font-weight: 500;
}

/* Style for completed payment */
.btn-payment-completed {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed;
}

/* Tab navigation adjustment */
.nav-tabs .nav-link {
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background-color: #007bff;
    color: white;
}


/* Style the Pay Now tab link as a button */
#tab-payment-gateway-tab.nav-link {
    background-color: #007bff; /* Primary dashboard blue */
    color: #ffffff !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    margin-top: 10px;
}

/* Hover state */
#tab-payment-gateway-tab.nav-link:hover {
    background-color: #0056b3;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

#tab-payment-gateway
{
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

/* Active state (when clicked/active tab) */
#tab-payment-gateway-tab.nav-link.active {
    background-color: #28a745; /* Green for payment focus */
    border-color: #1e7e34;
}

/* Optional: Add a PayPal Icon if using FontAwesome */
#tab-payment-gateway-tab::before {
    content: "\f1ed"; /* FontAwesome PayPal icon */
    font-family: "Font Awesome 5 Brands";
    margin-right: 8px;
}

.paypal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.paypal-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0070ba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.paypal-loader p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style for disabled payment tab */
.nav-link.disabled {
    cursor: not-allowed !important; 
    color: #6c757d !important;
}
.alert-warning, .alert-success
{
    text-align: center;
}

#venmo-button
{

    background-color: #007bff;
    color: #ffffff !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: 10px;
}
#venmo-button:hover
{

    background-color: #0056b3;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

#venmo-button::before {
    content: "\f1ed";
    font-family: "Font Awesome 5 Brands";
    margin-right: 8px;
}


#paymentMethodsTab
{
    padding: 0;
    margin: 0;
    gap: 10px;
    border: none;
    justify-content: center;
}
#paymentMethodsTab li
{
    list-style: none;
    width: 45%;
}

#paymentMethodsTab li .nav-link
{
    width: 100%;
    background: #1850b6;
    color: #fff;
    border-radius: 10px;
}

.btn.btn-venmo
{
    width: 100%;
    background: #1850b6;
    color: #fff;
    border-radius: 0;
    padding: 0.8rem 1rem;
}

@media (max-width: 768px) {
    .payment-summary-card
    {
        padding: 10px 0;
        box-shadow: none;
        margin-bottom: 0;
    }
    hr
    {
        margin: 0.3rem 0 !important;
    }
    #payment-summary-modal
    {
        margin-bottom: 0.5rem !important;
    }
    .modal-footer
    {
        padding: 0.1rem .75rem;
    }
    .payment-details p
    {
        font-size: 15px;
    }
    #dynamic-family-member-form .tab-navigation
    {
        padding: 0;
    }
    #dynamic-family-member-form .nav.nav-tabs
    {
        gap: 5px;
    }
    .membership-detail-body .nav-tabs .nav-link
    {
        padding: 5px;
    }
}


/* Payment Summary Modal Styles */
#payment-summary-modal {
    color: #333;
}

.payment-summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    margin: 0 auto;
}

.payment-summary-card h5 {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
}

.payment-details {
    font-size: 0.95rem;
    line-height: 1.6;
}

.payment-details p {
    /*margin: 8px 0;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.payment-details p span
{
    font-size: 20px;
}

#paymentMethodsModal .modal-footer
{
    padding: 0.2rem .75rem;
}

.payment-details strong {
    font-weight: 600;
}

.amount {
    font-weight: 600;
    font-size: 1.1rem;
}

hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 5px 0;
}

/* Color classes */
.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-muted {
    color: #6c757d !important;
    font-size: 0.85rem;
    line-height: 1.4;
    font-style: italic;
}

/* Small screen adjustments */
@media (max-width: 600px) {
    .cam-middle-right #accessibility-menu-toggle
    {
        top: 95% !important;
    }
}
@media (max-width: 480px) {
    .membership-detail-body .form-control
    {
        height: 30px;
    }
    .payment-summary-card {
        padding: 16px;
        border-radius: 8px;
    }
    
    .payment-details p {
        align-items: flex-start;
        gap: 4px;
    }
    
    .amount {
        align-self: flex-end;
    }
    .modal-title
    {
        font-size: 1.1rem;
    }
    .member-info, .membership-detail-body .form-group label
    {
        font-size: 0.9rem;
    }
    .notes-for-user p, .required-field-note
    {
        font-size: 0.8rem;
    }
    .membership-detail-body .form-group {
        margin-bottom: 0.1rem;
    }
    #familyMemberModal .modal-header
    {
        padding: 0.5rem;
    }
    #familyMemberModal .modal-body
    {
        padding: 1rem 0.5rem !important;
    }
}


.modal-loading-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: 9999;
}

.modal-loading-content {
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-loading-message {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.modal-loading-submessage {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.modal-content-disabled {
    opacity: 0.5;
    pointer-events: none;
}

#paymentMethodsModal .modal-header
{
    padding: 10px;
}

#paymentMethodsTabContent
{
    width: 100%;
}

#venmo-message-modal, #paypal-message-modal
{
    padding: 0 10px;
    text-align: center;
}

.paypal-loader .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 10px;
}

.paypal-loader p {
    color: #666;
    margin-top: 10px;
}

#unpaid-members-label
{
    z-index: 9;
}

.login-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}
.login-alert {
    text-align: center;
}
.login-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #ec971f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.login-link:hover {
    color: white;
    text-decoration: none;
}


/*.form-group:has(.radio-group-horizontal) {
    display: flex !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}*/

.form-group:has(.radio-group-horizontal) > label {
    margin-right: 20px !important;
    flex-shrink: 0 !important;
    align-self: center !important;
}

.radio-group-horizontal {
    display: inline-block !important;
    margin-right: 25px !important;
    margin-bottom: 0 !important;
}

.radio-group-horizontal:last-child {
    margin-right: 0 !important;
}

.radio-group-horizontal .form-check-input {
    margin-top: 0.125rem !important;
    margin-right: 8px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .edit-temp-member-btn, .delete-temp-member-btn
    {
        padding: 3px 10px !important;
        font-size: 12px !important;    
    }
    .membership-detail-body #family-members h3, .membership-detail-body h3
    {
        font-size: 1rem;
    }
    .notes-for-user
    {
        margin: 5px 0;
    }
    #temporary-members-list
    {
        padding: 0.5rem;
    }
}

#familyMemberModal .modal-header
{
    padding: 0.5rem 1rem;
    background: aliceblue;
}


/*#global-ajax-loader {
    position: relative;
    top: 12px;
    right: 12px;
    z-index: 99999;
}*/

#global-ajax-loader .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.delete-family-member.disabled, .delete-family-member:disabled
{
    color: #dc3545 !important;
}
.edit-existing-member.disabled, .edit-existing-member:disabled
{
    color: #7171ce !important;
}

