/* ========== HERO PAGE: mbp_access_member ========== */
.mbp-hero {
    background-color: #f5f9fa;
    padding: 60px 20px;
    text-align: center;
}

.mbp-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.mbp-hero-content h1 {
    font-family: 'Amarante', cursive;
    font-size: 2.8em;
    color: #E49925;
    margin-bottom: 10px;
}

.mbp-hero-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2em;
    color: #555;
}

.mbp-hero-cta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.mbp-hero-button {
    background-color: #457687;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.mbp-hero-button:hover {
    background-color: #E49925;
    color: #000;
}

/* ========== CODE FORM ========== */
.mbp-code-form {
    max-width: 400px;
    margin: 50px auto;
    font-family: 'Source Sans Pro', sans-serif;
}

.mbp-code-form label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333;
}

.mbp-code-input-wrapper {
    position: relative;
}

.mbp-code-input-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.mbp-icon-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mbp-icon-eye.visible {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.94 17.94A10.97 10.97 0 0 1 12 20c-7 0-11-8-11-8a20.8 20.8 0 0 1 4.47-5.94M9.88 9.88a3 3 0 1 1 4.24 4.24'%3E%3C/path%3E%3Cpath d='M1 1l22 22'%3E%3C/path%3E%3C/svg%3E");
}

.mbp-code-form .submit {
    margin-top: 20px;
    background-color: #457687;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.mbp-code-form .submit:hover {
    background-color: #E49925;
    color: black;
}

.mbp-error-msg {
    color: red;
    margin-top: 15px;
}

/* ========== SUBHERO: Ressources & Board ========== */
.mbp-subhero {
    background-color: #f3f3f3;
    padding: 50px 20px;
    text-align: center;
}

.mbp-subhero-content {
    max-width: 900px;
    margin: 0 auto;
}

.mbp-subhero-content h1 {
    font-family: 'Amarante', cursive;
    font-size: 2.4em;
    color: #E49925;
    margin-bottom: 10px;
}

.mbp-subhero-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    color: #444;
}

.mbp-subhero-all {
    background-color: #f5f9fa;
}

.mbp-subhero-board {
    background-color: #eef4f7;
}

/* ========== RESOURCE CARDS ========== */
.mbp-resources-wrapper {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.report-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    gap: 10px;
}

.report-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.report-title {
    font-family: 'Amarante', cursive;
    font-size: 1.4em;
    color: #E49925;
    margin: 0;
}

.report-date {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95em;
    color: #666;
}

.report-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1em;
    margin: 0;
}

.download-button {
    align-self: flex-start;
    background-color: #457687;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Source Sans Pro', sans-serif;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #E49925;
    color: #000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .mbp-hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .mbp-code-form,
    .report-item {
        flex-direction: column;
    }

    .mbp-code-input-wrapper input {
        padding-right: 40px;
    }

    .download-button {
        width: 100%;
        text-align: center;
    }
}
