@charset "utf-8";

:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --light-text: #6c757d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

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

.login-container {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 180px;
    height: 60px;
    background-color: #e9ecef;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #495057;
    font-weight: 600;
}

.login-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.login-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.login-button:hover {
    background-color: var(--secondary-color);
}

.help-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--light-text);
}

.help-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.help-link:hover {
    text-decoration: underline;
}

.error-desc {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: #e9ecef;
}

@media (max-width: 480px) {
    .login-container {
        max-width: 90%;
    }
}
