.product-cover {
    width: 300px;
    height: 300px;
}
.product-cover-cashier {
    width: 200px;
    height: 200px;
}
.product-cover-cashier-small {
    width: 50px;
    height: 50px;
}
.media-body {
    padding: 5px; 
}


select.form-control, select.asColorPicker-input, .dataTables_wrapper select, .jsgrid .jsgrid-table .jsgrid-filter-row select, .select2-container--default select.select2-selection--single, .select2-container--default .select2-selection--single select.select2-search__field, select.typeahead, select.tt-query, select.tt-hint {
    color: black    
}   

/* Datepicker Container */
.datepicker {
    z-index: 9999 !important;
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    background: white;
}

/* Datepicker Header */
.datepicker .datepicker-switch {
    background: #007bff !important;
    color: white !important;
    font-weight: 600;
    border-radius: 6px;
    margin: 5px;
    border: none;
    padding: 8px 12px;
}

.datepicker .datepicker-switch:hover {
    background: #0056b3 !important;
}

/* Navigation Arrows */
.datepicker .prev,
.datepicker .next {
    background: #f8f9fa !important;
    color: #007bff !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin: 5px;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.datepicker .prev:hover,
.datepicker .next:hover {
    background: #007bff !important;
    color: white !important;
    border-color: #007bff;
}

/* Calendar Table */
.datepicker table {
    margin: 10px;
    width: calc(100% - 20px);
}

.datepicker table th,
.datepicker table td {
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    border: none;
    width: 40px;
    height: 40px;
}

/* Day Headers */
.datepicker table th {
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid #dee2e6;
}

/* Calendar Days */
.datepicker table td {
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.datepicker table td:hover {
    background: #e3f2fd !important;
    color: #1976d2;
    transform: scale(1.05);
}

/* Today's Date */
.datepicker table td.today {
    background: #fff3e0 !important;
    color: #f57c00;
    font-weight: 600;
    border: 2px solid #ffb74d;
}

.datepicker table td.today:hover {
    background: #ffe0b2 !important;
    color: #e65100;
}

/* Selected Date */
.datepicker table td.active {
    background: #007bff !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.datepicker table td.active:hover {
    background: #0056b3 !important;
}

/* Disabled Dates */
.datepicker table td.disabled {
    color: #ced4da !important;
    cursor: not-allowed;
    background: transparent !important;
}

.datepicker table td.disabled:hover {
    background: transparent !important;
    transform: none;
}

/* Other Month Dates */
.datepicker table td.old,
.datepicker table td.new {
    color: #adb5bd !important;
}

/* Input Field Enhancement */
#tanggal-input {
    background: white;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
    cursor: pointer;
}

#tanggal-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#tanggal-input[readonly] {
    background-color: white !important;
    opacity: 1;
}

/* Input Group Icon */
.input-group-text {
    background: #f8f9fa;
    border-color: #ced4da;
    color: #007bff;
}

.input-group:focus-within .input-group-text {
    border-color: #007bff;
    background: #e3f2fd;
}

/* Modal Specific Adjustments */
.modal .datepicker {
    z-index: 10000 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .datepicker {
        font-size: 14px;
    }
    
    .datepicker table th,
    .datepicker table td {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    .datepicker .datepicker-switch {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Animation for Datepicker Show/Hide */
.datepicker {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Dropdown Effect */
.datepicker.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

/* Focus States */
.datepicker table td:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Weekend Styling */
.datepicker table td.weekend {
    color: #dc3545;
    font-weight: 500;
}

/* Month/Year Picker */
.datepicker .month,
.datepicker .year {
    padding: 10px;
    margin: 2px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.datepicker .month:hover,
.datepicker .year:hover {
    background: #e3f2fd;
    border-color: #007bff;
}

.datepicker .month.active,
.datepicker .year.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}
.modal .modal-dialog .modal-content .modal-body {
    max-height: 64vh;
    overflow-y: auto;
}
.modal-dialog {
  margin-top: 5vh !important;
  margin-bottom: 5vh !important;
}