:root {
  --font-default: "Gilroy-Medium";
}

body#formbody {
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

.frmcnt {
  display: flex;
  justify-content: center;
  min-height: 670px;
  max-height: max-content;
  position: relative;
  overflow: visible;
}

/* Form konteyneri */
.form-container {
  background: #fff;
  padding: 0 2rem 0 2rem;
  box-shadow: none;
  border-radius: 0;
  width: 800px;
  max-width: 100%;
  max-height: 100%; 
  min-height: 670px;
  text-align: center;
  font-family: var(--font-default);
  font-size: 15px;
  overflow-y: auto;
  overflow-x: visible;
  position: relative;
}

/* Mobil cihazlar için stil ayarları */
@media (max-width: 768px) {
  .form-container {
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    min-height: auto;
    margin-top: 10px;
    overflow: visible !important;
  }
}

/* Kaydırma çubuğu stilini gizle */
.form-container::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.form-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.form-container::before,
.form-container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.form-container > * {
  position: relative;
}

.loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 280px;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  text-align: center;
  overflow: hidden;
}

/* Görsel stili */
.loading img {
  width: auto;
  height: 80px;
  -webkit-animation: rotate-loading 1.5s linear infinite;
  animation: rotate-loading 1.5s linear infinite;
  transform-origin: center center;
}

/* Animasyonlar */
@-webkit-keyframes rotate-loading {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes rotate-loading {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.icons-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.icon {
  width: 2vw;
  height: 2vw;
  min-width: 25px;
  min-height: 25px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.3s ease;
}

.icon.active {
  background-color: #000;
}

.icon-number {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  position: absolute;
}

@media (max-width: 600px) {
  .icon {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
  }
}

.question {
  display: none;
  width: 100%;
}

.question.show {
  display: block;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px 0;
  margin: 1rem 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.hidden {
  display: none;
}

.baslik {
  font-family: var(--font-default);
  font-size: 17px;
  font-weight: bold;
  color: #333;
  margin: 0;
  padding: 0.5rem 0;
  text-align: center;
}

.altnot {
  font-family: var(--font-default);
  font-size: 16px;
  color: #777;
  margin: 0;
  padding: 0.5rem 0;
  text-align: center;
}

.button-container {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 0;
}

.btn {
  background-color: #2E2E2E;
  color: #fff;
  border: 2px solid transparent;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  width: 120px;
  height: 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn .plus-sign {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn .plus-sign .line {
  position: absolute;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.btn .plus-sign .horizontal {
  width: 18px;
  height: 0.5px;
}

.btn .plus-sign .vertical {
  width: 1px;
  height: 18px;
}

.btn:hover .plus-sign .horizontal {
  transform: rotate(45deg);
  background-color: #000;
}

.btn:hover .plus-sign .vertical {
  transform: rotate(45deg);
  background-color: #000;
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.radio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 80%;
  margin: 0 auto;
}

/* Mobil cihazlar için media sorgusu */
@media (max-width: 768px) {
  .radio-container {
    width: 100%;
  }
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.radio-item input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #4a4b4d;
  background-color: #fff;
  outline: none;
  cursor: pointer;
  position: relative;
}

.radio-item input[type="radio"]::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  background-color: #2E2E2E;
  transition: opacity 0.3s;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio-item input[type="radio"]:checked::before {
  opacity: 1;
}

.radio-item input[type="radio"]:checked::after {
  position: absolute;
  font-size: 15px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.error-message {
  color: red;
  font-weight: 400;
  margin-bottom: 10px;
  display: none;
}

.error-messages {
  color: red;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 10px;
  display: none;
}

.question_sub {
  display: none;
}

.icon-container img {
  max-width: 100%;
  height: auto;
  width: 100px;
}

/* Düğme stili */
.tk-button {
  display: flex;
  align-items: center;
  border-radius: 50px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 36px;
  border: none;
}

/* Masaüstü cihazlar için hover işlevselliği */
@media (min-width: 768px) {
  .tk-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #2E2E2E;
    transition: width 0.7s ease;
    z-index: 0;
  }

  .tk-button:hover::before {
    width: 100%;
  }

  .tk-button:hover .tk-arrow .fa-chevron-right {
    opacity: 0;
  }

  .tk-button:hover .tk-arrow .fa-arrow-right {
    opacity: 1;
    transform: scale(1);
  }

  .tk-button:hover .tk-text {
    color: #fff;
  }
}

/* Mobil cihazlar için hover işlevselliğini kaldırma */
@media (max-width: 767px) {
  .tk-button::before {
    content: none;
  }

  .tk-arrow-wrapper {
    background-color: #2E2E2E;
  }

  .tk-arrow {
    width: 20px;
    height: 20px;
  }

  .tk-arrow i {
    font-size: 14px;
  }

  .tk-arrow .fa-chevron-right {
    opacity: 1;
  }

  .tk-arrow .fa-arrow-right {
    opacity: 0;
    transform: scale(0.8);
  }

  .tk-text {
    color: #fff;
    margin-left: 35px;
    margin-right: 15px;
  }
}

/* Ok işareti stili */
.tk-arrow-wrapper {
  width: 35px;
  height: 35px;
  background-color: #2E2E2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
}

.tk-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
}

.tk-arrow i {
  position: absolute;
  font-size: 14px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: #fff;
}

.tk-arrow .fa-chevron-right {
  opacity: 1;
  z-index: 1;
}

.tk-arrow .fa-arrow-right {
  opacity: 0;
  transform: scale(0.8);
  z-index: 2;
}

/* Metin stili */
.tk-text {
  font-size: 14px;
  color: #fff;
  z-index: 1;
  position: relative;
  transition: color 0.4s ease;
  margin-left: 35px;
  margin-right: 15px;
}

/* Düğme stili */
.tkg-button {
  display: flex;
  align-items: center;
  border-radius: 50px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 36px;
  border: none;
}

/* Masaüstü cihazlar için hover işlevselliği */
@media (min-width: 768px) {
  .tkg-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background-color: #2E2E2E;
    transition: width 0.7s ease;
    z-index: 0;
  }

  .tkg-button:hover::before {
    width: 100%;
  }

  .tkg-button:hover .tkg-arrow .fa-chevron-left {
    opacity: 0;
  }

  .tkg-button:hover .tkg-arrow .fa-arrow-left {
    opacity: 1;
    transform: scale(1);
  }

  .tkg-button:hover .tkg-text {
    color: #fff;
  }
}

/* Mobil cihazlar için hover işlevselliğini kaldırma */
@media (max-width: 767px) {
  .tkg-button::before {
    content: none;
  }

  .tkg-arrow-wrapper {
    background-color: #2E2E2E;
  }

  .tkg-arrow {
    width: 20px;
    height: 20px;
  }

  .tkg-arrow i {
    font-size: 14px;
  }

  .tkg-arrow .fa-chevron-left {
    opacity: 1;
  }

  .tkg-arrow .fa-arrow-left {
    opacity: 0;
    transform: scale(0.8);
  }

  .tkg-text {
    color: #fff;
    margin-right: 35px;
    margin-left: 15px;
  }
}

/* Ok işareti stili */
.tkg-arrow-wrapper {
  width: 35px;
  height: 35px;
  background-color: #2E2E2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
}

.tkg-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
}

.tkg-arrow i {
  position: absolute;
  font-size: 14px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: #fff;
}

.tkg-arrow .fa-chevron-left {
  opacity: 1;
  z-index: 1;
}

.tkg-arrow .fa-arrow-left {
  opacity: 0;
  transform: scale(0.8);
  z-index: 2;
}

/* Metin stili */
.tkg-text {
  font-size: 14px;
  color: #fff;
  z-index: 1;
  position: relative;
  transition: color 0.4s ease;
  margin-right: 35px;
  margin-left: 15px;
}

/* Genel stil ayarları */
.tks-button {
  display: flex;
  align-items: center;
  border-radius: 50px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 36px;
  border: none;
}

/* Arka plan rengi geçişi */
.tks-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #2E2E2E;
  transition: width 0.7s ease;
  z-index: 0;
}

/* Masaüstü cihazlar için hover işlevselliği */
@media (min-width: 768px) {
  .tks-button:hover::before {
    width: 100%;
  }

  .tks-button:hover .tks-arrow-wrapper {
    transform: translateY(-50%) rotate(40deg);
  }

  .tks-button:active .tks-arrow-wrapper {
    transform: translateY(-50%) translateX(calc(100% - 35px));
  }

  .tks-button:hover .tks-text {
    color: #fff;
  }
}

/* Mobil cihazlar için hover işlevselliğini kaldırma */
@media (max-width: 767px) {
  .tks-button::before {
    content: none;
  }

  .tks-arrow-wrapper {
    background-color: #2E2E2E;
    transform: translateY(-50%) rotate(0deg);
  }

  .tks-button:active .tks-arrow-wrapper {
    transform: translateY(-50%) translateX(calc(100% - 35px));
  }

  .tks-text {
    color: #fff;
    margin-left: 35px;
    margin-right: 15px;
  }
}

/* Ok işareti stili */
.tks-arrow-wrapper {
  width: 35px;
  height: 35px;
  background-color: #2E2E2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
  transition: transform 0.4s ease;
}

/* İkon stili */
.tks-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
}

/* İkonun döndürülmesi ve konumu */
.tks-arrow i {
  font-size: 14px;
  color: #fff;
  transition: transform 0.5s ease;
}

/* Üzerine gelindiğinde yazının rengini koru */
.tks-text {
  font-size: 14px;
  color: #fff;
  z-index: 1;
  position: relative;
  transition: color 0.4s ease;
  margin-left: 35px;
  margin-right: 15px;
}

.tkd-button {
  display: flex;
  align-items: center;
  border-radius: 50px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 36px;
  border: none;
  width: 35px;
}

/* Masaüstü cihazlar için hover işlevselliği */
@media (min-width: 768px) {
  .tkd-button::before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #2E2E2E;
    transition: width 0.7s ease;
    z-index: 0;
  }
}

/* Mobil cihazlar için hover işlevselliğini kaldırma */
@media (max-width: 767px) {
  .tkd-button::before {
    content: none;
  }

  .tkd-arrow-wrapper {
    background-color: #2E2E2E;
  }

  .tkd-arrow {
    width: 20px;
    height: 20px;
  }

  .tkd-arrow i {
    font-size: 14px;
  }

  .tkd-arrow .fa-chevron-right {
    opacity: 1;
  }

  .tkd-arrow .fa-arrow-right {
    opacity: 0;
    transform: scale(0.8);
  }

  .tkd-text {
    color: #fff;
    margin-left: 35px;
    margin-right: 15px;
  }
}

/* Ok işareti stili */
.tkd-arrow-wrapper {
  width: 35px;
  height: 35px;
  background-color: #2E2E2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
}

.tkd-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
}

.tkd-arrow i {
  position: absolute;
  font-size: 14px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: #fff;
}

.tkd-arrow .fa-chevron-right {
  opacity: 1;
  z-index: 1;
}

.tkd-arrow .fa-arrow-right {
  opacity: 0;
  transform: scale(0.8);
  z-index: 2;
}

/* Metin stili */
.tkd-text {
  font-size: 14px;
  color: #fff;
  z-index: 1;
  position: relative;
  transition: color 0.4s ease;
  margin-left: 35px;
  margin-right: 15px;
}

#form-segment {
  padding: 10px;
}

#form-segment * {
  animation: slideIn 1s ease;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#form-segment input {
  border-radius: 20px !important;
  padding-left: 15px !important;
  cursor: url('assets/menu/custom-cursor-1.svg'), auto;
}

.myformselect {
  border-radius: 20px !important;
  padding-left: 15px !important;
  cursor: url('assets/menu/custom-cursor-1.svg'), auto;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), -2px -2px 5px rgba(255, 255, 255, 0.7);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  padding: 10px 0;
}

.myformselect:focus {
  border: 1.5px solid #555;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
  outline: none;
}

.myinput {
  margin-right: 8px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), -2px -2px 5px rgba(255, 255, 255, 0.7);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  padding: 0.7rem;
  border: none;
  flex: 1;
}

.myinput:focus {
  border: 1.5px solid #555;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
  outline: none;
}

/* Chrome, Safari, Edge için */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox için */
input[type=number] {
  -moz-appearance: textfield;
}

.myinputfile::-webkit-file-upload-button {
  display: none;
}

.myinputfile {
  display: flex;
  height: 43px;
  align-items: center; 
  margin: 1rem 0;
  padding: 10px 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), -2px -2px 5px rgba(255, 255, 255, 0.7); 
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.8); 
  color: #333;
}

.myinputfile:focus {
  border: 1.5px solid #555; 
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5); 
  outline: none; 
}

/* Genel stil */
#category-selection {
  position: relative;
  display: flex;
  justify-content: center;
}

.tf-radio-option {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
  width: 80%;
  padding: 0px 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: border-color 0.3s ease, transform 0.2s ease;
  margin-bottom: 10px;
  position: relative;
  cursor: url('assets/menu/custom-cursor-1.svg'), auto;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), -2px -2px 5px rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
}

/* Mobil cihazlar için media sorgusu */
@media (max-width: 768px) {
  .tf-radio-option {
    width: 100%;
  }
}

/* Radio butonunu gizle */
.tf-radio-option input[type="radio"] {
  display: none;
}

/* Label için stil */
.tf-radio-option label {
  flex-grow: 1;
  text-align: center;
  position: relative;
  padding: 10px 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: url('assets/menu/custom-cursor-1.svg'), auto;
}

/* Seçim yapıldığında kutu görünümü */
.tf-radio-option label::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: transparent;
}

/* Radio butonu seçildiğinde kutu ve tik simgesi görünür */
.tf-radio-option input[type="radio"]:checked + label::before {
  content: '✓';
  color: #2cb34f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bolder;
}

.tf-radio-option.selected {
  border-color: rgba(0, 0, 0, 0.8);
  border-width: 1px;
  animation: shake 0.3s;
}

/* Neon etkisi için */
.tf-radio-option.selected {
  border: 1.5px solid #555;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
  outline: none;
  animation: shake 0.3s;
}

/* Titreme animasyonu */
@keyframes shake {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 0); }
  50% { transform: translate(2px, 0); }
  75% { transform: translate(-2px, 0); }
  100% { transform: translate(0); }
}

/* Radio butonunu gizle */
.tf-radio-option input[type="checkbox"] {
  display: none;
}

/* Checkbox stilini gizleme */
.tf-radio-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #888;
  border-radius: 4px;
  margin-right: 8px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Checkbox işaretlendiğinde renklendirme */
.tf-radio-option input[type="checkbox"]:checked {
  background-color: #2e2e2e;
  border-color: #2e2e2e;
}

/* Radio butonu seçildiğinde kutu ve tik simgesi görünür */
.tf-radio-option input[type="checkbox"]:checked + label::before {
  content: '✓';
  color: #2cb34f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bolder;
}

#closediv {
  position: absolute;
  top: 0; 
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
}

#closebtn {
  background-color: #2E2E2E;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  cursor: url('assets/menu/custom-cursor-1.svg'), auto;
}

@media (max-width: 768px) {
  #closediv {
    display: none;
  }
}

/* Logo alanı */
.ustlogo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0px 20px 10px 20px;
  box-sizing: border-box;
}

/* Logo resmi */
.header-responsive-logo {
  max-width: 100%;
  height: auto;
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
  .header-responsive-logo {
    width: 85px;
  }
}

@media (min-width: 769px) {
  .header-responsive-logo {
    width: 120px;
  }
}

#alt {
  margin-top: 10px;
  font-size: 17px;
}

.col-9 {
  width: 100%;
  display: flex; 
  align-items: center;
}

@media (min-width: 769px) {
  .col-9 {
    width: 81%;
    display: flex; 
    align-items: center;
  }
}

/* ==================== TOOLTIP STYLES ==================== */

.tooltip-wrapper {
  position: static;
  display: inline-flex;
  align-items: center;
}

.tooltip-icon {
  background-color: transparent;
  color: #555;
  font-size: 14px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  border: 2px solid #555;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 100;
}

.tooltip-icon:hover,
.tooltip-icon:focus {
  background-color: #555;
  color: #fff;
  outline: none;
}

/* Tooltip içeriği - FIXED positioning ile overflow sorununu çöz */
.tooltip-text {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: #f9f9f9;
  color: #333;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  width: 320px;
  max-width: calc(100vw - 40px);
  max-height: 60vh;
  overflow-y: auto;
  position: fixed;
  z-index: 99999;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Tooltip ok işareti - gizle çünkü fixed positioning ile doğru çalışmaz */
.tooltip-text::before,
.tooltip-text::after {
  display: none;
}

/* Tooltip içindeki tablolar */
.tooltip-text table {
  width: 100%;
  border-collapse: collapse;
  font-size: inherit;
}

.tooltip-text table td,
.tooltip-text table th {
  padding: 4px 8px;
  vertical-align: top;
}

.tooltip-text table img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 4px;
}

/* Info boşsa gizle */
.tooltip-text.empty {
  display: none !important;
  width: 0;
  height: 0;
  padding: 0;
  border: none;
}

/* Hover ve Focus durumları - JavaScript tarafından kontrol ediliyor */
/* Masaüstünde hover ile açılma (fallback) */
@media (hover: hover) and (pointer: fine) {
  .tooltip-wrapper:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* ==================== BÜYÜK EKRANLAR (1024px+) ==================== */
@media (min-width: 1024px) {
  .tooltip-text {
    width: 380px;
    padding: 14px;
    font-size: 0.9rem;
    /* Varsayılan: sağ üstte göster, JS ile dinamik ayarlanacak */
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .tooltip-text table img {
    max-width: 340px;
  }
}

/* ==================== TABLET (768px - 1024px) ==================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .tooltip-text {
    width: 320px;
    padding: 12px;
    font-size: 0.85rem;
  }

  .tooltip-text table img {
    max-width: 280px;
  }
}

/* ==================== MOBİL (max 768px) - Modal tarzı ortada göster ==================== */
@media (max-width: 767px) {
  .tooltip-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    font-size: 12px;
  }

  /* Mobilde tooltip ekranın ortasında modal olarak göster */
  .tooltip-text {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 85vw !important;
    max-width: 320px !important;
    max-height: 70vh !important;
    padding: 16px !important;
    font-size: 0.8rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
  }

  .tooltip-text table {
    font-size: 0.75rem;
  }

  .tooltip-text table img {
    max-width: 100%;
  }

  .tooltip-text table td,
  .tooltip-text table th {
    padding: 4px 6px;
  }

}

/* ==================== ÇOK KÜÇÜK MOBİL (max 480px) ==================== */
@media (max-width: 480px) {
  .tooltip-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    font-size: 11px;
    margin-left: 3px;
    border-width: 1.5px;
  }

  .tooltip-text {
    width: 90vw !important;
    max-width: 300px !important;
    max-height: 65vh !important;
    padding: 12px !important;
    font-size: 0.75rem;
  }

  .tooltip-text table {
    font-size: 0.7rem;
  }
}

/* ==================== ÇOK KÜÇÜK MOBİL (max 375px) ==================== */
@media (max-width: 375px) {
  .tooltip-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    font-size: 10px;
  }

  .tooltip-text {
    width: 92vw !important;
    max-width: 280px !important;
    max-height: 60vh !important;
    padding: 10px !important;
    font-size: 0.7rem;
  }

  .tooltip-text table {
    font-size: 0.65rem;
  }

  .tooltip-text table img {
    max-width: 100%;
  }
}

/* ==================== LANDSCAPE MOBİL ==================== */
@media (max-width: 900px) and (orientation: landscape) {
  .tooltip-text {
    max-height: 80vh !important;
    width: 50vw !important;
    max-width: 350px !important;
  }
}

/* ==================== TOUCH CİHAZLAR İÇİN ==================== */
@media (hover: none) and (pointer: coarse) {
  .tooltip-icon {
    padding: 5px;
  }

  /* Touch cihazlarda CSS hover devre dışı, JavaScript kontrol ediyor */
  .tooltip-wrapper:hover .tooltip-text {
    opacity: 0;
    visibility: hidden;
  }
}

/* ==================== ERİŞİLEBİLİRLİK ==================== */
@media (prefers-reduced-motion: reduce) {
  .tooltip-text {
    transition: none;
  }

  .tooltip-icon {
    transition: none;
  }
}

/* Yüksek kontrast modu */
@media (prefers-contrast: high) {
  .tooltip-text {
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
  }

  .tooltip-icon {
    border: 2px solid #000;
  }
}