.rc-dc-modal-container {
  position: fixed;
  top: 100px;
  left: 100px;
  z-index: 10000;
}

.rc-dc-modal-window {
  width: 800px;
  height: 600px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  resize: both;
  overflow: hidden;
  position: absolute;
}

.rc-dc-modal-header {
  height: 30px;
  background: #f0f0f0;
  cursor: move;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

.rc-dc-modal-controls {
  display: flex;
  gap: 5px;
}

.rc-dc-btn {
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
}

.rc-dc-btn:hover {
  color: red;
}


.compose-frame{
  height: 100%;
}
.compose-popup {
      position: fixed;
      bottom: 0;
      right: 20px;
      width: 38%;
      height: 78%;
      background: white;
      border-radius: 8px 8px 0 0;
      box-shadow: 1px 0px 5px 1px rgb(0 0 0 / 3%), 0 3px 14px 2px rgb(0 0 0 / 9%), 0 5px 5px -3px rgb(0 0 0 / 9%);
      z-index: 99;
      display: flex;
      flex-direction: column;
      transition: height 0.3s ease;
      margin-right: 20px;
    }

  .compose-popup.minimized{
     box-shadow: 1px 0px 5px 1px rgb(0 0 0 / 19%), 0 3px 14px 2px rgb(0 0 0 / 11%), 0 5px 5px -3px rgb(0 0 0 / 22%)
  }
  .compose-popup.minimized.fullscreen{
    box-shadow: 1px 0px 5px 1px rgb(0 0 0 / 3%), 0 3px 14px 2px rgb(0 0 0 / 9%), 0 5px 5px -3px rgb(0 0 0 / 9%);
  }

    .compose-header {
      padding: 12px 7px;
      border-radius: 8px 8px 0 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 40px;
      background: #f2f6fc;
    }
 .compose-header .compose-headingname{
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80%;
    white-space: nowrap;
    font-weight: 600;
  }

  


    .compose-body {
      flex: 1;
      padding: 10px;
      overflow: auto;
    }
    .compose-controls {
      display: flex;
    }
    .compose-controls button {
      background: none;
      border: none;
      cursor: pointer;
      margin-left: 5px;
    }

    .compose-controls button:hover{
      color:#05a4ef;
    }

    .minimized {
      height: 40px !important;
    }

    .compose-popup + .compose-popup {
      right: calc(20px + 470px); /* spacing between multiple popups */
    }
  .compose-popup.fullscreen {
    width: 85vw !important;
    height: 85vh !important;
    margin-top: auto;
    margin-left: auto;
    margin-bottom: auto;
    margin-right: auto;
    z-index: 99;
    margin-bottom: 60px;
  }



  .compose-controls button {
    margin-left: 4px;
    cursor: pointer;
    font-size: 0.8rem;
  }

.swal-confirm-ok {
  background-color: #05a4ef !important;
  border: 0px solid #000 !important;
}
button:focus {
    outline: 1px dotted;
    outline: 5px auto #0000!important;
}

.custom-small-popup {
  padding: 1rem;
  font-size: 0.9rem;
}

.custom-small-popup .swal-confirm-discard{
    color: #ffffff;
    background-color: #05a4ef;
}

.custom-small-popup .swal-confirm-discard:hover{
  background-color:#0b83bc;
}

.custom-small-popup .swal2-title{
  padding: 0px 0px 4px 0px;
  font-size: 1.5rem;
}
.custom-small-popup .swal2-html-container{
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 5px;
}
.custom-small-popup .swal2-actions{
  margin-top: 5px;
}
.d-none{
  display:none;
}

@media (max-width: 768px) {
  .sidebar {
    top: 56px;
    height: calc(100vh - 56px);
  }

  .main-content {
    margin-left: 0;
  }
}