 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f4f4f9;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            flex: 1;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
            color: #444;
        }

        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            max-height: 60px;
            height: auto;
        }

        .search-form {
            display: flex;
            width: 100%;
            max-width: 600px;
        }

        #search-input {
            flex: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 25px 0 0 25px;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        #search-input:focus {
            border-color: #007BFF;
        }

        #search-button {
            padding: 12px 24px;
            background-color: #007BFF;
            color: white;
            border: none;
            border-radius: 0 25px 25px 0;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }

        #search-button:hover {
            background-color: #0056b3;
        }

        .results-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .search-results, .wikipedia-summary, .page-contenu {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 20px;
        }

        .wikipedia-link {
            margin-top: 15px;
        }

        .wikipedia-link a {
            color: #007BFF;
            text-decoration: none;
            font-weight: bold;
        }

        .wikipedia-link a:hover {
            text-decoration: underline;
        }

        .wiki-result-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .wiki-result-item {
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: 6px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.1);
            padding: 8px 12px;
            transition: background-color 0.2s, box-shadow 0.2s;
        }

        .wiki-result-item:hover {
            background-color: #f0f4ff;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        }

        .wiki-result-item img {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
            margin-right: 10px;
        }

        .wiki-result-item a {
            font-weight: 500;
            text-decoration: none;
            color: #007BFF;
        }

        .wiki-result-item a:hover {
            text-decoration: underline;
        }


        footer {
            background-color: #333;
            color: white;
            padding: 20px 0;
            margin-top: 20px;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding: 0 20px;
            gap: 20px;
        }

        .copyright {
            text-align: left;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons a {
            color: white;
            font-size: 18px;
        }

        .footer-links {
            text-align: right;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            margin-left: 15px;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        #weather-info {
            background-color: #2b7fff;
            border: 1px solid #0d66ed;
            border-radius: 8px;
            padding: 10px;
            font-size: 14px;
            color:white;
            display: none;
        }

        #weather-info a {
            color: white;
            text-decoration: underline;
        }

        #weather-info a:hover {
            color: #e0e0e0;
        }

        @media (min-width: 768px) {
            .results-container {
                flex-direction: row;
                align-items: flex-start;
            }

            .search-results {
                flex: 2;
            }

            .wikipedia-summary {
                flex: 1;
            }
        }

        .company-result-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 10px;
        }

        .company-result-item {
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.1);
            padding: 12px 16px;
            transition: background-color 0.2s, box-shadow 0.2s;
        }

        .company-result-item:hover {
            background-color: #f9fbff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .company-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            margin-bottom: 6px;
            color: #333;
        }

        .company-header i {
            color: #007BFF;
        }

        .company-details small {
            color: #666;
            line-height: 1.4;
        }

        .company-details a {
            color: #007BFF;
            text-decoration: none;
            font-weight: 500;
        }

        .company-details a:hover {
            text-decoration: underline;
        }

        .badge {
            display: inline-block;
            padding: 2px 6px;
            font-size: 12px;
            border-radius: 12px;
            vertical-align: middle;
            margin-left: 8px;
        }

        .badge-active {
            background-color: #d4edda;
            color: #155724;
        }

        .badge-inactive {
            background-color: #f8d7da;
            color: #721c24;
        }

         .news-summary {
             background: #fff;
             border-radius: 8px;
             box-shadow: 0 2px 8px rgba(0,0,0,0.1);
             padding: 15px;
             margin-top: 20px;
         }

         .news-summary h3 {
             font-size: 1.1rem;
             margin-bottom: 10px;
             color: #333;
         }

         .news-summary ul {
             list-style: none;
             padding-left: 0;
         }

         .news-summary li {
             margin-bottom: 8px;
             line-height: 1.4;
         }

         .news-summary a {
             color: #007BFF;
             text-decoration: none;
         }

         .news-summary a:hover {
             text-decoration: underline;
         }
