/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* En-tête */
header {
    background-color: #3B77AE;
    color: white;
    text-align: center;
    padding: 20px 10px;
}

header h1 {
    font-size: 36px;
    margin: 5px 0;
    font-weight: bold;
    letter-spacing: 1px;
}

header p {
    margin: 2px 0;
    font-size: 16px;
    font-weight: 300;
}

/* Barre de langue */
#language-bar {
    height: 40px;
    background: #e6e6e6;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#language-bar img {
    height: 24px;
    width: auto;
    cursor: pointer;
}

/* Conteneur principal */
.container {
    padding: 5px;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #003366;
    margin-bottom: 10px;
}

/* Section d'information */
.info {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.info p {
    margin: 5px 0;
}

/* Sections de boutons */
#accident-section,
#emergency-section,
#hospital-section,
#emergency-situation-section,
#documents-section,
#sante-travail-section {
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}

/* Conteneurs de boutons */
.button-container {
    text-align: center;
    margin: 10px 0;
    position: relative;
    z-index: 2;
}

/* Conteneurs de boutons de fermeture */
.close-button-container {
    text-align: right;
    padding: 0px;
}

/* Bouton principal (style commun) */
.bouton-principal {
    width: 90%;
    max-width: 400px;
    height: 44px;
    padding: 0;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px auto;
    display: block;
    line-height: 44px;
}

/* Boutons rouges */
#accident-button,
#emergency-button,
#hospital-button {
    background-color: #ff4d4d;
    width: 90%;
    max-width: 400px;
}

#accident-button:hover,
#emergency-button:hover,
#hospital-button:hover {
    background-color: #ff3333;
}

/* Boutons orange */
#emergency-situation-button,
#regles-securite-button,
#sante-travail-button {
    background-color: #FFA500;
    width: 90%;
    max-width: 400px;
}

#emergency-situation-button:hover,
#regles-securite-button:hover,
#sante-travail-button:hover {
    background-color: #FF8C00;
}

/* Sections dépliables */
#accident-details,
#emergency-details,
#hospital-details,
#regles-securite-details,
#sante-travail-details {
    display: none;
    padding: 10px;
    background-color: #e0e0e0;
    border: 1px solid #bbb;
    border-radius: 5px;
    margin: 5px auto 15px auto;
    width: 90%;
    max-width: 480px;
    position: relative;
}

/* Boutons de fermeture */
#close-accident-details,
#close-emergency-details,
#close-hospital-details,
#close-regles-securite-details,
#close-sante-travail-details {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    color: #333;
}

#close-accident-details:hover,
#close-emergency-details:hover,
#close-hospital-details:hover,
#close-regles-securite-details:hover,
#close-sante-travail-details:hover {
    color: #ff0000;
}

#accident-steps {
    list-style-type: decimal;
    padding-left: 10%;
    font-size: 16px;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
}

#accident-steps li {
    margin-bottom: 10px;
}

#accident-steps button {
    background: none;
    border: none;
    cursor: pointer;
    color: blue;
}

/* Boutons d'appel (bleus) */
.bouton-appel {
    width: 80%;
    max-width: 300px;
    height: 44px;
    padding: 0;
    background-color: #0066cc;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 5px auto;
    text-align: center;
    text-decoration: none;
    line-height: 44px;
}

.bouton-appel:hover {
    background-color: #005bb5;
}

.bouton-appel .icon {
    margin-right: 5px;
}

/* Section contact */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.contact a {
    display: block;
    color: white;
    background-color: #3B77AE;
    text-decoration: none;
    padding: 0;
    height: 44px;
    border-radius: 5px;
    text-align: center;
    width: 80%;
    max-width: 400px;
    line-height: 44px;
    margin: 5px auto;
}

.contact a:hover {
    background-color: #316799;
}

/* Section hôpital */
.hospital-item {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align: left;
}

.hospital-item img {
    height: 30px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

/* Bouton orange */
.bouton-orange {
    width: 90%;
    max-width: 400px;
    padding: 15px;
    background-color: #FFA500; /* Orange */
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px auto;
    display: block;
}

.bouton-orange:hover {
    background-color: #FF8C00; /* Orange foncé */
}

/* Style pour les liens de documents */
#regles-securite-documents a,
#sante-travail-documents a {
    display: block;
    width: 80%;
    max-width: 300px;
    height: 50px;
    padding: 0;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px auto;
    text-align: center;
    line-height: 50px;
}

#regles-securite-documents a:hover,
#sante-travail-documents a:hover {
    background-color: #005bb5;
}

/* Pied de page */
#app-info {
    background-color: #f2f2f2;
    color: #bdbdbd;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-top: 1px solid #ddd;
}

#app-info p {
    margin: 0;
}

/* Message de prévention */
#message-prevention {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    text-align: center;
}

#prevention-text {
    margin: 0 auto;
    line-height: 1.5;
    font-size: 15px;
}

#prevention-text strong {
    color: red;
    font-weight: bold;
}

#prevention-text strong[style*="color: red"] {
    color: red !important;
    font-weight: bold;
}

#hospital-info {
    margin-bottom: 10px;
}

#all-hospitals {
    margin-top: 10px;
} 