html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}


/* --- HEADER --- */
        .edel-header {
            background: #0f0f0f;
            border-bottom: 1px solid #333;
            padding: 8px 0;
            box-shadow: 0 3px 8px rgba(0,0,0,0.35);
            position: relative;
            z-index: 1055;
            overflow: visible;
        }

      .edel-logo img {
            height: 58px;
            width: auto;
            object-fit: contain;
        }


        .navbar-nav .nav-link {
            font-weight: 500;
            padding: 10px 18px !important;
            color: #e0e0e0 !important;
            transition: .25s;
        }

        .navbar-nav .nav-link:hover {
            background: rgba(255,255,255,0.08);
            border-radius: 8px;
            color: #fff !important;
        }

        .dropdown-menu-dark {
            background: #1a1a1a !important;
            border: 1px solid #333 !important;
            z-index: 1060;
        }

        .dropdown-item {
            color: #ddd !important;
        }

        .dropdown-item:hover {
            background: #333 !important;
            color: #fff !important;
        }
        /** FIM DO HEADER */

/**

::placeholder {
    color: #ffffff !important;
    opacity: 1; /* necessário no Chrome para aplicar a cor */ 
/*}

.input-dark::placeholder {
    color: #ffffff !important;
    opacity: 1;
}
*/

/* Fundo geral */
body {
    background-color: #2b2f33 !important;
    color: #e5e5e5 !important;
}

/* Cards e tabelas */
.card, .table {
    background-color: #343a40 !important;
    color: #e5e5e5 !important;
    border-color: #4a4f55 !important;
}

/* Cabeçalho da tabela */
.table thead {
    background-color: #3a3f45 !important;
}

/* Linhas alternadas */
.table tbody tr:nth-child(even) {
    background-color: #3c4147 !important;
}

/* Linhas hover */
.table tbody tr:hover {
    background-color: #454b52 !important;
}

/* Inputs dark */
.form-control {
    background-color: #3a3f45 !important;
    color: #ffffff !important;
    border-color: #4a4f55 !important;
}

/* Inputs dark */
.form-select {
    background-color: #3a3f45 !important;
    color: #ffffff !important;
    border-color: #4a4f55 !important;
}

/* Placeholder branco */
.form-control::placeholder {
    color: #cfcfcf !important;
}

/** CARROSSEL */
/* Carrossel dark estilizado */
#carouselDashboard img {
    height: 320px;
    object-fit: cover;
    filter: brightness(85%);
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) brightness(1.5);
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
}

.carousel-inner {
    border-radius: 10px;
    overflow: hidden;
}

#resultados_busca {
    max-height: 350px;
    overflow-y: auto;
    background: #1c1c1c !important;
    border: 1px solid #444 !important;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.4) !important;
}

/* =========================== */
/*   AJUSTE DE TIPOGRAFIA     */
/* =========================== */

/* Menu superior */
.navbar-nav .nav-link {
    font-size: 0.95rem !important;  /* menor e mais proporcional */
}

/* Nome do usuário no canto direito */
.navbar-nav .nav-link span {
    font-size: 0.95rem !important;
}

/* Títulos das páginas */
h1, h2, h3 {
    font-weight: 600;
    color: #fff;
}

/* Título da página Mensalidades */
h2 {
    font-size: 1.9rem !important;
}

/* Tabela geral */
.table {
    font-size: 0.93rem !important;
}

/* Cabeçalho da tabela */
.table thead th {
    font-size: 0.95rem !important;
    font-weight: 600;
}

/* Dados da tabela */
.table tbody td {
    font-size: 0.90rem !important;
}

/* Botões dentro das tabelas */
.table .btn {
    font-size: 0.80rem !important;
    padding: 4px 8px !important;
}

/* Ajuste visual dos badges */
.badge {
    font-size: 0.70rem !important;
    padding: 5px 8px !important;
}

.hover-select:hover {
    background: #333 !important;
}

/* =========================== */
/*      RESPONSIVO MOBILE      */
/* =========================== */
@media (max-width: 991.98px) {
    .edel-header {
        padding: 6px 0;
    }

    .edel-logo img {
        height: 42px;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
    }

    .navbar-nav {
        gap: 4px;
    }

    .dropdown-menu {
        width: 100%;
    }

    h1, h2 {
        font-size: 1.5rem !important;
    }

    .card {
        margin-bottom: 12px;
    }

    .table {
        display: block;
        width: 100%;
        overflow-x: auto;
        font-size: 0.85rem !important;
    }

    #carouselDashboard img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    h1, h2 {
        font-size: 1.35rem !important;
    }

    .navbar-nav .nav-link {
        font-size: 0.85rem !important;
        padding: 6px 10px !important;
    }
}


