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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

header {
    text-align: center;
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.2em;
    font-weight: 300;
}

.warning-banner {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(255,107,107,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.warning-banner h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52,152,219,0.2);
}

.form-group small {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

.check-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.check-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.4);
}

.results-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.result-positive {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.result-negative {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.result-uncertain {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.info-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.emergency-section {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(231,76,60,0.3);
}

.emergency-section h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.emergency-info {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
}

.emergency-info h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
}

.emergency-info ul {
    margin: 15px 0;
    padding-left: 20px;
}

.emergency-info li {
    margin-bottom: 8px;
}

.contact-info {
    background: white;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-info h4 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.actions-list {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.actions-list h4 {
    margin-bottom: 10px;
}

.actions-list ul {
    list-style-type: none;
    padding-left: 0;
}

.actions-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.actions-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

footer {
    background: #34495e;
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

footer p {
    margin-bottom: 5px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .form-section,
    .info-section,
    .emergency-section {
        padding: 20px;
    }
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

/* Sélecteur de langue */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 15px;
    z-index: 1000;
    border: 2px solid #3498db;
}

.language-selector select {
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 140px;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52,152,219,0.3);
}

.language-selector select:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 10px rgba(52,152,219,0.4);
}

/* Animation pour le changement de langue */
.language-transition {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
        padding: 10px;
    }

    .language-selector select {
        min-width: 120px;
        padding: 6px 10px;
        font-size: 13px;
    }
}