/* Legacy styles - kept for backwards compatibility */
.dateTitle{
    font-family: 'SFProText';
    font-size: 14px;
    color: #757575;
    margin-bottom: 4px;
    margin-left: 10px;
}
.dateInput
{
    height: 56px;
    width: 25%;
    border-radius: 8px;
    border: none;
    font-family: SF Pro Text;
    font-size: 20px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: center;
    color: #757575;
    outline: none;
}
#startWarning
{
    color: #DF361F;
}
#endWarning
{
    color: #757575;
}
.desc
{
    font-family: SF Pro Text;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: left;
}

/* ==========================================
   Mobile Date Picker - Polished Styles
   ========================================== */

.mobile-date-label {
    font-family: 'SFProText';
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-date-optional {
    font-weight: 400;
    color: #9ca3af;
    font-size: 13px;
}

.mobile-date-container {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.mobile-date-container:focus-within {
    border-color: #ea794c;
    box-shadow: 0 0 0 3px rgba(234, 121, 76, 0.12);
    background: white;
}

.mobile-date-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.mobile-date-field-year {
    flex: 1.3;
}

.mobile-date-input {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    font-family: 'SFProText';
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: #333;
    background: transparent;
    outline: none;
    transition: background-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.mobile-date-input:focus {
    background: rgba(234, 121, 76, 0.08);
    border-radius: 8px;
}

.mobile-date-input::placeholder {
    color: #c5c8cc;
    font-weight: 400;
}

/* Hide number input spinners */
.mobile-date-input::-webkit-outer-spin-button,
.mobile-date-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mobile-date-field-label {
    font-family: 'SFProText';
    font-size: 10px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.mobile-date-divider {
    font-family: 'SFProText';
    font-size: 20px;
    color: #d1d5db;
    padding: 0 4px;
    margin-bottom: 14px;
    user-select: none;
}

.mobile-date-error {
    font-family: 'SFProText';
    font-size: 13px;
    font-weight: 400;
    color: #df361f;
    margin-top: 8px;
    min-height: 20px;
    line-height: 1.4;
}

.mobile-date-hint {
    line-height: 1.5;
}

/* Error state for date container */
.mobile-date-container.error {
    border-color: #df361f;
    background: #fef2f2;
}

.mobile-date-container.error:focus-within {
    box-shadow: 0 0 0 3px rgba(223, 54, 31, 0.12);
}

/* Success state for date container */
.mobile-date-container.success {
    border-color: #6bba1c;
    background: #f0fdf4;
}

.mobile-date-container.success:focus-within {
    box-shadow: 0 0 0 3px rgba(107, 186, 28, 0.12);
}

/* Animation for focus transitions */
@keyframes dateFocusPulse {
    0% { box-shadow: 0 0 0 0 rgba(234, 121, 76, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(234, 121, 76, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 121, 76, 0); }
}

.mobile-date-container:focus-within .mobile-date-input:focus {
    animation: dateFocusPulse 0.4s ease-out;
}

/* Quick date shortcuts (future enhancement) */
.mobile-date-shortcuts {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.mobile-date-shortcut {
    padding: 8px 14px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-family: 'SFProText';
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-date-shortcut:hover,
.mobile-date-shortcut:active {
    border-color: #ea794c;
    color: #ea794c;
    background: #fff7ed;
}

/* Responsive adjustments for very small screens */
@media screen and (max-width: 360px) {
    .mobile-date-input {
        font-size: 18px;
        height: 40px;
    }

    .mobile-date-divider {
        font-size: 18px;
        padding: 0 2px;
    }

    .mobile-date-container {
        padding: 6px 8px;
    }

    .mobile-date-field-label {
        font-size: 9px;
    }
}
