/* — Input field styling — */
#date {
    padding: 0.6em 1em;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, border-color 0.2s;
    width: 200px;
}
#date:focus {
    outline: none;
    border-color: #a8d0e6;
    box-shadow: 0 0 0 3px rgba(168,208,230,0.5);
}

/* — Datepicker popup container — */
.ui-datepicker {
    border: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.5em;
}

/* — Header (month / nav) — */
.ui-datepicker .ui-widget-header {
    background: #f7f9fa;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 0.5em;
    text-align: center;
}
.ui-datepicker .ui-datepicker-title {
    font-weight: 600;
    color: #333;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 0.6em;
}
.ui-datepicker .ui-icon {
    background-image: none;
    width: 1em; height: 1em;
    display: inline-block;
    font-family: "Arial", sans-serif;
    font-size: 1.2em;
    line-height: 1;
    color: #666;
}
.ui-datepicker .ui-datepicker-prev .ui-icon:before { content: "‹"; }
.ui-datepicker .ui-datepicker-next .ui-icon:before { content: "›"; }

/* — Day cells — */
.ui-datepicker td a {
    display: block;
    padding: 0.5em;
    border-radius: 6px;
    text-align: center;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}
.ui-datepicker td a:hover {
    background: #e3f2fd;
    color: #0366d6;
}

/* — Selected & today — */
.ui-datepicker .ui-state-active {
    background: #90caf9;
    color: #fff !important;
}
.ui-datepicker .ui-datepicker-current-day a {
    border: 1px solid #90caf9;
}

/* — Button panel — */
.ui-datepicker .ui-datepicker-buttonpane {
    background: transparent;
    margin-top: 0.5em;
    text-align: center;
}
.ui-datepicker .ui-datepicker-buttonpane .ui-button {
    border: 1px solid #ddd;
    background: #f7f9fa;
    border-radius: 6px;
    padding: 0.4em 0.8em;
    font-size: 0.9rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: background 0.2s;
    margin: 0 0.3em;
}
.ui-datepicker .ui-datepicker-buttonpane .ui-button:hover {
    background: #e3f2fd;
}
/* a little padding so the calendar doesn’t butt right against the input */
#date { padding: .5em; font-size: 1rem; }
@media screen and (min-width: 768px) and (max-width: 1316px) {
    .hide-on-tablet {
        display: none;
    }
}
/* 1) Hide everywhere by default */
.mobile-only {
    display: none;
}

/* 2) Show when viewport is up to 767px wide */
@media screen and (max-width: 989px) {
    .mobile-only {
        display: inline-block; /* or block/flex, whatever suits */
    }
}