/* Base */
body {
    font-family: 'Poppins', sans-serif;
}

/* Seção Hero */
.hero {
    position: relative;
    background: url('/static/images/background_sem-logo-dark.png') no-repeat center center;
    background-size: cover;
    height: calc(100vh - 123px);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Containers Centrais */
.welcome-center,
.content-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}

.welcome-center {
    flex: 1;
    justify-content: center;
    max-width: 1600px;
    height: calc(100vh - 141px);
    margin: auto;
    padding: 10px 20px;
}

.content-wrapper {
    min-height: 50vh;
}

/* Footer */
.footer-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    background-color: rgba(26, 32, 50);
    color: white;
    position: relative;
}

/* Logos */
.logo-bottom-center {
    width: 100px;
    height: auto;
    max-width: 100%;
}

.logo {
    width: 300px;
    margin-bottom: 20px;
}

.logo-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
}

/* Navbar e Dropdowns */
.navbar {
    background: rgba(26, 32, 50);
}

.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    transform: translateY(0);
}

.navbar-toggler {
    background-color: transparent !important;
    border: none !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-toggler[aria-expanded="true"] {
    background-color: white !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    filter: invert(0);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(26, 32, 50, 0.9);
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Paginação */
.pagination {
    --bs-pagination-color: #ffffff;
    --bs-pagination-bg: #525252;
    --bs-pagination-border-color: #686868;
    --bs-pagination-hover-color: #241f1f;
    --bs-pagination-hover-bg: #0056b3;
    --bs-pagination-hover-border-color: #0056b3;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #343a40;
    --bs-pagination-active-border-color: #343a40;
    --bs-pagination-disabled-color: #8b8b8b;
    --bs-pagination-disabled-bg: #525252;
    --bs-pagination-disabled-border-color: #686868;
}

/* Botões Personalizados */
.botao-customizado {
    min-width: 150px;
    margin: 10px;
}

.btn-outline-custom {
    border-color: #FFF;
    color: #FFF;
    margin: 10px;
    width: 210px;
}

.btn-outline-custom:hover {
    background-color: #FFF;
    color: #000;
}

/* Toasts */
.toast-container {
    z-index: 1050;
}

.toast {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Texto Truncado */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 200px;
    border: 1px solid #ccc;
    padding: 5px;
}

/* Scrollbar Personalizado */
.custom-scrollbar {
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    white-space: nowrap;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #303138;
    border-radius: 4px;
}

.custom-scrollbar-horizontal {
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    white-space: nowrap;
}

/* Para scroll horizontal, usamos height ao invés de width */
.custom-scrollbar-horizontal::-webkit-scrollbar {
    height: 8px;
}

.custom-scrollbar-horizontal::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.custom-scrollbar-horizontal::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.custom-scrollbar-horizontal::-webkit-scrollbar-track {
    background: #303138;
    border-radius: 4px;
}


.badge-outline {
    background-color: transparent;
    border: 1px solid currentColor;
    color: inherit;
}
/* Backgrounds e Cores de Texto */
.text-bg-purple {
    background-color: #6f42c1 !important;
    color: #fff !important;
}

.text-bg-orange {
    background-color: #ff6723 !important;
    color: #fff !important;
}

.text-bg-darkgray {
    background-color: #343a40 !important;
    color: #fff !important;
}

.text-bg-whitered {
    background-color: #ffffff !important;
    color: #ce0000 !important;
}

.text-orange {
    color: #ff6723;
}

.text-purple {
    color: #6f42c1;
}

.text-darkgray {
    color: #343a40 !important;
}

/* Quebra de Linha */
.break-line {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow: visible !important;
}