    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: #ffffff;
        margin: 0;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #222;
    }

    .login-container {
        width: 100%;
        max-width: 400px;
        background: #fff;
        padding: 40px 30px;
        border-radius: 16px;
        border: 1px solid #e5e7eb;
        box-sizing: border-box;
    }

    .login-container h2 {
        text-align: center;
        color: #003b5c;
        margin:0 0 30px;
        font-size: 28px;
        letter-spacing: 1px;
    }

    .session-status {
        background: #d4ecf5;
        color: #003b5c;
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 20px;
        text-align: center;
    }

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

    /* 로그인 인풋 래퍼 (기존 search-input-wrapper 스타일 적용) */
    .login-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        background: #ffffff;
        padding: 0.675rem 0.75rem;
        box-sizing: border-box;
        transition: border-color 0.2s ease;
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
    }

    .login-input-wrapper:focus-within {
        border-color: #4169e1;
    }

    .login-input-wrapper input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 0.875rem;
        color: #111;
        background: transparent;
        padding: 0;
        margin: 0;
        height: 100%;
    }

    .login-input-wrapper input::placeholder {
        color: #999;
    }

    /* 비밀번호 토글 버튼 */
    .password-wrapper {
        padding-right: 2.5rem;
    }

    .password-toggle-btn {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        transition: color 0.2s ease;
    }

    .password-toggle-btn:hover {
        color: #4169e1;
    }

    .password-toggle-btn i {
        font-size: 1rem;
    }

    .error-message {
        color: #e74c3c;
        font-size: 13px;
        margin-top: 5px;
    }

    .remember-me {
        display: flex;
        align-items: center;
        margin-bottom: 25px;
        font-size: 13px;
    }

    .remember-me input[type="checkbox"] {
        margin-right: 8px;
        width: 18px;
        height: 18px;
        accent-color: #3399cc;
    }

    button.login-btn {
        width: 100%;
        background-color: #4169e1;
        color: #fff;
        padding: 0.875rem 1rem;
        border: none;
        border-radius: 0.375rem;
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    button.login-btn:hover {
        background-color: #3151c7;
    }

    .auth-links {
        text-align: center;
        margin-top: 20px;
        font-size: 13px;
    }

    .auth-links a {
        color: #666;
        margin: 0 10px;
        text-decoration: none;
        transition: color 0.3s;
    }

    .auth-links a:hover {
        color: #4169e1;
        text-decoration: underline;
    }

     /* Flash 메시지 공통 스타일 */
    .alert-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%); /* 항상 가운데 고정 */
    max-width: 800px;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 9999;
    background-color: #e0f8ec;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    white-space: nowrap;
    }

    /* 에러 메시지 색상 */
    .alert-message.error {
    background-color: #ffe6e6;
    color: #c62828;
    border: 1px solid #e57373;
    }

    @keyframes blink {
        from { opacity: 1; }
        to { opacity: 0.5; }
    }


@media (max-width: 768px) {
    body {
        align-items: center;
    }
    .login-container {
        max-width: 90%;
        margin: 0 auto;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
}