.content-input {
    position: relative;
    width: 100%;
}

/* INPUT */
.input {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #dadce0;
    padding: .4rem 1rem .4rem .7rem; /* espacio para el icono */
    outline: none;
    font-size: 14px;
    height: 36px;
}

.input:focus-visible {
    border: 2px solid #1a73e8;
}

/* LABEL FLOAT */
.input-label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #a2a2a2;
    font-size: 12px;
    pointer-events: none;
    transition: .2s ease;
    background: #fff;
    padding: 0 4px;
}

.input:where(:focus, :not(:placeholder-shown)) + .input-label {
    top: 0px;
    left: 8px;
    color: #1864c9;
    font-size: 13px;
    font-weight: 700;
}

/* ICONO */
.icon-input {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    cursor: pointer;
    user-select: none;
    transition: background-color .2s ease, color .2s ease;
    border-left: 1px solid #dadce0;
}

.icon-input:hover {
    background-color: #f1f3f4;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border: 1px solid #dbdce0;
}

.icon-input:active {
    background-color: #e7f0fd;
}

/* Ajuste visual cuando el input está en focus */
.input:focus-visible ~ .icon-input {
    border-left: 2px solid #1a73e8;
}

.input-error {
    border: 2px solid #d76a6a !important;
}

.label-seelct {
    position: absolute;
    top: -8px;
    left: 12px;
    background-color: white;
    padding: 0 4px;
    font-size: 12px;
    color: #0d6efd;
    z-index: 10;
    font-weight: bold;
}

.form-select {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.form-select:focus {
    outline: 0;    
}

/**Input icon**/

.input-icon {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    height: 36px;
    border-left: 1px solid #dadce0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    /* background: #000; */
    border-radius: 6px;
    color: #000;
    cursor: pointer;
}

.input-icon i {
    font-size: 18px;
}

.p-icon {
    padding: .4rem 3.1rem .4rem .5rem;
}


/**
Selectize title
**/

.select-title {
    position: absolute;
    z-index: 2;
    font-size: 13px;
    color: #1864c9;
    font-weight: 700;
    top: -20%;
    left: 10px;
    background-color: #fff;
}

.select-icon {
    height: auto;
    width: 38px;
    background: #f6f9ff;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    font-size: 20px;
    color: #188355;
}

.mayus {
    text-transform: uppercase;
}

.selectize-input {
    border-bottom-left-radius: 5px !important;
    border-start-start-radius: 5px !important;
    box-shadow: none !important;
}

.selectize-input.focus {
    border: 2px solid #1a73e8;
}


/** 
    Icono floating input
**/

.icon-float-input {
    position: absolute;
    font-size: 18px;
    color: #848484;
    top: 50%;
    transform: translate(50%, -50%);
    right: 15px;
    cursor: pointer;
}


.btn-add-input{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.input-transparent{
    border: none;
    height: 25px;
    padding: 0px 10px;
    margin: 0;
    outline: none;
    border-radius: 5px;
    background: none;
    text-align: center;
    width: 100%;
}

.selectize-control.multi .selectize-input > .item {
    background-color: #e1f3ff;
    color: #0F4C75;
    border-radius: 0.10rem;
    padding: 0.10rem 0.5rem;
    margin: 0.15rem;
    font-weight: 600;

}


/* CSS  SELECTS CON ICONOS */

.select-icon-group {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.select-icon-label {
    width: 100%;
    margin-bottom: 0.25rem;
    margin-top: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25;
    color: #0e3623;
}

.select-with-icon {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


.select-icon-addon {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #0c3d1a;
    text-align: center;
    white-space: nowrap;
    background-color: #d2e7d6;
    border: 1px solid #ced4da;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}


.select-icon-group:hover .select-with-icon,
.select-icon-group:hover .select-icon-addon {
    border-color: #2d6ac5;
}

.select-icon-group:hover .select-icon-addon {
    background-color: #e9ecef;
}


.select-with-icon:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.select-with-icon:focus + .select-icon-addon {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


.select-icon-addon i {
    font-size: 1rem;
    color: #6c757d;
}

.select-icon-container {
    margin-bottom: 1rem;
}

.select-icon-group .selectize-control .selectize-dropdown {
    position: absolute !important;
    top: 100%;
    left: 0 !important;
    right: 2.5rem !important; /* Deja espacio para el icono */
    width: auto !important;
    max-width: calc(100% - 2.5rem) !important;
    z-index: 1050;
}

/* Mantener el icono visible cuando selectize está activo */
.select-icon-group .selectize-control.single .selectize-input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Asegurar que el icono permanezca en su lugar */
.select-icon-group .select-icon-addon {
    z-index: 1051;
    position: relative;
}

/* ESTILOS PARA INPUTS SUBIR ARCHIVOS */

.ContetInputFile {
    width: fit-content;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d9ede1;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid #e2feee;
  }

  .ContetInputFile:focus-within {
    border: 1px solid rgb(219, 233, 213);
  }

  .fileUploadWrapper {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
  }

  .fileUploadWrapper input[type="file"] {
    display: none;
  }

  .fileUploadWrapper label {
    cursor: pointer;
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
  }

  .fileUploadWrapper label i {
    color: #0c3717;
  }

  .fileUploadWrapper .tooltip {
    position: absolute;
    top: -40px;
    display: none;
    opacity: 0;
    color: white;
    font-size: 10px;
    text-wrap: nowrap;
    background-color: #000;
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.596);
    transition: all 0.3s;
  }

  .inputFileName {
    width: 200px;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    padding-left: 10px;
    color: #000;
  }

  .sendFileButton {
    width: fit-content;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
  }

  .sendFileButton i {
    color: #0a7526;
  }

  /* Selectize container*/
.selectize-dropdown-content{
    background: #fff;
}

.option, .selected{
    border-radius: 4px !important;
}

.selectize-input .items .item{
    font-size: 14px !important;
}

/* Input venta item */
.input-venta{
    padding: 1px;
    background: none;
    border: none;
    height: 30px;
    border-bottom: 1px solid #dadce0;
    border-radius: 3px;
    outline: none;
    font-size: 13px;
    width: 100%;
}