* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.member-page {
    font-family: "Manrope", sans-serif;
    color: #302831;
    background: #fff7fb;
}

.member-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(470px, 1.1fr);
}

.member-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 54px;
    color: #fff;
    background: #2b2027 url("../images/pakel-hakkinda-oncesi-sonrasi.png") center/cover no-repeat;
}

.member-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(33, 22, 29, .18), rgba(33, 22, 29, .9));
}

.member-visual-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.member-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.member-brand img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .7);
}

.member-brand strong {
    display: block;
    font-size: 24px;
}

.member-brand small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.member-visual h1 {
    margin: 30px 0 14px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.06;
}

.member-visual h1 em {
    color: #ff86bb;
    font-family: "Playfair Display", serif;
}

.member-visual p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.75;
}

.member-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px;
}

.member-card {
    width: 100%;
    max-width: 490px;
    padding: 42px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(230, 66, 144, .13);
    box-shadow: 0 24px 65px rgba(69, 39, 55, .11);
}

.member-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: #9b3965;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.member-card > span {
    color: #e64290;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.member-card h2 {
    margin: 8px 0 10px;
    font-size: 36px;
}

.member-intro {
    margin: 0 0 26px;
    color: #786c75;
    font-size: 14.5px;
    line-height: 1.65;
}

.member-field {
    margin-bottom: 17px;
}

.member-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
}

.member-input-wrap {
    position: relative;
}

.member-input-wrap > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b74376;
}

.member-input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 44px;
    border: 1px solid #ead8e1;
    border-radius: 14px;
    outline: none;
    font: inherit;
    font-size: 14px;
    background: #fffafd;
}

.member-input:focus {
    border-color: #e65b9b;
    box-shadow: 0 0 0 4px rgba(230, 66, 144, .1);
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #8a7180;
    cursor: pointer;
}

.member-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 2px 0 22px;
    color: #675b63;
    font-size: 12.5px;
}

.member-options a {
    color: #a83769;
    font-weight: 800;
    text-decoration: none;
}

.member-submit {
    width: 100%;
    height: 53px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #912350, #e64290);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(211, 57, 123, .22);
}

.member-notice {
    display: flex;
    gap: 9px;
    margin: 19px 0 0;
    padding: 13px;
    border-radius: 12px;
    background: #fff3f8;
    color: #75636c;
    font-size: 11.5px;
    line-height: 1.55;
}

.member-notice i {
    color: #e64290;
}

.form-message {
    margin: 0 0 15px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #fff0f3;
    color: #a22551;
    font-size: 12.5px;
}

.form-message:empty {
    display: none;
}

.member-validation {
    display: block;
    margin-top: 6px;
    color: #a22551;
    font-size: 12px;
}

@media (max-width: 900px) {
    .member-shell {
        grid-template-columns: 1fr;
    }

    .member-visual {
        min-height: 310px;
        padding: 34px 24px;
    }

    .member-visual h1 {
        font-size: 39px;
    }

    .member-panel {
        padding: 30px 18px 45px;
    }
}

@media (max-width: 520px) {
    .member-visual {
        min-height: 270px;
    }

    .member-visual p {
        display: none;
    }

    .member-card {
        padding: 28px 20px;
    }

    .member-card h2 {
        font-size: 31px;
    }

    .member-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
