/* static/css/login.css */

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    background-image: url('../images/Login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden; 
}

.main-wrapper {
    display: flex;
    justify-content: flex-end; 
    align-items: center;       
    height: 100%;
    padding-right: 10%; 
}

.login-box {
    background-color: #ffffff;
    width: 380px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.login-header h2 { color: #333; margin-bottom: 5px; font-size: 24px; }
.login-header p { color: #777; font-size: 14px; margin-bottom: 30px; }

.input-group { text-align: left; margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; color: #555; font-weight: 600; font-size: 13px; }

select, input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    background-color: #fafafa;
}
select:focus, input:focus { border-color: #3498db; background-color: #fff; outline: none; }

button {
    width: 100%;
    padding: 12px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}
button:hover { background-color: #34495e; }
button:disabled { background-color: #95a5a6; cursor: wait; }

/* Texto de Suporte (Dentro da caixa) */
.login-footer {
    margin-top: 30px;
    font-size: 13px;
    color: #7f8c8d;
    border-top: 1px solid #eee;
    padding-top: 15px;
    line-height: 1.5;
}

.login-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}
.login-footer a:hover { text-decoration: underline; }

/* Créditos do Desenvolvedor (Centralizado e Fixo) */
.developer-credits {
    position: fixed;
    bottom: 15px;
    left: 0;
    width: 100%; /* Ocupa toda a largura */
    text-align: center; /* Centraliza o texto */
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    z-index: 10;
    pointer-events: none; /* Permite clicar através do texto se necessário */
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    .main-wrapper {
        justify-content: center;
        padding-right: 0;
        padding: 20px;
    }
    .login-box {
        width: 100%;
    }
    /* No celular, garante que o footer não cubra botões se a tela for pequena */
    .developer-credits {
        font-size: 10px;
        bottom: 5px;
    }
}