.content-input {
    position: relative;
    width: auto;
    display: grid;
    grid-template-areas: "input"
}

.input {
    grid-area: input;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #dadce0;
    padding: .4rem .7rem;
    outline: none;
    font-size: 14px;
}

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

.input-label {
    grid-area: input;
    z-index: 100;
    width: max-content;
    align-self: center;
    display: flex;
    align-items: center;
    color: #a2a2a2;
    font-size: 12px;
    margin-left: 15px;
    transition: transform .2s;
    transform: center left;
    pointer-events: none;
}

.input:where(:focus, :not(:placeholder-shown))+.input-label {
    transform: translateY(-80%) translateX(-10%) scale(.9);
    background-color: #fff;
    color: #1864c9;
    font-size: 14px;
    z-index: 2;
    font-weight: 700;
    font-family: Helvetica, sans-serif;
}



.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;
}

.selectize-dropdown-content {
    background: #ffffff !important;
}

.selectize-dropdown .selected {
    border-radius: 4px !important;
}

/** 
    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;
}

.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;
}

/* Custom Background de Boostrap Buttons */
.btn-success {
    background: #75b798;
}

.btn-danger {
    background: #cc9197;
}

.btn-warning {
    background: #ffe69c;
}

.btn-info {
    background: #9ec5fe;
}

.btn-primary {
    background: #6ea8fe;
}

.btn-secondary {
    background: #a6a9ad;
}

.btn-dark {
    background: #495057;
}

.btn-light {
    background: #f8f9fa;
}

/* Hover para todos lo buttons */
.btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Input de descargos de material */
.input-mat {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: transparent;
    caret-color: var(--accent-color);
    border: 1px solid transparent;
    border-bottom-color: #99d0e0;
    color: rgba(0, 0, 0, 0.87);
    text-align: center;
    padding: 16px 11px 4px;
    font-size: 1rem;
}

.input-mat:focus {
    outline: none;
    border-bottom-width: 2px;
    border-bottom-color: var(--accent-color);
}

.input-mat:focus+label {
    color: var(--accent-color);

}