.chatbox-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  margin: 0;
  font-family: Poppins;
  margin-top: 5%;

  .chatbox {
    display: flex;
    flex-direction: column;
    width: 700px;
    height: 600px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem;

    .chatbox-header {
      padding: 10px;
      background-color: black;
      color: #ed43d9;
      text-align: center;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      font-size: 36px;
    }
    
    h1 {
      font-size: 36px;
    }

    .three-boxes {
      display: flex;
      justify-content: space-between;
      padding: 10px;
      background-color: #f1f1f1;
      border-bottom: 1px solid #ccc;
      border-radius: 10px;

      .box {
        flex: 1;
        margin: 0 10px;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
        background-color: #fff;
        color: #000; /* Change text color to black */

        &:first-child {
          margin-left: 0;
        }

        &:last-child {
          margin-right: 0;
        }

        &:hover {
          cursor: pointer; /* Change cursor to pointer on hover */
          background-color: #e0e0e0; /* Add a hover effect */
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add a slight shadow effect */
        }
      }
    }

    .chatbox-body {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
      border-bottom: 1px solid #ccc;

      .message {
        margin: 10px 0;
        padding: 10px;
        border-radius: 10px;
        max-width: 75%;
        clear: both;

        &.user {
          background-color: #ed43d9;
          color: #fff;
          align-self: flex-end;
        }

        &.assistant {
          background-color: #f1f1f1;
          color: #000;
          align-self: flex-start;
        }

        pre {
          background-color: #f1f1f1;
          padding: 10px;
          border-radius: 5px;
          overflow-x: auto;

          code {
            font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
            background-color: #f1f1f1;
            padding: 2px 4px;
            border-radius: 5px;
            color: #ed43d9; // Change the code text color
          }
        }
      }
    }

    .chatbox-footer {
      display: flex;
      align-items: center; /* Align items vertically center */
      padding: 10px;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
      background-color: #f1f1f1;

      input[type="text"] {
        flex: 1;
        padding: 10px;
        margin-right: 10px; /* Add margin between input and button */
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
        width: 100%;
      }
    }

    input[type="file"] {
      flex: 1;
      padding: 10px;
      margin-top: 10px;
      margin-right: 10px; /* Add margin between input and button */
      border: 1px solid #ccc;
      border-radius: 5px;
      outline: none;
    }

    button {
      padding: 10px;
      border: none;
      border-radius: 5px;
      background-color: #2b00ff;
      color: #ffffff;
      cursor: pointer;

      &:hover {
        background-color: #f0188c;
      }
    }
  }
}

body.page-id-27208 .row.align-items-center.mobile-reverse {
  flex-direction: column;
}
body.page-id-27208 a.down-icon {
  display: none;
}