* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff6600' fill-opacity='0.03'%3E%3Cg transform='translate(7, 7)'%3E%3Ccircle cx='0' cy='0' r='3' fill='none' stroke='%23ff6600' stroke-width='0.5' stroke-opacity='0.3'/%3E%3Cpath d='M2.1 2.1L4 4' stroke='%23ff6600' stroke-width='0.5' stroke-linecap='round' stroke-opacity='0.3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .container {
            max-width: 100%;
            margin: 5% 0% -2% 0%;
            padding: 30px 20px;
        }

        .search-section {
            background: white;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-bottom: 30px;
        }

        .search-bar-container {
            display: flex;
            gap: 12px;
            margin-bottom: 25px;
            align-items: center;
        }

        .search-input-wrapper {
            flex: 1;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 16px 20px 16px 50px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
            background: transparent;
        }

        .search-input:focus {
            border-color: #f5a741;
            box-shadow: 0 0 0 3px rgba(245, 167, 65, 0.1);
        }

        .search-input:focus + .floating-label,
        .search-input:not(:placeholder-shown) + .floating-label {
            top: -8px;
            left: 16px;
            font-size: 0.75rem;
            color: #f5a741;
            background: white;
            padding: 0 4px;
        }

        .floating-label {
            position: absolute;
            top: 16px;
            left: 50px;
            color: #999;
            font-size: 1rem;
            transition: all 0.3s ease;
            pointer-events: none;
            background: transparent;
        }

        .search-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 1.1rem;
            background: transparent;
            transition: color 0.3s ease;
        }

        .search-input:focus ~ .search-icon {
            color: #f5a741;
        }

        .filter-dropdown {
            position: relative;
        }

        .filter-btn {
            padding: 16px 20px;
            background: linear-gradient(135deg, #f5a741, #e6a86b);
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            min-width: 140px;
            justify-content: center;
        }

        .filter-btn-text {
            display: inline;
            background: transparent;
        }

        .filter-btn:hover {
            background: linear-gradient(135deg, #e6953a, #d8966c);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(245, 167, 65, 0.3);
        }

        .dropdown-content {
            display: none;
            position: absolute;
            right: 0;
            background: white;
            min-width: 200px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
            border-radius: 12px;
            z-index: 1000;
            overflow: hidden;
            top: 100%;
            margin-top: 8px;
        }

        .dropdown-content.show {
            display: block;
        }

        .dropdown-item {
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid #f0f0f0;
        }

        .dropdown-item:hover {
            background-color: #fdf4e8;
            color: #f5a741;
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .filter-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .filter-tag {
            padding: 12px 24px;
            border: 2px solid #e0e0e0;
            background: transparent;
            border-radius: 25px;
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            color: #666;
        }

        .filter-tag:hover {
            border-color: #f5a741;
            color: #f5a741;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(245, 167, 65, 0.2);
        }

        .filter-tag.active {
            background: linear-gradient(135deg, #f5a741, #e6a86b);
            border-color: #f5a741;
            color: white;
        }

        .filter-icon {
            width: 20px;
            height: 20px;
            background: transparent;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 1.5rem;
            }

            .container {
                padding: 20px 15px;
                margin-top: 18%;
            }

            .search-section {
                padding: 20px;
            }

            .filter-btn {
                min-width: 60px;
                padding: 16px;
            }

            .filter-btn-text {
                display: none;
            }

            .filter-buttons {
                justify-content: center;
            }

            .filter-tag {
                font-size: 0.9rem;
                padding: 10px 20px;
            }

            .search-input {
                padding-left: 45px;
            }

            .floating-label {
                left: 45px;
            }

            .search-icon {
                left: 15px;
            }
        }

        @media (max-width: 480px) {
            .filter-buttons {
                flex-direction: column;
                align-items: center;
            }

            .filter-tag {
                width: 100%;
                text-align: center;
            }
        }

        .bg-imag {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('images/bg2.jpeg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: -1;
        }

        body {
            margin: 0;
            padding: 0;
            position: relative;
        }

        /* Styles pour les résultats vides */
        .no-results {
            text-align: center;
            padding: 60px 20px;
            color: #666;
        }

        .no-results-image {
            width: 200px;
            height: 200px;
            margin-bottom: 20px;
            opacity: 0.7;
        }

        .no-results h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #333;
        }

        .no-results p {
            font-size: 1rem;
            margin-bottom: 25px;
            color: #666;
        }

        .btn-save-search {
            padding: 12px 24px;
            background: linear-gradient(135deg, #f5a741, #e6a86b);
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-save-search:hover {
            background: linear-gradient(135deg, #e6953a, #d8966c);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(245, 167, 65, 0.3);
        }

        /* Modal styles */
        .modal {
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            padding: 0;
            border-radius: 16px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-header {
            padding: 20px 30px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h3 {
            margin: 0;
            color: #333;
            font-size: 1.3rem;
        }

        .close {
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            color: #999;
            transition: color 0.2s;
        }

        .close:hover {
            color: #f5a741;
        }

        .modal form {
            padding: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #333;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #f5a741;
            box-shadow: 0 0 0 3px rgba(245, 167, 65, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            height: 100px;
        }

        .modal-actions {
            display: flex;
            gap: 15px;
            justify-content: flex-end;
            margin-top: 30px;
        }

        .modal-actions button {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .modal-actions button[type="button"] {
            background: #f8f9fa;
            color: #666;
            border: 2px solid #e0e0e0;
        }

        .modal-actions button[type="button"]:hover {
            background: #e9ecef;
            border-color: #f5a741;
            color: #f5a741;
        }

        .modal-actions button[type="submit"] {
            background: linear-gradient(135deg, #f5a741, #e6a86b);
            color: white;
        }

        .modal-actions button[type="submit"]:hover {
            background: linear-gradient(135deg, #e6953a, #d8966c);
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(245, 167, 65, 0.3);
        }

        /* Pagination avec votre style */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px;
            background: white;
            border-radius: 10px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            margin: 30px 0;
        }

        .pagination a,
        .pagination span {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            text-decoration: none;
            color: #f5a741;
            font-weight: bold;
            border-radius: 50%;
            transition: 0.3s;
            background: white;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
        }

        .pagination a:hover {
            background: #f5a741;
            color: white;
            transform: translateY(-2px);
        }

        .pagination a.active,
        .pagination .active {
            background: #f5a741;
            color: white;
        }

        .pagination span.disabled {
            color: #ccc;
            cursor: not-allowed;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        }

        @media screen and (max-width: 500px) {
            .pagination {
                gap: 4px;
                margin-bottom: 25%;
                z-index: 10;
            }
            
            .pagination a,
            .pagination span {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }
        }

        /* Responsive modal */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 20px;
            }
            
            .modal form {
                padding: 20px;
            }
            
            .modal-header {
                padding: 15px 20px;
            }
        }

        /* Styles pour les notifications */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
            min-width: 300px;
            max-width: 500px;
            padding: 16px 20px;
            border-radius: 12px;
            color: white;
            font-size: 1rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            transform: translateX(100%);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .notification.show {
            transform: translateX(0);
            opacity: 1;
        }

        .notification.success {
            background: linear-gradient(135deg, #28a745, #20c997);
        }

        .notification.error {
            background: linear-gradient(135deg, #dc3545, #fd7e14);
        }

        .notification-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .notification-content i {
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .notification {
                right: 10px;
                left: 10px;
                min-width: auto;
                max-width: none;
            }
        }

        /* Loading state pour les boutons */
        .btn-loading {
            opacity: 0.7;
            cursor: not-allowed;
            pointer-events: none;
        }

        .btn-loading::after {
            content: '';
            width: 16px;
            height: 16px;
            border: 2px solid transparent;
            border-top-color: currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: inline-block;
            margin-left: 8px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }