/* 로그인·비밀번호 화면 공용 스타일.
   ⭐ 원래 login.html 안에 <style> 로 있던 것을 꺼냈다(2026-09-03) — 비밀번호 찾기·재설정·변경
      화면이 같은 생김새를 써야 하는데, 규칙을 화면마다 복사하면 언젠가 갈라진다(PLAYBOOK §6).
   ⚠️ 클래스 이름은 login-* 그대로 둔다. 이름을 바꾸면 login.html·register.html 까지 손대야 한다. */
    body {
        font-family: 'Segoe UI', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
        margin: 0;
        padding: 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        min-height: 100vh;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-container {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 40px;
        border-radius: 20px;
        box-shadow:
            0 20px 40px rgba(0,0,0,0.1),
            0 1px 3px rgba(0,0,0,0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }

    @media (max-width: 480px) {
        body {
            padding: 10px;
        }

        .login-container {
            padding: 20px;
            max-width: 100%;
        }

        .btn {
            padding: 12px 16px;
            font-size: 14px;
        }
    }

    .login-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .login-title {
        font-size: 28px;
        font-weight: 700;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 10px;
    }

    .login-subtitle {
        color: #6b7280;
        font-size: 16px;
    }

    .alert {
        padding: 12px 16px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 14px;
    }

    .alert-error {
        background: #fee2e2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

    .alert-success {
        background: #d1fae5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

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

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

    .form-input {
        width: 100%;
        padding: 14px 18px;
        border: 2px solid rgba(103, 126, 234, 0.2);
        border-radius: 12px;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        color: #374151;
        font-weight: 500;
        box-sizing: border-box;
    }

    .form-input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(103, 126, 234, 0.1);
        background: white;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: none;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(103, 126, 234, 0.3);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4);
    }

    .btn-secondary {
        background: rgba(107, 114, 128, 0.1);
        color: #6b7280;
        border: 2px solid rgba(107, 114, 128, 0.2);
        flex-shrink: 0;
    }

    .btn-secondary:hover {
        background: rgba(107, 114, 128, 0.15);
        border-color: rgba(107, 114, 128, 0.3);
        color: #374151;
    }

    .register-link {
        text-align: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(107, 114, 128, 0.2);
    }

    .register-link a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
    }

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