input[type="date"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-family: inherit;
    font-size: 15px;
    color: gray;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

input[type="date"]:hover {
    border-color: #999;
}

input[type="date"]:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5);
}

/* Remove the default calendar icon in some browsers if needed */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    /* Optionally customize the calendar icon */
    /* filter: invert(0.5); */
}

/* Firefox-specific styling */
input[type="date"]::-moz-focus-inner {
    border: 0;
}

/* For consistent sizing with other inputs */
.input.short input[type="date"] {
    width: 100%;
    box-sizing: border-box;
}

/* Disabled state */
input[type="date"]:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Spacer for aligning date range inputs in index.html*/
.form-query .group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.spacer {
    flex-grow: 1; /* Takes up remaining space */
    min-width: 20px; /* Minimum gap */
	max-width: 70px; /* Minimum gap */
}