/* Custom CSS to fix select appearance on iOS */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 0.5rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    text-overflow: ellipsis;
  }
  
  /* Reset the select arrow in Firefox */
  select::-ms-expand {
    display: none;
  }
  
  /* Ensure consistent text color across browsers */
  select option {
    color: initial;
  }



  input[type="number"], 
input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    padding-right: 2.5rem;
    text-overflow: ellipsis;
}

#vendorDropdown {
    z-index: 88 !important;
}

header , .header{
    z-index: 100;
}

/* --- VYAPAR APP / CLEAN MATERIAL UI UTILITIES --- */

/* Standard white panel with subtle border */
.glass-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Primary Header / Banner block - Vyapar Red */
.glass-panel-dark {
    background: #bb0620; /* Solid primary brand red */
    color: #ffffff;
    border-bottom: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Clean, flat card for dashboard elements */
.real-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    border-radius: 12px;
}

.real-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Flat, functional primary button */
.btn-3d {
    background: #bb0620;
    color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(187, 6, 32, 0.2);
    transition: all 0.15s ease-in-out;
    border-radius: 8px;
    font-weight: 600;
}

.btn-3d:active {
    background: #a0051b;
    transform: translateY(1px);
    box-shadow: none;
}

/* Standard secondary functional button */
.btn-3d-secondary {
    background: transparent;
    color: #bb0620; /* Vyapar red outlined buttons are common */
    border: 1px solid #bb0620;
    transition: all 0.15s ease-in-out;
    border-radius: 8px;
    font-weight: 500;
}
.btn-3d-secondary:active, .btn-3d-secondary:hover {
    background: #fff0f2;
}

/* Standard border input */
.real-input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
    border-radius: 8px;
    transition: all 0.2s ease;
}
.real-input:focus {
    border-color: #bb0620;
    box-shadow: 0 0 0 3px rgba(187, 6, 32, 0.1);
}

/* Clean background */
.bg-premium {
    background-color: #f8fafc; /* Clean gray-white */
}

/* Plain solid text gradient override for readability */
.text-gradient {
    color: #bb0620;
}