@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
  --primary-color: #012d5a;
  --secondary-color: #a23a38;
  --tertiary-color: #00696d;
  --overlay-primary: rgba(1, 32, 66, 0.8);
  --overlay-secondary: rgba(78, 30, 37, 1);
  --overlay-tertiary: rgba(2, 45, 45, 1);
}
body {
  direction: rtl;
  font-family: "Almarai", sans-serif;
  font-weight: 300;
  font-style: normal;
  caret-color: #000 !important;
  scroll-behavior: smooth;
}

.video-js {
  background-color: #d9dadb !important; /* Dark gray background color */
  position: relative !important;
}

/* Hide the default poster image if it's set */
.vjs-poster {
  display: none;
  background-image: none !important;
  background-color: #d9dadb !important;
}
.video-js .vjs-control-bar {
  display: flex !important;
  background-color: transparent !important;
}
.vjs-big-play-button {
  display: none !important;
}
.video-js .vjs-play-progress {
  background-color: #2e77ae !important;
}
.vjs-play-progress .vjs-slider-bar {
  background-color: #2e77ae !important;
}
.video-js .vjs-slider {
  background-color: #41474b !important;
  height: 3px !important;
}
.lesson-btn.active {
  background-color: #2e77ae;
  color: white;
}

.lesson-btn.active img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(10%) saturate(7388%)
    hue-rotate(287deg) brightness(130%) contrast(97%) !important;
}
li.active-nav {
  border-bottom: 2.5px solid white;
}
.table td.prev-month,
.table td.next-month {
  display: none;
}
.fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.fc-day {
  width: 29.57px !important;
  height: 29.57px !important;
  text-align: center !important;
}
.fc-theme-standard .fc-scrollgrid {
  border: none !important;
}
.fc-theme-standard td,
.fc-theme-standard th {
  border: none !important;
}
.fc .fc-scrollgrid-section-body table {
  height: auto !important;
}
.fc-button {
  background-color: transparent !important;
  color: black !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  position: relative;
}
.fc-toolbar-title {
  display: none !important;
}
.fc-day.fc-today {
  background-color: #ffeb3b !important;
  color: black !important;
}
.fc-event {
  /* position: relative !important; */
  /* top: 150px; */
  color: black;
  background-color: red !important;
  display: none;
}
.fc-h-event {
  background-color: transparent;
  border: none;
  text-align: center !important;
}

#event-list {
  top: 50px;
  border-top: 1px solid #d9dadb;
  background-color: white;
  padding: 20px;
}
.event-item {
  margin: 5px 0;
  border-radius: 5px;
  padding: 3px;
}
.fc-view-harness:has(.fc-dayGridMonth-view) {
  height: 250px !important;
}

.fc-view-harness:has(.fc-dayGridWeek-view) {
  height: 100px !important;
}
.dataTable {
  /* width: 90%; */
  border-collapse: collapse !important; /* Remove default border spacing */
  border: none !important; /* Remove default border */
  background: none !important; /* Remove default background */
  font-size: inherit !important; /* Use the default font size */
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 16px 0 !important;
  text-align: center;
}
table.dataTable thead th {
  padding: 16px 0 !important;
  text-align: center;
}
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length {
  background: none !important;
  border: none !important;
  font-size: inherit !important;
}

/* Remove header styles */
.dataTables_wrapper .dataTables_scrollHeadInner table {
  border-bottom: none !important;
}
.dataTable thead {
  background: none !important;
  border-bottom: none !important;
}
.dataTables_paginate {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.dataTable {
  border: none !important;
  text-align: left !important;
}

.paginate_button {
  color: #000 !important;
  border: 1px solid #ccc !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 3px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  width: 40px !important;
  margin: 0px auto;
  height: 40px !important;
  font-size: 17px !important;
}

.paginate_button:hover {
  background-color: transparent !important;
}

.paginate_button.current {
  background-color: #2e77ae !important;
  color: white !important;
}

.paginate_button.disabled {
  background-color: transparent !important;
  color: #999 !important;
  cursor: not-allowed !important;
  border-radius: 10px;
}

.paginate_button.previous,
.paginate_button.next {
  font-weight: bold !important;
}
.dataTables_filter {
  position: relative !important;
}
.dataTables_wrapper .dataTables_filter {
  display: none !important;
}
.dataTables_length select {
  display: none !important;
}
.dataTables_length label {
  display: none !important;
}
.dataTables_info {
  display: none !important;
}
.dataTables_wrapper .dataTables_paginate {
  display: flex !important;
  justify-content: end !important;
  padding: 10px !important;
  width: 100% !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  margin-right: 5px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: white !important;
}
.submenu-active {
  border-bottom: 2.5px solid #0d2237;
}
.active-category {
  background-color: #20364e;
}
/* .custom-radio input[type="radio"] {
  display: none;
}

.custom-radio .checkmark {
  position: relative !important;
  height: 20px !important;
  width: 20px !important;
  background-color: transparent !important;
  display: inline-block !important;
  margin-right: 10px !important;
  cursor: pointer !important;
  border: 2px solid #41474b !important;
  border-radius: 50% !important;
  transition: background-color 0.2s ease !important;
}

.custom-radio input:checked + .checkmark {
  background-color: white !important;
}

.custom-radio .checkmark::after {
  content: "" !important;
  position: absolute !important;
  display: none !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  background: #41474b !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.custom-radio input:checked + .checkmark::after {
  display: block !important;
}
.answer:has(.custom-radio input:checked) {
  border: 2px solid #41474b !important;
} */
.textStroke {
  -webkit-text-fill-color: white;
  -webkit-text-stroke-width: 0.8px;
  -webkit-text-stroke-color: #d9b45c;
}

.stroke-text {
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  -webkit-text-stroke: 2px #d3a740; /* Adjust stroke size and color */
  font-size: 48px; /* Adjust font size */
  font-weight: bold; /* Adjust font weight */
  z-index: 1;
}

.main-text {
  position: relative !important;
  color: #523412; /* Main text color */
  font-weight: bold; /* Match font weight */
  z-index: 2;
}
.styled-button {
  position: relative;
  font-size: 24px; /* Adjust font size */
  font-weight: bold; /* Adjust font weight */
  color: #774600; /* Text color */
  background-color: transparent; /* Transparent background */
  padding: 10px 20px; /* Button padding */
  border: none; /* Remove the default border */
  border-radius: 10px; /* Optional: Rounded corners */
  cursor: pointer;
  text-shadow: 2px 2px 0 #d3a740, -2px -2px 0 #d3a740; /* Stroke effect for the text */
  outline: none; /* Remove default outline */
  box-shadow: 0 0 0 5px #d3a740; /* Simulate the border with a gap */
  transition: all 0.3s ease; /* Add transition for hover effect */
}
@layer base {
  :root {
    --radius: 0.5rem;
  }
}

.form-message {
  @apply mt-2 absolute -bottom-6 right-0;
}
