@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@-webkit-keyframes fadeInScale {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}

.rtl {
  direction: rtl;
}

.pdp-default {
  margin-top: 6px;
  position: absolute;
  direction: rtl;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  color: #2d3748;
  z-index: 99999;
  padding: 0.4rem;
  animation: fadeInScale 0.2s ease-out;
  -webkit-animation: fadeInScale 0.2s ease-out;
  top: 100%;
  left: 0;
}

.pdp-default::-webkit-scrollbar {
  display: none;
}

.pdp-default {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pdp-default ::selection {
  background: #0d42b4;
  color: #ffffff;
}

.pdp-default .pdp-header {
  border-bottom: 1px solid #e2e8f0;
  background: none;
  padding: 4px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px 6px 0 0;
  text-align: center;
}
.pdp-default .yearSelect,
.pdp-default .monthSelect {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  list-style: none;
  padding: 0.5rem;
  position: absolute;
  width: 220px;
  max-height: 125px;
  overflow-y: auto;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  justify-content: center;
  align-items: center;
}


.pdp-default .yearSelect li,
.pdp-default .monthSelect li {
  width: 95% !important;
  height: 30px !important;
  margin: auto;
  background: transparent;
  padding: 0 5px !important;
  cursor: pointer;
  font-size: 12px;
  border-radius: 10px;
  color: #2d3748;
  font-weight: 500;
  align-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.pdp-default .yearSelect li:hover,
.pdp-default .monthSelect li:hover {
  background: #0d42b4;
  color: #ffffff;
}

.pdp-default .monthSelect li.disableMonth,
.pdp-default .monthSelect li.disableMonth:hover {
  color: #cbd5e1;
  background: #f8fafc;
  cursor: not-allowed;
}

.pdp-default .selected {
  background: #0d42b4;
  color: #ffffff;
  border-radius: 3px;
}

.pdp-default .monthYear {
  width: 70%;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
}

.pdp-default .monthYear span {
  margin: 0 4px;
}

.pdp-default .nextArrow,
.pdp-default .prevArrow {
  cursor: pointer;
  padding: 0.2rem;
  font-size: 0.75rem;
  color: #6b7280;
  transition: color 0.2s ease, transform 0.2s ease;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-default .nextArrow:hover,
.pdp-default .prevArrow:hover {
  color: #0d42b4;
  transform: scale(1.1);
}

.pdp-default .nextArrow::before {
  content: "\003E";
}

.pdp-default .prevArrow::before {
  content: "\003C";

}

.pdp-default .nextArrow {
  right: auto !important;
  left: 0.4rem !important;
}

.pdp-default .prevArrow {
  left: auto !important;
  right: 0.4rem !important;
}

    .pdp-default .cell {
        display: inline-block;
        text-align: center;
        width: 25px;
        height: 25px !important;
        line-height: 25px;
        font-size: 0.75rem;
        margin: 4px;
        letter-spacing: 0.05em;
    }

.pdp-default .dows {
  background: #0d42b4;
  color: white;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 4px;
}

.pdp-default .dow {
  font-weight: 400;
  color: white;
  font-size: 10px;
}

.pdp-default .days {
  background: #ffffff;
  border-radius: 0 0 6px 6px;
}

.pdp-default .day {
  text-align: center;
  border-radius: 8px;
  padding: 2px 0.4px !important;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.pdp-default .day:hover {
  background: #edf2f7;
  cursor: pointer;
}

.pdp-default .selday,
.pdp-default .selday:hover {
  background: #ffffff;
  border: 1.5px solid #0d42b4;
  cursor: pointer;
}

.pdp-default .friday {
  color: #da5609;
}

.pdp-default .today {
  background: #0d42b4;
  color: #ffffff;
  border-radius: 8px;
}

.pdp-default .today:hover {
  background: #0d42b4;
  cursor: pointer;
}

.pdp-default .disday,
.pdp-default .disday:hover {
  color: #cbd5e1;
  background: #f8fafc;
  cursor: not-allowed;
}

.pdp-default .nul {
  border-radius: 8px;
  background: #f8fafc;
  border: none;
 padding: 2.5px 0;
 pointer-events: none;
 opacity: 0.5;
 cursor: not-allowed;
}

.pdp-default .pdp-footer {
  background: none;
  padding: 4px;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 6px 6px;
  height:50px
}

.pdp-default .pdp-footer .goToday {
  color: #0d42b4;
  text-decoration: none;
  font-size: 11px;
  transition: color 0.2s ease;
}

.pdp-default .pdp-footer .goToday:hover {
  font-weight: 900;
}
