/* static/style.css */

/* --- RESET E GERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
.main-header {
    background-color: #532d6d; /* Roxo Linx */
    height: 60px;
    display: flex;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Controle da Logo (Imagem) */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 35px; /* Altura fixa para caber na barra */
    width: auto;
    display: block;
}

.login-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* --- CONTEÚDO PRINCIPAL --- */
.main-content {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Ícone de Cadeado e Pontinhos */
.icon-area {
    margin-bottom: 15px;
}

.dots {
    font-weight: bold;
    font-size: 20px;
    line-height: 0.5;
    letter-spacing: 2px;
    margin-left: 2px;
}

/* Tipografia */
h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.description {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 800px;
}

/* --- FORMULÁRIOS --- */
.form-group {
    margin-bottom: 20px;
    position: relative;
    max-width: 400px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

input[type="password"],
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fcfcfc;
    font-size: 14px;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #532d6d;
}

/* Ícone 'olho' ou '...' simulado dentro do input */
.eye-icon {
    position: absolute;
    right: 12px;
    top: 38px;
    color: #999;
    background-color: #eee;
    border-radius: 3px;
    padding: 0 5px;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

/* --- BOTÕES --- */

/* Botão padrão de Resetar */
.btn-resetar {
    background-color: transparent;
    border: 1px solid #532d6d;
    color: #532d6d;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.btn-resetar:hover {
    background-color: #532d6d;
    color: white;
}

/* Botão estilo Outline (Usado na tela de Identificação) */
.btn-outline {
    background-color: transparent;
    border: 1px solid #532d6d;
    color: #532d6d;
    padding: 8px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #f0ebf5; /* Fundo lilás bem claro ao passar o mouse */
}

/* --- MENSAGENS E ALERTAS --- */
.flash-messages {
    max-width: 800px;
    margin-bottom: 20px;
}

/* Caixas de Alerta (Sucesso/Erro padrão) */
.alert {
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.alert.error {
    color: #d8000c;
    background-color: #ffd2d2;
    border: 1px solid #d8000c;
}

.alert.success {
    color: #4f8a10;
    background-color: #dff2bf;
    border: 1px solid #4f8a10;
}

/* Texto de Aviso Específico (Tela de Usuário - Vermelho sem caixa) */
.text-danger-bold {
    color: #d8000c;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 20px;
    display: block;
    line-height: 1.4;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #532d6d;
    color: white;
    text-align: left;
    padding: 15px 0;
    font-size: 12px;
    margin-top: auto;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 600px) {
    .main-header {
        height: 50px;
    }

    h1 {
        font-size: 24px;
    }

    .form-group {
        max-width: 100%; /* Ocupa largura total no mobile */
    }

    .btn-resetar, .btn-outline {
        width: 100%; /* Botões full width no mobile */
        text-align: center;
    }
}
