#sitopbar {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 35px; /* Altura de la barra superior */
    background-color: #c5c5c5;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: 'Segoe UI', Arial, sans-serif;
    transition: top 0.3s ease-in-out;
    display: flex;
    color: #ffffff;
    flex-direction: column; /* Para que el sidebar esté en formato columna */
}

#sitopbar.visible {
    top: 0;
}

.sius.header-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 15px;
    background-color: #F0F0F0;
    
  }

  .sius.search-container {
    margin-left: auto;
    padding: 0 10px;

  }
  
  .sius.search-input {
    padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  color:#4a4a4a
  }

.sius .logosius {
    padding: 0 20px;
    color: #0a0931;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    min-width: 100px;
    height: 35px;
    background-color: #F0F0F0; /* O el color que prefieras */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}


.sius.tabs-container {
    height: 35px;
    flex: 1;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }



.sius .tab-button {
    position: relative; /* Necesario para que el indicador se posicione dentro */
    overflow: hidden; /* Evita que el indicador sobresalga */
    border-radius: 0;
    color: #ffffff;
    height: 35px;
}
.sius .tab-text {
    font-size: 14px;
    margin-left: 5px;
  }

.sius .tab-button:hover {
    background-color: #001d41;
    color: #ffffff;
}

.sius .tab-button.active {
    background-color: #f4f4f4; /* Color para la tab activa */
    color: #001732;
}

.sius .tab-button i {
    font-size: 22px;
}

.sius .content-container {
    width: 100%;
    background-color: #223e5e;
    height: calc(100vh - 60px); /* Ajusta el contenido para que no quede debajo de la barra */
    overflow-y: auto;
    position: absolute;
    top: 35px; /* Ajustar para coincidir con la nueva altura */
    height: calc(100vh - 35px); /* Ajustar el cálculo */
}

.sius .content-section {
    display: none;
    height: 100%;
}

.sius .content-section.active {
    display: block;
}

.sius .tab-indicator {
    position: absolute;
    bottom: 0; /* Lo mueve al borde inferior de la pestaña */
    left: 0;
    width: 100%; /* Hace que cubra toda la pestaña activa */
    height: 4px; /* Altura de la línea indicadora */
    background-color: #f4f4f4;
    opacity: 0;
    transition: left 0.3s ease, width 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 15px rgba(86, 163, 219, 0.7);
}


.sius .tab-button.active .tab-indicator {
    opacity: 1;
}

.sius iframe.tab-content {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}


/* fin tabs */


.sius .content-container::-webkit-scrollbar {
    width: 2px;
}

.sius .content-container::-webkit-scrollbar-track {
    background: #14263d;
}

.sius .content-container::-webkit-scrollbar-thumb {
    background: #BCD3D9;
    border-radius: 0;
}




/* General */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f2f3f3; /* Fondo azul claro */
    margin: 0;
    padding: 0;
    color: #1e3a5f;
}

h2 {
    color: #0f1d2e;
    text-align: center;
    margin-top: 20px;
    font-size: 28px;
}

h3 {
    color: #27476d;
    margin: 0 0 10px 0;
}

/* Cards */
.cardoff {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dce4ed;
    padding: 20px;
    border-radius: 5px;
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
}

/* Buttons 
button {
    background-color: #0b223f;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 3px;
}*/

button:hover {
    background-color: #27476d;
}

button:active {
    background-color: #1e3a5f;
}

/* Search bar */
.search-bar {
    margin: 20px auto;
    text-align: center;
}

.search-input {
    padding: 10px;
    width: 70%;
    max-width: 500px;
    border: 1px solid #dce4ed;
    border-radius: 3px;
    font-size: 16px;
    margin-right: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-button {
    background-color: #0b223f;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.search-button:hover {
    background-color: #27476d;
}

/* Search results table */
table {
    width: 100%;

}

table th,
/*table td {
    background-color: #ff0000;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 10px;
    border: 1px solid #dce4ed;
}

table th {
    background-color: #1e3a5f;
    color: #ffffff;
    font-weight: bold;
}*/

table tr:nth-child(even) {
    background-color: #f2f3f3;
}

table tr:hover {
    background-color: #e0ecf8;
}
/*
table td {
    color: #27476d;
}*/

/* Utility */
/*
#user-list {
    list-style-type: none;
    padding: 0;
}*/

#user-list li {
    padding: 5px 0;
    color: #1e3a5f;
}
/* Botones principales */
button {
    background-color: #002B5E;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 3px;
}
/*
button:active {
    background-color: #1e3a5f;
}
*/
/* Import Section */
.import-section {
    text-align: center;
    margin: 20px auto;
}

.import-button {
    background-color: #4a90e2;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    border-radius: 3px;
}

.import-button:hover {
    background-color: #3568a6;
}

.import-button:active {
    background-color: #27476d;
}

#excelFile {
    display: none; /* Mantener oculto */
}

/* Search Container */
#search-container {
    text-align: center;
    margin: 20px auto;
}

#searchoff {
    width: 80%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #dce4ed;
    border-radius: 3px;
    font-size: 16px;
    margin-right: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#search:focus {
    border-color: #0b223f;
    outline: none;
    box-shadow: 0 0 5px rgba(50, 104, 158, 0.5);
}

/* User List */
#user-list {
    margin: 20px auto;
    width: 80%;
    max-width: 800px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dce4ed;
    border-radius: 3px;
    padding: 10px;
    color: #27476d;
}

/* User List Items */
#user-list div {
    padding: 10px;
    border-bottom: 1px solid #dce4ed;
}

#user-list div:last-child {
    border-bottom: none;
}

#user-list div:hover {
    background-color: #e0ecf8;
    cursor: pointer;
}
/* Heading Principal */
h1 {
    color: #27476d;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Sección */
.section {
    width: 80%;
    margin: 20px auto;
    background-color: #ffffff;
    border: 1px solid #dce4ed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 20px;
}

.section h2 {
    margin-bottom: 10px;
    color: #0b223f;
    font-size: 18px;
    border-bottom: 2px solid #dce4ed;
    padding-bottom: 5px;
}

/* Botones */
.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
/*

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0b223f;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}*/

/*
button:active {
    background-color: #1e3a5f;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}*/
#floating-button {
    width: 30px;
    height: 30px;
    border-radius: 10%;
    font-size: 18px;
    padding: 0;
    margin: 0;
  }

  


  .search-wrapper {
  position: relative;
  margin-left: auto;
  padding: 0 10px;
}

.search-input {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
}



.search-result-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-result-item:last-child {
  border-bottom: none;
}

.user-info {
  flex-grow: 1;
}

.user-name {
  font-weight: bold;
}

.user-nit, .user-email {
  font-size: 0.9em;
  color: #666;
}

.copy-button {
  padding: 5px 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.copy-button:hover {
  background: #0056b3;
}


/*sidebar tabs search*/


  
  .search-wrapper {
    position: relative;
    margin-left: auto;
    min-width: 200px;
  }
  
  .search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }
  
  .search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 2px solid #909090; /* Borde rojo para debug */
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999; /* Asegurar que esté por encima de todo */
    margin-top: 4px;
  }
  
  .search-result-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  
  .search-result-item:last-child {
    border-bottom: none;
  }
  
  .search-result-item:hover {
    background-color: #f5f5f5;
  }
  
  .user-info {
    flex-grow: 1;
  }
  
  .user-name {
    font-weight: bold;
    margin-bottom: 2px;
    color: #002B5E;;
  }
  
  .user-nit, .user-email {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 2px;
  }
  
  .copy-button {
    padding: 6px 12px;
    background: #002B5E;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
  }
  
  .copy-button:hover {
    background: #0056b3;
  }


  .toggle-button {
    padding: 8px 16px;
    cursor: pointer;
    transition: right 0.3s ease;
  }

  /*sidebar*/

  #nit-filter-sidebar {
    position: fixed;
    left: 0;
    top: 45px;
    width: 300px;
    height: 100%;
    background: white;
    border-right: 1px solid #ccc;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
  }
  
  .radio-container {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .radio-option {
    display: flex;
    align-items: center;
    margin-right: 8px;
  }
  
  .radio-option input[type="radio"] {
    margin-right: 4px;
  }
  
  .results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .results-table th,
  .results-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }

  /*sidebar Nit*/

  #sidebar-nit {
    position: fixed;
    left: 0;
    top: 45px;
    width: 600px;
    height: 100%;
    background: white;
    border-right: 1px solid #ccc;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    overflow-y: auto;
  }
  
  .nit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .nit-table th,
  .nit-table td {
    border: 1px solid #ddd;
    padding: 4px;
    text-align: left;
  }
  
  .nit-table input {
    width: 90%;
    padding: 2px 4px;
    height: 24px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
  
  .action-buttons {
    display: flex;
    gap: 3px;
  }
  
  .action-button {
    padding: 2px 6px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .save-btn {
    background-color: #4CAF50;
  }
  
  .update-btn {
    background-color: #2196F3;
  }
  
  .delete-btn {
    background-color: #f44336;
  }
  
  .copy-btn {
    background-color: #607D8B;
  }
  
  .add-row-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
  }

  .success-animation {
    animation: successBlink 1s ease;
  }
  
  @keyframes successBlink {
    0% { background-color: white; }
    50% { background-color: #90EE90; }
    100% { background-color: white; }
  }
  