/* NauVista Main Styles */

/* CSS Variables for theme colors */
:root {
    --color-primary: #0066CC;
    --color-secondary: #003D7A;
    --color-accent: #FF6B35;
}

/* Reset and base styles */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape on iOS */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

* {
    box-sizing: border-box;
}

/* Touch optimization for all interactive elements */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1);
    touch-action: manipulation; /* Disable double-tap zoom */
}

/* Utility classes */
.btn-primary {
    background-color: #0066CC;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0052A3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Form field error states */
.field-error {
    border-color: #EF4444 !important;
}

/* Loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Status messages */
.status-success {
    background-color: #10B981;
    color: white;
}

.status-error {
    background-color: #EF4444;
    color: white;
}

/* Mobile menu transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Smooth scrolling offset for fixed header */
section {
    scroll-margin-top: 80px;
}

/* Searchable Select Dropdown Styles */
.searchable-select-container {
    position: relative;
}

.searchable-select-dropdown {
    position: absolute;
    z-index: 50;
    width: 100%;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-height: 15rem;
    overflow-y: auto;
}

.searchable-select-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.searchable-select-option:last-child {
    border-bottom: none;
}

.searchable-select-option:hover {
    background-color: #f9fafb;
}

.searchable-select-option.selected,
.searchable-select-option:active {
    background-color: #eff6ff;
    color: #0066CC;
}

.searchable-select-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.searchable-select-name {
    font-size: 0.875rem;
    color: #374151;
    flex-grow: 1;
}

.searchable-select-option:hover .searchable-select-name {
    color: #0066CC;
}

.searchable-select-empty {
    padding: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Custom scrollbar for dropdown */
.searchable-select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.searchable-select-dropdown::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 0 0.5rem 0.5rem 0;
}

.searchable-select-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.searchable-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Location Selector Dropdown Styles */
.location-selector-container {
    position: relative;
}

/* Location selector input styling for cross-browser consistency */
.location-selector-input {
    /* Remove default browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Ensure consistent font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Better box model */
    box-sizing: border-box;
    /* Consistent font size across browsers */
    font-size: 1rem;
    line-height: 1.5;
}

/* Safari-specific input fixes */
@supports (-webkit-appearance: none) {
    .location-selector-input {
        /* Prevent zoom on focus in iOS Safari */
        font-size: 16px;
    }
}

/* Focus state enhancement */
.location-selector-input:focus {
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.location-selector-dropdown {
    position: absolute;
    z-index: 1000;
    width: 100%;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-height: 20rem;
    overflow-y: auto;
    /* Cross-browser overflow scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling for Safari */
    scroll-behavior: smooth;
}

.location-selector-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-bottom: 1px solid #f3f4f6;
    /* Cross-browser text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Better tap targets for mobile */
    min-height: 48px;
}

.location-selector-option:last-child {
    border-bottom: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.location-selector-option:first-of-type {
    border-radius: 0.5rem 0.5rem 0 0;
}

.location-selector-option:hover {
    background-color: #f9fafb;
    /* Add subtle border for better visibility */
    box-shadow: inset 0 0 0 1px #e5e7eb;
    transform: translateX(2px);
}

.location-selector-option:active {
    background-color: #eff6ff;
    transform: scale(0.98);
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .location-selector-option {
        /* Better rendering in Safari */
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

.location-selector-loading {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

/* Custom scrollbar for location dropdown */
.location-selector-dropdown::-webkit-scrollbar {
    width: 8px;
}

.location-selector-dropdown::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 0 0.5rem 0.5rem 0;
}

.location-selector-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.location-selector-dropdown::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Custom Select Dropdown Styles (Service Type & Cargo Type) */
.custom-select-container {
    position: relative;
    width: 100%;
}

.custom-select-button {
    /* Remove default browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Ensure consistent font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Better box model */
    box-sizing: border-box;
    /* Consistent font size */
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.custom-select-button:focus {
    outline: none;
    ring: 2px;
    ring-color: #0066CC;
    border-color: #0066CC;
}

.custom-select-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-display {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.custom-select-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.custom-select-option-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.custom-select-option-text {
    flex: 1;
}

/* Safari-specific button fixes */
@supports (-webkit-appearance: none) {
    .custom-select-button {
        /* Prevent zoom on focus in iOS Safari */
        font-size: 16px;
    }
}

.custom-select-dropdown {
    position: absolute;
    z-index: 1000;
    width: 100%;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-height: 20rem;
    overflow-y: auto;
    /* Cross-browser overflow scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling for Safari */
    scroll-behavior: smooth;
}

.custom-select-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border-bottom: 1px solid #f3f4f6;
    /* Cross-browser text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Better tap targets for mobile */
    min-height: 48px;
    color: #374151;
    font-size: 0.9375rem;
}

.custom-select-option:last-child {
    border-bottom: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.custom-select-option:first-of-type {
    border-radius: 0.5rem 0.5rem 0 0;
}

.custom-select-option:hover {
    background-color: #f0f7ff;
    color: #0066CC;
}

.custom-select-option.selected,
.custom-select-option.highlighted {
    background-color: #eff6ff;
    color: #0066CC;
    font-weight: 500;
}

.custom-select-option.selected::before {
    content: '';
    display: block;
    width: 4px;
    height: 100%;
    background-color: #0066CC;
    position: absolute;
    left: 0;
    top: 0;
}

.custom-select-option {
    position: relative;
}

.custom-select-option:active {
    background-color: #dbeafe;
    transform: scale(0.99);
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .custom-select-option {
        /* Better rendering in Safari */
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

/* Custom scrollbar for dropdown */
.custom-select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 0 0.5rem 0.5rem 0;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Searchable dropdown styles */
.custom-select-search-container {
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-select-options-container {
    overflow-y: auto;
}

.custom-select-options-container::-webkit-scrollbar {
    width: 8px;
}

.custom-select-options-container::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.custom-select-options-container::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.custom-select-options-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Optgroup header styles */
.custom-select-optgroup-header {
    position: sticky;
    top: 0;
    z-index: 5;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background-color: #f9fafb;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Document type tooltip - instant hover display */
.doc-type-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
}

.doc-type-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 8px;
    padding: 6px 10px;
    background-color: #1f2937;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.doc-type-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1f2937;
}

.doc-type-tooltip-trigger:hover .doc-type-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Wizard step overflow - allow dropdowns to expand the form canvas */
.wizard-step {
    overflow: visible !important;
}

/* Custom select container needs position relative for dropdown positioning */
.custom-select-container {
    position: relative;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Pulse animation for stats */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

/* ================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ================================ */

/* Mobile-first responsive utilities */
@media (max-width: 640px) {
    /* Mobile spacing adjustments */
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .py-32 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    /* Mobile typography */
    h1, .text-6xl {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2, .text-4xl {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    h3, .text-3xl {
        font-size: 1.5rem !important;
    }

    /* Mobile button sizing */
    .btn-primary,
    a[class*="px-8"] {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        font-size: 0.875rem !important;
    }

    /* Hide desktop-only decorative elements on mobile */
    .animate-pulse[class*="w-96"],
    .animate-pulse[class*="w-72"] {
        display: none;
    }
}

/* Tablet optimizations (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Tablet grid adjustments */
    .grid.md\\:grid-cols-2 {
        gap: 1.5rem;
    }

    .grid.lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tablet padding */
    .px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Touch-friendly minimum sizes for mobile */
@media (max-width: 768px) {
    /* Ensure minimum 44x44px touch targets (Apple HIG) */
    button,
    a,
    input[type="submit"],
    input[type="button"],
    .mobile-menu-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile form inputs */
    input,
    select,
    textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 0.875rem 1rem !important;
    }

    /* Mobile cards */
    .rounded-xl {
        border-radius: 0.75rem;
    }

    .shadow-lg {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    /* Mobile gap reductions */
    .gap-8 {
        gap: 1.25rem;
    }

    .gap-12 {
        gap: 2rem;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 896px) and (orientation: landscape) {
    /* Reduce vertical spacing in landscape */
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Adjust hero height */
    #home {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Stack hero content horizontally in landscape */
    #home .grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Safe area insets for modern mobile devices (iPhone notch, etc.) */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    header {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent text overflow on mobile */
p, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Custom Date Picker Styling to match form theme */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
    color: #374151;
}

/* Hide native calendar picker indicator - use custom JS picker instead */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
}

/* Firefox - hide native picker */
input[type="date"]::-moz-calendar-picker-indicator {
    display: none !important;
}

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

input[type="date"]:focus {
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

/* Placeholder styling for date inputs */
input[type="date"]:not(:focus):invalid {
    color: #9ca3af;
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #374151;
}

/* Custom date picker calendar styles */
.custom-date-picker-wrapper {
    position: relative;
}

.custom-date-picker-calendar {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.custom-date-picker-calendar select:focus {
    border-color: #0066CC;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

/* Mobile search able dropdown adjustments */
@media (max-width: 640px) {
    .searchable-select-dropdown {
        max-height: 12rem;
        font-size: 0.875rem;
    }

    .searchable-select-option {
        padding: 0.625rem 0.875rem;
    }

    .searchable-select-flag {
        font-size: 1.25rem;
    }

    .searchable-select-name {
        font-size: 0.8125rem;
    }
}

/* Improved focus states for accessibility */
*:focus-visible {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-primary,
    .bg-secondary,
    .bg-accent {
        filter: contrast(1.2);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support (system preference) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed in future */
    /* Currently the app has a light theme, but this is ready for expansion */
}

/* ================================
   FORM ELEMENT CROSS-BROWSER STYLING
   ================================ */

/* Select element cross-browser styling */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    color: #374151;
    cursor: pointer;
}

/* Ensure select elements have consistent text color */
select option {
    color: #374151;
    background-color: white;
}

/* Remove default Firefox dropdown indicator */
select::-ms-expand {
    display: none;
}

/* Styled select elements (for edit forms and custom selects) */
select.styled-select,
select[style*="background-image"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: white !important;
    color: #374151 !important;
}

/* Edit form select elements - explicit styling override */
select[id$="Edit"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: white !important;
    color: #374151 !important;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

select[id$="Edit"]:focus {
    border-color: #0066CC !important;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2) !important;
}

select[id$="Edit"]:hover {
    border-color: #0066CC;
}

/* Number input spinner styling */
input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Checkbox styling for consistent cross-browser appearance */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.15s ease;
}

input[type="checkbox"]:checked {
    background-color: #0066CC;
    border-color: #0066CC;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 0.75rem;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

input[type="checkbox"]:hover {
    border-color: #0066CC;
}

/* ================================
   SINGLE BUTTON FULL WIDTH STYLING
   ================================ */

/* Form buttons - full width by default for single buttons */
form button[type="submit"]:only-of-type {
    width: 100%;
}

/* Utility class for full-width buttons */
.btn-full-width {
    width: 100% !important;
}

/* Grid navigation buttons - make submit span full width when alone */
.grid.grid-cols-2 button[type="submit"].col-span-full {
    grid-column: 1 / -1;
}

/* Text input styling to match form theme */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea {
    color: #374151;
    background-color: white;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
    color: #9ca3af;
}
