body {
    margin: 0;
    padding-bottom: 60px; /* Ajusta según la altura de tu footer */
    min-height: 100vh;
    position: relative;
    box-sizing: border-box;
}
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-custom .navbar-brand img {
    height: 40px;
}

.navbar-custom .nav-link {
    color: #343a40;
    font-weight: 500;
    margin: 0 0.5rem;
}

.navbar-custom .nav-link.active {
    color: #28a745;
    font-weight: 600;
}

.navbar-custom .nav-link:hover {
    color: #28a745;
}

.navbar-custom .btn-logout {
    color: #dc3545;
    font-weight: 500;
}

.navbar-custom .btn-logout:hover {
    color: #c82333;
}

.navbar-custom .user-name {
    color: #6c757d;
    font-weight: 500;
    margin-right: 1rem;
}

.navbar-custom .separator {
    border-left: 1px solid #dee2e6;
    height: 30px;
    margin: 0 1rem;
}

#resultado-modal .modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-out;
}

#resultado-modal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 15px 15px 0 0;
}

#resultado-modal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

#resultado-modal .modal-body {
    font-size: 1.1rem;
    padding: 20px;
}

#resultado-modal .modal-body ul {
    list-style-type: none;
    padding-left: 0;
}

#resultado-modal .modal-body ul li {
    margin-bottom: 10px;
}

#resultado-modal .modal-footer {
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 15px 15px;
}

.text-success {
    color: #28a745 !important;
    font-weight: bold;
}

.text-danger {
    color: #dc3545 !important;
    font-weight: bold;
}

.icon-success::before {
    content: "✓";
    color: #28a745;
    font-size: 1.2rem;
    margin-right: 10px;
}

.icon-danger::before {
    content: "✗";
    color: #dc3545;
    font-size: 1.2rem;
    margin-right: 10px;
}

.report-description {
    line-height: 1.6;
    color: #495057;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

.card-header {
    padding: 1rem 1.25rem;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    font-weight: 600;
    border-bottom-width: 1px;
}

.table-bordered {
    border-color: #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border-color: #dee2e6;
}

.table-danger {
    background-color: rgba(220, 53, 69, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
#navbarNav {
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.25rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }
    
    .separator {
        display: none !important;
    }
}

.footer-custom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0; /* Espaciado interno reducido */
    height: auto; /* Altura flexible */
    min-height: 40px; /* Altura mínima */
}

/* Contenedor interno para alinear elementos */
.footer-custom .container-fluid {
    padding: 0 10px; /* Ajuste de padding lateral */
}

/* Texto y enlaces */
.footer-custom span, 
.footer-custom a {
    font-size: 12px; /* Tamaño reducido para móviles */
    white-space: nowrap; /* Evita saltos de línea */
    /* overflow: hidden; */
    text-overflow: ellipsis; /* Muestra "..." si el texto es largo */
    display: inline-block;
    max-width: 100%; /* Limita el ancho */
}

/* Ajustes específicos para móviles */
@media (max-width: 768px) {
    .footer-custom {
        padding: 2px 0; /* Menos espacio vertical */
    }
    
    .footer-custom .row {
        flex-direction: column; /* Apila elementos verticalmente */
        align-items: center;
    }
    
    .footer-custom .col-md-6 {
        width: 100%;
        text-align: center !important; /* Centra todo el texto */
        margin: 2px 0; /* Espacio entre líneas */
    }
    
    .footer-custom a {
        margin: 0 0px; /* Reduce margen entre enlaces */
        font-size: 12px; /* Tamaño más pequeño */
    }
}
/* link del footer */
.footer-custom a:hover {
    color: #28a745 !important; /* Verde al hacer hover (opcional) */
    text-decoration: underline !important;
    opacity: 0.9; /* Opacidad reducida */
}

/* Estilos para la página de cuenta */
.user-avatar {
    width: 120px;
    height: 120px;
    background-color: #007dfa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6c757d;
}

.user-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.table-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Estilo para el botón de agregar perfil */
.nav-link .fa-user-plus {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.nav-link:hover .fa-user-plus {
    transform: scale(4);
    color: #28a745;
}

/* Ajustes para el dropdown de usuario */
.user-name {
    cursor: pointer;
    transition: color 0.3s;
}

.user-name:hover {
    color: #28a745 !important;
}

/* Estilo para el dropdown de configuraciones */
#configDropdown .fa-cog {
    transition: transform 0.3s;
}

#configDropdown:hover .fa-cog {
    transform: rotate(90deg);
}

/* Estilos para el ícono de hamburguesa animado */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

/* Animación cuando el menú está abierto */
.navbar-toggler[aria-expanded="true"] .top-bar {
    transform: rotate(45deg);
    top: 7px;
}

.navbar-toggler[aria-expanded="true"] .middle-bar {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bottom-bar {
    transform: rotate(-45deg);
    top: -7px;
}

/* Estilos base del botón flotante */
.btn-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    margin-bottom: 50px;
    z-index: 1000;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Animación al pasar el mouse */
.btn-flotante:hover {
    transform: scale(1.1) rotate(90deg);
    background-color: #0b5ed7;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animación del icono + */
.btn-flotante i {
    transition: transform 0.3s ease;
}

.btn-flotante:hover i {
    transform: scale(1.2);
}
