/**
 * TrackStar™ Driver Profiles - Additional Responsive Utilities
 * Note: Core responsive styles are in public.css
 * This file contains supplementary responsive utilities
 */

/* Visually hidden but accessible */
.trackstar-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hide on mobile, show on desktop */
@media (max-width: 639px) {
    .trackstar-hide-mobile {
        display: none !important;
    }
}

/* Hide on desktop, show on mobile */
@media (min-width: 640px) {
    .trackstar-hide-desktop {
        display: none !important;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .trackstar-container *,
    .trackstar-container *::before,
    .trackstar-container *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .trackstar-btn {
        border: 2px solid currentColor;
    }

    .trackstar-form-group input,
    .trackstar-form-group select {
        border-width: 2px;
    }
}

/* Landscape phone optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .trackstar-profile-image-preview {
        width: 150px;
        height: 150px;
    }
}
