/* assets/css/app.scss*/
/*@import "~bootstrap/scss/bootstrap";*/



body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* === SIDEBAR + TOGGLE PERSISTENTE === */

/* Estado base */
#sidebar {
    position: fixed;
    top: 56px; /* debajo del navbar */
    left: 0;
    height: calc(100vh - 112px);
    width: 230px;
    background-color: #f8f9fa;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    overflow-y: auto;
    z-index: 100;
    font-size: 16px;
    transition: none !important; /* evita saltos */
}

/* Estado colapsado */
html.sidebar-collapsed #sidebar {
    width: 54px !important;
}

/* Contenido */
#content {
    margin-left: 230px;
    margin-top: 56px;
    margin-bottom: 56px;
    padding: 20px;
    transition: none !important;
}

html.sidebar-collapsed #content {
    margin-left: 54px !important;
}

/* Botón toggle */
#toggleBtn {
    position: fixed;
    top: 65px;
    left: 215px;
    width: 30px;
    height: 30px;
    background: #FD7400;
    color: #fff;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    transition: none !important;
}

#toggleBtn:hover {
    background: #e66e00;
}

/* Cuando está colapsado */
html.sidebar-collapsed #toggleBtn {
    left: 38px !important;
}

/* Ocultar textos en sidebar colapsado */
html.sidebar-collapsed .sidebar .nav-link span {
    display: none;
}

/* === NAVBAR === */
#nav_main {
    font-size: 13px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
#nav_main a {
    margin-right: 15px;
    text-decoration: none;
    color: #0f0f0f;
}
#nav_main a:hover {
    color: #FD7400;
    text-decoration: underline;
}

/* === FOOTER === */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
    z-index: 1040;
    padding: 0px;
}
footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px 5px 40px;
    flex-wrap: wrap;
}
footer p.rss{
    margin: 5px;
}

/* === ESTILOS AUXILIARES === */
.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    white-space: nowrap;
    color: #333;
}
.sidebar .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
}
.sidebar .nav-link.active {
    color: #FD7400;
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 991.98px) {
    #sidebar {
        transform: translateX(-100%);
    }
    html.sidebar-collapsed #sidebar {
        transform: translateX(0);
    }
    #content {
        margin-left: 0 !important;
    }
    #toggleBtn {
        left: 10px !important;
    }
}



h5.card-header{
    border-bottom:0px;
}
div.naranja{
    background-color: #FD7400;
    border-bottom:1px solid #FD7400;
} 
.card .naranja, .card .naranja h5.card-header{
    background-color: #FD7400 !important;
    
}
.card .card-body{
    padding-bottom: 0px;
}
.card .card-footer{
    border-top: 0px;
    background-color: #fff !important;
}

/* ajuste paginador */

.pagination .activo .page-link {
        background-color: #FD7400  ;
        color: #fff;
        border: #FD7400;
          border-left-width: medium;
          border-left-style: none;
          border-left-color: rgb(253, 116, 0);
        border-left: none;
}

/* fin ajuste paginador */

.div-contenedor {
    display: grid;
    min-height: 100vh; /* Cambié dvh por vh */
    grid-template-rows: auto 1fr auto;
}

/* 🔹 Icono del usuario */
.profile-icon {
    font-size: 1.4rem;
    color: #343a40; /* Color oscuro por defecto */
    transition: color 0.3s ease-in-out;
}

.profile-icon:hover {
    color: #fd7400; /* Naranja o azul según prefieras */
}

/* 🔹 Encabezado del dropdown (UID) */
.dropdown-header {
    padding: 10px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #6c757d;
    background-color: #f8f9fa;
}

/* 🔹 Línea decorativa */
.profile-bar {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #fd7400 0%, #ff9f43 100%);
    margin-top: 5px;
}

/* 🔹 Estilo de los enlaces del dropdown */
.dropdown-item {
    font-size: 0.95rem;
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

/* 🔹 Iconos en los enlaces del dropdown */
.dropdown-item i {
    margin-right: 8px;
    color: black; /* Color predeterminado */
    transition: color 0.3s ease-in-out;
}

/* 🔹 Efecto hover suave en los enlaces */
.dropdown-item:hover {
    background-color: rgba(253, 116, 0, 0.1); /* Naranja con transparencia */
    color: #fd7400; /* Texto cambia a naranja */
}

/* 🔹 También cambiamos el color del icono en hover */
.dropdown-item:hover i {
    color: #fd7400; /* Icono cambia a naranja */
}

/* 🔹 Estilo especial para el botón de cerrar sesión */
.logout-link {
    color: black;
}

/* 🔹 Cuando el usuario pasa el mouse sobre el botón de cerrar sesión */
.logout-link:hover {
    background-color: rgba(255, 0, 0, 0.1);
    color: red;
}

/* 🔹 También cambiamos el icono del botón de cerrar sesión */
.logout-link:hover i {
    color: red;
}



.listado a.btn{
    color: #FD7400 !important;
    padding: 1px 6px;
    font-size: 15px;
    border-color: #FD7400;
    font-weight: light !important;
    margin-bottom: 5px;
}
.listado a.btn:hover{
    color: #fff !important;
    background-color: #FD7400;
    padding: 1px 6px;
    border-color: #fff;
}
/* #lista_denuncias a.btn i{
    color: #FD7400;
    font-size: 18px;
}
#lista_denuncias a.btn:hover i{
    background-color: #FD7400;
    color: #fff ;
    

} */
.wrapper-tabla table tbody tr td a{
    font-weight: normal !important;
}

.btn-outline-primary {
    color: #FD7400 !important;
    background-color: #F1F1F1 !important;
    border-color: #FD7400 !important ;
  }

.btn-outline-primary:hover{
    color: #484A61 !important;
    background-color: #F1F1F1 !important;
    border-color: #484A61 !important;
    border-radius: 4px !important;
}

form .alerta{
    margin-top: 5px;
    display: none;
}

.cambios{
    min-width: 200px;
}

.celeste{
    min-width: 110px;
}

.celeste i{
    color:#61a1c8 !important;
}


.celeste a{
    border-color: #61a1c8 !important;
}
  
.celeste a:hover{
    background-color: #61a1c8 !important;
}
.celeste a:hover i{
    color: #F1F1F1 !important;
}
  

.nav-tabs a.nav-link{
    color: #FD7400 !important;
}
.nav-tabs a.active{
    color: #5a4737 !important;
    /*text-decoration: underline;
    font-weight: bold;*/
}

#tipo_persona .form-group .form-control{
    border-bottom: none !important;
}
#tipo_persona .form-group .form-control input{
    margin-right: 5px;
}
#tipo_persona .form-group .form-control label{
    margin-right: 30px;
}


.mapa_part {
    height: 300px;
    width: 100%;
    margin-bottom: 15px;
}
.mapa_part {
    width: 100%;
    height: 400px; /* O el tamaño que necesites */
}


.coordenadas p.datolatlng{
    display: none;
}

.sexagesimal{
    width: 40px;
    display: inline !important;
}
.sexagesimalsec{
    width: 70px;
    display: inline !important;
}


#latitud,
#longitud,
#latitud::placeholder,
#longitud::placeholder
{
    border-bottom: none;
    font-size: 13px !important;
}

.latlng small{
    color: grey;
    font-size: smaller;
}
#nav_partida .nav-link{
    font-weight: bold;
    color: #2c2b2b;
    border-radius:0 !important;

}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    background: none;
    border-bottom: 2px solid #FD7400;

}
.nav-link.disabled, .nav-link:disabled{
    color: #9b9b9b !important;
}
h5.subtitulo{
    border-bottom: 1px solid #cacaca;
    padding-bottom: 2px;
    margin-bottom: 15px;
}

.div_tipo_persona .form-control{

    border-bottom: none;

}

.div_tipo_persona .form-group .form-control label {
    margin-right: 30px;
}
.div_tipo_persona  .form-group label {
    font-weight: 500;
    font-size: 14px;
}

.div_dato_tit{
    border:1px solid #cccccc; 
    /*border:1px solid #ffffff; */
    border-radius: 10px;
}


/* Navbar fijo */
#nav_main {
    font-size: 13px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
#nav_main a {
    margin-right: 15px;
    text-decoration: none;
    color: #0f0f0f;
}
#nav_main a:hover {
    color: #FD7400;
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 56px; /* Altura del navbar */
    left: 0;
    height: calc(100vh - 112px); /* navbar + footer */
    width: 250px;
    background-color: #f8f9fa;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    transition: width 0.3s ease;
    overflow-y: auto;
    z-index: 100;
    font-size: 16px;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    white-space: nowrap;
    color: #333;
    transition: background-color 0.2s ease;
}
.sidebar .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
}
.sidebar .nav-link.active {
    color: #FD7400;
    font-weight: 600;
}

/* Toggle Button */
.toggle-btn {
    position: fixed;
    top: 65px; /* debajo del navbar */
    left: 234px;
    width: 30px;
    height: 30px;
    background: #FD7400;
    color: #fff;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    transition: left 0.3s ease;
}
.toggle-btn:hover {
    background: #e66e00;
}

