/* ===== CORES =====
#FFF | #1F3DD4 | #F48C34 | 
==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1F3DD4;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
}

label {
    color: white;

}

.menu-body {
    background: #FFF;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ===== CONTAINERS ===== */

.login-container {
    width: 100%;
    max-width: 420px;
    background: #FFF;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
    text-align: center;
}


.cadastro-container {
    width: 100%;
    max-width: 420px;
    background: #FFF;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
    text-align: center;
}

.menu-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.prova-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */

.login-header {
    background: #FFF;
}

.menu-header {
    background: #1F3DD4;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.prova-header {
    background: #1F3DD4;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===== LOGO ===== */

.logo-img {
    width: 130px;
    height: 130px;
    border-radius: 40%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* ===== TEXTOS ===== */

.login-h1 {
    color: #1F3DD4;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.menu-h1 {
    color: #FFF;
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

.subtitulo {
    color: #555;
    margin-bottom: 25px;
}

h3 {
    color: #F48C34;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===== FORM ===== */

form {
    width: 100%;
}

.form-control {
    height: 45px;
    margin-bottom: 15px;
    border: 1px solid #E4DEDE;
    border-radius: 8px;
}

.form-control:focus {
    border-color: #F48C34;
    box-shadow: 0 0 5px rgba(244, 140, 52, .4);
}

/* ===== OPÇÕES ===== */

.opcoes,
.lembrar-box {
    display: flex;
    align-items: center;
}

.opcoes {
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}

.lembrar-box {
    gap: 5px;
}

.link-senha,
.botao-sem-fundo {
    font-weight: bold;
    text-decoration: none;
}

.link-senha {
    color: #F48C34;
}

.link-senha:hover,
.botao-sem-fundo {
    text-decoration: underline;
}

.botao-sem-fundo {
    display: block;
    margin-top: 15px;
    color: #1F3DD4;
}

/* ===== BOTÕES ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 20px;

    background: #F48C34;
    color: #FFF;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    font-weight: bold;

    text-decoration: none;



}

.btn:hover {
    color: #FFF;
    text-decoration: none;

}

.btn-full {
    width: 100%;
    height: 45px;
}

/* ===== CURSOS ===== */

.cursos-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
}

.row {
    width: 250px;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2%;
}

col {
    display: block;
    margin-top: 5px;
}

.cursos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    gap: 30px;
    padding: 40px;
    
}

.curso-card {
    width: 320px;
    background: #FFF;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.curso-card:hover {
    transform: translateY(-5px);
}

.curso-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.curso-titulo {

    font-size: 20px;

    margin-bottom: 20px;

    color: #333;
}

.btn {

    display: inline-block;

    padding: 9px 20px;

    background: #F48C34;

    color: white;

    border: none;

    border-radius: 8px;

    text-decoration: none;

    margin-top: 5px;
}

.btn:hover {

    background: #F48C34;

    color: white;

    text-decoration: none;
}

/* ===== FOOTER ===== */

footer {
    width: 100%;
    background: #1F3DD4;
    text-align: center;
    padding: 15px 10px;
    margin-top: auto;
}

footer h5 {
    color: #FFF;
    font-size: 14px;
    margin: 0;
}

/* ======== USUÀRIOS ===== */



/* ===== USUÁRIOS - ÁREA PRINCIPAL ===== */

.usuarios-main {
    padding: 40px;
}

/* ===== FILTRO DE PESQUISA ===== */

.usuarios-filtro {
    background: #FFF;

    padding: 25px;

    border-radius: 15px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    align-items: flex-end;

    margin-bottom: 30px;
}

/* ===== CAMPO DE BUSCA ===== */

.campo-busca {
    flex: 1;

    min-width: 250px;
}

.campo-busca label {
    color: #333;

    font-weight: bold;

    margin-bottom: 8px;

    display: block;
}

/* ===== TABELA DE USUÁRIOS ===== */

.usuarios-tabela {
    background: #FFF;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* ===== CABEÇALHO DA TABELA ===== */

.usuarios-tabela thead {
    background: #1F3DD4;

    color: #FFF;
}

.usuarios-tabela thead th {
    border: none;

    padding: 15px;
}

/* ===== CORPO DA TABELA ===== */

.usuarios-tabela tbody td,
.usuarios-tabela tbody th {
    vertical-align: middle;

    padding: 15px;
}

/* ===== HOVER DAS LINHAS ===== */

.usuarios-tabela tbody tr:hover {
    background: rgba(31, 61, 212, 0.05);
}

/* ===== OPERAÇÕES ===== */

.acoes-tabela {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

/* ===== BOTÃO EDITAR ===== */

.btn-editar {
    background: #1F3DD4;
}

.btn-editar:hover {
    background: #1830a8;

    color: #FFF;
}

/* ===== BOTÃO EXCLUIR ===== */

.btn-excluir {
    background: #dc3545;
}

.btn-excluir:hover {
    background: #bb2d3b;

    color: #FFF;
}




/* ===== RESPONSIVO ===== */

@media(max-width:768px) {

    .menu-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .menu-acoes {
        width: 100%;
        justify-content: center;
    }

    .curso-card {
        width: 100%;
    }

    .curso-img {
        height: 160px;
    }

    .btn-menu {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* ===== USUÁRIOS - ÁREA PRINCIPAL ===== */

.usuarios-main {
    padding: 40px;
}

/* ===== FILTRO DE PESQUISA ===== */

.usuarios-filtro {
    background: #FFF;

    padding: 25px;

    border-radius: 15px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    align-items: flex-end;

    margin-bottom: 30px;
}

/* ===== CAMPO DE BUSCA ===== */

.campo-busca {
    flex: 1;

    min-width: 250px;
}

.campo-busca label {
    color: #333;

    font-weight: bold;

    margin-bottom: 8px;

    display: block;
}

/* ===== TABELA DE USUÁRIOS ===== */

.usuarios-tabela {
    background: #FFF;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* ===== CABEÇALHO DA TABELA ===== */

.usuarios-tabela thead {
    background: #1F3DD4;

    color: #FFF;
}

.usuarios-tabela thead th {
    border: none;

    padding: 15px;
}

/* ===== CORPO DA TABELA ===== */

.usuarios-tabela tbody td,
.usuarios-tabela tbody th {
    vertical-align: middle;

    padding: 15px;
}

/* ===== HOVER DAS LINHAS ===== */

.usuarios-tabela tbody tr:hover {
    background: rgba(31, 61, 212, 0.05);
}

/* ===== OPERAÇÕES ===== */

.acoes-tabela {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

/* ===== BOTÃO EDITAR ===== */

.btn-editar {
    background: #1F3DD4;
}

.btn-editar:hover {
    background: #1830a8;

    color: #FFF;
}

/* ===== BOTÃO EXCLUIR ===== */

.btn-excluir {
    background: #dc3545;
}

.btn-excluir:hover {
    background: #bb2d3b;

    color: #FFF;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {

    .usuarios-main {
        padding: 20px;
    }

    .usuarios-filtro {
        flex-direction: column;

        align-items: stretch;
    }

    .campo-busca {
        width: 100%;
    }

    .usuarios-filtro .btn {
        width: 100%;

        justify-content: center;
    }

    .acoes-tabela {
        flex-direction: column;
    }

    .acoes-tabela .btn {
        width: 100%;

        justify-content: center;
    }
}

@media(max-width:400px) {

    .login-container {
        padding: 25px;
    }

    .login-h1 {
        font-size: 26px;
    }

    h3 {
        font-size: 24px;
    }
}