/* Global styles */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #252525, #251e1e);
    color: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
ul {
 list-style: none;
}


/* Sidebar */
.sidebar {
  width: 250px;
  background: rgba(21, 21, 21, 0.8);
  backdrop-filter: blur(8px);
  padding: 20px;
  position: fixed;
  height: 100vh;
  box-shadow: 1px 0 5px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #f50505 #181818;
}

@media (max-width: 600px) {
  .sidebar {
    width: 100vw;
    height: 40vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px;
    overflow-y: auto;
  }
}

/* Webkit browsers */
.sidebar::-webkit-scrollbar {
  width: 8px;
  background: #181818;
  border-radius: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #f50505, #e70c0c);
  border-radius: 8px;
  box-shadow: 0 0 8px #f50505, 0 0 2px #e70c0c;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #ff0000;
  box-shadow: 0 0 12px #ff0000;
}

.sidebar::-webkit-scrollbar-track {
  background: #181818;
  border-radius: 8px;
}
.sidebar h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #f50505;
  text-shadow: 0 0 3px #f72a2a;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  padding: 10px 15px;
  display: block;
  border-radius: 10px;
  transition: background 0.3s, box-shadow 0.3s;
}

.sidebar ul li a:hover {
  background: rgba(255, 71, 71, 0.2);
  box-shadow: 0 0 10px rgba(255, 71, 71, 0.6);
}

.sidebar ul li a.active {
  background: linear-gradient(90deg, #f50505, #e70c0c);
  color: #fff;
  box-shadow: 0 0 12px #ff4747;
}
.sidebar ul li.category-header {
  font-size: 15px;
  font-weight: bold;
  color: #f50505;
  padding: 12px 5px 5px 15px;
  margin-top: 8px;
  text-shadow: 0 0 2px #f72a2a;
  border-bottom: 1px solid rgba(255, 0, 0, 0.3);
  pointer-events: none;
}

/* Add spacing after categories */
.sidebar ul li.category-header + li {
  margin-top: 5px;
}
/* Main content */
.main-content {
 margin-left: 250px;
 padding: 20px;
 width: 100%;
}

.main-content header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 5px 0;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content header h1 {
 font-size: 24px;
}

.main-content header .profile {
 display: flex;
 align-items: center;
}

.main-content header .profile img {
 width: 40px;
 border-radius: 50%;
 margin-right: 10px;
}

/* Cards */
.cards {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 20px;
 margin-top: 40px;
}

.limited{
  grid-template-columns: repeat(5, 1fr) !important;
}

.card {
  background: rgba(40, 40, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 5px 15px rgba(255, 50, 50, 0.6);
}
.cardM {
 background-color: #333;
 padding: 25px;
 border-radius: 12px;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardM:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.card h3 {
 font-size: 24px;
 margin-bottom: 15px;
}

.card p {
 font-size: 18px;
}

.center {
   text-align: center;
   align-items: center;
}
.ms {
  margin-bottom: 15px;
}

.red {
   color: #ff0000e0;
}

.p1 {
  font-size: 18px !important;
}

.s0 {
  width: 100%;
  max-width: 8%;
  max-height: 2.4em !important;

}

.s1 {
  width: 100%;
  max-width: 10%;
}
.s2 {
  width: 100%;
  max-width: 300px;
}
.s3 {
  width: 100%;
  max-width: 30%;
}
.s4 {
  width: 100%;
  max-width: 40%;
}
.s5 {
  width: 100%;
  max-width: 50%;
}
.s6 {
  width: 100%;
  max-width: 60%;
}
.s7 {
  width: 100%;
  max-width: 70%;
}
.s8 {
  width: 100%;
  max-width: 80%;
}
.s9 {
  width: 100%;
  max-width: 88%;
}
.notify {
    background: linear-gradient(90deg, #232323 0%, #333 100%);
    color: #fff;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 16px 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 16px 4px rgba(0, 255, 255, 0.5), 0 4px 24px rgba(0,0,0,0.5);
    z-index: 9999;
    font-size: 1.1em;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notify.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.notify.form {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    transform: translateY(-20px);
}

.notify.form.visible {
    transform: translateY(0);
}

.notify.error {
    background: linear-gradient(90deg, #cf0606 0%, #ff4d4d 100%);
    animation: glow-error 2s infinite alternate;
}

.notify.success {
    background: linear-gradient(90deg, #10ad0a 0%, #43ea3b 100%);
    animation: glow-success 2s infinite alternate;
}

.notify.info {
    background: linear-gradient(90deg, #0b7fde 0%, #4fc3f7 100%);
    animation: glow-info 2s infinite alternate;
}

@keyframes glow-error {
    0% { box-shadow: 0 0 16px 4px rgba(255, 77, 77, 0.5), 0 4px 24px rgba(0,0,0,0.5); }
    100% { box-shadow: 0 0 32px 8px rgba(207, 6, 6, 0.5), 0 4px 32px rgba(0,0,0,0.7); }
}

@keyframes glow-success {
    0% { box-shadow: 0 0 16px 4px rgba(67, 234, 59, 0.5), 0 4px 24px rgba(0,0,0,0.5); }
    100% { box-shadow: 0 0 32px 8px rgba(16, 173, 10, 0.5), 0 4px 32px rgba(0,0,0,0.7); }
}

@keyframes glow-info {
    0% { box-shadow: 0 0 16px 4px rgba(79, 195, 247, 0.5), 0 4px 24px rgba(0,0,0,0.5); }
    100% { box-shadow: 0 0 32px 8px rgba(11, 127, 222, 0.5), 0 4px 32px rgba(0,0,0,0.7); }
}

.profile {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    padding: 5px 12px;
    color: #fff;
    background-color: transparent;
}


.profile:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


.profile img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.profile p {
    margin-left: 5px;
    vertical-align: middle;
    white-space: nowrap;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #222;
    min-width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.dropdown li {
    list-style: none;
    padding: 0; /* Entfernt das Padding vom <li> */
}

.dropdown li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 12px 20px; /* Verlegt das Padding auf den <a>-Tag */
    width: 100%;
    height: 100%; /* Deckt den gesamten <li>-Bereich ab */
}

.dropdown li:hover {
    background-color: #444;
}

.profile:hover .dropdown {
    display: block;
}

/* Profile Container */
.profile-container {
    padding: 20px;

    position: relative;
}
/* Avatar Container */
.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-top: 20px;
}

/* Avatar Bild */
.avatar-image {
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #fff;
}

.btn {
    width: 100%;
    padding: 10px;
    background-color: red;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ff4d4d;
}

.container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn2 {
  background-color: #e53935;
  border: none;
  padding: 10px;
  color: white;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex: 1;
  text-align: center;
}

.btn2:hover {
  background-color: #b71c1c;
}



textarea {
    width: 100%;
    padding: 10px;
    background-color: #333333;
    border: 1px solid #555555;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
}


textarea:focus {
    border-color: red;
    outline: none;
}


input[type="text"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 10px;
    background-color: #333333;
    border: 1px solid #555555;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
}

input[type="file"] {
  width: 100%;
  padding: 10px;
  background-color: #333333;
  border: 1px solid #555555;
  border-radius: 5px;
  color: #ffffff;
  font-size: 12px;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="file"]:focus, input[type="number"]:focus {
    border-color: red;
    outline: none;
}

/* Make tables fully responsive and never overflow the card */
.table-container,
.table-container2,
.table-container3 {
  width: 100%;
  max-width: 100%;
  overflow-x: auto; /* allow horizontal scroll inside card instead of overflowing page */
  -webkit-overflow-scrolling: touch;
}

/* Force the table to respect the container width and allow cells to wrap */
.table-container table,
.table-container2 table,
.table-container3 table {
  width: 100%;
  min-width: 0; /* allow table to shrink */
  table-layout: fixed; /* enables predictable column shrinking */
  border-collapse: collapse;
}

/* Ensure table cells wrap instead of forcing wider layout */
.table-container th,
.table-container td,
.table-container2 th,
.table-container2 td,
.table-container3 th,
.table-container3 td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

/* Keep dividers thin and adaptive */
.table-container th, .table-container td {
  border-bottom: 1px solid #2A2A2A;
}


   @media (max-width: 800px) {
     .table-container table,
     .table-container2 table,
     .table-container3 table {
       display: block;
     }

     .table-container thead,
     .table-container2 thead,
     .table-container3 thead {
       display: none;
     }

     .table-container tbody tr,
     .table-container2 tbody tr,
     .table-container3 tbody tr {
       display: block;
       margin-bottom: 12px;
       border-bottom: 1px solid rgba(255,255,255,0.03);
     }

     .table-container td,
     .table-container2 td,
     .table-container3 td {
       display: flex;
       justify-content: center;      /* center horizontally */
       align-items: center;           /* center vertically */
       padding: 8px 10px;
       gap: 8px;
     }
     .table-container td::before,
     .table-container2 td::before,
     .table-container3 td::before {
       text-align: center;
       flex: 0 0 40%;
     }
     .table-container td > *,
     .table-container2 td > *,
     .table-container3 td > * {
       flex: 1 1 auto;
       text-align: center;
     }
   }
table {
    margin-top: 1vw;
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #212121;
}

th {
    color: #FFFFFF;
    text-align: left;
    padding: 10px 15px;
    border-bottom: 2px solid #FF5252; /* Red accent line for the header */
    font-size: 1rem;
    font-weight: 500;
}

th:first-child {
    border-top-left-radius: 8px; /* Round the top-left corner */
}

th:last-child {
    border-top-right-radius: 8px; /* Round the top-right corner */
}

tbody tr {
    transition: background-color 0.3s ease;
}

tbody tr:hover {
    background-color: #454545;
}
tbody tr {
    background-color: #303030; /* Alternating row background */
}
tbody tr:nth-child(even) {
    background-color: #212121; /* Alternating row background */
}
tbody tr:nth-child(even):hover {
    background-color: #454545;
}
td {
    color: #CCCCCC;
    padding: 8px 15px;
    border-bottom: 1px solid #2A2A2A; /* Subtle line to separate rows */
    font-size: 0.95rem;
}

td:last-child {
    text-align: center;
}

.action-button {
    display: inline-block;
    background-color: #ff2212;
    color: #FFFFFF;
    padding: 8px 15px;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #FF7676;
}


.hider {
    display: none; /* Default to hidden */
}

/* Full-screen modal background */
.modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5); /* Half transparent black */
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 1000;
}

/* Modal box */
.modal-content {
   background-color: #2e2e2e; /* Dark background similar to your page */
   border-radius: 10px;
   padding: 20px;
   width: 400px;
   max-width: 90%;
   color: white;
   box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

/* Close button */
.modal-close {
   background-color: #ff4a4a;
   border: none;
   padding: 10px 20px;
   color: white;
   font-size: 14px;
   border-radius: 5px;
   cursor: pointer;
   float: right;
}

/* Adjust input fields */
.modal-input {
   width: 100%;
   padding: 10px;
   margin-top: 0px;
   border: 1px solid #555;
   border-radius: 5px;
   background-color: #333;
   color: white;

}
.form-container {
  margin: 0 auto;
}
.row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.button-row {
  display: flex;
  justify-content: center;
}
/* Responsive */
@media (max-width: 768px) {
 .sidebar {
     height: auto;
     position: relative;
 }

 .main-content {
     margin-left: 0;
 }

 .cards {
     flex-direction: column;
 }

 th, td {
     padding: 10px 15px;
     font-size: 0.85rem;
 }

 .action-button {
     font-size: 0.8rem;
     padding: 6px 12px;
 }
}

.blur {
  cursor: pointer;
  filter: blur(4px);
  outline: none;
}

.flatpickr-calendar {
	background: transparent;
	opacity: 0;
	display: none;
	text-align: center;
	visibility: hidden;
	padding: 0;
	-webkit-animation: none;
	animation: none;
	direction: ltr;
	border: 0;
	font-size: 14px;
	line-height: 24px;
	border-radius: 5px;
	position: absolute;
	width: 307.875px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	background: #404040;
	-webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
	box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08)
}

.flatpickr-calendar.open,
.flatpickr-calendar.inline {
	opacity: 1;
	max-height: 640px;
	visibility: visible
}

.flatpickr-calendar.open {
	display: inline-block;
	z-index: 99999
}

.flatpickr-calendar.animate.open {
	-webkit-animation: fpFadeInDown 300ms cubic-bezier(.23, 1, .32, 1);
	animation: fpFadeInDown 300ms cubic-bezier(.23, 1, .32, 1)
}

.flatpickr-calendar.inline {
	display: block;
	position: relative;
	top: 2px
}

.flatpickr-calendar.static {
	position: absolute;
	top: calc(100% + 2px)
}

.flatpickr-calendar.static.open {
	z-index: 999;
	display: block
}

.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
	-webkit-box-shadow: none !important;
	box-shadow: none !important
}

.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
	-webkit-box-shadow: -2px 0 0 #404040, 5px 0 0 #404040;
	box-shadow: -2px 0 0 #404040, 5px 0 0 #404040
}

.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
	border-bottom: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0
}

.flatpickr-calendar .hasWeeks .dayContainer {
	border-left: 0
}

.flatpickr-calendar.hasTime .flatpickr-time {
	height: 40px;
	border-top: 1px solid #404040
}

.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
	height: auto
}

.flatpickr-calendar:before,
.flatpickr-calendar:after {
	position: absolute;
	display: block;
	pointer-events: none;
	border: solid transparent;
	content: '';
	height: 0;
	width: 0;
	left: 22px
}

.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
	left: auto;
	right: 22px
}

.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
	left: 50%;
	right: 50%
}

.flatpickr-calendar:before {
	border-width: 5px;
	margin: 0 -5px
}

.flatpickr-calendar:after {
	border-width: 4px;
	margin: 0 -4px
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
	bottom: 100%
}

.flatpickr-calendar.arrowTop:before {
	border-bottom-color: #e6e6e6
}

.flatpickr-calendar.arrowTop:after {
	border-bottom-color: #404040
}

.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
	top: 100%
}

.flatpickr-calendar.arrowBottom:before {
	border-top-color: #e6e6e6
}

.flatpickr-calendar.arrowBottom:after {
	border-top-color: #404040
}

.flatpickr-calendar:focus {
	outline: 0
}

.flatpickr-wrapper {
	position: relative;
	display: inline-block
}

.flatpickr-months {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex
}

.flatpickr-months .flatpickr-month {
	background: transparent;
	color: rgba(0, 0, 0, 0.9);
	fill: rgba(0, 0, 0, 0.9);
	height: 34px;
	line-height: 1;
	text-align: center;
	position: relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	overflow: hidden;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-decoration: none;
	cursor: pointer;
	position: absolute;
	top: 0;
	height: 34px;
	padding: 10px;
	z-index: 3;
	color: rgba(0, 0, 0, 0.9);
	fill: rgba(0, 0, 0, 0.9)
}

.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
	display: none
}

.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
	position: relative
}

.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
	/*
      /*rtl:begin:ignore*/
	left: 0
		/*
      /*rtl:end:ignore*/
}

/*
      /*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
	/*
      /*rtl:begin:ignore*/
	right: 0
		/*
      /*rtl:end:ignore*/
}

/*
      /*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
	color: #959ea9
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
	fill: #f64747
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
	width: 14px;
	height: 14px
}

.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
	-webkit-transition: fill .1s;
	transition: fill .1s;
	fill: inherit
}

.numInputWrapper {
	position: relative;
	height: auto
}

.numInputWrapper input,
.numInputWrapper span {
	display: inline-block
}

.numInputWrapper input {
	width: 100%
}

.numInputWrapper input::-ms-clear {
	display: none
}

.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none
}

.numInputWrapper span {
	position: absolute;
	right: 0;
	width: 14px;
	padding: 0 4px 0 2px;
	height: 50%;
	line-height: 50%;
	opacity: 0;
	cursor: pointer;
	border: 1px solid rgba(252, 235, 235, 0.15);
	-webkit-box-sizing: border-box;
	box-sizing: border-box
}

.numInputWrapper span:hover {
	background: rgba(0, 0, 0, 0.1)
}

.numInputWrapper span:active {
	background: rgba(0, 0, 0, 0.2)
}

.numInputWrapper span:after {
	display: block;
	content: "";
	position: absolute
}

.numInputWrapper span.arrowUp {
	top: 0;
	border-bottom: 0
}

.numInputWrapper span.arrowUp:after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 4px solid rgba(240, 240, 240, 0.6);
	top: 26%
}

.numInputWrapper span.arrowDown {
	top: 50%
}

.numInputWrapper span.arrowDown:after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid rgba(240, 240, 240, 0.6);
	top: 40%
}

.numInputWrapper span svg {
	width: inherit;
	height: auto
}

.numInputWrapper span svg path {
	fill: rgba(0, 0, 0, 0.5)
}

.numInputWrapper:hover {
	background: rgba(0, 0, 0, 0.05)
}

.numInputWrapper:hover span {
	opacity: 1
}

.flatpickr-current-month {
	font-size: 135%;
	line-height: inherit;
	font-weight: 300;
	color: inherit;
	position: absolute;
	width: 75%;
	left: 12.5%;
	padding: 7.48px 0 0 0;
	line-height: 1;
	height: 34px;
	display: inline-block;
	text-align: center;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0)
}

.flatpickr-current-month span.cur-month {
	font-family: inherit;
	font-weight: 700;
	color: inherit;
	display: inline-block;
	margin-left: .5ch;
	padding: 0
}

.flatpickr-current-month span.cur-month:hover {
	background: rgba(0, 0, 0, 0.05)
}

.flatpickr-current-month .numInputWrapper {
	width: 6ch;
	width: 7ch\0;
	display: inline-block
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
	border-bottom-color: rgba(0, 0, 0, 0.9)
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
	border-top-color: rgba(0, 0, 0, 0.9)
}

.flatpickr-current-month input.cur-year {
	background: transparent;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff;
	cursor: text;
	padding: 0 0 0 .5ch;
	margin: 0;
	display: inline-block;
	font-size: inherit;
	font-family: inherit;
	font-weight: 300;
	line-height: inherit;
	height: auto;
	border: 0;
	border-radius: 0;
	vertical-align: initial;
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	appearance: textfield
}

.flatpickr-current-month input.cur-year:focus {
	outline: 0
}

.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
	font-size: 100%;
	color: rgba(0, 0, 0, 0.5);
	background: transparent;
	pointer-events: none
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
	appearance: menulist;
	background: #404040 !important;
	border: none;
	border-radius: 0;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	font-size: inherit;
	font-family: inherit;
	font-weight: 300;
	height: auto;
	line-height: inherit;
	margin: -1px 0 0 0;
	outline: none;
	padding: 0 0 0 .5ch;
	position: relative;
	vertical-align: initial;
	-webkit-box-sizing: border-box;
	-webkit-appearance: menulist;
	-moz-appearance: menulist;
	width: auto
}

.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
	outline: none
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
	background: rgba(0, 0, 0, 0.05)
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
	background-color: transparent;
	outline: none;
	padding: 0
}

.flatpickr-weekdays {
	background: transparent;
	text-align: center;
	overflow: hidden;
	width: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	height: 28px
}

.flatpickr-weekdays .flatpickr-weekdaycontainer {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1
}

span.flatpickr-weekday {
	cursor: default;
	font-size: 90%;
	background: transparent;
	color: #fff;
	line-height: 1;
	margin: 0;
	text-align: center;
	display: block;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	font-weight: bolder
}

.dayContainer,
.flatpickr-weeks {
	padding: 1px 0 0 0
}

.flatpickr-days {
	position: relative;
	overflow: hidden;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
	width: 307.875px
}

.flatpickr-days:focus {
	outline: 0
}

.dayContainer {
	padding: 0;
	outline: 0;
	text-align: left;
	width: 307.875px;
	min-width: 307.875px;
	max-width: 307.875px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-ms-flex-pack: justify;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	opacity: 1
}

.dayContainer+.dayContainer {
	-webkit-box-shadow: -1px 0 0 #e6e6e6;
	box-shadow: -1px 0 0 #e6e6e6
}

.flatpickr-day {
	background: none;
	border: 1px solid transparent;
	border-radius: 150px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	font-weight: 400;
	width: 14.2857143%;
	-webkit-flex-basis: 14.2857143%;
	-ms-flex-preferred-size: 14.2857143%;
	flex-basis: 14.2857143%;
	max-width: 39px;
	height: 39px;
	line-height: 39px;
	margin: 0;
	display: inline-block;
	position: relative;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
	cursor: pointer;
	outline: 0;
	background: #000000;
	border-color: #000000
}

.flatpickr-day.today {
	border-color: #959ea9
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
	border-color: #959ea9;
	background: #959ea9;
	color: #404040
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
	background: #ff3131;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	border-color: #ff3131
}

.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
	border-radius: 50px 0 0 50px
}

.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
	border-radius: 0 50px 50px 0
}

.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)) {
	-webkit-box-shadow: -10px 0 0 #ff0404;
	box-shadow: -10px 0 0 #ff0404
}

.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
	border-radius: 50px
}

.flatpickr-day.inRange {
	border-radius: 0;
	-webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
	box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
	color: rgb(240, 240, 240);
	background: transparent;
	border-color: transparent;
	cursor: default
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
	cursor: not-allowed;
	color: rgba(240, 240, 240, 0.1)
}

.flatpickr-day.week.selected {
	border-radius: 0;
	-webkit-box-shadow: -5px 0 0 #ff0404, 5px 0 0 #ff0404;
	box-shadow: -5px 0 0 #ff0404, 5px 0 0 #ff0404
}

.flatpickr-day.hidden {
	visibility: hidden
}

.rangeMode .flatpickr-day {
	margin-top: 1px
}

.flatpickr-weekwrapper {
	float: left
}

.flatpickr-weekwrapper .flatpickr-weeks {
	padding: 0 12px;
	-webkit-box-shadow: 1px 0 0 #e6e6e6;
	box-shadow: 1px 0 0 #e6e6e6
}

.flatpickr-weekwrapper .flatpickr-weekday {
	float: none;
	width: 100%;
	line-height: 28px
}

.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
	display: block;
	width: 100%;
	max-width: none;
	color: rgba(240, 240, 240, 0.3);
	background: transparent;
	cursor: default;
	border: none
}

.flatpickr-innerContainer {
	display: block;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden
}

.flatpickr-rContainer {
	display: inline-block;
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box
}

.flatpickr-time {
	text-align: center;
	outline: 0;
	display: block;
	height: 0;
	line-height: 40px;
	max-height: 40px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex
}

.flatpickr-time:after {
	content: "";
	display: table;
	clear: both
}

.flatpickr-time .numInputWrapper {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	width: 40%;
	height: 40px;
	float: left
}

.flatpickr-time .numInputWrapper span.arrowUp:after {
	border-bottom-color: #393939
}

.flatpickr-time .numInputWrapper span.arrowDown:after {
	border-top-color: #393939
}

.flatpickr-time.hasSeconds .numInputWrapper {
	width: 26%
}

.flatpickr-time.time24hr .numInputWrapper {
	width: 49%
}

.flatpickr-time input {
	background: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 0;
	border-radius: 0;
	text-align: center;
	margin: 0;
	padding: 0;
	height: inherit;
	line-height: inherit;
	color: #393939;
	font-size: 14px;
	position: relative;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	appearance: textfield
}

.flatpickr-time input.flatpickr-hour {
    color: #fff !important;
	font-weight: bold
}

.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
    color: #fff !important;
	font-weight: 400
}

.flatpickr-time input:focus {
	outline: 0;
	border: 0
}

.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
	height: inherit;
	float: left;
	line-height: inherit;
	color: #393939;
	font-weight: bold;
	width: 2%;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-align-self: center;
	-ms-flex-item-align: center;
	align-self: center
}

.flatpickr-time .flatpickr-am-pm {
	outline: 0;
	width: 18%;
	cursor: pointer;
	text-align: center;
	font-weight: 400
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
	background: #252525
}

.flatpickr-input[readonly] {
	cursor: pointer
}

@-webkit-keyframes fpFadeInDown {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, -20px, 0);
		transform: translate3d(0, -20px, 0)
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0)
	}
}

@keyframes fpFadeInDown {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, -20px, 0);
		transform: translate3d(0, -20px, 0)
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0)
	}
}


.extra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 55px !important;
  background-color: red;
  color: white;
  font-size: 13px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
  user-select: none;
}

.toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  background-color: red;
  color: white;
  font-size: 13px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
  user-select: none;
}

.toggle.on {
  background-color: green;
  color: white;
}

.multiselect-container {
    position: relative;
    width: 100%;
    margin-top: 0.5em;
}
.multiselect {
    width: 100%;
    padding: 12px;
    border: 1px solid #ff0000;
    background-color: #333;
    cursor: pointer;
    border-radius: 6px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 13px;
}
.options {
    display: none;
    position: absolute;
    width: 100%;
    background: #333;
    border: 2px solid #ff0000;
    border-radius: 6px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0px 4px 10px rgba(255, 0, 0, 0.5);
    z-index: 10;

    scrollbar-width: thin;
    scrollbar-color: #ff0000 #222;
}
.options::-webkit-scrollbar {
    width: 8px;
}
.options::-webkit-scrollbar-track {
    background: #222;
    border-radius: 6px;
}
.options::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 6px;
    border: 2px solid #222;
}
.options::-webkit-scrollbar-thumb:hover {
    background: #ff0000;
}
.option {
    padding: 12px;
    cursor: pointer;
    color: white;
    border-bottom: 1px solid #444;
    text-align: center;
}
.option:hover {
    background-color: #ff0000;
}
.selected-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ensure 4 equal-width columns */
    gap: 5px;
    margin-top: 10px;
    max-width: 100%;
}
.selected-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.selected-item:hover {
    background-color: darkred;
}
/* Search and Button Container */
.search-container {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
}

/* Override the width properties specifically in the search container */
.search-container .s9 {
    flex: 1;
    max-width: none !important;
    width: auto !important;
    margin-bottom: 0;
}

.search-container .btn.s1 {
    max-width: none !important;
    width: auto !important;
    min-width: 100px;
    margin-bottom: 0;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        gap: 10px;
    }

    .search-container .s9,
    .search-container .btn.s1 {
        width: 100% !important;
    }
}

.color-picker-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.color-picker {
  width: 60px;
  height: 40px;
  border: 2px solid #ddd;
  border-radius: 5px;

  cursor: pointer;
  padding: 2px;
}

.color-picker:hover {
  border-color: #aaa;
}

.color-input {
  flex: 1;
  min-width: 120px;
}

.color-picker-container {

  border-radius: 8px;
}

.color-picker {
  border-color: #f44336;
}

.color-picker::-webkit-color-swatch {
  border-radius: 3px;
  border: 1px solid #c62828;
}

.color-picker::-moz-color-swatch {
  border-radius: 3px;
  border: 1px solid #c62828;
}
