/**
 * Schedule Posts - Styling
 *
 * Simple styling for native date/time inputs
 */

/* Field Container */
.vt-schedule-field {
    margin-top: 15px !important;
}

.ts-form-group.vt-schedule-field {
    margin-top: 15px !important;
}

.ts-form-group.vt-schedule-field > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--ts-shade-1);
}

/* Grid Layout - Inline date and time */
.vt-schedule-field .form-field-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
}

.vt-schedule-field .form-field-grid.medium {
    display: flex !important;
    flex-direction: row !important;
}

.vt-schedule-field .form-field-grid > .ts-form-group {
    margin-bottom: 0 !important;
}

.vt-schedule-field .form-field-grid .vx-2-3 {
    flex: 2 !important;
    width: auto !important;
}

.vt-schedule-field .form-field-grid .vx-1-3 {
    flex: 1 !important;
    width: auto !important;
}

/* Date and Time Inputs */
.vt-schedule-field input[type="date"],
.vt-schedule-field input[type="time"] {
    height: 44px !important;
    min-height: 44px;
    width: 100%;
    padding: 8px 12px !important;
    font-size: 15px;
    border: 1px solid var(--ts-shade-5, #e2e8f0);
    border-radius: var(--ts-border-radius, 8px);
    background: var(--ts-shade-7, #fff);
    color: var(--ts-shade-1, #1e293b);
    cursor: pointer;
}

.vt-schedule-field input[type="date"]:focus,
.vt-schedule-field input[type="time"]:focus {
    outline: none;
    border-color: var(--ts-primary, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* Responsive */
@media (max-width: 520px) {
    .vt-schedule-field .form-field-grid {
        flex-direction: column !important;
    }

    .vt-schedule-field .form-field-grid .vx-2-3,
    .vt-schedule-field .form-field-grid .vx-1-3 {
        flex: none !important;
        width: 100% !important;
    }
}
