@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Zain:wght@200;300;400;700;800;900&display=swap');

body {
  font-family: "Cairo", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #373477;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.gridjs-table {
  text-align: right !important;
}

.disabled {
  display: none !important;
}

.upload-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.image-upload-area {
  position: relative;
  height: 96px;
  width: 100%;
  border: 4px dashed #ccc;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  transition: 0.3s;
  overflow: hidden;
  border-radius: 17px;
  margin-top: 10px;
}

.image-upload-area input {
  display: none;
}

.not_preg {
  display: none !important;
}

.upload-message {
  position: absolute;
  font-size: 16px;
  color: #555;
  z-index: 1;
  display: block;
}

.upload-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: none;
  transform: translateY(-100%);
  transition: transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Slow down the sliding effect */
}

.upload-area .cancel-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

.image-upload-area img {
  display: block;
  border-radius: 8px;
}

.image-upload-area img,
.upload-area .cancel-btn {
  display: none;
}

.image-upload-area.active img {
  display: block;
  height: 100%;
  width: 100%;
  transform: translateY(0);
  /* Slide down to its final position */
  z-index: 1;
  transition: transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Slow down the sliding effect */
  object-fit: contain;
}

.image-upload-area .cancel-btn {
  display: none;
}

.image-upload-area.active .cancel-btn {
  position: absolute;
  top: 6px;
  left: 10px;
  background: #000000;
  color: #fff;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  z-index: 2;
  font-weight: bolder;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-upload-area.active .cancel-btn:hover {
  border: 1px solid #fff;
}

.image-upload-area.active .upload-message {
  position: absolute;
  font-size: 16px;
  color: #555;
  z-index: 1;
  display: block;
  filter: blur(3px);
  background: rgba(0, 0, 0, .01);
  height: 95%;
  width: 99%;
  border-radius: 14px;
}

.text-nowrap {
  text-wrap: nowrap !important;
}

.ql-snow .ql-picker.ql-header .ql-picker-label::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
  padding-right: 19px !important;
}

.ql-editor,
.ql-snow {
  text-align: right !important;
}

#flashEffect {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.8;
  z-index: 9999;
}

@media print {
  .print\:show {
    display: block !important;
  }
}

/* bg-gradient-to-r from-orange-500 to-red-600 */
.bg-gradient-orange-red {
  background-image: linear-gradient(to right, #f97316, #dc2626);
}

/* bg-gradient-to-r from-amber-400 to-orange-500 */
.bg-gradient-amber-orange {
  background-image: linear-gradient(to right, #fbbf24, #f97316);
}

/* bg-gradient-to-r from-info to-info-focus */
.bg-gradient-info {
  background-image: linear-gradient(to right, #3b82f6, #1d4ed8);
}

/* bg-gradient-to-r from-success to-success-focus */
.bg-gradient-success {
  background-image: linear-gradient(to right, #10b981, #059669);
}

.fullMainContainer {
  margin: 10px !important;
  padding: 10px !important;
}

.wrap-text {
  display: block !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-wrap-mode: nowrap !important;
}

th.gridjs-th .gridjs-th-content {
    float: right;
  }