/* Modern Search Wrapper Design - Dark Theme Compatible */
.search-wrapper {
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.search-wrapper:hover,
.search-wrapper:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 125, 221, 0.2) !important;
}

.search-input {
    border: none;
    border-radius: 0.375rem;
}

.search-input:focus {
    box-shadow: none;
}

.search-btn {
    border: none;
    border-radius: 0 0.375rem 0.375rem 0;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Form controls - Dark theme compatible */
.form-control,
.form-select {
    transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b7ddd;
    box-shadow: 0 0 0 0.2rem rgba(59, 125, 221, 0.15);
}

.form-control:hover:not(:focus),
.form-select:hover:not(:focus) {
    border-color: #3b7ddd;
}

/* Small form-select styling (for dropdowns) */
.form-select-sm {
    border: 1.5px solid #dee2e6;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    height: 36px;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
}

.form-select-sm:focus {
    border-color: #3b7ddd;
    box-shadow: 0 0 0 0.2rem rgba(59, 125, 221, 0.15);
}

.form-select-sm:hover:not(:focus) {
    border-color: #3b7ddd;
}

/* Small form labels */
.form-label.small {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.form-label .feather-xs {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

/* Button styling */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn-sm {
    height: 36px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 125, 221, 0.3);
}

.btn-outline-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .search-wrapper {
        margin-bottom: 0.5rem;
    }

    .card-header .row.gy-3 {
        row-gap: 1rem !important;
    }
}

/* Icon sizing */
.feather-xs {
    width: 14px;
    height: 14px;
}

.feather-sm {
    width: 16px;
    height: 16px;
}