body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  line-height: 1.3;
}





#footers-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-flow: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
}

#footers-links-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-flow: row;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
}

#footers-links-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-flow: row;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
}

#footers-links-container a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  color: #007BFF;
  font-weight: bold;
  padding: 5px 10px;
  background: #fff;
  transition: background 0.2s;
}

#footers-links-container a:hover {
  color: #333;
  text-decoration: none;
}




.container {
  max-width: 1000px;
  width: 100%;
  background: white;
  padding: 24px 48px;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  flex-flow: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
}

.container_wrapper {
  max-width: 1000px;
  width: 100%;
  padding: 20px;
  margin: 0px auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-flow: column;
  align-items: center;
  align-content: center;
  justify-content: center;
}



.container_left {
  max-width: 1000px;
  width: 100%;
  background: white;
  padding: 24px 48px;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  flex-flow: column;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.container_left_wrapper {
  max-width: 1000px;
  width: 100%;
  padding: 20px;
  margin: 0px auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-flow: column;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  
}




h1 {
  text-align: inherit;
  margin-bottom: 10px;
}

p {
  text-align: inherit;
  color: #555;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
}

input[type="file"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.button {
  padding: 10px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.button:hover {
  background: #0056b3;
}

.button2 {
  padding: 10px;
  background: #FF6633;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 0 6px rgba(0,0,0,0.35);
}

.button2:hover {
  background: #FF6633;
}

.button-active {
  padding: 10px;
  background: #FF6633;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 0 6px rgba(0,0,0,0.35);
}

.button-active:hover {
  background: #FF6633;
}

#result {
  margin-top: 20px;
  text-align: center;
}

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





.custom-upload {
  border: 2px dashed #007BFF;
  padding: 30px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  background-color: #f9f9f9;
  position: relative;
}

.custom-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  cursor: pointer;
}

.custom-upload.dragover {
  background-color: #e6f0ff;
  border-color: #0056b3;
}

.spinner {
  margin: 20px auto;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007BFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

.hidden {
  display: none;
}

#progress-container {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin: 15px 0;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #007BFF;
  transition: width 0.4s ease;
}

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

#error-message {
  color: #d93025;
  background-color: #fdecea;
  padding: 10px;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}

.success-message {
  color: #155724;
  background-color: #d4edda;
  padding: 10px;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}



#index_content {
       
}
#index_content > h2 { text-align: center; }
#index_content > p { text-align: center; line-height: 1.3; }



.language-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.language-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  transition: background 0.2s;
}

.language-bar a:hover {
  background: #f0f0f0;
}

.language-bar img {
  width: 20px;
  height: 14px;
  object-fit: contain;
}

/* conversion_menu */
#conversion_menu {
    display:flex;
    flex-direction: row;
    flex-flow: row;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 0px;
}
#conversion_menu > div {
    box-sizing: border-box;
    padding: 10px 10px;
}
.language-bar-container
{
    display:flex;
    flex-direction: row;
    flex-flow: row;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 0px;
}

/* Barre de navigation sticky */
.navbar {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 100%;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.nav-logo {
    margin: 0 auto;
    max-width:64px;
}

.nav-logo-link {
  font-size: 20px;
  font-weight: bold;
  color: #007BFF;
  text-decoration: none;
}

.nav-logo-container 
{
    display: flex; flex-direction: row; align-items: center; align-content: center;   
}
.nav-logo-container > img:nth-of-type(1) 
{
    box-sizing: border-box;
    margin: 0px 20px 0px 0px;
    padding: 0px;
}
.nav-logo-container > div:nth-of-type(2) 
{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #007BFF;
  font-weight: 500;
  font-size: 14px;
}

.nav-links a:hover {
  color: #333;
  transition: color 0.4s ease;
}

/* Burger button */
.burger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .burger {
    display: block;
    color: #007BFF;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
}