:root {
    --primary-dark: #002147;
    --text-light: #6c757d;
    --text-dark: #343a40;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

body {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 20px;
}

.container {
    max-width: 450px;
    width: 100%;
    padding: 2.5rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

h1 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.logo {
    margin-bottom: 2rem;
    width: 120px;
}

#message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

#message.success {
    background-color: #e8f5e9;
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

#message.error {
    background-color: #fdedeb;
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

form {
    text-align: left;
    margin: 1.5rem 0;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
    background-color: white;
}

button[type="submit"] {
    width: 100%;
    padding: 0.85rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
}

button[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.links {
    margin-top: 1.5rem;
    text-align: center;
}

.links a {
    display: inline-block;
    margin: 0.5rem 0;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.version-indicator {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

@media (max-width: 500px) {
    .container {
        padding: 1.5rem;
    }
}
