/* public/css/login.css */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #fff;
}
#login-block {
    background-image: url('../assets/login-background.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
/* Mobile fix */
@media (max-width: 768px) {
    #login-block {
        background-size: contain; /* show entire image */
        background-position: bottom;
        background-repeat: no-repeat;
    }
}
.overlay {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* dark overlay */
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-card {
    background: rgba(255, 255, 255, 0.1); /* semi-transparent card */
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
}

.login-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.login-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}

.error {
    color: #ff6666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}
