<style>
    body {
      font-family: 'Georgia', serif;
      background-color: #f2f2f2;
      color: #00254d;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
     
    }

    .ipad-frame {
      background: black;
      width: 1366px;
      height: 1024px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 30px;
      padding: 20px;
    }

    .content {
      width: 90%;
      height: 90%;
      background: white;
      padding: 20px;
      
      
      border-radius: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }

    h2 {
      font-family: 'Times New Roman', Times, serif;
      color: #00254d;
      margin: 10px 0;
    }

    img.logo {
      max-width: 300px;
      height: auto;
      margin-bottom: 20px;
    }

    input[type="text"], textarea, select {
      width: 90%;
      max-width: 400px;
      padding: 10px;
      border: 1px solid #d4af37;
      border-radius: 4px;
      margin-bottom: 10px;
      font-size: 16px;
      position: relative;
    }

    #suggestions {
      border: 1px solid #d4af37;
      background: #ffffff;
      color: #00254d;
      max-height: 300px;
      overflow-y: auto;
      width: 90%;
      max-width: 400px;
      box-sizing: border-box;
      margin-top: 10px;
      z-index: 1000;
    }

    #suggestions div {
      padding: 10px;
      cursor: pointer;
      border-bottom: 1px solid #d4af37;
    }

    #suggestions div:hover {
      background: #d4af37;
      color: #ffffff;
    }

    .details-comment-container {
      width: 100%;
      display: flex;
      justify-content: space-between;
      display: none;
    }

    #details-container, #comment-section {
      width: 48%;
    }

    #details-container {
      background: #ffffff;
      border: 1px solid #d4af37;
      padding: 20px;
      margin-top: 20px;
      border-radius: 8px;
    }

    #client-details h2 {
      color: #d4af37;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    #transactions {
      margin-top: 20px;
      text-align: left;
    }

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

    .transaction-list li {
      border-bottom: 1px solid #d4af37;
      padding: 10px 0;
    }

    p {
      margin: 5px 0;
    }

    p strong {
      color: #00254d;
    }

    .editable {
      border: 1px solid #d4af37;
      border-radius: 4px;
      padding: 5px;
      width: 100%;
      box-sizing: border-box;
    }

    .edit-icon {
      top: 10px;
      right: 10px;
      width: 24px;
      height: 24px;
      cursor: pointer;
    }

    .pen-icon {
      cursor: pointer;
      width: 24px;
      height: 24px;
    }

    .non-editable {
      background-color: #f2f2f2;
      border: none;
      color: #00254d;
    }

    .pop-in {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #ffffff;
      border: 1px solid #d4af37;
      border-radius: 8px;
      width: 80%;
      max-width: 300px;
      z-index: 1000;
      text-align: center;
      padding: 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .pop-in h3 {
      font-family: 'Times New Roman', Times, serif;
      color: #00254d;
    }

    .pop-in button {
      margin: 10px;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
    }

    .pop-in .confirm {
      background-color: #d4af37;
      color: #ffffff;
    }

    .pop-in .cancel {
      background-color: #f2f2f2;
      color: #00254d;
    }

    .pop-in .confirm:hover {
      background-color: #00254d;
      color: #d4af37;
    }

    .pop-in .cancel:hover {
      background-color: #d4af37;
      color: #ffffff;
    }

    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 500;
    }

    #comment-section {
      width: 48%;
      display: none;
      background: #ffffff;
      border: 1px solid #d4af37;
      padding: 20px;
      margin-top: 20px;
      border-radius: 8px;
    }

    #comment-section h2 {
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #d4af37;
    }

    #comment-textarea {
      display: none;
      width: 100%;
    }

    #comment-section textarea {
      width: 100%;
      height: 100px;
    }

    #comment-section button {
      background-color: #d4af37;
      color: #ffffff;
      border: none;
      padding: 10px 20px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin-top: 10px;
      cursor: pointer;
      border-radius: 4px;
    }

    #comment-section button:hover {
      background-color: #00254d;
      color: #d4af37;
    }

    #save-button {
      background-color: #d4af37;
      color: #ffffff;
      border: none;
      padding: 10px 20px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin-top: 10px;
      cursor: pointer;
      border-radius: 4px;
      display: none; /* Masqué par défaut */
    }

    #save-button:hover {
      background-color: #00254d;
      color: #d4af37;
    }

    .add-contact {
      margin-left: 10px;
      background-color: #d4af37;
      color: #ffffff;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      font-size: 24px;
      line-height: 40px;
      cursor: pointer;
    }

    .user-info {
      position: absolute;
      top: 20px;
      right: 20px;
      color: #00254d;
      font-size: 16px;
      background: #ffffff;
      padding: 10px;
      border-radius: 8px;
    }

    p {
      justify-content: space-between;
      align-items: center;
    }

    p input[type="text"] {
      flex: 1;
      margin-left: 40px;
    }

    /* CSS pour styliser le bouton Check-in */
    .checkin-button {
      background-color: #d4af37; /* Couleur de fond dorée */
      color: #ffffff; /* Couleur du texte blanche */
      border: none; /* Pas de bordure */
      border-radius: 5px; /* Coins arrondis */
      padding: 10px 20px; /* Espacement interne (haut, droite, bas      padding: 10px 20px; /* Espacement interne (haut, droite, bas, gauche) */
      font-size: 16px; /* Taille de police */
      font-family: 'Georgia', serif; /* Police de caractères */
      cursor: pointer; /* Curseur en forme de main au survol */
      transition: background-color 0.3s ease, color 0.3s ease; /* Transition pour les effets de survol */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre pour donner un effet de relief */
      margin-left: 20px; /* Marge gauche */
      margin-right: 20px; /* Marge droite */
      margin-top: 10px; /* Marge supérieure */
    }

    /* Effet de survol */
    .checkin-button:hover {
      background-color: #00254d; /* Couleur de fond bleue foncée */
      color: #d4af37; /* Couleur du texte dorée */
    }

    /* Effet de clic */
    .checkin-button:active {
      background-color: #001f3b; /* Couleur de fond encore plus foncée au clic */
      color: #f2f2f2; /* Couleur du texte plus claire au clic */
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Réduire l'ombre pour un effet de clic */
      transform: translateY(1px); /* Légère translation vers le bas pour effet de clic */
    }

    /* CSS pour styliser la liste déroulante */
    .dropdown {
      width: 90%;
      max-width: 400px;
      padding: 10px;
      border: 1px solid #d4af37;
      border-radius: 4px;
      margin-bottom: 10px;
      font-size: 16px;
      position: relative;
      font-family: 'Georgia', serif; /* Police de caractères */
    }
  </style>