.button-container {
   direction: rtl;
   display: flex;
   padding-bottom: 1.6rem;
   background-color: #fff;
}
.submit-button {
   border: none;
   color: #ed1b2f;
   padding-left: 79px;
   font-size: 14px;
   padding-top: 10px;
   background-color: transparent;
}
/* .rmdp-calendar {
   height: 330px !important;
} */
.rmdp-top-class {
   /* height: 330px !important; */
}
.cancle-button {
   width: 80px;
   height: 3rem;
   color: #ed1b2f;
   font-size: 15px;
   margin: auto;
   margin-left: 1.6rem;
   border-radius: 4px;
   border: 1px solid #ed1b2f;
   background-color: transparent;
}

.rmdp-wrapper {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   position: absolute !important;
   top: -220px !important;
   left: 0px !important;
   height: 370px !important;
}
.rmdp-week,
.rmdp-ym {
   gap: 10px !important;
   padding: 4px 8px !important;
}
.rmdp-week-day {
   color: #ed1b2f !important;
   font-size: 14px !important;
}
.rmdp-header {
   font-size: 16px !important;
}
.rmdp-day.rmdp-selected span:not(.highlight) {
   color: #fff !important;
   background-color: #ed1b30 !important;
}
.rmdp-week .rmdp-day span {
   width: 100%;
   height: 100%;
   font-size: 18px !important;
}
.rmdp-arrow-container:hover {
   background-color: #e9e9e9 !important;
   box-shadow: none !important;
}
.rmdp-arrow {
   width: 8px !important;
   height: 8px !important;
   margin-top: 8px !important;
   border-color: rgb(254, 102, 102) !important;
}
.rmdp-day:not(.rmdp-disabled, .rmdp-day-hidden) span:hover {
   background-color: #19c0d39c !important;
}
.rmdp-day.rmdp-today span {
   background-color: #fff !important;
   color: #ed1b30 !important;
   /* opacity: 0.5; */
}

@media (min-width: 400px) {
   .rmdp-wrapper {
      top: -220px !important;
   }
   .rmdp-top-class {
      /* height: 330px !important; */
   }
}
@media (min-width: 450px) {
   .rmdp-top-class {
      /* height: 330px !important; */
   }
   .rmdp-week,
   .rmdp-ym {
      gap: 10px !important;
      padding: 8px !important;
   }
   .rmdp-header {
      font-size: 16px !important;
      margin-top: 4px !important;
      padding: 4px 0 !important;
   }
   .rmdp-day,
   .rmdp-week-day {
      height: 35px !important;
      width: 35px !important;
   }
   .rmdp-week-day {
      font-size: 14px !important;
   }
   .rmdp-day span {
      position: unset !important;
      width: 100% !important;
      height: 100% !important;
   }
   .rmdp-week .rmdp-day span {
      font-size: 18px !important;
   }
   .rmdp-wrapper {
      top: -220px !important;
      height: 370px !important;
   }
   .submit-button {
      padding-top: unset !important;
   }
}

@media (min-width: 600px) {
   .rmdp-week,
   .rmdp-ym {
      gap: unset !important;
   }
   .rmdp-ym {
      padding: unset !important;
   }
   .rmdp-week {
      padding: 4px 0 !important;
   }
   .rmdp-header {
      font-size: 14px !important;
      margin-top: 4px !important;
      padding: 4px 0 !important;
   }
   .rmdp-wrapper {
      top: -232px !important;
      height: unset !important;
   }

   .rmdp-week-day {
      font-size: 13px !important;
   }
   .rmdp-week .rmdp-day {
      font-size: 18px !important;
   }
   .rmdp-week .rmdp-day span {
      font-size: 18px !important;
   }
   .rmdp-top-class {
      /* height: unset !important; */
   }
}

.modal-content--calendar {
   width: 90vw !important;
   max-width: 400px !important;
}
/* ###################################**** Mobile DatePicker ****################################## */

.persian-datepicker-sheet-footer {
   position: unset !important;
   justify-content: center !important;
   align-items: stretch !important;
}

.persian-datepicker-caption {
   font-size: 1.4rem !important;
}

.persian-datepicker-sheet-footer__submit,
.persian-datepicker-sheet-footer__cancel {
   font-size: 1.4rem !important;
   font-weight: 500 !important;
}

.persian-datepicker-sheet-footer__submit {
   color: #fff !important;
   background-color: #19bfd3 !important;
}

.rmdp-header-values {
   color: transparent !important;
}

.rmdp-header-values span {
   position: relative !important;
   color: #333 !important;
   transition: all 0.1s linear;
}

.rmdp-header-values span:hover {
   color: #ed1b2f !important;
}

.rmdp-header-values span::after {
   content: url('../icons/arrow-down.svg') !important;
   display: inline-block;
   padding: 0 4px 0 2px;
}

.rmc-picker-mask {
   /* background-size: 100% 90px !important; */
   /* background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0.95), rgba(255, 0, 0, 0.6)),
      linear-gradient(to top, rgba(255, 0, 0, 0.95), rgba(255, 0, 0, 0.6)) !important; */
}

/* .rmdp-ym .rmdp-day {
   font-size: 1.4rem !important;
} */
