/* static/css/login-style.css */
@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 {
    background: linear-gradient(to right, #1e40af, #1e3a8a);
    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; flex: 1; text-align: center; transition: color 0.3s ease; padding-left: 1px; }
.nav-brand:hover { color: #ffd700; }

.login-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 30px;
    background: 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: #1e40af; font-size: 1.8em; margin-bottom: 10px; }
.login-header p { color: #666; }

.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; }
.form-control:focus { border-color: #1e40af; box-shadow: 0 0 5px rgba(30, 64, 175, 0.3); outline: none; }

.login-btn {
    background: linear-gradient(to right, #1e40af, #1e3a8a);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1em;
}
.login-btn:hover { transform: translateY(-2px); }

.error-message { background: #fee2e2; color: #dc2626; padding: 10px; border-radius: 5px; margin-bottom: 15px; text-align: center; display: none; }
.company-info { text-align: center; margin-top: 20px; color: #666; }

footer { text-align: center; padding: 15px; margin-top: 160px; }
footer p { color: black; font-size: 0.9em; }

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 10px;
    }

    .nav-brand {
        font-size: 1.3em;
    }

    .login-container { margin: 50px auto; padding: 20px; width: 90%; }
    .login-header h1 { font-size: 1.5em; }
}