/* static/css/login.css */
@font-face {
    font-family: Cygre Semibold;
    src: url('/static/ttf/Cygre-SemiBold.ttf');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    margin-bottom: 30px;
}

.login-logo img {
    max-width: 150px;
    height: auto;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333333;
    font-family: Cygre Semibold;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="password"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
}

button {
    padding: 12px;
    background-color: #2f2f2f;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3730a3;
}

.error-message {
    color: red;
    margin-bottom: 15px;
    font-size: 14px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    input {
        font-size: 16px;
    }
    html, body {
        height: auto;
        min-height: 100dvh;
        overflow-y: auto;
    }

}
