/* login-style.css - Styles for login page */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   }

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/AMC1.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    filter: blur(3px);
    z-index: -1;
}
/* Header/Navigation */
header {
    background: linear-gradient(to right, #007bff, #0056b3);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.logo {
    max-height: 35px;
    margin-left: 1px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}

.nav-brand {
    color: white;
    font-size: 1.6em;
    font-weight: 700;
    text-decoration: none;
    flex: 1;
    text-align: center;
    transition: color 0.3s ease;
    padding-left: 1px;
}

.nav-brand:hover {
    color: #ffd700;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav li {
    margin-left: 20px;
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1em;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 12px;
}

nav a:hover {
    color: #ffd700;
}

/* Login Container */
.login-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #007bff;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 0.9em;
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Login Button */
.login-btn {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1em;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(to right, #0056b3, #004085);
    transform: translateY(-2px);
}

/* Error Message */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.9em;
}

/* Company Info */
.company-info {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9em;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    margin-top: 160px;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer p {
    color: black;
    font-size: 0.9em;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-brand {
        flex: none;
        text-align: center;
        margin-bottom: 10px;
        padding-left: 0;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav li {
        margin: 10px 0;
    }
    
    .login-container {
        margin: 50px auto;
        padding: 20px;
        width: 90%;
    }
    
    .login-header h1 {
        font-size: 1.5em;
    }
    
    footer {
        margin-top: 80px;
    }
}