
.close{
    display: none;
  }

  .message_control_btns{
background: rgb(0 0 0 / 55%);
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 40px rgb(8 7 16 / 60%);
  height: fit-content;display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
}
.message_creation_container {
  display: grid;
  grid-template-columns: 888px 65px;
  width: fit-content;
  padding: 8px;
  background-image: url(bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
  
  .attach_img_container{
      position: relative;
      padding: 10px;
      width: 330px;
      height: fit-content;
      background: var(--white_color);
      border-radius: 5px;
      background: rgb(0 0 0 / 55%);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgb(8 7 16 / 60%);
  }
  .attach_img_container p{
      font-size: 18px;
      color: var(--primary_color);
  }

  /* qr code view area */
  .attach_img_area{
      height: 270px;
      width: 100%;
      border-radius: 5px;
  }
  .attach_img_area img{
      height: 100%;
      width: 100%;
  }
  .attach_img_area .select_image_btn{
      padding: 12px 20px;
      text-align: center;
      cursor: pointer;
      border-radius: 5px;
      transition: 0.4s;
      color: rgb(255 255 255 / 80%);
      border: 1px solid rgb(255 253 253);
  }

  
  .attach_img_area #select_image_1_button:active{
    background: var(--primary_color);
    color: var(--white_color);
    transform: scale(0.95);
}
.attach_img_area #select_image_2_button:active{
  background: var(--primary_color);
  color: var(--white_color);
  transform: scale(0.95);
}
  .attach_img_container .hide_view{
      display: none !important;
  }


.actions{
    margin: 8px;
    border: 2px solid #d3d3d3;
      border-radius: 15px;
  }
  
  
  .screen-container {
    height: 100%;
  }
  
  

  
  .message {
    display: grid;
    grid-template-columns: 36% 58%;
    color: #fff;
    clear: both;
    line-height: 18px;
    font-size: 15px;
    font-weight: 600;
    padding: 6px;
    position: relative;
    margin: 6px 0;
    word-wrap: break-word;
    justify-content: space-around;
    justify-items: center;
  }
  
  .message.sent {
    border-radius: 5px 0px 5px 5px;
  }
  
  
  .conversation-compose {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    overflow: hidden;
    height: 50px;
    width: 100%;
    z-index: 2;
  }
  
  .conversation-compose div,
  .conversation-compose input {
    background: #fff;
    height: 100%;
  }
  
  
  
  
  .conversation-compose .photo {
    flex: 0 0 auto;
    border-radius: 0 0 5px 0;
    text-align: center;
    position: relative;
    width: 48px;
  }
  
  .conversation-compose .photo:after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    position: absolute;
    width: 0;
    height: 0;
    content: "";
    top: 0;
    right: -10px;
  }
  
  .conversation-compose .photo i {
    display: block;
    color: #7d8488;
    font-size: 24px;
    transform: translate(-50%, -50%);
    position: relative;
    top: 50%;
    left: 50%;
  }
  
  .conversation-compose .send {
    background: transparent;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    margin-left: 8px;
    margin-right: 8px;
    padding: 0;
    position: relative;
    outline: none;
  }
  
  .conversation-compose .send .circle {
    background: #008a7c;
    border-radius: 50%;
    color: #fff;
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .conversation-compose .send .circle i {
    font-size: 24px;
    margin-left: 5px;
  }
  
  
.Image_Uploader_Modal {
visibility: hidden;
transition: all 0.4s;
opacity: 0;
}
.Image_Uploader_Modal.open {
    visibility: visible;
    opacity: 1;
}

.Image_Uploader_Modal,
.Image_Uploader_Modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: var(--screen-h, 100vh);
    width: 100vw;
    z-index: 100;
}

.Image_Uploader_Modal-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.Image_Uploader_Modal,
.Image_Uploader_Modal-card,
.Image_Uploader_Modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Image_Uploader_Modal-content {
    flex-grow: 1;
}

.Image_Uploader_Modal-body {
    z-index: 101;
    margin: auto;
    background: white;
    margin-left: 13%;
}

.Image_Uploader_Modal-content{
    padding: 5px;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,200&display=swap');
    
/* img-title-description WHERE NOTES ARE WRITTEN */
.img-title-description{
    width: 100%;
    position:relative;
    min-height: 100px;
    border-radius: 10px;
    margin: auto;
    overflow-y: auto;
    max-height: 288px;   
}
/* CONTENT INSIDE img-title-description */
/* FOR TITLE INPUT */

#task input, select {
  width: 100%;
  height: 40px;
  margin-bottom: 0.6%;
  border: none;
  color: black;
  background: white;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
}
#task input:focus{
 outline: none;
}
.Test_Details_Question{
  margin-top: 20px;
    background: #438ed199;
    color: white;
    padding: 8PX;
    border-radius: 8px;
}
/* FOR ADDING NOTES */
#task button{
    background-color: #741377;
    color: #fff;
    border: none;
    border-radius: 3px;
    float: right;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}
#task button:hover{
    background-color: blueviolet;
}
/* FOR WRITING NOTES */
#task textarea{
    width: 100%;
    height: 150px;
    resize: none;
   margin:20px 0 ;
   font-family: 'Poppins', sans-serif;
   font-weight: 600;
   border: 1px solid purple;
   border-radius: 3px;
   padding: 2px;

}
#task textarea:focus{
    outline: none; 

}



.control-btns {
color: #555;
background:linear-gradient(50deg, #fff, #999);
border-radius: 13px;
text-align: center;
font-size: 16px;
box-shadow: 
.5px -.5px 1px 1px #fff,
-1px 1px 1px 1px #999,
-5px 8px 15px 1px #999;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
user-select: none;
}

.control-btns.md {
width: 100px;
height: 40px;
}


.control-btns:hover {
cursor: pointer;
}

.control-btns:active {
font-size: 18px;
box-shadow: 
.5px -.5px 1px .5px #fff,
-1px 1px 1px .5px #999,
-1px 4px 10px 1px #999;
}            
      
  
    
  

/* ------------------------------------------------------------- */
/* ------------------------------------------------------------- */

.edit-tools{
  padding: 6px;
  box-shadow: 1px 5px 12px #296374, -2px -3px 13px #184f58fa;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.checkbox {
position: relative;
width: 100px;
height: 50px;
border-radius: 25px;
background: linear-gradient(0deg, #d8d8d8, #cccccc);
border-top: 0.02em solid #ececec;
border-bottom: 0.02em solid #ececec;

}

.inner {
position: absolute;
top: 10px;
left: 10px;
right: 10px;
bottom: 10px;
background: linear-gradient(0deg, #a5a5a5, #717171);
border-radius: 20px;
box-shadow: inset 0 0 15px rgba(0,0,0,.5);
}

.toggle {
position: absolute;
top: -3px;
left: -3px;
width: 36px;
height: 36px;
border-radius: 50%;
background: linear-gradient(0deg, #ccc, #e4e4e4);
box-shadow: 0 4px 6px rgba(0,0,0,.2);
box-sizing: border-box;
border-top: 0.04em solid #ececec; 
border-bottom: 0.04em solid #ececec;
cursor: pointer;
transition: 0.5s;
}

.checkbox .inner.active .toggle {
left: 47px;
}

.inner.active {
/* background: linear-gradient(0deg, #00d22d, #158a00); */
background: linear-gradient(0deg, #fcfffd, #9db5ab);
}

.toggle::before {
content: 'OFF';
position: absolute;
top: 4px;
left: 4px;
right: 4px;
bottom: 4px;
background: linear-gradient(0deg, #e4e4e4, #ccc);
border-radius: 50%;
text-align: center;
font-size: 10px;
line-height: 28px;
color: #a9a9a9;
}

.inner.active .toggle::before {
content: 'ON';
color: #00d22d;
}


.Course_Amount{
padding: 4px;
width: 80px;
box-shadow: 1px 5px 12px #2a768d, -5px -5px 4px #258a9bfa;
border-radius: 2px;
border: none;
background: linear-gradient(0deg, #fcfffd, #9db5ab);
}
.Course_Amount_container{
  margin-top: 16px;
  display: none;
}
.add_amount{
  display: block;
}


@media(max-width:991px)
{
  .Image_Uploader_Modal-body {
    margin: auto;
}
.message {
  grid-template-rows: 50% 48%;
  grid-template-columns: 100%;
  grid-row-gap: 2%;
}
.message_creation_container {
  display: grid;
  grid-template-rows: 492px 70px;
  /* overflow-y: auto; */
  grid-template-columns: 100%;
  padding: 0px;
}
.chat-container {
  overflow-y: auto;
}
.attach_img_area {
  width: 100%;
}

.message_control_btns {
  flex-direction: row;
  align-items: center;
  position: relative;
  justify-content: center;
}
.attach_img_container {
  width: 67vw;
}
}