﻿@charset "UTF-8";

.member-profile-page{
    min-height:calc(100vh - 72px);
    padding:42px 0 72px;
    background:#f6f7fa;
}

.member-profile-container{
    width:min(920px,calc(100% - 28px));
    margin:0 auto;
}

.member-profile-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.member-profile-heading p{
    margin:0 0 5px;
    color:#5b5bd6;
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
}

.member-profile-heading h1{
    margin:0;
    color:#202633;
    font-size:30px;
    letter-spacing:-.04em;
}

.member-profile-heading span{
    display:block;
    margin-top:8px;
    color:#778090;
    font-size:13px;
}

.member-profile-heading>a{
    display:inline-grid;
    min-height:40px;
    place-items:center;
    padding:0 14px;
    border:1px solid #dfe3eb;
    border-radius:10px;
    color:#4f5665;
    background:#fff;
    font-size:11px;
    font-weight:850;
}

.member-profile-form{
    display:grid;
    gap:16px;
}

.member-profile-section{
    padding:26px;
    border:1px solid #e1e5ec;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(27,36,62,.045);
}

.member-profile-section--verify{
    border-color:#dedcf7;
    background:#fbfaff;
}

.member-profile-section__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    margin-bottom:20px;
    padding-bottom:15px;
    border-bottom:1px solid #edf0f4;
}

.member-profile-section__head h2{
    margin:0;
    color:#202633;
    font-size:18px;
    letter-spacing:-.025em;
}

.member-profile-section__head p{
    margin:5px 0 0;
    color:#7d8593;
    font-size:11px;
    line-height:1.55;
}

.member-profile-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.member-profile-field{
    display:block;
    min-width:0;
    margin-bottom:16px;
}

.member-profile-field>span{
    display:block;
    margin-bottom:7px;
    color:#353c49;
    font-size:12px;
    font-weight:850;
}

.member-profile-field input{
    display:block;
    width:100%;
    height:46px;
    box-sizing:border-box;
    padding:0 13px;
    border:1px solid #d9dee7;
    border-radius:10px;
    outline:0;
    color:#252b36;
    background:#fff;
    font-size:13px;
    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.member-profile-field input:focus{
    border-color:#7777df;
    box-shadow:0 0 0 3px rgba(91,91,214,.11);
}

.member-profile-field input[readonly]{
    color:#697281;
    border-color:#e4e7ed;
    background:#f7f8fa;
    cursor:not-allowed;
}

.member-profile-field small{
    display:block;
    margin-top:6px;
    color:#8a929f;
    font-size:10px;
    line-height:1.45;
}

.member-profile-created{
    margin:0;
    color:#8a929f;
    font-size:10px;
    text-align:right;
}

.member-profile-actions{
    display:flex;
    justify-content:flex-end;
    gap:9px;
    padding-top:2px;
}

.member-profile-actions a,
.member-profile-actions button{
    display:inline-grid;
    min-width:112px;
    height:46px;
    place-items:center;
    box-sizing:border-box;
    padding:0 16px;
    border-radius:11px;
    font-size:12px;
    font-weight:900;
}

.member-profile-actions a{
    border:1px solid #dce1e9;
    color:#566070;
    background:#fff;
}

.member-profile-actions button{
    border:1px solid #5b5bd6;
    color:#fff;
    background:#5b5bd6;
    cursor:pointer;
}

.member-profile-actions button:hover{
    background:#4d4dc8;
}

.mypage-profile-edit-button{
    margin-top:18px;
}

@media(max-width:760px){
    .member-profile-page{
        padding:24px 0 52px;
    }

    .member-profile-heading{
        align-items:flex-start;
    }

    .member-profile-heading h1{
        font-size:25px;
    }

    .member-profile-heading span{
        font-size:11px;
    }

    .member-profile-heading>a{
        min-height:36px;
        padding:0 10px;
        font-size:9px;
        white-space:nowrap;
    }

    .member-profile-section{
        padding:20px 16px;
        border-radius:15px;
    }

    .member-profile-grid{
        grid-template-columns:1fr;
        gap:0;
    }

    .member-profile-section__head h2{
        font-size:16px;
    }

    .member-profile-field input{
        height:44px;
        font-size:12px;
    }

    .member-profile-actions{
        display:grid;
        grid-template-columns:1fr 1.4fr;
    }

    .member-profile-actions a,
    .member-profile-actions button{
        min-width:0;
        width:100%;
        height:44px;
        padding:0 10px;
        font-size:11px;
    }
}
