
/* JOIN PAGE */

.join-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: "Roboto", sans-serif;
    color: #20232a;
}

.join-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.join-intro .eyebrow {
    color: #a66a24;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.join-intro h1 {
    font-family: "Oswald", sans-serif;
    font-size: 2.3rem;
    margin: 0.5rem 0;
    color: #172b4d;
}

.join-intro > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.join-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.form-section,
.membership-section {
    min-width: 0;
}

.form-section h2,
.membership-section h2 {
    font-family: "Oswald", sans-serif;
    color: #172b4d;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

/* FORM */

#membership-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f4f6f9;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #dce1e8;
}

#membership-form label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.95rem;
}

#membership-form input,
#membership-form select,
#membership-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #b8c1ce;
    border-radius: 5px;
    font: inherit;
    background: #fff;
    color: #20232a;
}

#membership-form input:focus,
#membership-form select:focus,
#membership-form textarea:focus {
    outline: 2px solid #2459a6;
    border-color: #2459a6;
}

#membership-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: #172b4d;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit-button:hover {
    background: #a66a24;
}

/* MEMBERSHIP CARDS */

.membership-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.membership-card {
    padding: 1.5rem;
    text-align: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dce1e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: card-entrance 0.7s ease both;
}

.membership-card h3 {
    font-family: "Oswald", sans-serif;
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
    color: #172b4d;
}

.membership-card p {
    color: #555;
    margin-bottom: 1rem;
}

.np-card {
    border-top: 5px solid #64748b;
    animation-delay: 0.1s;
}

.bronze-card {
    border-top: 5px solid #b87333;
    animation-delay: 0.25s;
}

.silver-card {
    border-top: 5px solid #94a3b8;
    animation-delay: 0.4s;
}

.gold-card {
    border-top: 5px solid #d4a017;
    animation-delay: 0.55s;
}

.learn-more {
    padding: 0.7rem 1.2rem;
    background: #172b4d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.learn-more:hover {
    background: #a66a24;
}

/* MODALS */

dialog {
    width: min(90%, 450px);
    border: none;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    padding: 1.8rem;
    text-align: center;
}

.modal-content h2 {
    font-family: "Oswald", sans-serif;
    color: #172b4d;
}

.modal-content li {
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.close-modal {
    margin-top: 1rem;
    padding: 0.7rem 1.3rem;
    background: #172b4d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@keyframes card-entrance {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* THANK YOU PAGE */

.thankyou-content {
    max-width: 750px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
}

.thankyou-content .join-intro {
    margin-bottom: 2rem;
}

#application-details {
    background: #f4f6f9;
    border: 1px solid #dce1e8;
    border-radius: 12px;
    padding: 1.8rem;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

#application-details p {
    padding: 0.7rem 0;
    margin: 0;
    border-bottom: 1px solid #dce1e8;
    line-height: 1.5;
}

#application-details p:last-child {
    border-bottom: none;
}

.thankyou-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: #172b4d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}

.thankyou-button:hover {
    background: #a66a24;
}

/* CENTER MEMBERSHIP MODALS */

dialog[open] {
    position: fixed;
    inset: 0;
    margin: auto;
    max-width: 450px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content {
    text-align: center;
}

.modal-content ul {
    text-align: left;
    padding-left: 1.5rem;
}
