@import "../css/style.css";



/* Contenedor general del filtro */
.filter-fechas-premium {
    width: 100%;
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 2%;
    transition: all 0.3s;
}

/* Panel interno para inputs y botones */
.filter-panel {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

/* Fecha wrapper */
.fecha-wrapper {
    display: flex;
    flex-direction: column;
}

.fecha-wrapper label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-tipografia-description-form);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

/* Inputs de fecha estilo banco */
.filter-date-premium {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #ced4da;
    font-size: 14px;
    min-width: 150px;
    transition: all 0.3s;
    background-color: var(--color-fondo-body);
    color: var(--color-tipografia-description-form);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-date-premium:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
    outline: none;
    background-color: var(--color-gradient-start);
}

/* Botones de acción */
.button-group {
    display: flex;
    gap: 12px;
}

.btn-apply,
.btn-clear {
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

/* Botón aplicar */
.btn-apply {
    background: linear-gradient(120deg, #0d6efd, #3a8dff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}

/* Botón limpiar */
.btn-clear {
    border: solid 1px darkred;
    background-color:red;
    color: white;
    box-shadow: 0 4px 12px rgba(253, 41, 13, 0.1);
}

.btn-clear:hover {
    transform: translateY(-2px);
    border: solid 1px rgb(218, 4, 4);
    background-color:red;
    color: white;
}

/* Iconos */
.btn-apply i,
.btn-clear i {
    font-size: 16px;
    color: rgb(255, 255, 255);
}



.customer-counter {
    display: flex;
    width: 40%;
}

.counter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f7045520, #f7045510);
    border: 1px solid #f70454;
    padding: 2% 5% 2% 5%;
    border-radius: 12px;
    width:100%;
    max-width: 360px;
    backdrop-filter: blur(4px);
     transition: transform 0.3s ease;
}

.counter-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
    color: #f70454;
}

.counter-value {
    font-size: 24px;
    font-weight: 700;
    color: #f70454;
    margin-left: 1%;
}

.counter-box:hover {
    transform: translateY(-3px);
}








/* Responsive: ajusta inputs y botones en móviles */
@media(max-width:720px) {
    .filter-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .button-group {
        justify-content: flex-start;
    }

    .filter-date-premium {
        width: 100%;
    }

    .btn-apply,
    .btn-clear {
        width: 100%;
        justify-content: center;
    }
}