/* ======== RESET / PÁGINA ======== */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Poppins", Arial, sans-serif;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
}


/* ======== CARD CONTAINER ======== */
#container {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 35px 40px;
    width: 420px;

    box-shadow: 0px 8px 30px rgba(0,0,0,0.15);

    display: flex;
    flex-direction: column;
    gap: 18px;

    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ======== LABELS ======== */
label {
    font-weight: 600;
    font-size:18px;
    color: #000000;
}

/* ======== INPUTS ======== */
input {
    padding: 12px;
    width: 93%;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: #b10606;
    background: #fff;
    box-shadow: 0 0 6px rgba(177, 6, 6, 0.3);
}

/* ======== ÁREA DE TEXTO ======== */
textarea {
    width: 93%;
    height: 260px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 20px;
    resize: none;
    background: #fafafa;
    transition: 0.2s;
}

textarea:focus {
    border-color: #b10606;
    background: #fff;
    box-shadow: 0 0 6px rgba(177, 6, 6, 0.3);
}

/* ======== BOTÕES ======== */
button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s ease;
}

/* BOTÃO BASE */
#consultar, #cadastrar {
    background: linear-gradient(135deg, #d50909, #8f0303);
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(177, 6, 6, 0.4);
}

#consultar:hover, #cadastrar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(177, 6, 6, 0.55);
}

/* BOTÃO DESATIVADO */
button:disabled {
    background: #888 !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ======== SUAVIZAÇÃO DE ANIMAÇÃO ======== */
* {
    transition: 0.2s ease-in-out;
}

/* ======== LOGO ======== */
.logo {
    /* Define uma largura máxima para o logo não estourar o cartão */
    max-width: 320px;
    /* Mantém a proporção da altura automaticamente */
    height: auto;
    /* Centraliza o logo horizontalmente dentro do container flex */
    align-self: center;
    /* Opcional: Adiciona um espaço extra abaixo do logo se o 'gap' padrão de 18px não for suficiente */
    margin-bottom: 10px;
}