body { font-family: 'Inter', sans-serif; background-color: #f3f4f6; color: #1f2937; margin: 0; padding: 20px; }
.navbar { background: white; padding: 15px; text-align: center; margin-bottom: 30px; border-radius: 10px; }
.logo { font-weight: 900; color: #2563eb; text-decoration: none; font-size: 1.2rem; margin-right: 20px; }
.back-link { color: #6b7280; text-decoration: none; font-size: 0.9rem; }
.container { max-width: 800px; margin: 0 auto; background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); }
.header-result { text-align: center; margin-bottom: 30px; }
h1 { margin: 0; font-size: 2rem; color: #111827; }
.subtitle { color: #6b7280; margin-top: 5px; font-weight: 500; }

/* Cadre résultat principal */
.big-result-box { background: #eff6ff; border: 2px solid #2563eb; border-radius: 15px; padding: 30px; text-align: center; margin: 30px 0; }
.label-top { font-size: 0.8rem; font-weight: 700; color: #2563eb; letter-spacing: 1px; text-transform: uppercase; }
.big-amount { font-size: 3.5rem; font-weight: 800; color: #2563eb; margin: 10px 0; }
.tax-info { font-size: 0.9rem; color: #6b7280; }

/* Grilles */
.grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.card { padding: 20px; border-radius: 12px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.net-card { background: #f9fafb; border: 1px solid #e5e7eb; }
.brut-card { background: #f3f4f6; border: 1px dashed #9ca3af; } /* Style Brut */
.amount { font-size: 1.4rem; font-weight: 700; color: #111827; }
.label { font-size: 0.8rem; color: #6b7280; margin-top: 5px; text-transform: uppercase; }

.separator { border: 0; border-top: 1px solid #e5e7eb; margin: 40px 0; }
.section-title { text-align: center; font-size: 1.2rem; color: #4b5563; margin-bottom: 20px; }

/* Barre de recherche V2 */
.search-box-container { text-align: center; background: #f8fafc; padding: 25px; border-radius: 15px; margin-top: 40px; }
.input-group-styled { display: flex; border: 2px solid #2563eb; border-radius: 50px; overflow: hidden; max-width: 600px; margin: 0 auto; background: white; }
.input-group-styled input { border: none; padding: 15px; flex-grow: 1; outline: none; padding-left: 20px; font-size: 1rem; }
.input-group-styled select { border: none; border-left: 1px solid #e5e7eb; background: #f9fafb; padding: 0 15px; font-weight: bold; color: #374151; outline: none; cursor: pointer; }
.input-group-styled button { border: none; background: #2563eb; color: white; padding: 15px 25px; font-weight: bold; cursor: pointer; }
.input-group-styled button:hover { background: #1d4ed8; }
.small-info { font-size: 0.8rem; color: #9ca3af; margin-top: 10px; }

@media (max-width: 600px) { 
    .grid-container { grid-template-columns: 1fr; } 
    .big-amount { font-size: 2.5rem; } 
    .input-group-styled { flex-direction: column; border-radius: 15px; }
    .input-group-styled input, .input-group-styled select, .input-group-styled button { width: 100%; border-left: none; border-bottom: 1px solid #eee; text-align: center; }
}