/* ============================================
   ✅ 로그인 페이지 전용 스타일
   login.php 전용 CSS
   ============================================ */
@font-face {
    font-family: 'D-DIN';
    src: url('<?=SKIN_DIR?>/assets/fonts/D-DIN.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'D-DIN';
    src: url('<?=SKIN_DIR?>/assets/fonts/D-DIN-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* ── 기본 초기화 ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'D-DIN', 'Inter', sans-serif;
    background-color: #121316;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.screen-wrapper {
    overflow: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

a {
    text-decoration: none !important;
}

/* ── 버튼 공통 스타일 ── */
.btn-date_p {
    padding: 12px 14px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-danger {
    background-color: #e6604a;
}

.btn-primary {
    background-color: #6366F1;
}

.btn-success {
    background-color: #10B981;
}

.btn-info {
    background-color: #3B82F6;
}

.btn-warning {
    background-color: #F59E0B;
}

.btn-secondary {
    background-color: #6B7280;
}

.btn-dark {
    background-color: #111827;
}

.btn-danger:hover {
    background-color: #d14a35;
}

.btn-primary:hover {
    background-color: #4F46E5;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-info:hover {
    background-color: #2563EB;
}

.btn-warning:hover {
    background-color: #D97706;
}

.btn-secondary:hover {
    background-color: #4B5563;
}

.btn-dark:hover {
    background-color: #000000;
}

/* ============================================
   ✅ 로그인 래퍼 (전체 컨테이너)
   ============================================ */
.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000;
    position: relative;
}

/* ============================================
   ✅ 상단 바 (언어설정 + 가입 링크)
   ============================================ */
.login-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    /* safe area 대응(iOS 노치) */
    padding-top: max(16px, env(safe-area-inset-top));
}

/* 언어 설정 버튼 – UP Finance 스타일 (심플 텍스트) */
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 400;
    padding: 8px 4px;
    border-radius: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.lang-btn:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
}

.lang-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
}

/* 가입 링크 – UP Finance 스타일 (골드/노란색 텍스트) */
.signup-link {
    color: #D4A843;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 4px;
    border-radius: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.signup-link:hover {
    background: transparent;
    color: #E8C461;
    transform: none;
    box-shadow: none;
}

/* ============================================
   ✅ 언어 선택 바텀시트 오버레이 + 모달
   ============================================ */

/* 오버레이 (배경 어둡게) */
.lang-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.lang-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 바텀시트 본체 – UP Finance 스타일 (다크 배경) */
.lang-sheet {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    background: #111111;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    padding: 0 0 20px;
    max-height: 75vh;
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-sheet.active {
    bottom: 0;
}

/* 바텀시트 헤더 – UP Finance 스타일 */
.lang-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    background: #111111;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.lang-sheet-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

/* 닫기 버튼 – UP Finance 스타일 */
.lang-sheet-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
}

.lang-sheet-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: scale(1.1);
}

/* 서브타이틀 – UP Finance 스타일 */
.lang-sheet-subtitle {
    padding: 16px 24px 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* 언어 아이템 – UP Finance 스타일 */
.lang-sheet-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.lang-sheet-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 글로브 아이콘(언어 아이템 왼쪽) – UP Finance 스타일 */
.lang-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lang-icon svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.5);
    fill: none;
    stroke-width: 1.5;
}

/* 언어 이름 텍스트 */
.lang-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

/* 오른쪽 화살표 – UP Finance 스타일 */
.lang-arrow {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease;
}

.lang-sheet-item:hover .lang-arrow {
    transform: translateX(4px);
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ✅ 로그인 본문 영역
   ============================================ */
/* 본문 영역 – UP Finance 스타일 (풀 폭) */
.login-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 28px 40px;
    width: 100%;
}

/* ── 환영 메시지 – UP Finance 스타일 ── */
.login-welcome {
    margin-bottom: 8px;
}

.login-welcome h1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.login-welcome h1 span {
    /* 사이트 이름 강조 – 굵게만, 색상은 흰색 유지 */
    font-weight: 800;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* ── 구분선 (UP Finance 스타일: 보이지 않음) ── */
.login-divider {
    height: 0;
    background: transparent;
    margin: 12px 0 20px;
}

/* ── 라벨 – UP Finance 스타일 ── */
.login-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    margin-top: 20px;
    letter-spacing: 0.3px;
}

.login-label:first-of-type {
    margin-top: 0;
}

.login-label .required {
    color: #D4A843;
    font-weight: 600;
}

/* ── 입력 필드 래퍼 – UP Finance 스타일 ── */
.login-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.login-input-wrap:focus-within {
    border-color: rgba(255, 255, 255, 0.15);
    background: #1e1e1e;
    box-shadow: none;
}

/* 입력값이 있을 때 미세한 밝기 변화 */
.login-input-wrap.has-value {
    border-color: rgba(255, 255, 255, 0.1);
    background: #1c1c1c;
}

/* 아이콘 영역 */
.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    padding-left: 14px;
}

.input-icon svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.3);
    fill: none;
    stroke-width: 1.5;
    transition: stroke 0.3s ease;
}

.login-input-wrap:focus-within .input-icon svg {
    stroke: rgba(255, 255, 255, 0.55);
}

/* 실제 input 필드 */
.login-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 16px 16px 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
}

.login-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

/* ── 비밀번호 찾기 링크 – UP Finance 스타일 (골드/노란색) ── */
.login-forgot {
    display: block;
    text-align: left;
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #D4A843 !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.login-forgot:hover {
    color: #E8C461 !important;
}

/* ── 하단 로그인 버튼 – UP Finance 스타일 ── */
.login-bottom {
    margin-top: auto;
    padding-top: 32px;
    padding-bottom: env(safe-area-inset-bottom, 16px);
}

.login-submit-btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #111;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
}

/* 이동(→) 화살표 아이콘 */
.login-submit-btn svg {
    width: 18px;
    height: 18px;
    stroke: #111;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

/* Shine 효과 */
.login-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
    transition: left 0.6s ease;
}

.login-submit-btn:hover::before {
    left: 100%;
}

.login-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.login-submit-btn:hover svg {
    transform: translateX(4px);
}

.login-submit-btn:active {
    transform: translateY(0);
    background: #e8e8e8;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
}

/* ============================================
   ✅ 폼 기본 설정
   ============================================ */
#loginform {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ============================================
   ✅ 반응형 스타일
   ============================================ */
@media (max-width: 480px) {
    .container {
        width: 100%;
        overflow: hidden;
    }

    .login-body {
        padding: 16px 20px 32px;
    }

    .login-welcome h1 {
        font-size: 22px;
    }

    .login-submit-btn {
        padding: 15px 20px;
        font-size: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .login-body {
        padding: 24px 32px 40px;
    }
}

/* ============================================
   ✅ 이전 호환: login-screen 트랜지션
   (레거시 코드에서 사용할 경우 대비)
   ============================================ */
.login-screen {
    display: none;
    background: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    width: 100%;
    overflow-y: auto;
}

.login-screen.slide-in {
    transform: translateX(0);
}

.login-screen.slide-to-dashboard {
    transform: translateX(-100%);
}

/* ============================================
   ✅ 이전 호환: splash / 회원가입 / 슬라이드
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.splash-video {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    pointer-events: none;
}

.register-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    background: #000;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding: 20px 10px;
    z-index: 9;
}

@keyframes slideFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

.slide-from-right {
    animation: slideFromRight 0.5s ease-in-out forwards;
}

/* ============================================
   ✅ 회원가입 페이지 전용 스타일 (UP Finance 다크 테마)
   register.php + register_field.php
   ============================================ */

/* ── 회원가입 래퍼 (전체 컨테이너) ── */
.register-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000;
    position: relative;
}

/* ── 상단 바 (언어설정 + 로그인 링크) ── */
.register-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    padding-top: max(16px, env(safe-area-inset-top));
}

/* 로그인 링크 – UP Finance 스타일 (골드) */
.login-link {
    color: #D4A843;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 4px;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.login-link:hover {
    color: #E8C461;
}

/* ── 본문 영역 ── */
.register-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 28px 40px;
    width: 100%;
}

/* ── 환영 메시지 ── */
.register-welcome {
    margin-bottom: 8px;
}

.register-welcome h1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.register-welcome h1 span {
    font-weight: 800;
    color: #fff;
}

.register-welcome p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

/* ── 구분선 (숨김) ── */
.register-divider {
    height: 0;
    background: transparent;
    margin: 12px 0 20px;
}

/* ── reg-label (로그인 페이지의 기존 라벨 스타일 재사용) ── */
.reg-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    margin-top: 20px;
    letter-spacing: 0.3px;
}

.reg-label .required {
    color: #D4A843;
    font-weight: 600;
}

/* ── reg-input-wrap (로그인 페이지의 입력 래퍼 스타일 재사용) ── */
.reg-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.reg-input-wrap:focus-within {
    border-color: rgba(255, 255, 255, 0.15);
    background: #1e1e1e;
}

.reg-input-wrap.readonly {
    opacity: 0.6;
    pointer-events: none;
}

.reg-input-wrap .input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    padding-left: 14px;
}

.reg-input-wrap .input-icon svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.3);
    fill: none;
    stroke-width: 1.5;
}

.reg-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 16px 16px 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
}

.reg-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

/* ── field-item (register_field.php에서 사용하는 필드 컨테이너) ── */
.field-item {
    margin-bottom: 8px;
}

.field-item label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
    margin-top: 16px;
    letter-spacing: 0.3px;
}

.field-item label span[style*="color:red"],
.field-item label span[style*="color: red"] {
    color: #D4A843 !important;
    font-weight: 600;
}

/* ── input-field (register_field.php에서 사용하는 입력 필드) ── */
.input-field {
    display: block;
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 16px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    min-height: 52px;
}

.input-field:focus {
    border-color: rgba(255, 255, 255, 0.15);
    background: #1e1e1e;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

/* select 스타일 (국가, 센터 등) – 더 눈에 띄는 테두리 */
select.input-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #1a1a1a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

select.input-field:focus {
    border-color: rgba(255, 255, 255, 0.25);
}

select.input-field option {
    background: #222;
    color: #fff;
    padding: 10px;
}

/* ── input-group (비밀번호 필드 래퍼) ── */
.input-group {
    position: relative;
}

.input-group .input-field {
    width: 100%;
}

/* ── 라디오 버튼 스타일 (성별 등) ── */
.field-item .radio label {
    display: inline;
    margin-top: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.field-item input[type="radio"] {
    accent-color: #D4A843;
}

/* ── 경고/에러 메시지 ── */
.warning {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
    padding-left: 2px;
}

.reg-error {
    font-size: 13px;
    color: #ef4444;
    margin-top: 4px;
    min-height: 20px;
}

/* ── 캡차 영역 ── */
.reg-captcha-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.reg-captcha-wrap img {
    border-radius: 10px;
    height: 48px;
}

.reg-captcha-btn {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.reg-captcha-btn:hover {
    background: #222;
}

.reg-captcha-wrap input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.reg-captcha-wrap input:focus {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ── 하단 가입 버튼 (흰색 알약형) ── */
.register-bottom {
    margin-top: auto;
    padding: 24px 0;
    padding-bottom: env(safe-area-inset-bottom, 16px);
}

.register-submit-btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #111;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.register-submit-btn svg {
    width: 18px;
    height: 18px;
    stroke: #111;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.register-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.register-submit-btn:hover svg {
    transform: translateX(4px);
}

.register-submit-btn:active {
    transform: translateY(0);
    background: #e8e8e8;
}

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

/* ── 반응형 (회원가입) ── */
@media (max-width: 480px) {
    .register-body {
        padding: 16px 20px 32px;
    }

    .register-welcome h1 {
        font-size: 20px;
    }

    .register-submit-btn {
        max-width: 100%;
        padding: 15px 24px;
    }
}

.import-container {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-top: 10px;
}

.top-nav .back-btn {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.top-nav h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    flex: 1;
    letter-spacing: -0.01em;
}

.top-nav .spacer {
    width: 24px;
}

.input-group {
    background-color: #18191f;
    border: 1px solid #2b2d3a;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: stretch;
    /* Stretch children to fill height */
    overflow: hidden;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    font-family: inherit;
    padding: 18px 20px;
    width: 100%;
}

/* 크롬 자동완성(Autofill) 배경색 다크테마로 고정 */
.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px #18191f inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

.input-group input::placeholder {
    color: #8f95b2;
}

.input-group .eye-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    margin-bottom: 30px;
}

.forgot-password-wrap a {
    font-size: 0.95rem;
    font-weight: 400;
    color: #8f95b2;
    text-decoration: underline;
}

.spacer-flex {
    flex: 1;
}

.btn-login {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: none;
    background-color: #ffc145;
    color: #000000;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    margin-bottom: 14px;
    transition: background-color 0.2s, color 0.2s, transform 0.1s;
}

.btn-login:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.signup-link-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.signup-link-wrap a {
    font-size: 0.95rem;
    font-weight: 400;
    color: #8f95b2;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.signup-link-wrap a:hover {
    color: #ffffff;
}