﻿html, body {
    margin: 0px;
    height: 100%;
}

main{
    flex: 1;
    margin-bottom: 50px;
    margin-top: 40px;
}

/* O body vira um container flex vertical */
body {
    display: flex;
    flex-direction: column;
}

/* O form ocupa toda a tela menos o header/footer */
form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* O conteúdo se expande e empurra o footer pra baixo */
#ContentPlaceHolder1 {
    flex: 1; 
}

/* Mantém o footer fixado no final */
.footer {
    margin-top: auto;
    background-color: #1E3047;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
    border-top: 1px solid #eee;
}

/* Design geral*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/*Header(Cabeçalho)*/
.header {
    width: 100%;
    height: 60px;
    background: #FFFF; 
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.4);
    font-family: 'Inter', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/*Logo no header*/
.header-logo {
    height: 38px;
    margin-right: 10px;
}

/*Logo a esquerda*/
.header-left {
    display: flex;
    align-items: center;
}

/*Lado direito*/
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/*Titulo no header*/
.header-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #E63946;
}

/*Tags 'p' do footer*/
    .footer p {
        margin: 0;
        margin-top: auto;
    }
/* Submenu abaixo do header principal */
.subnav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 10px 0;
}

    /* Links do submenu */
    .subnav .sub-link {
        color: #1E3047;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        padding: 6px 12px;
        transition: 0.25s;
        border-radius: 6px;
    }

        .subnav .sub-link:hover {
            background: rgba(255,255,255,0.20);
        }
/* Botão sair */
.logout-btn {
    background-color: #E63946;
    color: white;
    padding: 7px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

    .logout-btn:hover {
        background: #D62839;
    }