/* Font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --primary-color: #f7a81b;
  --sombre-color: #54565a;
  --sombre-color-hover: #3e3f42;
  --background-color: #fff;
  --text-color: #ffffff;
  --font-family-main: "Open Sans", sans-serif;
  --rotaryblue: "#019fcb";
  --rotarygray: "#98a4b2";
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-main);
}

body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--sombre-color);
  background: var(--background-color);
}

/* Container */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 100% !important;
}

form button {
  width: 15em;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  background: var(--sombre-color);
  color: var(--text-color);
  cursor: pointer;
  margin-bottom: 10px;
}

form button:hover {
  background-color: var(--sombre-color-hover);
}

.sub-form {
  display: flex;
  flex-direction: row;
}

.menu-horizontal > li:not(.menu-title) > details > ul {
  width: 11rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-control-admin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;  
}

.form-control-button {
  width: 200px; /* Largeur de base pour l'élément parent */
}

/* Image */

.image {
  width: 100%;
  margin-top: 2rem;
}

img {
  display: block;
}

.msg {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 1rem;
}

/* Footer */

.footer {
  bottom: 0;
  text-align: center;
  width: 100%;
}

.footer > p {
  text-align: center;
  margin-top: 2rem;
}

.toast {
  margin-bottom: 3%;
  z-index: 1;
}

.height-87vh {
  height: 87vh !important
}

.visibility-toggle {
  position: absolute;
  top: 33px;
  right: -8px;
  padding: 1rem;
  cursor: pointer;
}

.visibility-toggle-login {
  position: absolute;
  top: -3px;
  right: -8px;
  padding: 1rem;
  cursor: pointer;
}