/*
* [모듈명]: 기본 정보 수정 페이지 스타일
* [파일명]: basic_edit.css
* [역할]: 닉네임, 성별, 나이, 활동지역 수정을 위한 프리미엄 Black & White UI를 정의합니다.
*/

:root {
    --bg-black: #000000;
    --text-white: #FFFFFF;
    --text-gray: #888888;
    --input-bg: #111111;
    --border-gray: #222222;
    --accent-color: #FFFFFF;
}

.edit-page {
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* 상단 헤더 */
.edit-header {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    padding-top: var(--safe-top);
}

.edit-header h1 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    flex: 1;
    text-align: center;
    margin-right: 32px; /* 뒤로가기 버튼과의 균형 */
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
}

/* 폼 영역 */
.edit-content {
    flex: 1;
    padding: 24px 20px 120px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: -0.2px;
}

/* 입력 필드 */
.input-field {
    background: var(--input-bg);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--text-white);
    background: #1a1a1a;
}

/* 성별 선택 (세그먼트 컨트롤) */
.toggle-group {
    display: flex;
    background: var(--input-bg);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 4px;
}

.toggle-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.toggle-item.active {
    background: var(--text-white);
    color: var(--bg-black);
}

/* 하단 저장 버튼 */
.edit-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px calc(20px + var(--safe-bottom));
    background: linear-gradient(to top, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

.btn-save {
    width: 100%;
    background: var(--text-white);
    color: var(--bg-black);
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.btn-save:active {
    transform: scale(0.98);
}

.btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 도움말 텍스트 */
.form-help {
    font-size: 11px;
    color: var(--text-gray);
    margin-top: -4px;
    line-height: 1.4;
}
