@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@700&display=swap');

/* ========================================
   공통 스타일
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounceInfinite {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 공통 폼 스타일 */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.field-title-small {
    font-size: 12px;
    font-weight: 500;
    color: #7f8c9a;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.4;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.form-input {
    width: 100%;
    height: 70px;
    padding: 0 55px 0 28px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.form-input::placeholder {
    color: transparent;
    font-weight: 700;
    opacity: 0;
}

.form-input:focus {
    border-color: #00c3d0;
    box-shadow: 0 0 0 4px rgba(0, 195, 208, 0.15);
}

/* 입력 필드 레이블 */
.input-label {
    position: absolute;
    left: 33px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14.6px;
    font-weight: 500;
    color: #000000;
    pointer-events: none;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 21.4px;
    transition: opacity 0.2s ease;
}

.form-input:focus~.input-label,
.form-input:not(:placeholder-shown)~.input-label {
    opacity: 0;
}

/* 아이콘 */
.input-icon {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 33px;
    height: 38px;
    pointer-events: none;
}

.input-icon svg {
    width: 100%;
    height: 100%;
}

/* 비밀번호 보기/숨기기 버튼 */
.password-toggle {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 33px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.password-toggle:hover {
    opacity: 0.7;
}

.password-toggle svg {
    width: 100%;
    height: 100%;
}

.password-toggle .eye-open,
.password-toggle .eye-closed {
    display: none;
}

.password-toggle.show .eye-open {
    display: block;
}

.password-toggle:not(.show) .eye-closed {
    display: block;
}

/* ========================================
   로그인 페이지 전용 스타일
   ======================================== */

body.login-page {
    padding: 20px;
    overflow: hidden;
    background: #1a1a2e;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../inages/login_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.3) 100%);
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 40px 20px 50px 20px;
    animation: fadeInUp 0.6s ease-out;
    margin-top: 10px;
}

.logo {
    margin-bottom: 150px;
}

.logo h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-form {
    margin: 40px 0 22px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.forgot-password-wrapper {
    text-align: right;
    margin-right: 25px;
    margin-bottom: 0;
}

.forgot-password {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.4px;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.forgot-password:hover {
    opacity: 0.8;
}

.btn-login {
    display: block;
    width: 160.47px;
    height: 58.97px;
    margin: 82px auto 60px auto;
    background: #ffcc00;
    border: none;
    border-radius: 34.88px;
    color: #000000;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 27.32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

.signup-link {
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
}

.signup-link a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

.signup-link a:hover {
    opacity: 0.8;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   회원가입 페이지 전용 스타일
   ======================================== */

body.signup-page {
    padding: 40px 20px;
    padding-top: 40px;
    overflow-x: hidden;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.signup-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 20px 16px 50px 16px;
    animation: fadeInUp 0.6s ease-out;
}

.header {
    position: relative;
    margin-bottom: 20px;
}

.header .reset-password-close {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    z-index: 1;
}

.header .reset-password-close:hover {
    color: #202733;
}

.header .reset-password-close:focus-visible {
    outline: 3px solid rgba(0, 195, 208, 0.5);
    border-radius: 50%;
}

.header h1 {
    color: #00c3d0;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    margin: 0 0 10px 0;
}

.header p {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin: 0 0 40px 0;
}

.signup-form {
    margin-bottom: 30px;
}

/* Select 스타일 */
select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 28px center;
}

select.form-input:valid~.input-label {
    opacity: 0;
}

select.form-input option {
    padding: 10px;
}

/* 에러 메시지 */
.error-message {
    display: none;
    margin-top: 8px;
    padding: 12px 16px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

.error-message::before {
    content: '⚠️';
    margin-right: 8px;
    font-size: 16px;
}

.error-message.show {
    display: block;
}

/* 비밀번호 안내 */
.password-hint {
    color: #000000;
    font-size: 13px;
    font-weight: 400;
    line-height: 18.4px;
    margin: -24px 0 36px 0;
}

.password-hint span {
    display: block;
    transition: all 0.3s ease;
}

.password-hint span.completed {
    text-decoration: line-through;
    color: #28a745;
    opacity: 0.7;
}

.password-hint span.optional {
    color: #6c757d;
    font-style: italic;
}

.password-hint span.optional.completed {
    color: #28a745;
    font-style: normal;
}

/* 파일 업로드 */
.upload-area {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 178px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    margin-bottom: 36px;
    cursor: pointer;
    transition: all 0.3s ease;

}

.form-group .upload-area {
    margin-bottom: 0;
}

.upload-area:hover {
    border-color: #00c3d0;
    box-shadow: 0 0 0 4px rgba(0, 195, 208, 0.15);
}

.upload-label {
    position: absolute;
    left: 33px;
    top: 28px;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    pointer-events: none;
    line-height: 21.4px;
}

.upload-hint {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    color: #00c3d0;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    pointer-events: none;
    width: calc(100% - 66px);
}

.upload-preview-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    z-index: 1;
    object-fit: contain;
    pointer-events: auto;
    /* 이미지는 클릭 가능 */
}

.upload-icon {
    position: absolute;
    right: 28px;
    top: 28px;
    width: 62px;
    height: 62px;
    pointer-events: none;
}

.upload-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* 체크박스 */
.checkbox-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-input {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #00c3d0;
}

.checkbox-label {
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.4px;
    cursor: pointer;
}

/* 버튼 그룹 */
.button-group {
    display: flex;
    gap: 45px;
    margin-top: 45px;
}

.btn {
    flex: 1;
    height: 58.97px;
    border: none;
    border-radius: 34.88px;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 27.32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: #ffcc00;
    color: #000000;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}

.btn-cancel {
    background: #f2f2f7;
    color: #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

/* ========================================
   회원가입 완료 페이지 전용 스타일
   ======================================== */

body.signup-complete-page {
    padding: 40px 20px;
    overflow: hidden;
    background: #ffffff;
}

.complete-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 80px 38px 50px 38px;
    animation: fadeInUp 0.6s ease-out;
    text-align: center;
}

.complete-header {
    margin-bottom: 60px;
}

.complete-header h1 {
    color: #00c3d0;
    font-size: 48px;
    font-weight: 700;
    line-height: 55.2px;
    margin: 0 0 24px 0;
}

.complete-message {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    margin: 0;
}

.complete-image {
    width: 100%;
    max-width: 370px;
    height: 305px;
    margin: 0 auto 80px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.complete-image svg {
    width: 200px;
    height: 200px;
}

.btn-complete {
    display: block;
    width: 160.47px;
    height: 58.97px;
    margin: 0 auto;
    background: #ffcc00;
    border: none;
    border-radius: 34.88px;
    color: #000000;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 27.32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-complete:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}

.btn-complete:active {
    transform: translateY(0);
}

/* ========================================
   대시보드 페이지 전용 스타일
   ======================================== */

body.dashboard-page {
    padding: 0;
    overflow-y: auto;
    background: #ffffff;
}

.dashboard-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;

    /* ✨ 추가 */
    opacity: 0;
}

.dashboard-container.ready {
    opacity: 1;
    transition: none;
}


.hidden {
    display: none !important;
}

.dashboard-top {
    background: #ffffff;
}

/* 대시보드 헤더 */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 26px;
    position: sticky;
    top: 0;
    z-index: 60;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    gap: 16px;
    position: relative;
}

.brand-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    z-index: 1;
}

.brand-logo h2 {
    color: #00c3d0;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin: 0;
}

.btn-new-request {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 42px;
    background: #ffcc00;
    border: none;
    border-radius: 30px;
    color: #000000;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-new-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.btn-new-request:active {
    transform: translateY(0);
}

.menu-icon {
    order: 3;
    flex-shrink: 0;
    margin-left: auto;
    width: 26px;
    height: 32px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #00c3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 100;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

/* 탭 메뉴 */
.tab-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0 26px;
    margin-bottom: 2px;
    position: relative;
    background: #ffffff;
}

.tab-item {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 17px;
    font-weight: 400;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item.active {
    color: #00c3d0;
    font-weight: 700;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 6px;
    background: #00c3d0;
}

.tab-menu::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #f2f2f7;
}

/* 통계 카드 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 32px 26px;
}

.stat-card {
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 12px;
    padding: 20px 8px 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.stat-card.active {
    background: #00c3d0;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 195, 208, 0.2);
}

.stat-card.bounce-animation {
    animation: bounceInfinite 1.2s ease-in-out infinite;
}

.stat-title {
    color: #00c3d0;
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 8px;
    text-align: center;
    white-space: pre-line;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card.active .stat-title {
    color: #ffffff;
}

.stat-number {
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    line-height: 16.1px;
    text-align: center;
}

.stat-card.active .stat-number {
    color: #ffffff;
}

/* 검색 영역 */
.search-area {
    display: flex;
    gap: 12px;
    padding: 0 26px 24px 26px;
    align-items: center;
}

.search-box {
    flex: 1;
}

.search-input {
    width: 100%;
    height: 44px;
    padding: 0 24px;
    background: #f5f6fb;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #000000;
    font-weight: 500;
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 195, 208, 0.15);
}

.sort-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    cursor: pointer;
    padding: 8px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.sort-button:hover {
    opacity: 0.7;
}

.sort-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* 설계 리스트 */
.design-list {
    padding: 0 14px 32px 14px;
}

.design-item {
    background: #ffffff;
    border-top: 1px solid #f2f2f7;
    border-bottom: 1px solid #f2f2f7;
    border-left: 0;
    border-right: 0;
    padding: 10px;
    transition: all 0.3s ease;
}

.design-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.design-item.hidden {
    display: none;
}

.tab-panel.hidden {
    display: none !important;
}

.tab-panel[data-tab="공지사항"] {
    display: flex;
    justify-content: center;
}

.notice-container {
    width: 100%;
    max-width: 720px;
    padding: 16px 20px 80px;
    margin: 0 auto;
}

.notice-header {
    padding: 24px 4px 20px;
}

.notice-description {
    font-size: 16px;
    font-weight: 500;
    color: #7f8c9a;
    margin-top: 16px;
}

.notice-list {
    list-style: none;
    margin: 0;
    padding: 0 4px;
    border-top: 1px solid #f0f2f5;
}

.notice-item {
    padding: 18px 0;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.notice-item:focus,
.notice-item:hover {
    background-color: #f8f9fc;
    outline: none;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item-header {
    margin-bottom: 8px;
}

.notice-item-date {
    margin-bottom: 6px;
}

.notice-title-text {
    font-size: 16px;
    font-weight: 500;
    color: #202733;
    line-height: 1.4;
}

.notice-date {
    font-size: 12px;
    font-weight: 300;
    color: #a3abb8;
    white-space: nowrap;
}

.notice-summary {
    font-size: 13px;
    line-height: 1.6;
    color: #596273;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-footer {
    display: flex;
    justify-content: center;
    padding: 28px 0 0;
}

.btn-load-more {
    min-width: 220px;
    padding: 16px 24px;
    border: none;
    border-radius: 999px;
    background-color: #f5f6fb;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-load-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn-load-more:disabled,
.btn-load-more.disabled {
    cursor: not-allowed;
    background-color: #eaecf3;
    color: #9ba3b2;
    box-shadow: none;
    transform: none;
}

.notice-detail-page {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.notice-detail-container {
    width: 100%;
    max-width: 760px;
    margin: 24px 16px 48px;
}

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

.notice-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: #202733;
    line-height: 1.3;
    margin-bottom: 8px;
}

.notice-detail-date {
    font-size: 14px;
    font-weight: 500;
    color: #a3abb8;
}

.btn-notice-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #7f8c9a;
    cursor: pointer;
    padding: 4px;
}

.btn-notice-close:hover {
    color: #202733;
}

.notice-detail-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #f5f6fb;
}

.notice-detail-image.hidden {
    display: none;
}

.notice-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.notice-detail-body {
    font-size: 16px;
    line-height: 1.7;
    color: #202733;
    word-break: keep-all;
}

.notice-detail-body p {
    margin-bottom: 12px;
}

.notice-detail-body p:last-child {
    margin-bottom: 0;
}

/* 초대하기 탭 */
.invite-modal,
.inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32, 39, 51, 0.55);
    padding: 24px;
    z-index: 2000;
}

.invite-modal.hidden,
.inquiry-modal.hidden {
    display: none;
}

.invite-modal-content,
.inquiry-modal-content {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.invite-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 26px 28px 34px;
}

.invite-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #00c3d0;
    margin-bottom: 16px;
}

.invite-header p {
    font-size: 14px;
    line-height: 1.5;
    color: #596273;
    margin-bottom: 36px;
}

.invite-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.invite-form-group label {
    font-size: 12px;
    font-weight: 500;
    color: #202733;
}

.invite-form-group input {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid #00c3d0;
    border-radius: 36px;
    font-size: 15px;
    font-weight: 500;
    color: #202733;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.invite-form-group input:focus {
    border-color: #0099a8;
    box-shadow: 0 0 0 4px rgba(0, 195, 208, 0.15);
}

.invite-success {
    display: none;
    margin-top: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #00c3d0;
}

.invite-success.show {
    display: block;
}

.inquiry-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 24px 50px;
}

.inquiry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.inquiry-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #00c3d0;
}

.inquiry-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #7f8c9a;
    cursor: pointer;
    padding: 4px;
}

.inquiry-modal-close:hover {
    color: #202733;
}

.inquiry-modal-close:focus-visible {
    outline: 3px solid rgba(0, 195, 208, 0.5);
    border-radius: 50%;
}

.inquiry-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inquiry-call-button {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    background: #1db8c8;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-call-button:hover,
.inquiry-call-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.inquiry-call-button:focus-visible {
    outline: 3px solid rgba(0, 195, 208, 0.5);
}

.inquiry-call-icon {
    font-size: 20px;
}

.invite-error {
    display: none;
    font-size: 14px;
    color: #d9534f;
    font-weight: 600;
    margin-left: 4px;
}

.invite-error.show {
    display: block;
}

.invite-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.btn-invite-submit,
.btn-invite-cancel {
    flex: 1;
    padding: 18px 0;
    border-radius: 36px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-invite-submit {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 6px 16px rgba(255, 204, 0, 0.3);
}

.btn-invite-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
}

.btn-invite-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-invite-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

body.modal-open {
    display: block !important;
    overflow: hidden;
}

/* 즉시가입하기 모달 (2026-01-05) */
.immediate-join-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32, 39, 51, 0.55);
    padding: 24px;
    z-index: 2000;
}

.immediate-join-modal.hidden {
    display: none;
}

.immediate-join-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.immediate-join-modal-content {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 1;
}

.immediate-join-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 26px 28px 34px;
}

.immediate-join-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.immediate-join-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.immediate-join-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #7f8c9a;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.immediate-join-modal-close:hover {
    color: #202733;
}

.immediate-join-modal-close:focus-visible {
    outline: 3px solid rgba(0, 195, 208, 0.5);
    border-radius: 50%;
}

.immediate-join-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.immediate-join-textarea {
    width: 100%;
    min-height: 150px;
    padding: 16px 24px;
    border: 2px solid #00c3d0;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 500;
    color: #202733;
    outline: none;
    resize: vertical;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.5;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.immediate-join-textarea::placeholder {
    color: #7f8c9a;
}

.immediate-join-textarea:focus {
    border-color: #0099a8;
    box-shadow: 0 0 0 4px rgba(0, 195, 208, 0.15);
}

.immediate-join-actions {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.btn-immediate-join-submit {
    width: 100%;
    padding: 18px 0;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: #00c3d0;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 195, 208, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-immediate-join-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 195, 208, 0.4);
    background: #0099a8;
}

.btn-immediate-join-submit:active {
    transform: translateY(0);
}

.btn-immediate-join-submit:focus-visible {
    outline: 3px solid rgba(0, 195, 208, 0.5);
}




/* 검색 강조 표시 */
.highlight {
    background-color: #ffcc00;
    color: #000000;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.client-name {
    color: #00c3d0;
    font-size: 20px;
    font-weight: 500;
    line-height: 33.6px;
    margin: 0;
}

.request-status {
    color: #232323;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
}

.request-status .status-text {
    color: #D81616;
    /* 진행중만 빨강 */
    font-weight: 600;
}

.request-status div {
    line-height: 1.4;
}


.item-details {
    margin-bottom: 0;
}

.detail-row {
    color: #232323;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.date-time {
    color: #232323;
    font-size: 13px;
    font-weight: 300;
    line-height: 18px;
}

.payment-info {
    color: #232323;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

/* 아이템 액션 버튼 */
.item-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.item-actions button {
    flex: 1;
    height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-join {
    background: #00c3d0;
    color: #ffffff;
    border: none;
}

.btn-join:hover {
    background: #00a8b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 195, 208, 0.3);
}

.btn-cancel-design {
    background: #ffffff;
    color: #00c3d0;
    border: 2px solid #00c3d0;
}

.btn-cancel-design:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 195, 208, 0.2);
}

.btn-cancel-design:active {
    transform: translateY(0);
}

/* ========================================
   상세 페이지 스타일
   ======================================== */

body.detail-page {
    padding: 0;
    overflow-y: auto;
    background: #ffffff;
}

.detail-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 1px solid #f2f2f7;
}

.btn-back {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    opacity: 0.7;
}

.detail-header h2 {
    color: #00c3d0;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.header-spacer {
    width: 40px;
}

.detail-content {
    padding: 24px 26px;
}

.detail-section {
    margin-bottom: 32px;
    padding: 0 20px;
}

.detail-section h3 {
    color: #00c3d0;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.detail-info-grid {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f7;
}

.info-label {
    color: #8e8e93;
    font-size: 16px;
    font-weight: 500;
}

.info-value {
    color: #232323;
    font-size: 16px;
    font-weight: 700;
}

/* 상태 메시지 */
.status-message {
    position: relative;
    padding: 64px 20px 24px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    border-bottom: 1px solid #e8f7f8;
}

.highlight-text {
    color: #00c3d0;
    font-size: 26px;
    font-weight: 600;
}

.status-highlight-cancel {
    color: #ff9600;
    font-size: 26px;
    font-weight: 600;
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-close-modal:hover {
    color: #333;
}

/* 상담사 연결 버튼 */
.btn-consultant {
    position: absolute;
    top: -18px;
    left: 20px;
    background: #ffd840;
    border: none;
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-consultant:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.14);
}

.btn-consultant svg {
    flex-shrink: 0;
}

/* 즉시 가입요청 버튼 */
.btn-immediate-join {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FFD700;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
    z-index: 10;
}

.btn-immediate-join:hover {
    background: #FFC700;
}

.btn-immediate-join svg {
    width: 16px;
    height: 16px;
}

/* 견적서 보기 버튼 */
.btn-view-quote {
    width: 100%;
    padding: 12px;
    background: #00c3d0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.btn-view-quote:hover {
    background: #00aab5;
}

/* 증명서 보기 버튼 */
.btn-view-certificate {
    width: 100%;
    padding: 12px;
    background: #00c3d0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.btn-view-certificate:hover {
    background: #00aab5;
}

/* 설계 의견 텍스트 */
.quote-opinion {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 계약 특이사항 */
.contract-note {
    margin-top: 12px;
}

.contract-note p {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #232323;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 요청 메모 */
.request-memo {
    margin-top: 12px;
}

.request-memo p {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #232323;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 테이블 스타일 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.info-table th,
.info-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.info-table th {
    background: #f8f9fa;
    color: #8e8e93;
    font-size: 14px;
    font-weight: 600;
    width: 35%;
}

.info-table td {
    color: #232323;
    font-size: 15px;
    font-weight: 500;
}

/* 담보 테이블 */
.coverage-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.coverage-table th,
.coverage-table td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-size: 14px;
}

.coverage-table th {
    background: #f8f9fa;
    color: #8e8e93;
    font-weight: 600;
    width: 25%;
}

.coverage-table td {
    color: #232323;
    font-weight: 500;
}

/* 보험료 비교 테이블 */
.premium-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.premium-table thead th {
    background: #00c3d0;
    color: #ffffff;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.premium-table tbody td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    color: #232323;
    font-size: 14px;
    font-weight: 500;
}

.premium-table tbody tr.best-price {
    background: #fff8e1;
}

.premium-table tbody tr.best-price td {
    font-weight: 700;
    color: #00c3d0;
}

/* 섹션 헤더 flex */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.previous-insurer {
    color: #8e8e93;
    font-size: 14px;
    font-weight: 500;
}

/* 담당자 카드 */
.agent-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 12px;
}

.agent-company {
    color: #00c3d0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.agent-name {
    color: #232323;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.agent-phone {
    color: #8e8e93;
    font-size: 15px;
    font-weight: 500;
}

/* 첨부파일 이미지 */
.attachment-image {
    margin-top: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.attachment-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 정보 노트 */
.info-notes {
    margin-top: 16px;
    padding-left: 20px;
}

.info-notes li {
    color: #8e8e93;
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 8px;
}

/* 메모 입력 */
.memo-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.memo-input:focus {
    border-color: #00c3d0;
}

.btn-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 0.7;
}

/* ========================================
   반응형 디자인
   ======================================== */

@media (max-width: 580px) {
    .login-container {
        padding: 30px 14px 40px 14px;
        margin-top: 0;
    }

    .signup-container {
        padding: 0;
    }

    .logo {
        margin-bottom: 120px;
    }

    .logo h1,
    .header h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .form-input {
        height: 70px;
        padding: 0 55px 0 28px;
        font-size: 17px;
    }

    .input-icon {
        right: 24px;
        width: 28px;
        height: 32px;
    }

    .btn-login {
        margin: 60px auto 80px auto;
    }

    .button-group {
        gap: 20px;
    }

    .btn {
        font-size: 18px;
    }

    /* 대시보드 반응형 */
    .btn-new-request {
        font-size: 16px;
        width: 130px;
        height: 50px;
        right: 60px;
    }

    .stats-grid {
        gap: 6px;
        padding: 24px 20px;
    }

    .stat-title {
        font-size: 15px;
    }

    .stat-number {
        font-size: 13px;
    }

    .search-area {
        padding: 0 20px 20px 20px;
    }

    .design-list {
        padding: 0 20px 24px 20px;
    }

    .design-item {
        padding: 15px 10px;
    }

    .client-name {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .logo h1 {
        font-size: 36px;
        line-height: 42px;
    }

    .form-input {
        font-size: 16px;
        height: 55px;
    }

    .brand-logo h2 {
        font-size: 16px;
        line-height: 20px;
        text-align: left;
    }

    .btn-new-request {
        font-size: 14px;
        width: 110px;
        height: 45px;
    }

    .tab-item {
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    /* 회원가입 완료 페이지 반응형 */
    .complete-container {
        padding: 60px 28px 40px 28px;
    }

    .complete-header h1 {
        font-size: 36px;
        line-height: 42px;
    }

    .complete-message {
        font-size: 18px;
    }

    .complete-image {
        height: 240px;
        margin-bottom: 60px;
    }

    .complete-image svg {
        width: 160px;
        height: 160px;
    }
}

.design-request-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32, 39, 51, 0.55);
    padding: 0;
    z-index: 2100;
}

.design-request-modal.hidden {
    display: none;
}

.design-request-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
}

.design-request-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 30px;
    color: #7f8c9a;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.design-request-close:hover {
    color: #202733;
}

.design-request-close:focus-visible {
    outline: 3px solid rgba(0, 195, 208, 0.5);
    border-radius: 50%;
}

.design-request-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 48px 32px 80px;
}

.design-request-header h2 {
    font-size: 34px;
    font-weight: 600;
    color: #00c3d0;
    margin-bottom: 8px;
}

.design-request-header p {
    font-size: 16px;
    line-height: 1.5;
    color: #202733;
    margin-bottom: 36px;
}

.design-request-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.design-steps {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.design-step {
    display: block;
}

.design-step.hidden {
    display: none;
}

.step-header h3 {
    font-size: 36px;
    font-weight: 800;
    color: #00c3d0;
    margin: 0;
}

.step-header p {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
}

.step-header .step-subtext {
    font-size: 16px;
    font-weight: 500;
    color: #4f5b6c;
}

.design-warning {
    margin: 6px 12px 0;
    font-size: 14px;
    color: #ff5252;
    font-weight: 600;
}

.design-warning:empty {
    display: none;
}

.attachment-choice {
    display: flex;
    gap: 16px;
    margin: 12px 0 20px;
}

.choice-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #d1f2f5;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    color: #202733;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice-option input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #00c3d0;
    border-radius: 50%;
    position: relative;
}

.choice-option input:checked {
    background: #00c3d0;
}

.choice-option input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.choice-option:hover {
    border-color: #00c3d0;
    background: rgba(0, 195, 208, 0.08);
}

.upload-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 16px;
}

.upload-card {
    border: 2px dashed #9ae5eb;
    border-radius: 28px;
    background: #f5feff;
    padding: 24px 20px;
    position: relative;
    min-height: 120px;
    overflow: hidden;
}

.upload-card.has-image {
    padding: 0;
}

.upload-preview-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 28px;
    display: block;
    cursor: pointer;
}

.upload-trigger {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: transparent;
    color: #00a6b4;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.upload-icon {
    font-size: 32px;
}

.upload-title {
    font-size: 18px;
    color: #202733;
    font-weight: 700;
}

.upload-help {
    font-size: 15px;
    color: #7f8c9a;
    font-weight: 500;
}

.upload-preview {
    margin-top: 20px;
    border: 2px solid #d1f2f5;
    border-radius: 24px;
    overflow: hidden;
    display: none;
}

.upload-preview.show {
    display: block;
}

.upload-preview img {
    width: 100%;
    display: block;
}

.upload-preview .preview-card {
    padding: 28px 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.upload-preview .preview-card img {
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.upload-preview .preview-name {
    font-size: 16px;
    font-weight: 700;
    color: #202733;
    text-align: center;
}

.upload-preview .preview-empty {
    padding: 32px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #7f8c9a;
    text-align: center;
}

.design-step-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
}

.btn-design-prev {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    border: none;
    background: #f5f6fb;
    color: #202733;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-design-prev:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(24, 28, 34, 0.16);
}

.btn-design-primary,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    border: none;
    background: #ffcc00;
    color: #202733;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-design-primary:hover,
.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-primary:disabled,
.btn-design-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e0e0e0;
    color: #9e9e9e;
    box-shadow: none;
    transform: none;
}

.btn-design-primary:disabled:hover,
.btn-design-next:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-design-secondary {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    border: none;
    background: #f5f6fb;
    color: #202733;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(24, 28, 34, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-design-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(24, 28, 34, 0.16);
}

.complete-panel {
    text-align: center;
    padding: 48px 24px 32px;
}

.complete-panel h3 {
    font-size: 40px;
    font-weight: 800;
    color: #00c3d0;
    margin-bottom: 12px;
}

.complete-panel p {
    font-size: 18px;
    color: #4f5b6c;
    margin-bottom: 36px;
}

.complete-illustration {
    max-width: 260px;
    margin: 0 auto 48px;
}

.complete-illustration img {
    width: 100%;
    display: block;
}

.complete-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.design-step-footer.hidden {
    display: none;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.design-request-field .field-title {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    margin: 0 0 8px 0;
    padding: 0 8px;
    line-height: 1.4;
}

.design-request-field input:disabled,
.design-request-field select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.design-request-form .design-request-field .form-group {
    margin-bottom: 0;
}

.design-request-form .design-request-field+.design-request-field {
    margin-top: 12px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel.hidden {
    display: none !important;
}


.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

.settings-logout {
    width: 100%;
    background: #f6f7f9;
    color: #202733;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-logout:hover {
    background: #e9ebef;
}

.settings-withdraw {
    width: 100%;
    margin-top: 12px;
    background: #ffeaea;
    color: #d64545;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.settings-withdraw:hover {
    background: #ffdcdc;
}

.settings-footer {
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c9a;
    border-top: 1px solid #eef1f4;
}

.settings-footer strong {
    color: #1bb978;
}

.upload-preview.hidden {
    display: none;
}

.upload-preview:not(.hidden) {
    display: block;
}

.design-request-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-request-field .design-field-caption {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c9a;
    padding: 0 8px;
}

.design-field-hint {
    font-size: 14px;
    color: #a3abb8;
    margin: -4px 8px 0 8px;
    line-height: 1.4;
}

.design-request-field.hidden .design-field-hint {
    display: none;
}

.design-input-wrapper {
    position: relative;
    border: 2px solid #00c3d0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 195, 208, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-input-wrapper:focus-within {
    border-color: #0099a8;
    box-shadow: 0 24px 44px rgba(0, 195, 208, 0.24);
}

.design-input-wrapper input {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
}

.design-select-display {
    width: 100%;
    padding: 14px 56px 14px 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    outline: none;
    display: flex;
    align-items: center;
}

.design-input-wrapper input::placeholder {
    color: transparent;
}

.design-input-wrapper input {
    caret-color: #00c3d0;
}

.design-input-wrapper label {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #202733;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 0 6px;
    z-index: 40;
}

.design-input-wrapper:focus-within label,
.design-input-wrapper.has-value label,
.design-select-wrapper.open label {
    font-size: 14px;
    top: 8px;
    transform: translateY(0);
    color: #00c3d0;
}

.design-select-wrapper {
    position: relative;
}

.design-select-display {
    text-align: left;
    cursor: pointer;
    position: relative;
}

.design-select-display .design-select-text {
    display: inline-block;
}

.design-select-display .design-select-text.is-placeholder {
    color: #a3abb8;
    font-weight: 600;
}

.design-select-wrapper::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.design-select-wrapper.open {
    z-index: 25;
}

.design-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-select-options {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 2px solid #00c3d0;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 195, 208, 0.32);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
}

.design-select-wrapper.open .design-select-options {
    display: block;
    top: -2px;
    padding-top: 70px;
    border-radius: 36px;
}

.design-select-wrapper.open .design-select-options::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: #d9f2f4;
}

.design-select-option {
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #202733;
    cursor: pointer;
    transition: background 0.2s ease;
}

.design-select-option+.design-select-option {
    border-top: 1px solid #e5f7f8;
}

.design-select-option:hover,
.design-select-option:focus {
    background: #e8fafb;
}

.design-request-field.hidden {
    display: none;
}

.design-request-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-design-cancel,
.btn-design-next {
    min-width: 140px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-design-cancel {
    background: #f5f6fb;
    color: #202733;
    box-shadow: 0 8px 20px rgba(24, 28, 34, 0.12);
}

.btn-design-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 28, 34, 0.16);
}

.btn-design-next {
    background: #ffcc00;
    color: #202733;
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
}

.btn-design-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}

.btn-design-next:active,
.btn-design-cancel:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.settings-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.settings-panel.hidden {
    display: none;
}

.settings-panel:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.settings-panel-content {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 80px);
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 32px 12px;
}

.settings-panel-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #202733;
    margin: 0;
}

.settings-panel-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
}

.settings-panel-close:hover {
    color: #202733;
}

.settings-panel-content::after {
    content: '';
    display: block;
    height: 1px;
    background: #f0f2f5;
}

.settings-section {
    padding: 20px 32px;
    overflow-y: auto;
}

.settings-section+.settings-section {
    border-top: 8px solid #f6f7f9;
}

.settings-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    color: #2d3a45;
}

.settings-item+.settings-item {
    border-top: 1px solid #eef1f4;
}

.settings-link {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 15px;
    cursor: pointer;
}

.settings-link:hover {
    text-decoration: underline;
}

.settings-item.with-toggle {
    gap: 12px;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    width: 56px;
    height: 28px;
    background: #d4dbe1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.settings-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-toggle input:checked+.settings-toggle-slider {
    background: #1bb978;
}

.settings-toggle input:checked+.settings-toggle-slider::after {
    transform: translateX(28px);
}

/* ========================================
   비밀번호 찾기 모달
   ======================================== */

.forgot-password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-modal.hidden {
    display: none;
}

.forgot-password-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.forgot-password-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 32px;
    z-index: 1001;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.forgot-password-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.forgot-password-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3a45;
    margin: 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.forgot-password-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #7f8c9a;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.2s ease;
}

.forgot-password-modal-close:hover {
    color: #2d3a45;
}

.forgot-password-form-group {
    margin-bottom: 32px;
}

.forgot-password-form-group label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #2d3a45;
    margin-bottom: 12px;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.forgot-password-form-group input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 1px solid #d4dbe1;
    border-radius: 12px;
    font-size: 15px;
    color: #202733;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.forgot-password-form-group input::placeholder {
    color: #a3abb8;
}

.forgot-password-form-group input:focus {
    border-color: #00c3d0;
}

.forgot-password-form-actions {
    margin-top: 24px;
}

.forgot-password-btn {
    width: 100%;
    height: 56px;
    background: #00c3d0;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.forgot-password-btn:hover {
    background: #00a8b3;
    transform: translateY(-1px);
}

.forgot-password-btn:active {
    transform: translateY(0);
}

/* ========================================
   비밀번호 변경 페이지
   ======================================== */

.reset-password-page {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    padding-top: 40px;
}

.reset-password-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.reset-password-header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.reset-password-close {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 26px;
    color: #7f8c9a;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    z-index: 1;
}

.reset-password-close:hover {
    color: #202733;
}

.reset-password-close:focus-visible {
    outline: 3px solid rgba(0, 195, 208, 0.5);
    border-radius: 50%;
}

.reset-password-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.4;
}

.reset-password-instruction {
    text-align: center;
    margin-bottom: 40px;
}

.reset-password-instruction p {
    font-size: 18px;
    font-weight: 500;
    color: #2d3a45;
    margin: 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.reset-password-form {
    width: 100%;
}

.reset-password-input-group {
    margin-bottom: 32px;
}

.reset-password-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #2d3a45;
    margin-bottom: 12px;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.reset-password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.reset-password-input {
    width: 100%;
    height: 56px;
    padding: 0 60px 0 20px;
    border: 1px solid #d4dbe1;
    border-radius: 12px;
    font-size: 16px;
    color: #202733;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.reset-password-input::placeholder {
    color: transparent;
}

.reset-password-input:focus {
    border-color: #00c3d0;
    box-shadow: 0 0 0 3px rgba(0, 195, 208, 0.1);
}

.reset-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 33px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.reset-password-toggle:hover {
    opacity: 1;
}

.reset-password-toggle svg {
    width: 100%;
    height: 100%;
}

.reset-password-toggle .eye-open {
    display: none;
}

.reset-password-toggle:not(.show) .eye-closed {
    display: block;
}

.reset-password-toggle.show .eye-closed {
    display: none;
}

.reset-password-toggle.show .eye-open {
    display: block;
}

.reset-password-rules {
    margin-bottom: 32px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.reset-password-rules p {
    font-size: 14px;
    font-weight: 400;
    color: #2d3a45;
    margin: 0 0 12px 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.6;
}

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

.reset-password-actions {
    text-align: center;
}

.reset-password-submit-btn {
    width: 100%;
    max-width: 300px;
    height: 56px;
    background: #00c3d0;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.reset-password-submit-btn:hover {
    background: #00a8b3;
    transform: translateY(-1px);
}

.reset-password-submit-btn:active {
    transform: translateY(0);
}

/* ========================================
   이용약관 모달
   ======================================== */

.terms-detail-btn {
    background: none;
    border: none;
    color: #3fa6c3;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    text-decoration: underline;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.terms-detail-btn:hover {
    color: #00a8b3;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.terms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-modal.hidden {
    display: none;
}

.terms-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.terms-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    z-index: 1001;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #eef1f4;
}

.terms-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3a45;
    margin: 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.terms-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #7f8c9a;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.2s ease;
}

.terms-modal-close:hover {
    color: #2d3a45;
}

.terms-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.terms-modal-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3a45;
    margin: 0 0 24px 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.terms-modal-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3a45;
    margin: 24px 0 16px 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.terms-modal-body h5 {
    font-size: 15px;
    font-weight: 600;
    color: #2d3a45;
    margin: 20px 0 12px 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.terms-modal-body p {
    font-size: 14px;
    font-weight: 400;
    color: #2d3a45;
    margin: 0 0 12px 0;
    line-height: 1.6;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.terms-modal-body ol {
    margin: 12px 0;
    padding-left: 24px;
}

.terms-modal-body ol li {
    font-size: 14px;
    font-weight: 400;
    color: #2d3a45;
    margin: 8px 0;
    line-height: 1.6;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

/* ========================================
   재확인 모달
   ======================================== */

.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal.hidden {
    display: none;
}

.confirm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.confirm-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    width: min(400px, calc(100% - 32px));
    z-index: 4001;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.confirm-modal-body {
    padding: 32px;
    text-align: center;
}

.confirm-modal-message {
    font-size: 18px;
    font-weight: 600;
    color: #2d3a45;
    margin: 0 0 16px 0;
    line-height: 1.5;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.confirm-modal-description {
    font-size: 14px;
    font-weight: 400;
    color: #7f8c9a;
    margin: 0;
    line-height: 1.6;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    padding: 0 32px 32px;
}

.confirm-btn-cancel,
.confirm-btn-confirm {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.confirm-btn-cancel {
    background: #f0f2f5;
    color: #7f8c9a;
}

.confirm-btn-cancel:hover {
    background: #e0e4e8;
    color: #2d3a45;
}

.confirm-btn-confirm {
    background: #00c3d0;
    color: #ffffff;
}

.confirm-btn-confirm:hover {
    background: #00a8b3;
    transform: translateY(-1px);
}

.confirm-btn-cancel:active,
.confirm-btn-confirm:active {
    transform: translateY(0);
}

/* 🔥 이미지 뷰어 모달 열릴 때 body flex 무력화 */
body.modal-open .image-viewer-modal {
    position: fixed;
    inset: 0;
    display: block;
    /* body flex 영향 차단 */
}

/* 전체 화면 이미지 뷰어 모달 */
.image-viewer-modal {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: block;
    align-items: center;
    justify-content: center;
}

.image-viewer-modal.hidden {
    display: none;
}

.image-viewer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-viewer-content {
    position: relative;
    /* absolute 기준점 */
    width: 100%;
    height: 100%;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

/* ===============================
   이미지 뷰어 상단 컨트롤 영역
   =============================== */
.image-viewer-controls {
    position: fixed;
    /* 🔥 absolute ❌ → fixed ⭕ */
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.image-viewer-center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 다운로드 버튼 */
.btn-download {
    padding: 10px 16px;
    background: #00c3d0;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 195, 208, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-download:hover {
    background: #00aab5;
    transform: translateY(-1px);
}

.btn-download:active {
    transform: translateY(0);
}




.image-viewer-close {
    position: static;
    /* 🔥 absolute 제거 */
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #232323;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.image-viewer-close:active {
    transform: scale(0.95);
}

.image-viewer-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .image-viewer-content {
        padding: 10px;
    }

    /* ✅ 버튼 전체를 하나로 묶어서 위치 고정 */
    .image-viewer-controls {
        position: fixed;
        top: env(safe-area-inset-top, 12px);
        right: 12px;
        display: flex;
        gap: 8px;
        z-index: 10001;
    }

    .btn-download {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* ❌ 모바일에서는 개별 위치 제거 */
    .image-viewer-close {
        position: static;
        /* 🔥 중요 */
        /* top: 10px; */
        /* right: 10px; */
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* 소속사 추가하기 안내 문구 */
.company-custom-hint {
    color: #666666;
    font-size: 13px;
    font-weight: 400;
    line-height: 18.4px;
    margin: 0 0 12px 0;
    padding: 0 20px;
}

/* 소속사 추가하기 버튼 */
.btn-add-company {
    width: 100%;
    margin-top: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #00c3d0;
    border-radius: 8px;
    color: #00c3d0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-add-company:hover {
    background: #f0fdfe;
    border-color: #00aab5;
    color: #00aab5;
}

.btn-add-company:active {
    background: #e0fafc;
    transform: scale(0.98);
}