body { font-family: Arial, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; } #api-container { display: flex; margin-bottom: 20px; } #search-container { display: flex; margin-bottom: 20px; } #apikey-input { flex-grow: 1; padding: 10px; font-size: 16px; border: 1px solid #ccc; border-radius: 4px 0 0 4px; } #keyword-input { flex-grow: 1; padding: 10px; font-size: 16px; border: 1px solid #ccc; border-radius: 4px 0 0 4px; } #search-button { padding: 10px 20px; background-color: #4CAF50; color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 16px; } #plan-button { padding: 10px 20px; background-color: #4C50AF; color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 16px; } #plan-button:hover { background-color: #3e4a9b; } #search-button:hover { background-color: #45a049; } #results-container { margin-top: 20px; } .paper-result { border: 1px solid #ddd; margin-bottom: 20px; padding: 15px; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .paper-title { font-weight: bold; font-size: 18px; margin-bottom: 10px; color: #333; } .paper-authors { color: #666; margin-bottom: 5px; font-style: italic; } .paper-date { color: #888; margin-bottom: 10px; font-size: 14px; } .paper-abstract { line-height: 1.6; white-space: pre-line; color: #444; } .paper-id { color: #999; font-size: 12px; text-align: right; margin-top: 10px; } .loading { text-align: center; padding: 20px; font-style: italic; color: #666; } .error-message { color: #d9534f; padding: 10px; border: 1px solid #d9534f; border-radius: 4px; background-color: #f9f2f2; } /* Styles pour la popup */ .popup { display: none; /* Cachée par défaut */ position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); /* Fond assombri */ justify-content: center; align-items: center; } /* Contenu de la popup */ .popup-content { background: white; padding: 20px; border-radius: 10px; text-align: center; width: 65%; height: 70%; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; } /* Champ texte défilant */ .scrollable-text { flex-grow: 1; margin-top: 10px; padding: 10px; border: 1px solid #ccc; border-radius: 5px; height: 100%; overflow: auto; background: #f9f9f9; text-align: left; } /* Bouton de fermeture */ .close { align-self: flex-end; font-size: 24px; cursor: pointer; font-weight: bold; } .no-scroll { overflow: hidden; }