/* ============================================
   SEARCH COMPONENT CSS (from partials)
   Extracted from: partials/home/search.blade.php
   Used in: Homepage search section (~258 lines)
============================================ */

    /* Minimalist Search Wrapper */
    .modern-search-wrapper {
        margin: -80px auto 40px;
        position: relative;
        z-index: 10;
        max-width: 1200px;
        padding: 0 1rem;
    }

    .modern-search-container {
        position: relative;
    }

    /* Minimalist Search Card */
    .search-card-modern {
        background: #ffffff;
        border-radius: 4px;
        padding: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        border: 1px solid #e5e7eb;
    }

    /* Minimalist Tabs */
    .search-tabs-modern {
        display: flex;
        gap: 0;
        margin-bottom: 1.25rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .search-tab-btn {
        flex: 0 0 auto;
        background: transparent;
        border: none;
        padding: 0.75rem 1.5rem;
        font-weight: 500;
        font-size: 0.95rem;
        color: #6b7280;
        cursor: pointer;
        transition: color 0.2s ease;
        position: relative;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
    }

    .search-tab-btn:hover {
        color: #001f49;
    }

    .search-tab-btn.active {
        color: #001f49;
        font-weight: 600;
        border-bottom-color: #001f49;
    }

    /* Minimalist Search Form */
    .search-form-modern {
        width: 100%;
    }

    .search-input-wrapper {
        display: flex;
        align-items: center;
        background: #f9fafb;
        border-radius: 4px;
        padding: 0;
        border: 1px solid #e5e7eb;
        transition: border-color 0.2s ease;
        gap: 0;
    }

    .search-input-wrapper:focus-within {
        border-color: #001f49;
        background: #ffffff;
    }

    .search-icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        color: #6b7280;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .search-input-wrapper:focus-within .search-icon-wrapper {
        color: #001f49;
    }

    .search-input-modern {
        flex: 1;
        border: none;
        background: transparent;
        padding: 0.875rem 0.75rem;
        font-size: 0.95rem;
        color: #1a1a1a;
        outline: none;
    }

    .search-input-modern::placeholder {
        color: #9ca3af;
    }

    .search-btn-modern {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #001f49;
        color: white;
        border: none;
        padding: 0.875rem 1.5rem;
        border-radius: 4px;
        font-weight: 500;
        font-size: 0.95rem;
        cursor: pointer;
        transition: background-color 0.2s ease;
        white-space: nowrap;
    }

    .search-btn-modern:hover {
        background: #003366;
    }

    .search-btn-modern i {
        font-size: 1rem;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .modern-search-wrapper {
            margin: -60px auto 30px;
            padding: 0 0.75rem;
        }

        .search-card-modern {
            padding: 1rem;
            border-radius: 4px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .search-tabs-modern {
            margin-bottom: 1rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .search-tabs-modern::-webkit-scrollbar {
            display: none;
        }

        .search-tab-btn {
            padding: 0.625rem 1.25rem;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .search-input-wrapper {
            flex-direction: row;
            border-radius: 4px;
            padding: 0.25rem;
            gap: 0;
        }

        .search-icon-wrapper {
            width: 44px;
            height: 44px;
            flex-shrink: 0;
            border-bottom: none;
        }

        .search-input-modern {
            padding: 0.75rem 0.5rem;
            font-size: 0.9rem;
            border-bottom: none;
        }

        .search-btn-modern {
            padding: 0.75rem 1.25rem;
            font-size: 0.9rem;
            border-radius: 4px;
            flex-shrink: 0;
        }

        .search-btn-modern span {
            display: none;
        }
    }

    @media (max-width: 480px) {
        .modern-search-wrapper {
            margin: -40px auto 20px;
            padding: 0 0.5rem;
        }

        .search-card-modern {
            padding: 0.875rem;
            border-radius: 4px;
        }

        .search-tabs-modern {
            margin-bottom: 0.875rem;
        }

        .search-tab-btn {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }

        .search-input-wrapper {
            border-radius: 4px;
        }

        .search-icon-wrapper {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        .search-input-modern {
            padding: 0.625rem 0.5rem;
            font-size: 0.875rem;
        }

        .search-btn-modern {
            padding: 0.625rem 1rem;
            font-size: 0.875rem;
            border-radius: 4px;
        }
    }

    @media (max-width: 360px) {
        .search-card-modern {
            padding: 0.75rem;
        }

        .search-tab-btn {
            padding: 0.5rem 0.875rem;
            font-size: 0.8rem;
        }

        .search-icon-wrapper {
            width: 36px;
            height: 36px;
        }

        .search-input-modern {
            padding: 0.625rem 0.375rem;
            font-size: 0.8rem;
        }

        .search-btn-modern {
            padding: 0.625rem 0.875rem;
        }
    }
