/* 회원 정보 수정 페이지 스타일 */

.profile-edit-wrapper {
    background: #faf8f8;
    min-height: 100vh;
    padding: 60px 0 120px;
}

.profile-edit-wrapper .container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    font-size: 34px;
    font-weight: 800;
    color: #323232;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 16px;
    color: #917e79;
}

/* Sections */
.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-section {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #ece2df;
    padding: 40px;
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.08); */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #323232;
    margin-bottom: 4px;
}

.section-desc {
    font-size: 14px;
    color: #9b847f;
}

.btn-secondary,
.btn-outline,
.btn-primary {
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary {
    background: #fff;
    border: 2px solid #ece2df;
    color: #9b847f;
}

.btn-secondary:hover {
    border-color: #c76b52;
    color: #c76b52;
}

.btn-outline {
    background: #fff;
    border: 2px solid #ece2df;
    color: #9b847f;
}

.btn-outline:hover {
    border-color: #c76b52;
    color: #c76b52;
}

.btn-primary {
    background:  #b57f72;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

.form-group.full {
    grid-column: 1;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #9b847f;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #ece2df;
    background: #fff;
    font-size: 14px;
    color: #323232;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #c76b52; 
}

.input-with-action {
    display: flex;
    gap: 10px;
}

.input-with-action .form-input {
    flex: 1;
}

/* Toggles */
.toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.toggle-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #ece2df;
    background: #fff;
    font-size: 13px;
    color: #9b847f;
}

.toggle-item input[type="checkbox"] {
    accent-color: #c76b52;
}

/* Password guide */
.password-guide {
    padding: 16px;
    border-radius: 14px;
    background: #faf8f8;
    border: 1px dashed #efd4ce;
    font-size: 13px;
    color: #9b847f;
}

.password-guide p {
    margin-bottom: 6px;
}

.password-guide p:last-child {
    margin-bottom: 0;
}

/* Actions */
.profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #ece2df;
    /* box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08); */
}

.btn-cancel {
    min-width: 140px;
}

.withdraw-block {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.btn-withdraw {
    padding: 12px 18px;
    border-radius: 10px;  
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
} 

/* Responsive */
@media (max-width: 1024px) {
    .profile-edit-wrapper .container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .profile-edit-wrapper {
        padding: 40px 0 80px;
    }

    .profile-edit-wrapper .container {
        padding: 0 20px;
    }

    .page-title {
        font-size: 28px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .input-with-action {
        flex-direction: column;
    }

    .btn-secondary,
    .btn-edit {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .profile-edit-wrapper .container {
        padding: 0 16px;
    }

    .page-title {
        font-size: 24px;
    }

    .overview-card {
        padding: 20px;
    }

    .profile-section,
    .profile-actions {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: 1;
    }

    .toggle-item {
        width: 100%;
        justify-content: center;
    }
}
