/* ============================= */
/*         GLOBAL STYLES        */
/* ============================= */
.mbp-join-container {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 100%;
    box-sizing: border-box;
}

/* ============================= */
/*         SECTION HERO         */
/* ============================= */
.mbp-join-hero {
    text-align: center;
    margin: 40px auto 30px;
    padding: 0 20px;
    max-width: 800px;
}

.mbp-hero-title {
    font-family: 'Amarante', cursive;
    font-size: clamp(2rem, 5vw, 2.6rem);
    color: #457687;
    margin-bottom: 8px;
    line-height: 1.3;
}

.mbp-hero-description {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #555;
    max-width: 700px;
    margin: 0 auto 15px;
}

.mbp-hero-divider {
    width: 60px;
    height: 3px;
    background-color: #E49925;
    margin: 20px auto 0;
    border-radius: 3px;
}

/* ============================= */
/*       FORM CONTAINER         */
/* ============================= */
.mbp-code-form {
    max-width: 800px;
    margin: 0 auto 60px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* ============================= */
/*        FORM LAYOUT           */
/* ============================= */
.mbp-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.mbp-form-group {
    margin-bottom: 15px;
}

/* ============================= */
/*        INPUT FIELDS          */
/* ============================= */
.mbp-code-form input[type="text"],
.mbp-code-form input[type="email"],
.mbp-code-form input[type="url"],
.mbp-code-form textarea,
.mbp-code-form select {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95em;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.mbp-code-form textarea {
    min-height: 120px;
    resize: vertical;
}

.mbp-code-form input:focus,
.mbp-code-form textarea:focus {
    border-color: #457687;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(69, 118, 135, 0.1);
}

/* ============================= */
/*         FILE UPLOAD          */
/* ============================= */
.mbp-file-upload {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.mbp-file-upload:hover {
    border-color: #457687;
}

.mbp-file-label {
    display: block;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 8px;
    color: #333;
}

/* ============================= */
/*       THEMES CHECKBOX LIST   */
/* ============================= */
.mbp-theme-grid {
    display: block ;
    padding: 0 ;
    margin: 0 0 20px 0 ;
}

.mbp-theme-tile {
    all: unset ;
    display: flex ;
    align-items: center ;
    gap: 8px ;
    margin: 0 0 6px 0 ;
    padding: 0 ;
    font-size: 1em ;
    font-family: 'Source Sans Pro', sans-serif ;
    line-height: 1.4 ;
    color: #222 ;
}

.mbp-theme-tile input[type="checkbox"] {
    margin: 0 ;
    
}

.mbp-theme-tile span {
    margin: 0 ;
    padding: 0 ;
    white-space: normal ;
    word-break: break-word ;
    display: inline-block ;
}

/* ============================= */
/*        SUBMIT BUTTON         */
/* ============================= */
.shortcode-member-cta {
    text-align: center;
    margin-top: 30px;
}

.shortcode-member-button {
    background-color: #457687;
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.shortcode-member-button:hover {
    background-color: #3a6474;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ============================= */
/*        FORM VALIDATION       */
/* ============================= */
.mbp-code-form input:required,
.mbp-code-form textarea:required {
    border-left: 3px solid #E49925;
}

/* ============================= */
/*       RESPONSIVE ADJUST      */
/* ============================= */
@media (max-width: 768px) {
    .mbp-code-form {
        padding: 20px;
    }

    .mbp-form-grid {
        grid-template-columns: 1fr;
    }

    .mbp-theme-grid {
        grid-template-columns: 1fr;
    }

    .shortcode-member-button {
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .mbp-join-hero {
        margin: 30px auto 20px;
    }

    .mbp-hero-title {
        font-size: 1.8rem;
    }
}
