
/* Estilos globais */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Estilos para o cabeçalho */
header {
    background-color: #004d99;
    padding: 15px 24px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 10px;
}

header img {
    max-width: 150px;
}

header h1 {
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
    flex-grow: 1; /* Permite melhor ajuste em telas menores */
    /* text-align: center; */
}

header p {
    color: white;
    font-size: 16px;
}

/* ===== Menu Lateral (usuário e admin) ===== */

.menu-lateral {
    width: 100%;
    max-width: 100%;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding: 1rem;
    min-height: 100vh;
}

@media (min-width: 100%) {
    .menu-lateral {
        position: sticky;
        top: 0;
        max-width: 40%;
        height: 100vh;
    }
}

.menu-lateral h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    flex-direction: column;
    text-align: center;
}

.menu-lateral .nav-item {
    margin-bottom: 1rem;
}

.menu-lateral .btn {
    text-align: center;
}

/* BOTÕES */
/* .btn-red, .btn-blue {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px; /* Define um tamanho mínimo para evitar botões pequenos demais 
} */

a {
    padding: 12px 24px;
    font-size: 16px;
    min-width: auto;
    border-radius: 25px;
    margin-bottom: 10px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.btn-red,
.btn-blue,
.btn-yellow,
.btn-green,
.btn-grey,
.btn-orange {
    padding: 8px 16px;
    font-size: 16px;
    min-width: auto;
    border-radius: 25px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease;
}

.btn-sm {
    padding: 8px 12px;
    font-size: 14px;
    min-width: auto;
}


/* Estilos para os botões */
.btn-red {
    background-color: #e84133;
    color: #fff;
    border: none;
    /* padding: 12px 24px;
    font-size: 16px;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px; 
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    cursor: pointer;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease; */
}

.btn-red:hover {
    background-color: #cc392c; /* Um tom mais escuro no hover */
    color: #fff;
}

.btn-orange {
    background-color: #f39200;
    color: #fff;
    border: none;
    /*padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    cursor: pointer;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease;  */
}

.btn-orange:hover {
    background-color: #d37d00;
    color: #fff;
}

/* Botão amarelo (para edição) */
.btn-yellow {
    background-color: #ffc107;
    color: #333;
    border: none;
    /*padding: 12px 24px;
    font-size: 16px;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease; */
}

.btn-yellow:hover {
    background-color: #fdc92b;
    color: #222;
}

/* Botão verde (para sucesso) */
.btn-green {
    background-color: #28a745;
    color: #fff;
    border: none;
    /* padding: 12px 24px;
    font-size: 16px;
    border-radius: 25px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease; */
}

.btn-green:hover {
    background-color: #258d3d; /* Um tom mais escuro no hover */
    color: #fff;
}

.btn-blue {
    background-color: #004d99;
    color: #fff;
    border: none;
    /* padding: 12px 24px;
    font-size: 16px;
    border-radius: 25px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease; */
}

.btn-blue:hover {
    background-color: #004181;
    color: #fff;
}

/* Botão cinza (neutro) */
.btn-grey {
    background-color: #6c757d;
    color: #fff;
    border: none;
    /*padding: 12px 24px;
    font-size: 16px;
    border-radius: 25px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease; */
}

.btn-grey:hover {
    background-color: #5a6268;
    color: #fff;
}

.btn-icone {
    min-width: 32px;
    height: 32px;
    padding: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
}

/* Estilos para os cards */
.card {
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    margin-bottom: 20px;
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
}

.card h3 {
    color: #003366;
}

.card p {
    color: #333;
}

/* Estilos para os botões de inscrição e acompanhamento */
.acoes {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Estilos para a estrutura da página inicial */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

h1 {
    color: #004d99;
    font-size: 28px;
    font-weight: bold;
}

/* Títulos */
h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #004d99;
}

/* Inputs e Selects */
input[type="text"], input[type="date"], select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background: #f9f9f9;
    transition: border 0.3s ease;
    -webkit-transition: border 0.3s ease;
    -moz-transition: border 0.3s ease;
    -ms-transition: border 0.3s ease;
    -o-transition: border 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #004d99;
    outline: none;
}

/* Ajustes para o input de arquivo */
input[type="file"] {
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ccc;
}

/* Estilos para a tabela de editais */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #004d99;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

tr:hover {
    background-color: #f1f1f1;
}

td a, td button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    margin-right: 5px;
    min-width: auto;
    line-height: 1.4;
}

td a.btn-grey {
    background-color: #6c757d;
    color: white;
}

td a.btn-grey:hover {
    background-color: #5a6268;
}

td a.btn-yellow {
    background-color: #ffc107;
    color: black;
}

td a.btn-yellow:hover {
    background-color: #e0a800;
}

td form {
    display: inline;
}

td form button {
    background-color: #e84133;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

td form button:hover {
    background-color: #cc392c;
}

/* Estilização do container */
.edital-container {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    text-align: center;
}

/* Título */
.edital-container h2 {
    font-size: 24px;
    color: #004d99;
    margin-bottom: 15px;
}

/* Texto informativo */
.edital-container p {
    font-size: 16px;
    margin: 5px 0;
    color: #333;
}

/* Destaque para rótulos */
.edital-container strong {
    color: #004d99;
}

/* Botão de anexo */
.btn-download {
    display: inline-block;
    background-color: #ffc107;
    color: black;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

.btn-download:hover {
    background-color: #e0a800;
}

.cabecalho {
    background-color: #f8f9fa;
    padding: 15px 24px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar-brand {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    color: #004d99 !important;
}

.nav-link {
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #004d99 !important;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

/* Rodapé */
footer {
    background-color: #004d99;
    color: white;
    padding: 10px;
    text-align: center;
    margin-top: auto;
}
