/*LIMPEZA PADRÃO*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

/*FOOTER*/

.footer {
    background-color: black;
    color: white;
    text-align: center;
    font-size: 12px;
    padding-top: 12px;
    margin: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/*BOTÃO ADD*/

.btn-color-add {
    background-color: #8DAA37;
    color: black;
    border-color: #8DAA00;
    padding: 5px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 5px;
    font-weight: bold;
}

    .btn-color-add:hover {
        background-color: #D2DB8C;
        border-color: #E7F9F9;
        text-decoration: none;
    }

/*BOTÕES INDEX*/

.action-btns {
    display: flex;
    gap: 10px;
}

.btn-color-edit {
    background-color: #007CB9;
    color: white;
    border-color: #0041BA;
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 5px;
    font-weight: bold;
}
    .btn-color-edit:hover {
        background-color: #186890;
        border-color: #E7F9F9;
        text-decoration: none;
        color: white;
    }

.btn-color-delete {
    background-color: darkred;
    color: white;
    border-color: darkred;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 5px;

}

    .btn-color-delete:hover {
        background-color: #552828;
        border-color: #552828;
        text-decoration: none;
        color: white;
    }

/* TÍTULO */

.titulo {
    text-align: center;
    padding: 10px;
}

.espacamento {
    padding-bottom: 20px;
}

/* TABELA */

.table {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 100px;
    overflow: hidden;
}

    .table thead tr {
        background-color: #D2DB8C;
    }

    .table th {
        padding: 15px;
        text-align: center;
        vertical-align: middle;
    }

    .table tbody tr:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
        background-color: #f5f5f5; 
        transition: background-color 0.3s, box-shadow 0.3s; 
    }

/* FORMULÁRIO GERAL */

.form-container {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    margin: 0 auto; 
    width: 80%; 
    max-width: 600px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.select-container {
    position: relative;
}

select {
    padding-right: 30px; 
}

.select-container i {
    position: absolute;
    right: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    pointer-events: none;
}
.control-label {
    font-weight: bold;
}

.form-control {
    margin-bottom: 20px;
}

.form-container {
    margin-bottom: 50px;
}

/* FILTRO */
.custom-filter .form-group {
    background-color: white;
    padding: 10px 0 10px 0;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    border: 2px solid #8DAA37;
}

/* Título do filtro */
.custom-filter .filter-title {
    text-align: center;
    color: black;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
}

/* Campos */
.custom-filter .form-group input.form-control,
.custom-filter .form-group select.form-control {
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 5px;
    width: 22%;
    box-sizing: border-box;
}

/* Botões */
.custom-filter .form-group button,
.custom-filter .form-group a {
    padding: 5px;
    width: 10%;
    box-sizing: border-box;
}

/* Responsividade */
@media (max-width: 1200px) {
    .custom-filter .form-group input.form-control,
    .custom-filter .form-group select.form-control,
    .custom-filter .form-group button,
    .custom-filter .form-group a {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .custom-filter .form-group input.form-control,
    .custom-filter .form-group select.form-control,
    .custom-filter .form-group button,
    .custom-filter .form-group a {
        width: 100%;
    }
}

/* Responsividade Home */

@media (max-width: 1920px) {
    .text-container .smaller {
        font-size: 6vw;
        margin-left: 25%;
    }

    .text-container .larger {
        font-size: 8vw;
        margin-left: 25%;
    }
}

@media (max-width:1280px) {
    .text-container .smaller {
        font-size: 6vw;
        margin-left: 30%;
    }

    .text-container .larger {
        font-size: 8vw;
        margin-left: 30%;
    }
}

@media (max-width: 1180px) {
    .text-container .smaller {
        font-size: 6vw;
        margin-left: 30%;
    }

    .text-container .larger {
        font-size: 8vw;
        margin-left: 30%;
    }
}

@media (max-width: 768px) {
    .text-container .smaller {
        font-size: 6vw;
        margin-left: 20%;
    }

    .text-container .larger {
        font-size: 8vw;
        margin-left: 20%;
    }
}

@media (max-width: 480px) {
    .text-container .smaller {
        margin-left: 20%;
        font-size: 7vw;
    }

    .text-container .larger {
        font-size: 9vw;
        margin-left: 20%;
    }
}

/* Responsividade da Navbar */

@media (max-width: 1180px) {
    .navbar-collapse {
        width: 100%;
        display: none;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-nav {
        display: block;
        width: 100%;
        text-align: center;
    }

        .navbar-nav .nav-item {
            margin-left: 0;
            margin-right: 0;
        }
}

@media (max-width: 768px) {
    .navbar-collapse {
        width: 100%;
        display: none;
    }

    .navbar-toggler {
        font-size: 1.5em; 
        display: block;
    }

    .navbar-nav {
        display: block;
        width: 100%;
        text-align: center;
    }

        .navbar-nav .nav-item {
            margin-left: 0;
            margin-right: 0;
        }
}

@media (min-width: 1181px) {
    .navbar-collapse {
        display: flex;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-nav {
        display: flex;
        justify-content: flex-end;
    }
}

@media (min-width: 992px) and (max-width: 1180px) {
    .navbar-collapse {
        display: flex; 
        width: auto;
    }

    .navbar-nav {
        display: flex;
        justify-content: space-between; 
    }
}

@media (max-width: 480px) {
    .navbar-nav {
        text-align: center;
    }

        .navbar-nav .nav-item {
            margin-left: 0;
            margin-right: 0;
        }

    .navbar-toggler {
        font-size: 1.5em;
    }
}











