:root {
    --bg-color: #0f172a; 
    --card-bg: #1e293b; 
    --border-color: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #0d9488;
    --primary-hover: #0f766e;
    --error-color: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.auth-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.auth-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 12px;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}

.submit-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

.auth-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

/* 로그인/회원가입 추가 패치 (인라인 CSS 완전 제거 대응) */
.auth-header img {
    height: 60px;
    max-width: 180px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.auth-header-fallback-logo {
    background-color: var(--primary);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 8px;
    font-weight: 700;
}
.auth-header-fallback-gem {
    color: #0d9488;
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
}
.auth-remember-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -4px;
    margin-bottom: 4px;
}
.auth-remember-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}
.auth-remember-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}
