/* formularios */

/* para safari */
select{
    -webkit-appearance: none;
    appearance: none;
}

.input-field{
    width: 100%;
    padding: 12px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 300;
    color: var(--text);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    outline: none;
}

.input-field:hover{
    border-color: #cfcfcf;
}

.input-field:focus{
    border-color: #0092db;
    box-shadow: 0 0 0 2px rgba(0,146,219,0.15);
}

.input-field::placeholder{
    color: #aaa;
}

.form-box{
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.form-grid.nocolapsa{
    grid-template-columns: 1fr 1fr;
}

.form-group{
    margin-bottom: 25px;
}

.form-group.login-social {
    margin-bottom: 25px;
}

.form-group.full{
    grid-column: 1 / -1;
}

.form-label{
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 6px;
}

.codigo-box {
    display: flex;
    gap: 8px;
}

.codigo-digito {
    text-align: center;
    font-size: 24px;
    padding: 10px 12px;
}

.form-actions{
    display: flex;
    justify-content: flex-end;
}

.grupo-input{
    position: relative;
}

.grupo-input .prefix,
.grupo-input .suffix{
    position: absolute;
    display: flex;
    background: #f7f7f7;
    top: 1px;
    bottom: 1px;
    color: #666;
    padding: 0 10px;
    align-items: center;
}

.grupo-input .prefix{
    left: 1px;
    border-right: 1px solid var(--border);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    pointer-events: none;
}

.grupo-input .suffix{
    right: 1px;
    border-left: 1px solid var(--border);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    pointer-events: auto;
}

.grupo-input .input-field{
    padding-left: 75px; 
    padding-right: 90px;
}

.btn-primary,
.btn-success,
.btn-secondary,
.btn-danger {
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.btn-primary{
    background: #0092db;
    color: #fff;
    border: 1px solid #0092db;
}

.btn-primary:hover{
    background: #007bb8;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-success:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.btn-success{
    background: #0b0;
    color: #fff;
    border: 1px solid #0b0;
}

.btn-success:hover{
    background: #0a0;
}

.btn-secondary{
    background: #e8e8e8;
    color: #333;
    border: 1px solid #c5c5c5;
}

.btn-secondary:hover{
    background: #dfdfdf;
}

.btn-danger{
    background: #e00;
    color: #fff;
    border: 1px solid #e00;
}

.btn-danger:hover{
    background: #b00;
}

/* submit usuario nuevo */
.btn-primary.modal-submit.registro {
    margin-top: 15px;
}

/* fechas */

.range-field{
    position: relative;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 30px;
    background: #fff;
    transition: all .2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.range-field:hover{
    border-color: #cfcfcf;
}

.range-field:focus-within{
    border-color: #0092db;
    box-shadow: 0 0 0 2px rgba(0,146,219,0.15);
}

.range-field input{
    width: 100%;
    border: none;
    outline: none;
    padding: 14px 44px 14px 16px;
    font-size: 18px;
    font-weight: 100;
    font-family: 'Airbnb Cereal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: transparent;
    color: #222;
}

.range-field input::placeholder{
    color: #999;
}

.range-icon{
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #0092db;
    pointer-events: none;
}

.range-icon:before{
    font-size: 18px;
}

.range-field .flatpickr-calendar{
    margin-top: 8px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    border: none;
}

.icon-bed{
    margin: 0px 4px;
}

.modal-check-row {
    margin-bottom: 20px;
    margin-top: 10px;
}

/* switchs */
.switch-pro{
    display: inline-flex;
    align-items: center;
    gap: 0 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.switch-pro input{
    display: none;
}

.switch-slider{
    position: relative;
    width: 42px;
    height: 24px;
    background: #ddd;
    border-radius: 999px;
    transition: background .2s ease;
}

.switch-slider::before{
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform .2s ease;
}

.switch-pro input:checked + .switch-slider{
    background: #0092db;
}

.switch-pro input:checked + .switch-slider::before{
    transform: translateX(18px);
}


/* errores */
.error{
    border-color: #e74c3c;
    background-color: #fee;
    box-shadow: 0 0 0 2px rgba(231,76,60,.15);
}

.error-text{
    color:#dc2626;
    font-size:12px;
    font-weight:400;
    margin-top:4px;
}


/* celular */
@media (max-width: 640px){


}
