/* accounts/static/accounts/styles.css */

h1, h2 {
    text-align: center;
    font-weight: bold;
}

.membership-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Ensure all cards stretch to the same height */
    padding: 1rem 0;
}

.card {
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    padding: 1rem 1.25rem;
    cursor: pointer;
    color: #1e1c28;
    background-color: silver;
    flex-grow: 1; /* Allow cards to grow equally */
    flex-basis: 0; /* Ensure cards take up equal space */
    position: relative; /* Ensure the pseudo-element is positioned relative to the card */
}

.card.active {
    background-color: #fdfdfa;
    z-index: 2; /* Ensure the active card is above the overlay */
}

.card:not(.active)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1; /* Ensure the overlay is above the card content */
}

.card-top {

}

.card-title {
    position: relative;
    left: -0.25rem;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0
}

.card-title h2 {
    font-size: 2rem;
    position: relative;
    top: 0.375rem;
    font-family: "Josefin Sans", sans-serif;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.card-top p {
    font-size: 0.875rem;
    line-height: 1.125rem;
    padding: 0;
    margin: 0;
}

.price .value {
    font-size: 3rem;
    font-weight: bold;
    color: #01b2b7;
}

.card ul {
    padding-left: 0;
    list-style-position: inside;
    list-style-type: none; /* Remove default list style */
    font-size: 0.875rem;
}

.card ul li {
    padding-left: 0.25rem;
}

.card ul li::before {
    content: "\2713"; /* Unicode for check mark */
    color: limegreen;
    padding-right: 0.5rem;
}

.card ul li.cross::before {
    content: "\2717"; /* Unicode for cross mark */
    color: red;
    padding-right: 0.5rem;
}

.card.disabled {
    pointer-events: none; /* Disable click events */
    opacity: 0.4;
}

.card .note-div {
    height: 1.25rem;
    text-align: center;
}

.note-div .note {
    position: relative;
    top: -0.625rem;
    font-size: 0.8rem;
    color: #2b7800;
}

.btn-subscribe {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 0.25rem 2rem;
    background-color: #01b2b7;
    border: 0;
    border-radius: 4px;
}

.btn-subscribe:hover, .btn-subscribe:active, .btn-subscribe:focus {
    background-color: #01e3ea;
}

.messages {
    text-align: center;
}

.membership-star {
    position: relative;
    display: inline-block;
    font-size: 3.5rem;
}

.membership-star::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom left, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 0) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

.test.membership-star {
    color: dimgray;
}

.curious.membership-star {
    color: #ca5c03;
}
.committed.membership-star {
    color: #c9c9d1;
}
.addicted.membership-star {
    color: gold;
}


/* ACCOUNTS PAGE */

.account-section {
    text-align: left;
}

#vip-credit-history-table {
    font-size: 0.8em; /* Make the text smaller */
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

#vip-credit-history-table th, #vip-credit-history-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

#vip-credit-history-table th {
    background-color: #f2f2f2;
    color: black;
}

.no-wrap {
    white-space: nowrap;
}


@media screen and (max-width: 42rem) {
    .membership-cards {
        flex-direction: column;
    }

    .card {
        margin: 0 1rem;
        padding: 1rem 1.5rem;
    }

    .card-title h2 {
        top: 0.5rem;
    }
}