:root {
    --fsh-red: #EE2436;
    --fsh-black: #1A1A1A;
    --fsh-gray: #F4F4F4;
}

body { font-family: 'Inter', sans-serif; margin: 0; background: var(--fsh-gray); }
.login-page { background: var(--fsh-black); display: grid; place-items: center; height: 100vh; }
.login-card { text-align: center; background: #222; padding: 2rem; border-radius: 15px; border-bottom: 5px solid var(--fsh-red); }

header { background: var(--fsh-black); color: white; padding: 1rem; border-bottom: 4px solid var(--fsh-red); position: sticky; top: 0; }
.container { max-width: 800px; margin: auto; padding: 20px; }

.search-box { display: flex; gap: 10px; margin-bottom: 30px; }
input { flex: 1; padding: 15px; border: 2px solid #ddd; border-radius: 10px; font-size: 16px; }
button { background: var(--fsh-red); color: white; border: none; padding: 15px 25px; border-radius: 10px; cursor: pointer; font-weight: bold; }

.result-card { background: white; padding: 20px; border-radius: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: none; }
.source-tag { font-size: 12px; color: var(--fsh-red); font-weight: bold; text-transform: uppercase; margin-bottom: 10px; display: block; }

/* Complément pour style.css */
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.red-text { color: var(--fsh-red); font-weight: 900; }
.badge { background: #333; font-size: 10px; padding: 2px 6px; border-radius: 4px; vertical-align: middle; margin-left: 5px; }

.hero { text-align: center; margin-top: 40px; margin-bottom: 40px; }
.hero h1 { font-size: 2.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 10px; }
.hero p { color: #666; font-size: 1.1rem; }

.answer-content { line-height: 1.6; font-size: 1.1rem; color: #333; margin-top: 15px; }
.logout-btn { color: #999; text-decoration: none; font-size: 12px; border: 1px solid #444; padding: 5px 10px; border-radius: 5px; transition: 0.3s; }
.logout-btn:hover { background: #EE2436; color: white; border-color: #EE2436; }

/* Loader simple en CSS */
.loader {
    width: 20px; height: 20px; border: 3px solid #FFF; border-bottom-color: transparent;
    border-radius: 50%; display: inline-block; box-sizing: border-box;
    animation: rotation 1s linear infinite; position: absolute; left: 40%; top: 30%;
}
@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Responsive mobile */
@media (max-width: 600px) {
    .hero h1 { font-size: 1.8rem; }
    .search-box { flex-direction: column; }
    button { width: 100%; }
}