/* colmena-ui.css */

.colmena-ui {
  primary-color: #4a60e0;
  secondary-color: #f0f0f0;
  text-color: #333;
  error-color: #e85c5c;
  warning-color: #f7c948;
  success-color: #6cc070;
  info-color: #c7d2fe;
  border-radius: 6px;
  muted-color: #999;
  bg-color: #f9f9f9;
  font-family: 'Roboto', sans-serif;
}

/* INPUTS Y PICKLIST */
.colmena-ui input[type="text"],
.colmena-ui select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 14px;
  color: var(--text-color);
  background-color: white;
}

.colmena-ui input[type="text"]:focus,
.colmena-ui select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.colmena-ui .input-message {
  font-size: 12px;
  margin-top: 0.25rem;
  color: var(--muted-color);
}

.colmena-ui .input-message.error {
  color: var(--error-color);
}


.colmena-ui .search-input input {
}

.colmena-ui .search-input .icon {
  top: 50%;
}
.dropdown-arrow {
  position: absolute;
  top: 102%; /* ubica la flecha encima del dropdown */
  right: 24px; /* ajusta segÃºn el botÃ³n */
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white; /* color del fondo del dropdown */
  z-index: 1051;
  display: none;
}
  .dropdown-overlay2 {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 198;
  }

  .dropdown-menu.show {
    display: block;
    z-index: 999;
  }

.show + .dropdown-arrow {
  display: block;
}
.botonsaludo{
  background-color: #5066CD;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius:6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

 .botonsaludo:hover {
  background-color: #5170FE;
}
 .custom-dropdown {
    position: relative;
  }

  .custom-dropdown .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    width: 320px;
padding-Top:1px;
padding-Right:16px;
padding-Bottom:1px;
padding-Left:16px;
  }
/* BOTONES */
.botonprimario {
        text-decoration:none !important;

    font-weight:500;
  background-color: #5170FE;
    border: 1px solid #5170FE;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border: none;
  border-radius:12px;
  font-size: 14px;
    padding: 8px 24px;  
  cursor: pointer;
  transition: background 0.2s;
  text-align:center;
}

 .botonprimario:hover {
  background-color: #3b4fc2;
 color: #FFFFFF;
}

 .botonprimario:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.botonsecundario {
    text-decoration:none !important;
  background-color: transparent;
  color: #5170FE;
  border: 1px solid #5170FE;
  border-radius: 12px;
  padding: 8px 24px;  
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align:center;
}

.botonsecundario:hover {
  background-color: #5170FE;
  color: #FFFFFF;
}


.btnterciario {
  background-color: transparent;
  border: none;
  color: #5170FE;
  font-size: 14px;
  cursor: pointer;
    text-decoration: none !important; /* Opcional: quitar subrayado al pasar el cursor */
}

/* PILLS */
 .pill {
     border:1px solid #5170FE;
  display: inline-block;
  background-color: #FFFFFF;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 14px;
  color: #5170FE;
  margin: 0.25rem;
  cursor: pointer;
  transition: background 0.2s;

}

 .pill:hover {
  background-color:#E0E3EB;
}

 .pill.active {
  background-color: #5170FE;
    color: white;
}

/* MODAL */
.colmena-ui .modal {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: auto;
}

.colmena-ui .modal .modal-header {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 18px;
}

.colmena-ui .modal .modal-footer {
  text-align: right;
  margin-top: 1rem;
}

/* ICONOS */
.colmena-ui .icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  color: var(--muted-color);
}

.colmena-ui .icon.profile {
  background: url('/icons/user.svg') no-repeat center center;
  background-size: contain;
}

.colmena-ui .icon.search {
  background: url('/icons/search.svg') no-repeat center center;
  background-size: contain;
}

/* NOTIFICACIONES */
.colmena-ui .notification {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin: 0.5rem 0;
  font-size: 14px;
  color: #222;
}

.colmena-ui .notification .close-btn {
  margin-left: 1rem;
  background: transparent;
  border: none;
  font-weight: bold;
  cursor: pointer;
  color: inherit;
}

.colmena-ui .notification.info {
  background-color: var(--info-color);
}

.colmena-ui .notification.error {
  background-color: var(--error-color);
  color: white;
}

.colmena-ui .notification.warning {
  background-color: var(--warning-color);
}

.colmena-ui .notification.success {
  background-color: var(--success-color);
  color: white;
}

/* FLECHAS DE PICKLIST */
.colmena-ui .arrow {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: #ccc;
  border-radius: 50%;
  text-align: center;
  line-height: 1rem;
  margin-right: 0.5rem;
  cursor: pointer;
}

.colmena-ui .arrow.active {
  background: var(--primary-color);
  color: #fff;
}
  .hrcentrado {
      border:1px solid #E0E3EB;
      color:#E0E3EB;
    width: 80%;
    margin: 10px auto;
    display: block;
  }
  .close-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
 margin-right:-10px;
 margin-left:10px;
  color:white;
}

  .input-error {
      font-size:14px;
      border: 1px solid red !important;
    }
    .error-message {
      color: red;
      font-size: 0.9em;
      margin-top: 5px;
      display: none;
    }
    .error-icon {
      margin-right: 5px;
    }
    
     #loadingSpinner i {
            animation: spin 1s linear infinite;  /* Animaci¨®n personalizada */
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        .custominput{
            border-radius:10px !important;
            weight:400 !important; 
            color:#3F3F3F !important;
        }