﻿/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

/* Login Container */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.login-box {
    background: #ffffff;
    color: #333333;
    padding: 30px 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
}

.login-box h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 700;
}

.subtitle {
    font-size: 15px;
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Form Styles */
.form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
    font-size: 13px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #2980b9;
    box-shadow: 0 4px 8px rgba(41, 128, 185, 0.2);
}

/* Footer Links */
.footer-links {
    margin-top: 25px;
    font-size: 14px;
}

.footer-links a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links span {
    color: #cccccc;
    margin: 0 8px;
}

.footer-links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-box {
        padding: 25px;
        margin: 0 15px;
    }
    
    .login-box h2 {
        font-size: 22px;
    }
}