/* Connexion */
.form-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f2f5;
}

.form-box {
    width: 100%;
    max-width: 550px;
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-logo {
    margin-bottom: 25px;
}

.form-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
}

.form-fields .field-wrapper {
    margin-bottom: 20px;
    text-align: left;
}

.field-wrapper label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
}

.field-wrapper a {
    font-weight: 600;
    text-decoration: underline;
    color: #4570b1;
}

.input-icon {
    display: flex;
    align-items: center;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px;
}

.input-icon .icon {
    color: #ccc;
    margin-right: 8px;
}

.input-icon input.form-control {
    border: none;
    background: transparent;
    outline: none;
    flex-grow: 1;
    padding: 8px 4px;
    font-size: 14px;
}

.input-icon input.form-control:focus {
    outline: none;
    box-shadow: none;
}

#toggle-password, #toggle-confirm_password {
    margin-left: 10px;
    cursor: pointer;
    color: #ccc;
}

/* Tableau de bord */
.admin-dashboard {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
    color: #222;
}

.admin-dashboard h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.admin-dashboard span {
    color: #b52e23;
}

.admin-dashboard p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.dashboard-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.card {
    background: #f7f9fc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    padding: 30px 20px;
    width: 300px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgb(0 0 0 / 0.15);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #b52e23;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/*Contact & Infos*/
.info-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-list a {
    color: #007bff;
    text-decoration: none;
}

.info-list a:hover {
    text-decoration: underline;
}

.form-line {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.form-label {
  width: 180px;
  font-weight: bold;
  display: flex;
  align-items: center;
  color: #333;
}

.form-icon {
  margin-right: 8px;
  color: red;
  font-size: 1.1em;
}

.form-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  min-height: 40px;
  font-size: 14px;
}

textarea.form-input {
  resize: vertical;
  min-height: 60px;
}

@media (max-width: 600px) {
  .form-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-label {
    width: auto;
    margin-bottom: 5px;
  }

  .form-input {
    width: 100%;
  }
}