/* ============================================================
   organization.css
   ============================================================ */


/* ==============================
   TYPOGRAPHIE & LAYOUT
============================== */

h1 {
  text-align: center;
  font-size: 25px;
  font-weight: 600;
  margin-top: 120px;
  margin-bottom: 80px;
}

.page-header {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 80px;
}

.page-header h1 {
  margin-top: 0;
  margin-bottom: 0;
}

.page-subtitle {
  font-size: 13px;
  color: var(--redlina-graytext-1);
  margin-bottom: 8px;
}

h2 {
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
}


/* ==============================
   BANDEAU AVERTISSEMENT
============================== */

.org-warning {
  max-width: 280px;
  margin: 0 auto 50px auto;
  padding: 12px 20px;
  background: #F2EFEB;
  border: 1px solid #E82615;
  border-radius: 12px;
  font-size: 13px;
  color: #E82615;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}


/* ==============================
   SECTION
============================== */

.global-section {
  background-color:var(--redlina-background-2);
  max-width: 400px;
  padding: 30px 50px 40px 50px;
  margin: 0 auto 50px auto;
  border-radius: 25px;
}


/* ==============================
   FORMULAIRE
============================== */

.global-form {
  background: transparent;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.global-form label {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}

.global-form input,
.global-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  border:1px solid var(--redlina-grayline-2);
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.global-form button {
  align-self: flex-end;
  height: 40px;
  margin-top: 10px;
  margin-bottom: 0px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: #000;
  color: #F1F1F1;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.global-form button:hover {
  opacity: 0.8;
}

input::placeholder,
textarea::placeholder {
  color: #B6B6B6;
  opacity: 1;
}

input:disabled {
  color: #B6B6B6;
  opacity: 1;
}

.field-hint {
  font-size: 11px;
  color: var(--redlina-graytext-2);
  margin-top: 2px;
  margin-bottom: 6px;
}

/* Supprimer les flèches des inputs number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Suppression flèche des selects + design correct input select sur Safari / Chrome */
.global-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


/* ==============================
   STYLE SELECT SAFARI
============================== */
select {
  color: var(--redlina-black);
  -webkit-text-fill-color: var(--redlina-black);
}

/* ==============================
   STATUS MESSAGES
============================== */

.global-section > p {
  font-size: 12px;
  min-height: 18px;
  margin-bottom: 10px;
  }