:root {
  --dark: #34495e;
  --light: #fff;
  --success: #0abf30;
  --error: #f24d4c;
  --warning: #e9bd0c;
  --info: #3498db;
}
body {
  padding: 20px;
}
body:has(#searchContainer.hide) {
  display: grid;
}
body:has(#health-mainpage:not(.hide)) #main-area {
  display: none !important;
}
.action-buttons {
  display: none;
  background-color: transparent;
}
.action-buttons:hover {
  background-color: white;
}
tr:hover .action-buttons {
  display: inline-block;
}
table {
  border-collapse: collapse;
  background-color: #fff;
}

.tabulator-cell[data-editing="true"] {
  background-color: #c6d6e0 !important;
  white-space: wrap !important;
}

.input-box {
  display: flex;
  width: 400px;
  margin-top:7px;
}
.input-box > input,
.input-box > select {
  justify-content: flex-end !important;
  margin: auto;
  margin-right: 0;
  width: 189px;
  height: 30px !important;
  padding: 1px 2px;
  margin-bottom:5px
}
select {
  margin-bottom: 5px !important;
}
.hide {
  display: none !important;
}
#patientForm {
  min-width: 444px;
  max-width: 95%;
  padding: 10px;
  margin: 20px auto;
  justify-content: center;
  display: block;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: rgba(6, 24, 44, 0.1) 0px 0px 0px 2px,
    rgba(6, 24, 44, 0.55) 0px 4px 6px -1px,
    rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
  background: rgb(233, 233, 233);
  background: linear-gradient(
    125deg,
    rgba(233, 233, 233, 1) 0%,
    rgba(233, 233, 233, 1) 15%,
    rgba(255, 255, 255, 1) 28%,
    rgba(233, 233, 233, 1) 43%,
    rgba(233, 233, 233, 1) 47%,
    rgba(255, 255, 255, 1) 61%,
    rgba(233, 233, 233, 1) 75%,
    rgba(233, 233, 233, 1) 100%
  );
  opacity: 1;
  transition: height 0.5s ease, width 0.5s ease, opacity 0.3s ease,
    filter 0.5s ease;
  overflow: hidden;
}
#patientFormContainer {
  display: flex;
}
.input-container,
.textarea-container,
.date-container {
  display: block;
  padding: 10px;
}
#appointmentBlock:has(#isFollow:checked) #followDiv,
#searchContainer:has(#isFollowSearch:checked) #followSearchDiv,
#searchContainer:has(#isUnFollowSearch:checked):has(#isControlSearch:checked) #controlSearchDiv,  
#appointmentBlock:has(#controlRadio:checked) #controlDiv {
  display: block !important;
}
.search-container {
  display: flex;
  width: 100%;
}
#search-box {
  border-radius: 20px;
  background-color: #d9d8d8;
  height: 40px;
  display: flex;
  width: 75%;
  align-items: center;
  margin: 10px 18px;
  margin-top: 8px !important;
  transition: transform 0.25s ease, opacity 0.25s ease, height 0.5s ease;
  opacity: 1;
}
#search-input {
  border: none !important;
  height: 20px;
  width: 95%;
  background-color: transparent;
  box-sizing: border-box;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 15px;
  font-size: medium;
  outline: none;
  margin: auto;
  box-shadow: none;
}
#search-icon {
  padding: 5px;
  width: 30px;
  height: 30px;
  margin: 2px 2px 2px 10px;
  flex-shrink: 0;
  border-radius: 20px;
  opacity: 0.6;
  cursor: pointer;
}

.radio {
  margin: 0.5rem;
}
.radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.radio input[type="radio"] + .radio-label:before {
  content: '';
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}
.radio input[type="radio"]:checked + .radio-label:before {
  background-color: #3197ee;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type="radio"]:focus + .radio-label:before {
  outline: none;
  border-color: #3197ee;
}
.radio input[type="radio"]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio input[type="radio"] + .radio-label:empty:before {
  margin-right: 0;
}

.switch-toggle {
  display: flex;
  background: #e6e6e6;
  margin: 10px 0;
  border-radius: 5px;
  width:303px;
}
.switch-toggle input {
  position: absolute;
  opacity: 0;
}
.switch-toggle input + label {
  padding: 7px;
  float: left;
  color: #242729;
  cursor: pointer;
}
.switch-toggle input:checked + label {
  background: #2a4852;
  transition: all 0.3s ease;
  color: #fff;
  border-radius: 5px;
}
svg {
  margin: auto;
  vertical-align: middle;
  justify-content: center;
}
button {
  display: inline-block;
  outline: 0;
  cursor: pointer;
  text-align: center;
  border: 1px solid #babfc3;
  padding: 7px 16px;
  min-height: 36px;
  min-width: 36px;
  color: #202223;
  background: #ffffff;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 0px;
}
.tabulator-cell:has(button:hover) button:hover {
  background-color: #f6f6f7 !important;
  outline: 1px solid transparent;
}

input:not([type="checkbox"]),
select,
textarea {
  padding: 7px;
  border-radius: 6px;
  font-size: 16px;
  background: #fbfbfb;
  border: 2px solid transparent;
  height: 36px;
  box-shadow: 0 0 0 1px #dddddd, 0 2px 4px 0 rgb(0 0 0 / 7%),
    0 1px 1.5px 0 rgb(0 0 0 / 5%);/*0px 1px 3px rgba(0, 0, 0, 0.1), 
    0px 0px 5px rgba(0, 0, 0, 0.05);*/
}
@supports (-webkit-touch-callout: none) {
  input:not([type="checkbox"]),
  select,
  textarea {
    border: 1px solid #ddd !important; /* Box-shadow yerine border */
  }
}
input:focus,
select:focus,
textarea:focus {
  border: 2px solid #000;
  border-radius: 4px;
}

input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 7px;
  border-radius: 3px;
  border: 2px solid transparent;
  box-shadow: 0 0 0 0 #3c3737, 0 2px 4px 0 rgb(0 0 0 / 7%), 0 1px 1.5px 0 rgb(0 0 0 / 51%);
  /*box-shadow: 0 0 0 0 #dddddd, 0 2px 4px 0 rgb(0 0 0 / 7%),
    0 1px 1.5px 0 rgb(0 0 0 / 5%);*/
  background: #fbfbfb;
  position: relative;
}

input[type="checkbox"] + span {
  margin: auto;
  margin-left: 4px;
  vertical-align: middle;
}

input[type="date"].filled {
  background-color: #a9c2c8;
}

input[type="date"].errored {
  background-color: #c8a9a9;
}
textarea {
  margin-top: 10px !important;
  display: flex;
  height: auto;
  max-height: 300px;
  min-height: 110px;
  overflow: auto;
}
.border-r-2 {
  border-right: 2px solid #fff;
}
.imza-back {
  background: #00b0ff42;
  margin-top: 30px;
  border-radius: 3px;
}
.h-120 {
  height: 120px;
  text-align: left;
}
.col-md-8 {
  width: 66.66666667%;
}
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
  float: left;
}

.imza-usb {
  color: #af0696;
  padding: 42px 10px;
}

.h-120 {
  height: 120px;
  padding-left: 15px;
}
.col-md-8 {
  width: 270px;
}

li {
  list-style: none;
}

.dropbtn {
  background-color: #4caf50;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.dropdown {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  white-space: nowrap;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
  text-align: center;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown-content > * {
  border: 1px dotted #dddddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

nav {
  background-color: #f0f0f0;
  display: flex;
  margin: -20px;
  flex-wrap: nowrap;
  width: auto;
  min-width: 450px;
}
#site-icon {
  margin: auto;
  opacity: 0.8;
}
#left-side {
  margin: 7px 10px 0px 0px;
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
}
#center-side {
  margin: 0 auto;
}
#right-side {
  display: inline-block;
  margin-top: auto;
  margin-bottom: auto;
}

#right-side li {
  list-style-type: none;
}

#right-side a {
  display: block;
  align-items: center;
}

.tabulator-editing input {
  font-size: 12px;
  padding: 0;
  box-shadow: none;
}
.tabulator-editing textarea {
  padding: 0;
  margin: 0 !important;
  font-size: 12px;
  overflow: auto;
  border: none;
  height: 95% !important;
  resize: none !important;
}

#main-area {
  padding: 20px;
  min-width: 450px;
}
#main-area:has(#resultContainer.hide),
#main-area.expand {
  display: grid;
}
#main-area:has(#resultContainer:not(.hide)) #patientForm {
  height: 0;
  width: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
}
#login {
  background: #af0894;
  padding: 50px 11px;
  color: #fff;
  border-radius: 3px;
  margin-top: 30px;
  cursor: pointer;
  float: left;
}
#login:hover {
  opacity: 0.7;
}

.cls-1 {
  fill: none;
  stroke: #000000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
}

#close-search-icon {
  opacity: 0;
  margin-top: -5px;
  transition: opacity 0.25s ease;
}
.search-container:hover:has(#close-search-icon) #close-search-icon {
  opacity: 0.7;
}
.main-actions > button,
.edit-actions > button {
  padding: 0 !important;
  border: 0;
  background-color: transparent;
}
td:has(.main-actions) {
  padding: 1px 20px;
}
.tabulator-print-header {
  text-align: center;
}
.tabulator-print-footer {
  text-align: end;
}
@media print {
  .tabulator-print-table td {
    white-space: normal !important; /* Hücre içeriğini sarmaya zorla */
    word-wrap: break-word !important; /* Uzun kelimeleri böl */
    overflow-wrap: break-word !important; /* Alternatif kelime bölme */
    height: auto !important; /* Yüksekliği içeriğe göre ayarla */
  }
  .tabulator-print-table > *, .tabulator-print-table > * > *{
    border: 1px solid darkgray !important;
  }
}

.tabulator .tabulator-tableholder {
  height: auto !important;
}
#tabulator-table{
  background-color: transparent;
  border: none;
}
.tabulator-popup-container {
  position: absolute;
  display: inline-block;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #aaa;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  font-size: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10000;
  height: auto !important;
}
/*
.tabulator-row .tabulator-row-even{
    background-color: #b1dcf250;
}
*/
.tabulator-menu .tabulator-menu-item {
  position: relative;
  box-sizing: border-box;
  padding: 5px 10px;
  user-select: none;
}
#tabulatorButtons > button:hover {
  background-color: #f0f0f0;
}
.tabulator-row:has(.follow-button:not(.hide)) {
  font-weight: bold;
  color: #6d0202 !important;
}
.fa-check-square,
.fa-square-check {
  color: #4caf50;
}
#dateButtons button {
  transition: background-color 1.5s ease;
  margin-bottom: 5px;
}
.clickedBG {
  background-color: #a9c2c8;
}
#health-mainpage {
  box-sizing: border-box;
  display: block;
  margin: -20px 0;
  height: 100vh;
}
.input-box > label {
  margin: auto 0 !important;
}
.inputLabel {
  transition: all 0.2s ease;
  color: #7c7c7c;
}
.input:focus + .inputLabel, .input:not(:placeholder-shown) + .inputLabel {
  transform: translateY(-31px) !important;
  /* background-color: white; */
  color: black !important;
  zoom: 0.7;
}

.login-container {
  float: right;
  right: 0;
  height: 100vh;
  width: 500px;
  background-color: #f0f0f0;
  z-index: 9999;
  margin-right: -20px;
  padding: 20px;
  overflow: auto;
}
.login-container,
.login-image {
  background-repeat: no-repeat;
  background-size: cover;
}
.login-image > img {
  z-index: -1;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
}
#certificates-area:has(#sertifikalar:not(:empty)) #arksignerDownload {
  display: none !important;
}
#certificates-area:has(#sertifikalar:empty) #sertifikalar {
  height: 300px !important;
}
#certificates-area:has(.success-certificate) #eimzaHeader {
  display: block !important;
}
#certificates-area:has(.success-certificate) #sertifikalar {
  margin-top: -20px;
}

.loginbox-container {
  width: 100%;
  background: white;
  padding: 10px;
  margin: 20px 0px 20px 2px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #ddd;
  margin-bottom: 20px;
}

.tab-button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: bold;
}

.tab-button.active {
  background: #2b84ac;
  color: white;
}

.login,
.form {
  display: none;
  animation: fadeEffect 0.5s;
}

.login.active,
.form.active {
  display: block;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.uyari-2 {
  width: 100%;
}
.uyari-2 > p {
  background-color: red;
  padding: 10px;
  color: white;
  margin: auto;
  border: 2px dotted;
  margin-left: 70px;
}
#loginForm > *,
#registerForm > *,
#connectForm > * {
  margin: 8px 12px;
}
.register-forget > a:hover {
  color: #00aeff;
}
#loginButton,
#registerButton {
  transition: background-color 0.3s ease;
}
#loginButton:hover,
#registerButton:hover,
.choose-button.active {
  background-color: #af0894;
  color: white;
}
#netlify-identity-widget {
  height: calc(100% + 125px) !important;
}
.modalContent {
  margin-top: -20px;
}
@media (max-width: 600px) {
  .login-container {
    width: 100%;
    float: none;
    min-width: 490px;
    zoom: 0.75;
    height: 100%;
  }
  body {
    padding: 0;
  }
  #center-side {
    display: none;
  }
  nav {
    margin: -10px;
  }
  .profile-menu-span {
    display: none;
  }
  .profile-menu-svg {
    display: block !important;
  }
  #userName {
    margin-top: 10px;
    background-color: transparent !important;
    box-shadow: none;
  }
  #hiddenUserName {
    display: block !important;
    background-color: #4caf50;
    font-weight: bold;
    color: white;
  }
  .supportMessage {
    margin-bottom: unset !important;
  }
  #health-mainpage {
    margin: 0;
  }
  .login-image {
    display: none;
  }
  #main-area {
    padding: 10px !important;
  }
  #searchContainer {
    margin-top: -8px !important;
  }
  .notification-circle {
    margin-top:2px !important;

  }
  textarea {
    max-width: 100%;
  }
}
#groupFormContainer {
  display:flex;
}
@media (max-width: 1003px) {
  #patientFormContainer, #groupFormContainer {
    display: block;
  }
  #main-area {
    padding: 0;
  }
}
@media (min-width:600px) and (max-width:1003px) {
  #navbar {
    margin-bottom:0;
  }
}

.emphasis {
  filter: drop-shadow(-2px 6px 6px gray);
  border: 2px solid #072331 !important;
}
#connectForm > * {
  width: calc(100% - 25px);
}
#preview-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
#preview-modal span {
  color: #333 !important;
}
#close-preview {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  filter: brightness(4)
}

#modal-content {
  background-color: #f9f9f9;
  padding: 25px 25px 10px 25px;
  border-radius: 8px;
  margin: 20px auto;
  min-width: 380px;
  position: absolute; /* Absolute positioning */
  top: 50%; /* Vertical center */
  left: 50%; /* Horizontal center */
  transform: translate(-50%, -50%); /* Adjust for exact center */
}

.notifications {
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 9999;
}

.notifications :where(.toast, .column) {
  display: flex;
  align-items: center;
}

.notifications .toast {
  width: 400px;
  position: relative;
  overflow: hidden;
  list-style: none;
  border-radius: 4px;
  padding: 16px 17px;
  margin-bottom: 10px;
  background: var(--light);
  justify-content: space-between;
  animation: show_toast 0.3s ease forwards;
}

@keyframes show_toast {
  0% {
    transform: translateX(100%);
  }
  40% {
    transform: translateX(-5%);
  }
  80% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-10%);
  }
}

.notifications .toast.hide {
  animation: hide_toast 0.3s ease forwards;
}

@keyframes hide_toast {
  0% {
    transform: translateX(-10%);
  }
  40% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(calc(100% + 20px));
  }
}

.toast::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%;
  bottom: 0;
  left: 0;
  animation: progress 5s linear forwards;
}

@keyframes progress {
  100% {
    width: 0%;
  }
}

.toast.success::before,
.btn#success {
  background: var(--success);
}

.toast.error::before,
.btn#error {
  background: var(--error);
}

.toast.warning::before,
.btn#warning {
  background: var(--warning);
}

.toast.info::before,
.btn#info {
  background: var(--info);
}

.toast .column i {
  font-size: 1.75rem;
}

.toast.success .column i {
  color: var(--success);
}

.toast.error .column i {
  color: var(--error);
}

.toast.warning .column i {
  color: var(--warning);
}

.toast.info .column i {
  color: var(--info);
}

.toast .column span {
  font-size: 1.07rem;
  margin-left: 12px;
}

.toast i:last-child {
  color: #aeb0d7;
  cursor: pointer;
}

.toast i:last-child:hover {
  color: var(--dark);
}

@media screen and (max-width: 530px) {
  .notifications {
    width: 80%;
  }

  .notifications .toast {
    width: 100%;
    font-size: 1rem;
    margin-left: 20px;
  }
}

#addButton {
  position: relative;
  overflow: hidden;
}
#addButton:hover {
  background-color: lightgray;
}
#addButton:after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(
    to bottom,
    rgba(229, 172, 142, 0),
    rgba(255, 255, 255, 0.5) 50%,
    rgba(229, 172, 142, 0)
  );
  transform: rotateZ(60deg) translate(-5em, 7.5em);
}
/*This activates the sheen once the button has been hovered*/
#addButton:hover::after,
#addButton:focus::after {
  animation: sheen 1s forwards;
}
@keyframes sheen {
  100% {
    transform: rotateZ(60deg) translate(1em, -9em);
  }
}
#connectVerify > #sertifikalar {
  height: 180px !important;
  overflow: hidden !important;
  width: 100%;
}

input:disabled,
button:disabled, #controlSearchBlock[disabled="true"] {
  opacity: 0.7;
  filter: brightness(85%);
  cursor: not-allowed;
  pointer-events: none;
}

#checkDate[type="checkbox"]:not(:checked) + span::after {
  content: "Hastaya Hastane Randevusu Alınacak";
  color: black;
  text-shadow: 0px 1px 1px rgb(144 144 144);
}

#checkDate[type="checkbox"]:checked + span::after {
  content: "Randevu Alındı";
  color: #013776;
}

#checkGone[type="checkbox"]:not(:checked) + span::after {
  content: "Hastaneye Gidip Gitmediği Sorgulanacak";
  color: black;
  text-shadow: 0px 1px 1px rgb(144 144 144);
}

#checkGone[type="checkbox"]:checked + span::after {
  content: "Randevusuna Gitti";
  color: #013776;
}

#checkCall[type="checkbox"]:not(:checked) + span::after {
  content: "Hastaneye Giden Hasta İle Görüşülecek";
  color: black;
  text-shadow: 0px 1px 1px rgb(144 144 144);
}

#checkCall[type="checkbox"]:checked + span::after {
  content: "Hastayla Görüşüldü";
  color: #013776;
}

.button-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  grid-gap: 10px; 
  max-width: 300px;
  margin: 0 auto; 
}

.button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width:75px;
}

.button:hover {
  background-color: #45a049;
}

.timeline {
  position: relative;
  margin-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgb(118 118 118 / 76%);
}


.prev {
  padding-left: 15px !important;
  left: -65px !important;
}

.next {
  right: -65px;
  padding-left: 18px !important;
  border-radius: 0 3px 3px 0;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-46%);
  padding: 8px;
  color: black;
  border-radius: 50% !important;
  width: 53px;
  font-weight: bold;
  background: white;
  font-size: 32px;
  border-radius: 3px;
  user-select: none;
  -webkit-user-select: none;
  z-index: 9999;
  zoom:0.8;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    color: white !important;
    background-color: rgba(0, 0, 0, 0.8);
}

#modal-storage-group > #planBlock {
  margin-bottom:10px !important;
}
#modal-storage-group > #planBlock > .takip-header {
  display: none !important;
}

#modal-storage-group > #planBlock > .timeline > div {
  background: white;
  padding: 5px;
  border-radius: 3px;
  margin-right: 7px !important;
  cursor:pointer;
  transition: all 0.3s ease;
}
#modal-storage-group > #planBlock > .timeline > div:hover {
  background: #a8ccf4 !important;
}

#modal-storage-group > #planBlock > div > button:hover:not(#cancel-preview):not(#modal-save) {
  background: #a8ccf4 !important;
}
#cancel-preview:hover {
  background: #5b2121 !important;
  color: white;
}
#modal-save:hover {
  background: #256fc4  !important;
  color: white;
}

#close-preview:hover {
  filter: hue-rotate(90deg) saturate(1.2) brightness(0.4) !important;
}

#modal-storage-group > #planBlock > div > .active, #modal-storage-group > #planBlock > .timeline > .active{
  background-color: #256fc4 !important;
  color:white !important;
}
#modal-storage-group > #planBlock > .timeline > .active > span::after {
  color:white !important;
}

#modal-storage-group > #planBlock > div > button {
  transition: all 0.3s ease;
}



#modal-storage-group > #planBlock > .timeline > div > input {
  margin-left: 2px !important;
}

#modal-storage-group > #planBlock > .timeline::before {
  background: white;
}

#modal-storage-group > * {
  margin-bottom: 10px !important
}

.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right, .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{
  border-left: 1px solid #aaa;
}

#modal-storage-group:has(#checkCallBG.active) .next {
  opacity: 0.7;
  filter: brightness(85%);
  cursor: not-allowed;
  pointer-events: none;
}

#modal-storage-group:has(#modal-ad-soyad.active) .prev {
  opacity: 0.7;
  filter: brightness(85%);
  cursor: not-allowed;
  pointer-events: none;
}

.tabulator-header-filter > input {
  height: 25px;
  margin-top: 3px;
}
.tabulator-headers {
  height: 53px;
}
.tabulator-editing > textarea {
  padding: 7px !important;
}

.tabulator-header.nofilter {
  height: 26px !important
}
#tabulator-table.nofilter {
  height:85vh !important;
}
#tabulator-table.print {
  height:unset !important;
}
.tabulator-row, .tabulator-row .tabulator-cell {
  max-height: 320px !important;
}

#new-register-icon {
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px #dddddd, inset 0 4px 6px 0 rgb(0 0 0 / 17%), inset 0 1px 2.5px 0 rgb(0 0 0 / 15%);
} 

#new-register-icon:active {
  filter: brightness(90%);
  border-style: inset;
  
} 

.warning {
  color: #ae4747 !important;
}

.warning-message {
  display: flex;
  align-items: center;
  background-color: #ffcc00;
  color: #333;
  padding: 12px 20px;
  border-radius: 5px;
  border: 1px solid #ffaa00;
  font-family: Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 10px auto;
  transition: all 0.3s ease;
  position: relative;
}

.warning-message:hover {
  background-color: #ffaa00;
  transform: translateY(-3px);
}

.warning-icon {
  font-size: 20px;
  margin-left: 0;
}

.warning-text {
  font-weight: 600;
  font-size: 16px;
  margin: 0 auto;
  padding-left: 5px;
  margin-left:0;
  padding-right: 20px;
}

.hide-message {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hide-message:hover {
  transform: rotate(180deg);
}


.popup {
  position: fixed;
  top: 75px;
  right: 20px;
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}
.popup.expanded h2 {
  margin-bottom: 15px;
  font-size: 20px;
      }
.popup.expanded {
  width: 400px;
  height: auto;
}
.popup h2 {
  text-align: center;
  color: #cf5e4ff0;
  font-size: 16px;
  margin-bottom: 10px;
}
.treeview {
  margin-top: 10px;
  display: none;
}
.popup.expanded .treeview {
  display: block;
}

.expanded > .hide-message {
  font-size: 25px;
}

.treeview > .category, .sub-items > .treeview {
  background: #cf5e4ff0;
  color: white;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.treeview:hover:not(#followUpTree):not(#warningsTree), .category:hover {
  background: #b30000;
}
.sub-items > .sub-items {
  display: none;
  margin-left: 20px;
  padding: 12px;
  background: #f7faff;
  border-radius: 6px;
}
.notification-item{
  border-left: 3px solid #cf5e4ff0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-bottom: 5px;
  transition: all 0.7ms ease;
}
.notification-item:hover {
  background: #ffefde !important
}
.treeview > .sub-items {
  display: none;
  margin-left: 20px;
  padding: 12px;
  padding-top:0;
}
.treeview {
  color: white !important;
}
.treeview .sub-items .sub-category {
  background: #f0f5ff;
  padding: 10px;
  border-radius: 6px;
  margin: 5px 0;
  cursor: pointer;
  transition: 0.3s;
}
.treeview .sub-items .sub-category:hover {
  background: #dbe7ff;
}
.treeview .sub-items div {
  padding: 6px 10px;
  color: #333;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
}
#popupTitle, .notification-item {
  cursor: pointer;
}
#popupTitle:hover {
  filter: brightness(70%)
}
.tree-container{
  max-height: 75vh;
  max-width: 430px;
  overflow-y: auto;
  overflow-x: hidden;
}

.notification-circle {
  background: red;
  color: white;
  font-weight: bold;
  border-radius: 20px;
  font-size: 0.7rem;
  padding: 3px;
  width: 25px;
  height: 25px;
  align-items: center;
  margin-top: -12px;
  position: relative;
  display: flex;
  float: right;
  margin-left: -15px;
}
#notification-text {
  margin: auto;
}
#notification-text-in-button {
  margin: auto;
  background: red;
  color: white;
  font-weight: bold;
  border-radius: 20px;
  padding: 3px 5px;
  width: 25px;
  height: 25px;
  font-size: 0.85rem;
  padding-bottom: 5px
}
#user-menu:hover .notification-circle {
  display:none !important;
}

.browser-warning {
  background-color: #ffcc00;
  color: #333;
  padding: 10px 15px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  border-bottom: 2px solid #ffaa00;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
