/**
 * Specific fixes for the subscription page
 */

/* Fix container for subscription page */
.subscription-container {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0 auto;
}

/* Fix row for subscription cards */
.subscription-row {
    margin: 0;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/* Fix column for subscription cards */
.subscription-column {
    padding: 0 10px;
    max-width: 100%;
    flex: 0 0 100%;
}

/* Fix card for subscription */
.subscription-card {
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-x: hidden;
}

/* Fix form elements */
.subscription-form-control {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Fix buttons */
.subscription-btn {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Fix bank account form in modal */
.bank-account-form {
    display: flex;
    flex-direction: column;
    min-height: 50vh;
    width: 100%;
}

/* Push the submit button to the bottom when content is short */
.bank-account-form .mt-3 {
    margin-top: auto !important;
    padding-top: 20px;
}

/* Ensure modal-body-inner takes full height */
.modal-body-inner {
    display: flex;
    flex-direction: column;
    min-height: 60vh;
    width: 100%;
    position: relative;
}

/* Style the bank account form */
.bank-account-form {
    padding: 15px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* Ensure form elements are properly sized on mobile */
@media (max-width: 767px) {
    .bank-account-form .form-group,
    .bank-account-form .alert,
    .bank-account-form .btn,
    .bank-account-form input,
    .bank-account-form select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Hunt Club accordion styles */
#huntClubDetails .card {
    border: none;
    margin-bottom: 5px;
    box-shadow: none;
}

#huntClubDetails .card-header {
    background-color: transparent;
    border: none;
    padding: 0;
}

#huntClubDetails .btn-link {
    color: #0275d8;
    text-decoration: none;
    padding: 5px 0;
    box-shadow: none;
    outline: none;
}

#huntClubDetails .btn-link:hover,
#huntClubDetails .btn-link:focus {
    text-decoration: none;
    color: #014c8c;
    box-shadow: none;
    outline: none;
}

#huntClubDetails .card-body {
    padding: 0 0 10px 15px;
    border-left: 2px solid #f0f0f0;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Hunt Club Logo Styles */
.hunt-club-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000000;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    padding: 5px 0;
}

.hunt-club-logo svg {
    margin-right: 12px;
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.hunt-club-logo:hover svg {
    transform: scale(1.05);
    filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.15));
}

/* Make the card header taller to accommodate the logo */
.subscription-card .card-header {
    padding: 15px 10px;
}

/* Ensure the logo is centered on mobile */
@media (max-width: 576px) {
    .hunt-club-logo {
        flex-direction: column;
        text-align: center;
    }

    .hunt-club-logo svg {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .subscription-column {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
