/* Fondo General */
body {
    background: #F5F5F5;
    font-family: 'Poppins', sans-serif;
    color: #424242;
    margin: 0;
}

/* Encabezado Principal */
.masthead {
    background-color: #1E88E5;
    color: white !important;
    min-height: 30rem;
    padding-top: 1rem;
}

.masthead h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: #FFCA28;
}

@media (min-width: 992px) {
    .masthead h1 {
        font-size: 3.5rem;
    }
}

/* Navbar */
header {
    background-color: #4CAF50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-end {
    text-align: right;
    color: #C8E6C9;
}

.text-end div:first-child {
    font-weight: 600;
}

.text-end div:last-child {
    color: #FFCA28;
}

.rounded-circle {
    border: 2px solid #C8E6C9;
    object-fit: cover;
}

/* Botones e íconos */
.navbar-toggler {
    border-color: #FFCA28 !important;
}

.icon-actions i {
    color: #FFCA28 !important;
}

.icon-actions a {
    margin-left: 0.75rem;
    text-decoration: none;
}

/* Botones */
.btn-primary {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #388E3C !important;
    border-color: #388E3C !important;
}

.btn-info {
    background-color: #1E88E5 !important;
    border-color: #1E88E5 !important;
    color: white !important;
}

.btn-info:hover {
    background-color: #1565C0 !important;
    border-color: #1565C0 !important;
}

/* Responsive Ajustes */
@media (max-width: 768px) {
    .masthead {
        min-height: 20rem;
    }

    .masthead h1 {
        font-size: 2rem;
    }

    th,
    td {
        font-size: 0.9rem;
        padding: 8px;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

/* Botones en vistas específicas */
.roles-btn {
    margin-top: 20px;
}

.roles-btn button {
    margin: 10px;
}

/* Scroll Oculto */
.hide-scrollbar {
    overflow: hidden;
}

/* ========================= */

.footer-greenlinks {
    background-color: #212121;
    color: #F5F5F5;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.footer-greenlinks h4 {
    color: #FFCA28 !important;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-greenlinks p,
.footer-greenlinks a,
.footer-greenlinks i,
.footer-greenlinks span {
    color: #E0E0E0 !important;
    opacity: 1 !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-greenlinks a:hover {
    color: #FFCA28 !important;
    text-decoration: none;
}

.footer-greenlinks .btn-outline-light {
    border-color: #FFCA28 !important;
    color: #FFCA28 !important;
    margin-right: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.footer-greenlinks .btn-outline-light:hover {
    background-color: #FFCA28 !important;
    color: #212121 !important;
}

.footer-greenlinks .container-xxl {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-greenlinks .border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    color: #B0BEC5;
}

.footer-greenlinks .link-item {
    color: #FFCA28 !important;
    font-weight: 600;
}

.footer-greenlinks .link-item:hover {
    color: #FFF176 !important;
}