:root {
    --primary-color: #1470AF;
    --success-color: #28a745;
    --background-color: #f8f9fa;
    --white-color: #ffffff;
    --text-color: #343a40;
    --secondary-color: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.login-container {
    max-width: 450px;
    width: 100%;
    padding: 40px;
    background-color: var(--white-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.logo-link {
    display: block;
    margin-bottom: 25px;
}

.logo {
    height: 60px;
    width: auto;
}

h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1em;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.form-helper-text {
    font-size: 0.8em;
    color: var(--secondary-color);
    margin-top: 8px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white-color);
    transition: background-color 0.2s ease;
}

.btn:disabled {
    background-color: #ced4da;
    cursor: not-allowed;
}

.success-message {
    animation: fadeIn 0.5s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.home-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}