* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 5px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}


/* Form */

form h2 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 10px rgba(42, 82, 152, 0.2);
}


/* Buttons */

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(42, 82, 152, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}


/* Messages */

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
    border: 1px solid #f5c6cb;
}

.error-message.show {
    display: block;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
    border: 1px solid #c3e6cb;
}

.success-message.show {
    display: block;
}


/* Form Switch */

.form-switch {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.form-switch a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.form-switch a:hover {
    text-decoration: underline;
}


/* Footer */

.login-footer {
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}


/* Responsive */

@media (max-width: 600px) {
    .login-card {
        padding: 30px 20px;
    }
    .login-header h1 {
        font-size: 24px;
    }
    form h2 {
        font-size: 20px;
    }
}