/* DASHBOARD */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300;700&display=swap");

.espace-client-logout {
  background-color: #004080;
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.espace-client-logout:hover {
  background-color: #0066cc;
}

.da-dashboard-container {
  font-family: "Open Sans Condensed", sans-serif;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
}

.da-dashboard-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 100px;
}

.da-logo-section,
.da-user-section {
  width: 50%;
}

.da-logo-section img {
  width: 300px;
  height: 220px;
}

.da-info {
  display: flex;
  flex-direction: column;
}

.da-update-info {
  font-size: 18px;
}

.da-user-section .da-info {
  margin-top: 20px;
}

.da-logout-button {
  padding: 10px 20px;
  background-color: #e74c3c;
  color: #fff;
  text-decoration: none;
  margin-top: 20px;
  width: 150px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
}

.da-logout-button:hover {
  background-color: #c0392b;
}

.da-user-info p {
  font-size: 18px;
}

.da-user-details h3 {
  color: #353535;
  font-size: 18px;
}

.da-user-details p {
  font-weight: 700;
  font-size: 18px;
}

.da-dossier-table {
  width: 100%;
}

.da-dossier-table th {
  width: 33.3%;
  background-color: #dbdbdb;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 20px;
}

.da-dossier-table td {
  width: 33.3%;
  border: #dbdbdb solid 2px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 18px;
}

.da-dossiers h1 {
  font-size: 32px;
  font-weight: 700;
  color: #20955f;
  margin-bottom: 20px;
}

.da-dossiers h2 {
  font-size: 24px;
  font-weight: 300;
  color: #353535;
}

.da-dossier-list {
  list-style-type: none;
  padding: 0;
}

.da-dossier-list li {
  margin: 5px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}

.da-dashboard-paiement {
  margin-top: 50px;
}

.da-dashboard-paiement h2 {
  font-size: 24px;
}

.da-payment-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.da-summary-box {
  width: 45%;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.da-summary-box.da-green {
  background-color: #20955f;
  color: white;
}

.da-summary-box.da-green h1 {
  color: #fff !important;
}

.da-summary-box.da-gray {
  background-color: #f1f1f1;
  color: #333333;
}

.da-summary-box p {
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.da-summary-box h1 {
  margin: 10px 0 0 0;
  font-size: 52px;
  font-weight: bold;
}

.da-reglement-montant {
  display: flex;
  justify-content: space-between;
}

.da-payment-form {
  margin-top: 20px;
  border: none;
}

.da-payment-form h2 {
  font-size: 24px;
}

.da-montant-dossier {
  margin-top: 20px;
  height: 60px;
  border-radius: 20px;
  padding: 15px;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 18px;
  font-weight: 300;
  border: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 20px 0px;
}

.da-montant-souhaite {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  width: 45%;
}

.da-montant-souhaite:focus {
  outline: none;
}

.da-montant-souhaite label {
  font-size: 18px;
}

.da-montant-souhaite input {
  margin-top: 20px;
  height: 60px;
  border-radius: 20px;
  padding: 15px;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 18px;
  font-weight: 300;
  border: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 20px 0px;
}

.da-montant-souhaite input:focus {
  outline: none;
}

.da-espace-cheque {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

.da-cheque {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.da-cheque input,
.da-cheque label {
  font-size: 18px;
}

.da-commentaire label {
  font-size: 18px;
}

.da-commentaire textarea {
  margin-top: 20px;
  width: 98%;
  min-width: 98%;
  max-width: 98%;
  height: 150px;
  border-radius: 15px;
  padding: 15px;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 18px;
  font-weight: 300;
  border: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 20px 0px;
}

.da-commentaire textarea:focus {
  outline: none;
}

.da-total-display {
  margin-top: 50px;
  display: flex;
  justify-content: end;
}

.da-total-inside {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.da-total-inside h2 {
  font-size: 24px;
}

.da-total-inside button {
  background-color: #20955f;
  color: white;
  width: 150px;
  height: 80px;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-radius: 20px;
  margin-top: 20px;
}

.da-montant-total {
  display: flex;
  justify-content: center;
  align-items: center;
}

.da-montant-total p {
  font-size: 32px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield; /* Ajout pour compatibilité */
}

.da-table-responsive::-webkit-scrollbar {
  height: 6px;
}

.da-table-responsive::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .da-dashboard-header {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .da-logo-section,
  .da-user-section {
    width: 100%;
    text-align: center;
  }

  .da-logo-section img {
    width: 200px;
    height: auto;
  }

  .da-user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
  }

  .da-user-info,
  .da-compte,
  .da-info {
    text-align: center;
  }

  .da-update-info,
  .da-logout-button {
    width: 100%;
    margin: 10px 0;
  }

  .da-logout-button {
    font-size: 16px;
  }

  .da-dossiers h1 {
    font-size: 24px;
    text-align: center;
  }

  .da-dossiers h2 {
    font-size: 18px;
    text-align: center;
  }

  .da-payment-summary {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .da-summary-box {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .da-reglement-montant {
    flex-direction: column;
  }

  .da-cheque {
    width: 100%;
  }

  .da-commentaire textarea {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .da-total-display {
    justify-content: center;
  }

  .da-total-inside {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .da-total-inside h2 {
    font-size: 20px;
  }

  .da-total-inside button {
    width: 80%;
    height: 60px;
    font-size: 18px;
  }

  .da-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
    border-radius: 8px;
  }
}

/* LOGIN */

/* Reset */
body,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

body {
  color: #1d1d1b;
  background-color: #f4f4f4;
  font-family: "Open Sans Condensed", sans-serif;
}

/* Containers */
.log-main-connexion {
  margin-top: 20px;
}

.log-ep-container {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
}

/* Header */
.log-ep-header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 100px;
}

.log-ep-header-logo,
.log-ep-header-text {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.log-ep-header-logo img,
.log-ep-header-text img {
  width: 300px;
  height: 220px;
}

.log-ep-header-text img {
  width: 65px;
  height: 65px;
}

.log-ep-header-text p {
  font-weight: 300;
  font-size: 28px;
  color: #007f3c;
}

/* Main Text */
.log-main-text h1 {
  font-weight: 700;
  color: #007f3c;
  font-size: 32px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.log-main-text p {
  font-weight: 300;
  font-size: 18px;
  color: #1d1d1b;
  line-height: 1.5;
}

/* Main Layout */
.log-ep-main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.log-login-section,
.log-help-section {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  padding-bottom: 10px;
}

.log-login-section h2,
.log-help-section h2 {
  color: #007f3c;
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
  padding-bottom: 10px;
}

.log-help-section {
  position: relative;
  background: url("../assets/Group.png") no-repeat center, #20955f;
  background-size: contain;
  display: flex;
  flex-direction: column;
  justify-content: center !important;
  color: #fff;
  border-radius: 50px;
  padding-left: 50px;
}

.log-help-section h2 {
  font-size: 32px;
}

.log-help-section h2,
.log-help-section p {
  color: #fff;
  line-height: 1.5;
  padding-bottom: 20px;
}

.log-help-section p {
  font-size: 24px;
}

/* Forms */
.log-login-form {
  display: flex;
  flex-direction: column;
}

.log-login-form label {
  margin-bottom: 15px;
  font-weight: 300;
  font-size: 18px;
  color: #1d1d1b;
}

.log-login-form input {
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid green;
  border-radius: 15px;
  font-size: 16px;
  height: 45px;
}

.log-login-form input:focus {
  outline: none;
}

.log-login-form button {
  padding: 10px 15px;
  width: 150px;
  background-color: #007f3c;
  color: #fff;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 10px;
}

.log-login-form button:hover {
  background-color: #005f2d;
}

.log-login-message {
  color: #e74c3c;
  font-weight: bold;
  margin-bottom: 15px;
}

.log-help-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: #007f3c;
  font-size: 18px;
}

.log-help-link:hover {
  text-decoration: underline;
}

/* Phone Section */
.log-phone-case {
  display: flex;
  align-items: center;
  font-weight: 700;
}

.log-phone-case img {
  width: 30px;
}

.log-phone-case p {
  padding-left: 20px;
}

.log-phone-case a {
  color: #fff;
}

@media (max-width: 768px) {
  .log-ep-container {
    padding: 20px;
  }

  .log-ep-header {
    flex-direction: column;
    padding-bottom: 30px;
    text-align: center;
  }

  .log-ep-header-logo img {
    width: 250px;
    height: auto;
    padding-bottom: 20px;
  }

  .log-ep-header-text {
    flex-direction: column;
    align-items: center;
  }

  .log-ep-header-text img {
    width: 30px;
    height: 30px;
  }

  .log-ep-header-text p {
    font-size: 16px;
    margin-top: 10px;
  }

  .log-ep-main {
    flex-direction: column;
    gap: 40px;
  }

  .log-login-section,
  .log-help-section {
    padding: 0;
  }

  .log-main-text h1 {
    font-size: 24px;
    text-align: center;
  }

  .log-main-text p {
    font-size: 16px;
    text-align: justify;
  }

  .log-main-connexion h2 {
    font-size: 22px;
    text-align: center;
  }

  .log-login-form {
    width: 100%;
  }

  .log-login-form input {
    font-size: 16px;
    height: 40px;
  }

  .log-login-form button {
    width: 100%;
  }

  .log-help-link {
    text-align: center;
    display: block;
    margin-top: 15px;
  }

  .log-help-section {
    background-size: cover;
    padding: 30px;
    border-radius: 25px;
  }

  .log-help-section h2 {
    font-size: 22px;
    text-align: center;
  }

  .log-help-section p {
    font-size: 16px;
    text-align: left;
  }

  .log-phone-case {
    justify-content: left;
    margin-top: 10px;
  }

  .log-phone-case p {
    padding-left: 10px;
  }
}

/* echec */

body,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

body {
  color: #1d1d1b;
  background-color: #fff;
  font-family: "Open Sans Condensed", sans-serif;
}

.ech-ep-container {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 100px;
}

.ech-logo,
.ech-address {
  width: 50%;
  display: flex;
  align-items: center;
}

.ech-logo {
  justify-content: flex-start;
}

.ech-address {
  justify-content: flex-end;
}

.ech-logo img {
  width: 300px;
  height: 220px;
}

.ech-address img {
  width: 65px;
  height: 65px;
  margin-right: 10px;
}

.ech-address p {
  font-weight: 300;
  font-size: 28px;
  color: #20955f;
}

.ech-article {
  background: #f5f5f5;
  padding: 20px 50px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ech-article img {
  width: 200px;
  height: 200px;
}

.ech-article h2 {
  color: #20955f;
  font-size: 32px;
  font-weight: 700;
  margin: 1rem 0;
}

.ech-article p,
.ech-article a {
  font-size: 24px;
  font-weight: 300;
  color: #20955f;
  line-height: 1.5;
}

.ech-article a {
  text-decoration: underline;
  display: inline-block;
  margin-top: 1rem;
}

.ech-help {
  background-color: #20955f;
  color: #fff;
  border-radius: 50px;
  margin-top: 30px;
  padding: 20px 50px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ech-help h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ech-help p {
  font-size: 24px;
  line-height: 1.5;
  padding-bottom: 20px;
}

.ech-contact-item {
  display: flex;
  align-items: center;
  font-weight: 300;
  margin-bottom: 10px;
}

.ech-contact-item img {
  width: 30px;
}

.ech-contact-item p {
  padding-left: 20px;
}

.ech-contact-item a {
  color: #fff;
  text-decoration: underline;
}

.ech-footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .ech-ep-container {
    padding: 20px;
  }

  .ech-header {
    flex-direction: column;
    text-align: center;
    padding-bottom: 50px;
  }

  .ech-logo,
  .ech-address {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }

  .ech-logo img {
    width: 180px;
    height: auto;
  }

  .ech-address {
    flex-direction: column;
    align-items: center;
  }

  .ech-address img {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
  }

  .ech-address p {
    font-size: 18px;
    text-align: center;
  }

  .ech-article {
    padding: 20px;
    border-radius: 20px;
  }

  .ech-article img {
    width: 120px;
    height: 120px;
  }

  .ech-article h2 {
    font-size: 24px;
  }

  .ech-article p,
  .ech-article a {
    font-size: 18px;
  }

  .ech-help {
    padding: 20px;
    border-radius: 20px;
  }

  .ech-help h2 {
    font-size: 24px;
  }

  .ech-help p {
    font-size: 18px;
  }

  .ech-contact-item p {
    font-size: 16px;
    padding-left: 10px;
  }

  .ech-footer {
    font-size: 12px;
    padding-top: 20px;
    text-align: center;
  }
}

/* VALIDE */

body,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

body {
  color: #1d1d1b;
  background-color: #fff;
  font-family: "Open Sans Condensed", sans-serif;
}

.va-ep-container {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.va-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 100px;
}

.va-logo,
.va-address {
  width: 50%;
  display: flex;
  align-items: center;
}

.va-logo {
  justify-content: flex-start;
}

.va-address {
  justify-content: flex-end;
}

.va-logo img {
  width: 300px;
  height: 220px;
}

.va-address img {
  width: 65px;
  height: 65px;
  margin-right: 10px;
}

.va-address p {
  font-weight: 300;
  font-size: 28px;
  color: #20955f;
}

.va-article {
  background: #f5f5f5;
  padding: 20px 50px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.va-article img {
  width: 200px;
  height: 200px;
}

.va-article h2 {
  color: #20955f;
  font-size: 32px;
  font-weight: 700;
  margin: 1rem 0;
}

.va-article p,
.va-article a {
  font-size: 24px;
  font-weight: 300;
  color: #20955f;
  line-height: 1.5;
}

.va-article a {
  text-decoration: underline;
  display: inline-block;
  margin-top: 1rem;
}

.va-help {
  background-color: #20955f;
  color: #fff;
  border-radius: 50px;
  margin-top: 30px;
  padding: 20px 50px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.va-help h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.va-help p {
  font-size: 24px;
  line-height: 1.5;
  padding-bottom: 20px;
}

.va-contact-item {
  display: flex;
  align-items: center;
  font-weight: 300;
  margin-bottom: 10px;
}

.va-contact-item img {
  width: 30px;
}

.va-contact-item p {
  padding-left: 20px;
}

.va-contact-item a {
  color: #fff;
  text-decoration: underline;
}

.va-footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .va-ep-container {
    padding: 20px;
  }

  .va-header {
    flex-direction: column;
    text-align: center;
    padding-bottom: 50px;
  }

  .va-logo,
  .va-address {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }

  .va-logo img {
    width: 180px;
    height: auto;
  }

  .va-address {
    flex-direction: column;
  }

  .va-address img {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
  }

  .va-address p {
    font-size: 18px;
  }

  .va-article {
    padding: 20px;
    border-radius: 20px;
  }

  .va-article img {
    width: 120px;
    height: 120px;
  }

  .va-article h2 {
    font-size: 24px;
  }

  .va-article p,
  .va-article a {
    font-size: 18px;
  }

  .va-help {
    padding: 20px;
    border-radius: 20px;
  }

  .va-help h2 {
    font-size: 24px;
  }

  .va-help p {
    font-size: 18px;
  }

  .va-contact-item p {
    font-size: 16px;
    padding-left: 10px;
  }

  .va-footer {
    font-size: 12px;
    padding-top: 20px;
  }
}
