@import url('reset.css');

html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content-container {
    flex: 1;
    display: flex;
    flex-direction: row;
}

/* ----------------------------------------- */
/* -------------- FOOTER ------------------- */
/* ----------------------------------------- */
footer {
    border-top: 1px solid #E2E8F0;
    background-color: #F8FAFC;
    width: 100%;
    padding: 30px 0;
    font-size: large;
    font-family:Arial, Helvetica, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a; /* azul mais elegante */
}

/* links */
.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 15px;
    font-weight: 500;
    color: #475569; /* cinza médio */
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1e40af; /* azul mais forte no hover */
}

/* copyright */
.footer-copy {
    font-size: 15px;
    color: #475569;
}

/* ----------------------------------------- */
/* -------------- ALERTAS ------------------- */
/* ----------------------------------------- */

.alerta {
    position: absolute; 
    top: 3px;
    right: 10px;   
    padding: 12px 18px;
    border-radius: 6px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-10px);
    animation: aparecer 0.4s forwards;
    display: none;
}

/* erro = vermelho */
.alerta.erro {
    background-color: #e74c3c;
}

/* sucesso = verde (caso queira usar depois) */
.alerta.sucesso {
    background-color: #2ecc71;
}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes piscar {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.piscando {
    animation: piscar 0.8s infinite;
    display: block;
}

@keyframes fadeSuave {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

.desaparecendo {
    animation: fadeSuave 0.8s ease-out forwards;
    display: block;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ----------------------------------------- */
/* -------------- LOGOUT ------------------- */
/* ----------------------------------------- */

.btn-logout{
    all:unset;
    cursor: pointer;
    padding-left: 5px;
    padding-right: 100px;
}