.lost-and-found-container .filter-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* =======================================
   CUSTOM SEARCH COMPONENT STYLES FOR LOST AND FOUND
   ======================================= */

/* Search Form */
.search-form {
    width: 100%;
}

/* Search Input Group */
.search-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex: 1;
    min-width: 300px;
}

/* Responsive layout for search inputs - 769px to 992px */
@media (max-width: 992px) and (min-width: 769px) {
    .search-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input-wrapper,
    .acv-select-wrapper,
    .datetime-input-group {
        width: 100%;
        flex: 1;
    }
    
    .search-input,
    .acv-select__btn,
    .datetime-input {
        width: 100%;
        min-width: unset;
    }
}

/* Responsive layout for search inputs - 768px and below */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input-wrapper,
    .acv-select-wrapper,
    .datetime-input-group {
        width: 100%;
        flex: 1;
    }
    
    .search-input,
    .acv-select__btn,
    .datetime-input {
        width: 100%;
        min-width: unset;
    }
}

/* Search Input Wrapper */
.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute !important;
    left: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    z-index: 2 !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    color: #374151;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    background-color: #ffffff;
    min-height: 48px;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #214CA6;
    box-shadow: 0 0 0 3px rgba(33, 76, 166, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Search Dropdown Wrapper */
.search-dropdown-wrapper {
    position: relative;
    min-width: 200px;
}

.search-dropdown-icon {
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    z-index: 2 !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.search-dropdown {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    color: #374151;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    background-color: #ffffff;
    appearance: none;
    cursor: pointer;
}

.search-dropdown:focus {
    outline: none;
    border-color: #214CA6;
    box-shadow: 0 0 0 3px rgba(33, 76, 166, 0.1);
}

/* Date Input Group - Import styles from flight-info.css */
.datetime-input-group {
    position: relative;
    margin-bottom: 1rem;
    z-index: 100;
    min-width: 230px;
    flex: 1;
    margin-top: 1rem !important;
}

.datetime-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.datetime-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #ffffff;
    transition: all 0.2s ease;
    min-height: 48px;
    box-sizing: border-box;
    color: #374151;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

.datetime-input:focus {
    outline: none;
    border-color: #214CA6;
    box-shadow: 0 0 0 3px rgba(33, 76, 166, 0.1);
}

.datetime-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.datetime-clear-btn,
.datetime-calendar-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.875rem;
    z-index: 2;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.datetime-clear-btn {
    right: 2.5rem;
}

.datetime-clear-btn:hover,
.datetime-calendar-btn:hover {
    background: #f3f4f6;
    color: #214CA6;
}

/* Search Button */
.search-btn {
    background: #214CA6;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    min-width: 120px;
    justify-content: center;
}

.search-btn:hover {
    background: #183B86;
    transform: none;
    box-shadow: none;
}

.search-btn:active {
    background: #0F2A5C;
    transform: translateY(0);
}

.search-btn i {
    font-size: 0.875rem;
}

/* Responsive adjustments for search - 769px to 992px */
@media (max-width: 992px) and (min-width: 769px) {
    .search-input-group {
        flex-direction: column;
        gap: 0.75rem;
        min-width: 100%;
    }
    
    .search-input-wrapper,
    .search-dropdown-wrapper,
    .datetime-input-group {
        min-width: 100%;
        flex: 1;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .datetime-input-group {
        margin-bottom: 0;
        margin-top: 0 !important;
    }
    
    .search-input,
    .search-dropdown,
    .datetime-input {
        height: 48px;
        font-size: 0.95rem;
    }
}

/* Responsive adjustments for search - 768px and below */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        gap: 0.75rem;
        min-width: 100%;
    }
    
    .search-input-wrapper,
    .search-dropdown-wrapper,
    .datetime-input-group {
        min-width: 100%;
        flex: 1;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .datetime-input-group {
        margin-bottom: 0;
        margin-top: 0 !important;
    }
    
    .search-input,
    .search-dropdown,
    .datetime-input {
        height: 48px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .search-input-group {
        gap: 0.5rem;
    }
    
    .search-input,
    .search-dropdown,
    .datetime-input {
        height: 44px;
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem 0.625rem 2.25rem;
    }
    
    .search-icon {
        left: 0.875rem !important;
        font-size: 0.9rem !important;
    }
    
    .search-dropdown {
        padding: 0.625rem 2.25rem 0.625rem 0.875rem;
    }
    
    .datetime-input {
        padding: 0.625rem 3rem 0.625rem 0.875rem;
    }
    
    .search-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        height: 44px;
    }
    
    .datetime-input-group {
        margin-top: 0 !important;
    }
}

.item-card {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 1px solid #dee2e6;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item-card .card-body {
    display: flex;
    flex-direction: column;
}

.item-card .card-title {
    font-weight: bold;
    color: #0056b3;
}

.item-card .item-description {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
}

.item-card .item-date {
    font-size: 1rem;
    font-weight: 500;
    margin-top: auto;
}

.item-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.item-image {
    width: 100%;
    height: 180px;
    object-fit: contain; /* Use contain to show full image without cropping */
    border-radius: 4px;
}

#detailsModal .modal-body img {
    max-height: 550px;
    object-fit: contain;
    width: 100%;
}

#detailsModal #modalCode {
    color: #0056b3;
    font-weight: bold;
}

/* =======================================
   DATEPICKER STYLES - Imported from flight-info.css
   ======================================= */

/* Calendar Picker */
.datetime-picker {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 4px;
    min-width: 280px;
}

.datetime-picker.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.datetime-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
}

.picker-nav-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.picker-nav-btn:hover {
    background: #f3f4f6;
    color: #214CA6;
}

.picker-month-year {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.datetime-picker-body {
    padding: 1rem;
    border-radius: 0 0 12px 12px;
}

.picker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.picker-weekdays > div {
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.picker-day {
    background: none;
    border: none;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto;
}

.picker-day:hover {
    background: #f3f4f6;
    color: #214CA6;
}

.picker-day.today {
    background: #dbeafe;
    color: #214CA6;
    font-weight: 600;
}

.picker-day.selected {
    background: #214CA6;
    color: white;
    font-weight: 600;
}

.picker-day.selected:hover {
    background: #183B86;
    color: white;
}

.picker-day.other-month {
    color: #d1d5db;
}

.picker-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: #f9fafb;
}

.picker-day.disabled:hover {
    background: #f9fafb;
    color: #d1d5db;
}

/* Responsive adjustments for datepicker */
@media (max-width: 768px) {
    .datetime-picker {
        min-width: 100%;
        left: 0;
        right: 0;
    }
    
    .picker-day {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
        margin: 0 auto;
    }
    
    .datetime-picker-header,
    .datetime-picker-body {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .datetime-picker {
        min-width: 100%;
        left: 0;
        right: 0;
    }
    
    .picker-day {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
        margin: 0 auto;
    }
    
    .datetime-picker-header,
    .datetime-picker-body {
        padding: 0.5rem;
    }
}

/* =======================================
   CUSTOM DROPDOWN SELECT STYLES
   ======================================= */

/* Dropdown Button */
.acv-select__btn {
    --btn-radius: 12px;
    border-radius: var(--btn-radius);
    border: 1px solid #d1d5db;
    color: #374151;
    background: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 350px;
    min-height: 48px;
    box-sizing: border-box;
    position: relative;
}

.acv-select__btn:hover {
    border-color: var(--acv-primary);
    color: #1f2937;
    transform: none;
    box-shadow: none;
}

.acv-select__btn:focus {
    outline: none;
    border-color: var(--acv-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.acv-select__btn .chevron {
    font-size: 0.75rem;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.acv-select__btn.open {
    border-color: var(--acv-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.acv-select__btn.open .chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.acv-select__menu {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(2, 10, 24, 0.08);
    padding: 6px;
    min-width: 350px;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.acv-select__menu .dropdown-item {
    border-radius: 10px;
    font-weight: 500;
    color: #1f2937;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    display: block;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.acv-select__menu .dropdown-item:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.acv-select__menu .dropdown-item.active,
.acv-select__menu .dropdown-item[aria-current="true"] {
    background: #f3f4f6;
    color: #1f2937;
}

.acv-select__menu .dropdown-item:focus {
    outline: none;
    background: #e1e1e2;
}

/* Scrollbar Styling */
.acv-select__menu::-webkit-scrollbar {
    width: 6px;
}

.acv-select__menu::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.acv-select__menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.acv-select__menu::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive Dropdown Styles - 769px to 992px */
@media (max-width: 992px) and (min-width: 769px) {
    .acv-select__btn {
        min-width: 100%;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .acv-select__menu {
        min-width: 100%;
        width: 100%;
        max-height: 250px;
    }
    
    .acv-select__menu .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Responsive Dropdown Styles - 768px and below */
@media (max-width: 768px) {
    .acv-select__btn {
        min-width: 180px;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .acv-select__menu {
        min-width: 180px;
        width: 100%;
        max-height: 250px;
    }
    
    .acv-select__menu .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .acv-select__btn {
        min-width: 160px;
        width: 100%;
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .acv-select__menu {
        min-width: 160px;
        width: 100%;
        max-height: 200px;
    }
    
    .acv-select__menu .dropdown-item {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
} 