
.recording-button {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #77041e;
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
}

.recording-button:active:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 4px dashed white;
  border-radius: 50%;
 
}



.chatbox_ai {
background: linear-gradient(to bottom, #75306C 29%, #56094c 91%);
padding: 10px;
border-radius: 20px 5px 20px 20px;
margin: 20px auto;
width: calc(100% - 20px);
max-width: 800px;
margin-left: 500px auto;
}

.chatbox {
background: linear-gradient(to bottom, #56094c 9%, #77041e 100%);
padding: 10px;
border-radius: 20px 5px 20px 20px;
margin: 20px auto;
width: calc(100% - 20px);
max-width: 800px;
margin-left: 500px auto;
}



.message {
display: flex;
align-items: center;
margin-bottom: 10px;
}

.avatar_ai {
width: 50px;
height: 50px;
border-radius: 50%;
overflow: hidden;
margin-right: 10px;
position: relative;
top: -30px; /* Adjust the value as needed */
right: -20px;
transform: translateX(-50%);
border: 2px solid #77044f; /* Change the color and size as desired */
box-sizing: border-box;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5); /* Adjust the shadow values as needed */
}

.avatar {
width: 50px;
height: 50px;
border-radius: 50%;
overflow: hidden;
margin-right: 10px;
position: relative;
top: -30px; /* Adjust the value as needed */
right: -20px;
transform: translateX(-50%);
border: 2px solid rgb(119, 15, 86); /* Change the color and size as desired */
box-sizing: border-box;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5); /* Adjust the shadow values as needed */
}


.avatar img, .avatar_ai img {
width: 100%;
height: auto;
}

.message-content {
flex-grow: 1;
}

.header {
display: flex;
justify-content: space-between;
align-items: center;
}

.name {
position: relative;
font-weight: bold;
top: 5px;
color: white;
font-family:  sans-serif;

}

.date {
font-size: 14px;
color: white;
font-family:  sans-serif;

}

.sound-bar {
display: flex;
align-items: center;
}

.text {
font-size: 16px;
display: block;
color: white;
margin-top: 10px;
font-family: sans-serif;
white-space: pre-wrap;
}


.audio-player_ai {
margin-top: 20px;
width: 100%;
height: 10px;
border: none;
border-radius: 25px;
padding: 8px;
background-color: white;
}

.audio-player {
margin-top: 20px;
width: 100%;
height: 10px;
border: none;
border-radius: 25px;
padding: 8px;
background-color: white;
}

/* .audio-player::-webkit-media-controls {
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 4px;
padding: 8px;
} */

.audio-player_ai::-webkit-media-controls-enclosure {
display: flex;
align-items: center;
background-color: white;
margin: auto;
}

.audio-player::-webkit-media-controls-enclosure {
display: flex;
align-items: center;
background-color: white;
margin: auto;
}



    /* Style for the chatbox container */
    .chatbox-container {
      width: 100%;
      background-color: #e0e0e0;
      border-radius: 26px;
      margin: 0 auto;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      /* font-family: Arial, sans-serif; */
      max-width: 800px;
      overflow: hidden;
      /* padding-top: 10px; */
      /* padding-bottom: 10px; */
      border: 1px solid #aeaeae;
      padding-bottom: 18px;
      height: 81vh;
      margin-top: 100px;
  }

    /* Style for the chatbox header */
    .chatbox-header {
      background-color: #77041e;
      color: white;
      padding: 10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

    /* Style for the chatbox messages */
    .father_container {
      overflow-y: auto;
      padding: 10px;
      height: 90%;
    }

    /* Style for the chatbox input container */
    .chatbox-input-container {
      /* position: absolute; */
      padding: 10px;
      display: flex;
      /* align-items: center; */
      justify-content: space-between;
      background-color: #fff;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
      /* center the container */
      margin: 0 auto;
  }
  

    /* Style for the chatbox input bar */
    .chatbox-input {
      flex: 1;
      margin-right: 10px;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 14px;
    }

    .bk_space{
      background-color: white;
      width: 100%;
      height: 100%;
    }

    /* Style for the chatbox button */
    .chatbox-button {
      padding: 10px 20px;
      background: linear-gradient(to bottom, #77041e, #a82b3f);
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 14px;
      cursor: pointer;
      /* width: 100%; */
    }

    .above_input{
      margin: auto;
    }
    /* Style for the chatbox button hover effect */
    /* this is a beautiful one but a bit ugly */
    /* .chatbox-button:active:after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(0);
      width: 80px;
      height: 80px;
      border-radius: 50%;
      box-shadow: inset 5px 5px 0 10px white, 5px 0 0 8px white;
      background: linear-gradient(to bottom, #56094c, #77041e );
      animation: rotate 1s linear infinite;
      margin: 4px;
    } */
   .zozo {
    display: none;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: inset 0px 8px 0 -32px black, 14px 0 0 -24px #000000;
    background: linear-gradient(to bottom, #ff2153, #c1002b );
    animation: rotate 1s linear infinite;
    margin: 4px;
  }

/* .chatbox-button:active:after::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 25px;
height: 25px;
background-color: white;
border-radius: 50%;
}

.chatbox-button:active:after::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(45deg);
width: 15px;
height: 15px;
border-top: 6px solid white;
border-right: 6px solid white;
} */

@keyframes rotate {
0% {
  transform: translate(-50%, -50%) rotate(0);
}
100% {
  transform: translate(-50%, -50%) rotate(360deg);
}
}







/* Style for the chatbox message */
.chatbox-message {
background-color: #f2f2f2;
color: #333;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
word-wrap: break-word;
}

/* Style for the user message */
.user-message {
background-color: #77041e;
color: white;
}

.sticky-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 90%;
  height: 67px;
    /* background-color: #f5f5f5; */
}



.modal-container_ {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.modal-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Add this style to change the button color when active */
.chatbox-button.active {
  background: darkgreen;
}

/* Add this style for the close button in the modal */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}