/* =========================================
   M+ LABS — ACCOUNT ACTIVATION PAGES
   ========================================= */

.account-activation {
    min-height: 55vh;
    padding: 100px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f0;
}

/* Activation card */

.activation-card {
    width: 100%;
    max-width: 580px;
    padding: 48px;
    background: #ffffff;
    border: 1px solid rgba(17, 19, 17, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(17, 19, 17, 0.06);
}

/* Eyebrow text */

.activation-eyebrow {
    margin: 0 0 18px;
    color: #626b4c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main heading */

.activation-card h1 {
    margin: 0 0 18px;
    color: #10120f;
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

/* Description */

.activation-card > p:not(.activation-eyebrow):not(.form-error) {
    margin: 0 0 30px;
    color: #666b63;
    font-size: 15px;
    line-height: 1.8;
}

/* Form layout */

.activation-card form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-field label {
    color: #20231e;
    font-size: 14px;
    font-weight: 600;
}

/* Password inputs */

.form-field input {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    color: #171914;
    background: #ffffff;
    border: 1px solid #d9dcd4;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #c9e265;
    box-shadow: 0 0 0 4px rgba(201, 226, 101, 0.2);
}

/* Password guidance */

.field-help {
    color: #777b73;
    font-size: 12px;
    line-height: 1.6;
}

.field-help ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

/* Form errors */

.form-error {
    margin: 0;
    padding: 12px 14px;
    color: #a12626;
    background: #fff0f0;
    border: 1px solid #f0cccc;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

/* Activation and contact buttons */

.activation-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    padding: 14px 22px;
    color: #10120f;
    background: #c9e265;
    border: 1px solid #c9e265;
    border-radius: 9px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.activation-button:hover {
    background: #b9d452;
    border-color: #b9d452;
    color: #10120f;
    transform: translateY(-2px);
}

/* Keyboard accessibility */

.activation-button:focus-visible {
    outline: 3px solid #626b4c;
    outline-offset: 4px;
}

/* Mobile layout */

@media (max-width: 600px) {
    .account-activation {
        min-height: auto;
        padding: 60px 18px;
    }

    .activation-card {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .activation-card h1 {
        letter-spacing: -1px;
    }
}

/* Hide the public navbar and footer on account activation pages */
body.account-page .nav-shell,
body.account-page .site-footer {
    display: none !important;
}