/* 파일 경로: /static/css/login_style.css (auth-page 부분 수정) */

/* ... (기존의 chat-page 스타일은 그대로 둡니다) ... */


/* ======================================================= */
/* ✅ 1. 로그인/회원가입 페이지 전용 스타일 (Minimalist 버전) */
/* ======================================================= */

body.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f7f7f7; /* 아주 옅은 회색 배경 */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.auth-container {
    background: #ffffff;
    padding: 48px;
    border-radius: 16px; /* 부드러운 둥근 모서리 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07); /* 미묘하고 부드러운 그림자 */
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px 0;
    color: #111;
}

.auth-subtitle {
    font-size: 16px;
    text-align: center;
    color: #666;
    margin: 0 0 32px 0;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #007AFF; /* 애플의 포인트 블루 색상 */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.auth-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px; /* ✅ 조금 더 부드러운 곡률 */
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;

    /* --- ✨ Load Data 버튼 스타일 적용 --- */
    color: #ffffff; /* 텍스트는 밝게 유지 */
    /* ✅ 그라데이션 배경 적용. 미니멀리즘에 맞춰 단색에 가까운 톤으로 조정 */
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    /* ✅ 입체감을 위한 그림자 추가 */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    /* ✅ 부드러운 전환 효과를 위한 transition */
    transition: all 0.3s ease;
    transform: translateY(0); /* 초기 위치 */
}

.auth-button:hover {
    /* ✅ 마우스를 올리면 살짝 떠오르는 효과 */
    transform: translateY(-3px);
    /* ✅ 그림자를 더 선명하게 만들어 빛나는 효과 연출 */
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.3);
}

.auth-button:active {
    /* ✅ 버튼을 클릭하는 순간 살짝 들어가는 효과 */
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.bottom-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.bottom-link a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
}

.bottom-link a:hover {
    text-decoration: underline;
}

.error {
    color: #ff3b30; /* 애플의 에러 레드 색상 */
    margin-top: 16px;
    text-align: center;
    height: 1em;
    font-size: 14px;
}