/* Sulax-style floating action buttons (sağ alt) */

.special-form-trigger {
  position: fixed;
  right: 35px;
  bottom: 206px;
  width: 70px;
  height: 70px;
  z-index: 50;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  backface-visibility: visible;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.special-form-trigger.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.special-form-trigger.hide {
  transform: translateY(300%);
}

.special-form-tooltip {
  position: absolute;
  backface-visibility: visible;
  background: linear-gradient(135deg, #198754, #22ad6c, #198754);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  padding: 11px 16px;
  border-radius: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: calc(100% + 10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.special-form-trigger:hover .special-form-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-15px);
}

.special-form-trigger-icon,
.sulax-phone-trigger-icon,
.sulax-whatsapp-trigger-icon {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(18 107 62), rgb(31 190 109), rgb(18 107 62));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  backface-visibility: hidden;
  transition: background 2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.special-form-trigger:hover .special-form-trigger-icon,
.sulax-phone-trigger:hover .sulax-phone-trigger-icon,
.sulax-whatsapp-trigger:hover .sulax-whatsapp-trigger-icon {
  background: linear-gradient(135deg, rgb(14 87 50), rgb(32 187 108), rgb(14 87 50));
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite 0.5s;
  animation-fill-mode: both;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.special-form-trigger-icon img,
.sulax-phone-trigger-icon img {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 10;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  display: block;
  transition: transform 0.3s ease;
}

.sulax-whatsapp-trigger-icon img {
  width: 35px;
  height: 35px;
}

.special-form-trigger:hover .special-form-trigger-icon img,
.sulax-phone-trigger:hover .sulax-phone-trigger-icon img,
.sulax-whatsapp-trigger:hover .sulax-whatsapp-trigger-icon img {
  transform: scale(1.05);
}

.sulax-phone-trigger,
.sulax-whatsapp-trigger {
  position: fixed;
  right: 35px;
  width: 70px;
  height: 70px;
  z-index: 50;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  backface-visibility: visible;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  text-decoration: none;
  display: block;
}

.sulax-phone-trigger {
  bottom: 136px;
}

.sulax-whatsapp-trigger {
  bottom: 66px;
}

.sulax-phone-tooltip,
.sulax-whatsapp-tooltip {
  position: absolute;
  backface-visibility: visible;
  background: linear-gradient(135deg, #198754, #22ad6c, #198754);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  padding: 11px 16px;
  border-radius: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: calc(100% + 10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sulax-phone-trigger:hover .sulax-phone-tooltip,
.sulax-whatsapp-trigger:hover .sulax-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-15px);
}

/* Footer WhatsApp ile çakışmayı önle */
.footer > .fixed-field {
  display: none !important;
}

@media (min-width: 1024px) {
  .special-form-trigger {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 240px;
  }

  .sulax-phone-trigger,
  .sulax-whatsapp-trigger {
    width: 50px;
    height: 50px;
    right: 20px;
  }

  .sulax-phone-trigger {
    bottom: 185px;
  }

  .sulax-whatsapp-trigger {
    bottom: 130px;
  }
}

@media (max-width: 1023px) {
  .special-form-trigger {
    width: 48px;
    height: 48px;
    right: 20px;
    bottom: 210px;
  }

  .sulax-phone-trigger,
  .sulax-whatsapp-trigger {
    width: 48px;
    height: 48px;
    right: 20px;
  }

  .sulax-phone-trigger {
    bottom: 155px;
  }

  .sulax-whatsapp-trigger {
    bottom: 100px;
  }
}

@media (max-width: 768px) {
  .special-form-tooltip,
  .sulax-phone-tooltip,
  .sulax-whatsapp-tooltip {
    display: none;
  }
}

/* Desktop / tablet: alt bar yok, mevcut yüzen butonlar */
.sebil-mobile-action-bar {
  display: contents;
}

.sebil-mobile-action-bar__label {
  display: none;
}

/* Masaüstü / tablet: eski yüzen butonları gizle (bk-tools kullanılıyor) */
@media (min-width: 769px) {
  .sebil-mobile-action-bar .special-form-trigger,
  .sebil-mobile-action-bar .sulax-phone-trigger,
  .sebil-mobile-action-bar .sulax-whatsapp-trigger {
    display: none !important;
  }
}

/* Mobil: alt sabit aksiyon barı */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .sebil-mobile-action-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    align-items: stretch;
    gap: 0;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(50, 68, 103, 0.12);
    box-shadow: 0 -8px 24px rgba(50, 68, 103, 0.1);
  }

  .sebil-mobile-action-bar__item:not(:last-child)::after,
  .sebil-mobile-action-bar .bk-talep-trigger:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 38px;
    background: linear-gradient(
      180deg,
      rgba(50, 68, 103, 0) 0%,
      rgba(50, 68, 103, 0.16) 18%,
      rgba(50, 68, 103, 0.16) 82%,
      rgba(50, 68, 103, 0) 100%
    );
    pointer-events: none;
  }

  .sebil-mobile-action-bar__item,
  .sebil-mobile-action-bar .bk-talep-trigger {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    top: auto;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;
    border: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .sebil-mobile-action-bar__item.hide,
  .sebil-mobile-action-bar__item.show {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sebil-mobile-action-bar__icon,
  .sebil-mobile-action-bar__item .special-form-trigger-icon,
  .sebil-mobile-action-bar__item .sulax-phone-trigger-icon,
  .sebil-mobile-action-bar__item .sulax-whatsapp-trigger-icon,
  .sebil-mobile-action-bar__item .bk-talep-trigger-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    box-shadow: none;
  }

  .sebil-mobile-action-bar__item .special-form-trigger-icon img,
  .sebil-mobile-action-bar__item .sulax-phone-trigger-icon img {
    width: 22px;
    height: 22px;
  }

  .sebil-mobile-action-bar__item .sulax-whatsapp-trigger-icon img {
    width: 24px;
    height: 24px;
  }

  .sebil-mobile-action-bar__item .bk-talep-trigger-icon svg {
    width: 22px;
    height: 22px;
  }

  .sebil-mobile-action-bar__label {
    display: block;
    max-width: 100%;
    padding: 0 2px;
    color: #324467;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sebil-mobile-action-bar .bk-talep-badge {
    top: 0;
    right: calc(50% - 28px);
  }
}

/* Scroll to top (Sulax-style) */
.bk-back-to-top-wrapper {
  position: fixed;
  right: 35px;
  bottom: 0;
  width: 44px;
  height: 44px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.3s ease;
}

.bk-back-to-top-wrapper.bk-back-to-top-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

.bk-back-to-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgb(1, 150, 225);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.bk-back-to-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  color: rgb(0, 120, 180);
}

.bk-back-to-top-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (min-width: 1024px) {
  .bk-back-to-top-wrapper {
    right: 20px;
  }
}

@media (max-width: 1023px) {
  .bk-back-to-top-wrapper {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .bk-back-to-top-wrapper {
    z-index: 65;
    right: 16px;
  }

  .bk-back-to-top-wrapper.bk-back-to-top-show {
    bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .bk-back-to-top-btn {
    box-shadow: 0 4px 18px rgba(50, 68, 103, 0.18);
  }
}

/* CSS Variables for Form Colors — light theme */
:root {
  --sf-body-color: #f6fcff;
  --sf-surface: #f6fcff;
  --sf-close-bg: #dceef6;
  --sf-text: #324467;
  --sf-text-muted: #64748b;
  --sf-lynch-800: #cbd5e1;
  --sf-lynch-600: #94a3b8;
  --sf-lynch-500: #64748b;
  --sf-lynch-400: #475569;
  --sf-primary: rgb(1 150 225);
  --sf-button-bg: rgb(1 150 225);
  --sf-button-hover: rgb(0 120 180);
  --sf-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23324467' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Modal Overlay */
.special-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  animation: fancybox-fadeIn 0.15s ease backwards;
}

.special-form-overlay.active {
  opacity: 1;
  visibility: visible;
}

@keyframes fancybox-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Container */
.special-form-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  max-width: 1280px;
  width: 90%;
  max-height: 85vh;
  background: var(--sf-body-color);
  border-radius: 20px;
  overflow: visible;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  position: relative;
  isolation: isolate;
  box-shadow: 0 24px 80px rgba(50, 68, 103, 0.16);
}

.special-form-overlay.active .special-form-modal {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close Button - Centered at Top */
.special-form-close {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sf-close-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
  padding: 0;
  color: var(--sf-text);
  box-shadow: 0 4px 16px rgba(50, 68, 103, 0.1);
}

.special-form-close:hover {
  background: rgb(0 120 180);
  color: #fff;
}

.special-form-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: transform 0.4s ease;
}

.special-form-close:hover svg {
  transform: rotate(-180deg);
}

/* Left Side - Image */
.special-form-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--sf-body-color);
  border-radius: 20px 0 0 20px;
}

.special-form-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.special-form-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 20px 0 0 20px;
  background:
    radial-gradient(ellipse 72% 42% at 0% 0%, rgba(0, 0, 0, 0.28) 0%, transparent 68%),
    radial-gradient(ellipse 72% 42% at 0% 100%, rgba(0, 0, 0, 0.22) 0%, transparent 68%);
}

.special-form-image-heading {
  display: block;
  position: absolute;
  top: 4%;
  right: 2rem;
  left: 2rem;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.35;
  text-align: left;
  font-weight: 700;
  letter-spacing: -0.01em;
  z-index: 2;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.special-form-image-heading strong {
  font-weight: 700;
  display: block;
}

.special-form-image-heading-bottom {
  position: absolute;
  bottom: 2%;
  right: 2rem;
  left: 2rem;
  color: #fff;
  font-size: 26px;
  line-height: 1.35;
  text-align: left;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.special-form-image-heading-bottom strong {
  font-weight: 600;
  display: inline;
}

.special-form-call-icon {
  width: 32px;
  height: 32px;
  stroke: #fff;
  flex-shrink: 0;
}

/* Right Side - Form */
.special-form-content {
  padding: 50px 50px 35px 50px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 85vh;
  min-width: 0;
  border-radius: 0 20px 20px 0;
  justify-content: center;
  align-items: stretch;
  background: var(--sf-body-color);
}

.special-form-content .special-form {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.special-form-content::-webkit-scrollbar {
  width: 6px;
}

.special-form-content::-webkit-scrollbar-track {
  background: rgba(50, 68, 103, 0.06);
}

.special-form-content::-webkit-scrollbar-thumb {
  background: var(--sf-lynch-600);
  border-radius: 3px;
}

.special-form-content::-webkit-scrollbar-thumb:hover {
  background: var(--sf-lynch-500);
}

/* Form Title */
.special-form-title {
  display: block;
  text-align: center;
  color: var(--sf-text);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* Form Grid */
.special-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 25px;
  margin-bottom: 20px;
  width: 100%;
  min-width: 0;
}

/* Form Field */
.special-form-field {
  position: relative;
  min-width: 0;
}

.special-form-field.full-width {
  grid-column: span 2;
}

/* Form Label - Positioned on Border */
.special-form-label {
  position: absolute;
  left: 15px;
  top: 0;
  transform: translateY(-50%);
  background: var(--sf-body-color);
  padding: 0 15px;
  color: var(--sf-text);
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
  transition: all 0.35s ease;
  pointer-events: none;
}

.special-form-input:focus + .special-form-label,
.special-form-textarea:focus + .special-form-label,
.special-form-phone-wrapper:focus-within + .special-form-label,
.special-form-select:focus + .special-form-label {
  color: var(--sf-primary);
  font-weight: 700;
}

.special-form-select.has-value + .special-form-label {
  color: var(--sf-primary);
}

/* Form Inputs - Override global input styles */
.special-form-input,
.special-form-language-input,
.special-form-textarea,
.special-form-phone-input,
.special-form-select,
input.special-form-input[type="text"],
input.special-form-input[type="email"],
input.special-form-input[type="tel"],
textarea.special-form-textarea,
select.special-form-select {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 65px !important;
  padding: 0 25px !important;
  background: var(--sf-body-color) !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--sf-text) !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: normal !important;
  transition: all 0.35s ease;
  font-family: inherit;
  box-shadow: 0 0 0 1px var(--sf-lynch-800) !important;
  outline: none !important;
}

.special-form-textarea,
textarea.special-form-textarea {
  height: 120px !important;
  padding: 20px 25px !important;
  resize: none !important;
  line-height: 1.4 !important;
}

/* Tüm placeholder'lar Proje adı (select) ile aynı görünüm */
.special-form-input::placeholder,
.special-form-textarea::placeholder,
.special-form-phone-input::placeholder,
.special-form-language-input::placeholder,
input.special-form-input[type="text"]::placeholder,
input.special-form-input[type="email"]::placeholder,
input.special-form-phone-input[type="tel"]::placeholder,
textarea.special-form-textarea::placeholder {
  color: var(--sf-lynch-500) !important;
  opacity: 1 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 300 !important;
}

.special-form-input:hover,
.special-form-textarea:hover,
.special-form-phone-wrapper:hover .special-form-phone-input,
.special-form-select:hover,
input.special-form-input[type="text"]:hover,
input.special-form-input[type="email"]:hover,
input.special-form-phone-input[type="tel"]:hover,
textarea.special-form-textarea:hover,
select.special-form-select:hover {
  box-shadow: 0 0 0 1px var(--sf-lynch-600) !important;
  border-color: transparent !important;
}

.special-form-input:focus,
.special-form-textarea:focus,
.special-form-phone-wrapper:focus-within .special-form-phone-input,
input.special-form-input[type="text"]:focus,
input.special-form-input[type="email"]:focus,
input.special-form-phone-input[type="tel"]:focus,
textarea.special-form-textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 1px var(--sf-primary) !important;
  border-color: transparent !important;
  background: var(--sf-body-color) !important;
}

/* Select focus - preserve background-image for dropdown icon */
.special-form-select:focus,
select.special-form-select:focus {
  outline: none !important;
  box-shadow: 0 0 0 1px var(--sf-primary) !important;
  border-color: transparent !important;
  background-color: var(--sf-body-color) !important;
  background-image: var(--sf-select-arrow) !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px !important;
}

.special-form-input:focus::placeholder,
.special-form-textarea:focus::placeholder,
.special-form-phone-input:focus::placeholder,
.special-form-language-input:focus::placeholder,
input.special-form-input[type="text"]:focus::placeholder,
input.special-form-input[type="email"]:focus::placeholder,
input.special-form-phone-input[type="tel"]:focus::placeholder,
textarea.special-form-textarea:focus::placeholder {
  opacity: 0.5 !important;
}

/* Select Field */
.special-form-select,
select.special-form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: var(--sf-select-arrow) !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px !important;
  background-attachment: scroll !important;
  padding-right: 45px !important;
  cursor: pointer !important;
  line-height: normal !important;
  position: relative !important;
}

/* Keep icon visible and in place when select is focused or open */
.special-form-select:focus,
.special-form-select:active,
.special-form-select:hover,
select.special-form-select:focus,
select.special-form-select:active,
select.special-form-select:hover {
  background-image: var(--sf-select-arrow) !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px !important;
  background-attachment: scroll !important;
}

.special-form-select option {
  background: var(--sf-body-color);
  color: var(--sf-text);
  padding: 10px;
}

.special-form-select option:first-child {
  color: var(--sf-lynch-500);
}

/* Proje adı ve Yatırımcı türü: placeholder (boş) iken gri, seçim yapılınca beyaz */
.special-form-select:not(.has-value),
select.special-form-select:not(.has-value) {
  color: var(--sf-lynch-500) !important;
}
.special-form-select.has-value,
select.special-form-select.has-value {
  color: var(--sf-text) !important;
}

/* Phone Input Wrapper */
.special-form-phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.special-form-phone-input,
input.special-form-phone-input[type="tel"] {
  width: 100% !important;
  height: 65px !important;
  padding: 0 25px 0 85px !important;
  background: var(--sf-body-color) !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--sf-text) !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: normal !important;
  transition: all 0.35s ease;
  font-family: inherit;
  box-shadow: 0 0 0 1px var(--sf-lynch-800) !important;
  outline: none !important;
}

/* Phone Country Selector */
.special-form-phone-selector {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.35s ease;
  border-right: 1px solid var(--sf-lynch-800);
}

.special-form-phone-selector:hover {
  opacity: 0.9;
}

.special-form-phone-code {
  color: var(--sf-text);
  font-size: 14px;
  font-weight: 300;
  white-space: nowrap;
}

.special-form-phone-arrow {
  color: var(--sf-text-muted);
  font-size: 10px;
  transition: transform 0.35s ease;
  margin-left: 2px;
}

.special-form-phone-wrapper:focus-within .special-form-phone-arrow,
.special-form-country-dropdown.active ~ .special-form-phone-selector .special-form-phone-arrow {
  transform: rotate(180deg);
}

/* Country Dropdown */
.special-form-country-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--sf-body-color);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--sf-lynch-800), 0 8px 24px rgba(50, 68, 103, 0.12);
  min-width: 200px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.35s ease;
  z-index: 1001;
}

.special-form-country-dropdown.active {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.special-form-country-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.35s ease;
  border-bottom: 1px solid var(--sf-lynch-800);
}

.special-form-country-option:last-child {
  border-bottom: none;
}

.special-form-country-option:hover {
  background: rgba(1, 150, 225, 0.06);
  box-shadow: 0 0 0 1px var(--sf-lynch-600);
}

.special-form-country-flag {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

.special-form-country-name {
  color: var(--sf-text);
  font-size: 14px;
  font-weight: 300;
  flex: 1;
}

.special-form-country-code {
  color: var(--sf-lynch-500);
  font-size: 13px;
  font-weight: 300;
  white-space: nowrap;
}

/* Checkbox Wrapper */
.special-form-checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.special-form-checkbox-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.special-form-checkbox {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  margin: 0;
}

.special-form-checkbox-box {
  position: relative;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--sf-body-color);
  box-shadow: 0 0 0 1px var(--sf-lynch-800);
  transition: all 0.35s ease;
}

.special-form-checkbox:hover ~ .special-form-checkbox-box {
  box-shadow: 0 0 0 1px var(--sf-lynch-600);
}

.special-form-checkbox:checked ~ .special-form-checkbox-box {
  box-shadow: 0 0 0 1px var(--sf-primary);
}

.special-form-checkbox-box::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 40%;
  height: 40%;
  border-radius: 5px;
  background: var(--sf-primary);
  opacity: 0;
  transition: all 0.35s ease;
}

.special-form-checkbox:checked ~ .special-form-checkbox-box::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.special-form-checkbox-label {
  color: var(--sf-text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  display: inline;
}

.special-form-checkbox-link {
  position: relative;
  z-index: 20;
  display: inline-block;
  color: var(--sf-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.35s ease, opacity 0.35s ease;
}

.special-form-checkbox-link:hover {
  color: var(--sf-button-hover);
  opacity: 1;
}

/* Button Field */
.special-form-button-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

/* Submit Button with Magnetic Circle Hover Effect */
.special-form-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  width: 100%;
  max-width: 280px;
  padding: 0 60px;
  border-radius: 50px;
  background: rgb(1 150 225);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: inset 0 0 0 1px rgb(1 150 225);
}

.special-form-submit-text {
  position: relative;
  z-index: 10;
  color: white;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: none;
  transition: color 0.35s ease;
}

.special-form-submit:hover .special-form-submit-text {
  color: white;
}

.special-form-submit-circle {
  position: absolute;
  width: 0;
  height: 0;
  background: var(--sf-button-hover);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.special-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.special-form-checkbox-checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  background: #5767D4;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.2s ease;
}

.special-form-checkbox-checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 6px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.special-form-checkbox-label {
  color: var(--sf-text-muted);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.special-form-checkbox-label a {
  color: var(--sf-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.special-form-checkbox-label a:hover {
  color: var(--sf-button-hover);
}

/* Submit Button */
.special-form-submit:active {
  transform: translateY(0);
}

.special-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Loading State */
.special-form-submit.loading {
  position: relative;
  color: transparent;
}

.special-form-submit.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: special-form-spin 0.8s linear infinite;
}

@keyframes special-form-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Error State */
.special-form-field.error .special-form-input,
.special-form-field.error .special-form-textarea,
.special-form-field.error .special-form-phone-input {
  box-shadow: 0 0 0 1px #ff4444;
}

.special-form-field.error .special-form-label {
  color: #ff4444;
}

.special-form-error-message {
  color: #ff4444;
  font-size: 12px;
  margin-top: 8px;
  display: none;
}

.special-form-field.error .special-form-error-message {
  display: block;
}

/* Success/Error Messages */
.special-form-message {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.special-form-message.show {
  display: block;
}

.special-form-message.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  box-shadow: 0 0 0 1px #4CAF50;
}

.special-form-message.error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  box-shadow: 0 0 0 1px #f44336;
}

/* Loading State */
.special-form-submit.loading .special-form-submit-text {
  opacity: 0;
}

.special-form-submit.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: special-form-spin 0.8s linear infinite;
}

@keyframes special-form-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .special-form-modal {
    grid-template-columns: 1fr;
    width: 95%;
    max-height: 90vh;
  }

  .special-form-image-wrapper {
    display: none;
  }

  .special-form-image-heading-bottom {
    display: none;
  }

  .special-form-content {
    padding: 60px 40px 40px 40px;
    border-radius: 20px;
  }

  .special-form-submit {
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .special-form-modal {
    --sf-mobile-field-h: 52px;
    --sf-mobile-textarea-h: 72px;
    --sf-mobile-font: 14px;
    --sf-mobile-label: 13px;
    --sf-mobile-pad-x: 18px;

    width: 95%;
    max-width: 95%;
    max-height: min(85vh, calc(100dvh - 24px));
    border-radius: 20px;
    overflow: visible;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) scale(1);
    display: flex;
    flex-direction: column;
  }

  .special-form-overlay.active .special-form-modal {
    transform: translate(-50%, -50%) scale(1);
  }

  .special-form-close {
    width: 48px;
    height: 48px;
  }

  .special-form-close svg {
    width: 20px;
    height: 20px;
  }

  .special-form-content {
    padding: 32px var(--sf-mobile-pad-x) 16px;
    border-radius: 20px;
    max-height: min(85vh, calc(100dvh - 24px));
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .special-form-title {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.3;
    margin-top: 0;
  }

  .special-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 10px;
  }

  .special-form-field.full-width {
    grid-column: span 1;
  }

  .special-form-label {
    font-size: var(--sf-mobile-label);
    left: 12px;
    padding: 0 10px;
  }

  .special-form-field:has(.special-form-textarea) .special-form-label {
    white-space: normal;
    max-width: calc(100% - 24px);
    line-height: 1.25;
  }

  /* Tek satırlık alanlar — aynı yükseklik ve tipografi */
  .special-form-input,
  .special-form-phone-input,
  .special-form-select,
  input.special-form-input[type="text"],
  input.special-form-input[type="email"],
  input.special-form-input[type="tel"],
  input.special-form-phone-input[type="tel"],
  select.special-form-select {
    height: var(--sf-mobile-field-h) !important;
    min-height: var(--sf-mobile-field-h) !important;
    max-height: var(--sf-mobile-field-h) !important;
    padding: 0 var(--sf-mobile-pad-x) !important;
    font-size: var(--sf-mobile-font) !important;
    line-height: normal !important;
    background: var(--sf-body-color) !important;
    border: 0 !important;
    box-sizing: border-box !important;
  }

  .special-form-phone-wrapper,
  .special-form-field .iti {
    height: var(--sf-mobile-field-h);
  }

  .special-form-phone-wrapper .iti .special-form-input,
  .special-form-phone-wrapper .iti .special-form-phone-input,
  .special-form-phone-wrapper .iti input.special-form-input[type="tel"],
  .special-form-phone-wrapper .iti input.special-form-phone-input[type="tel"],
  .special-form-field .iti input.special-form-input[type="tel"],
  input.special-form-phone-input[type="tel"] {
    height: var(--sf-mobile-field-h) !important;
    min-height: var(--sf-mobile-field-h) !important;
    max-height: var(--sf-mobile-field-h) !important;
    padding-left: 70px !important;
    padding-right: var(--sf-mobile-pad-x) !important;
    font-size: var(--sf-mobile-font) !important;
  }

  .special-form-country-code {
    font-size: 12px;
  }

  .special-form-select,
  select.special-form-select {
    padding-right: 38px !important;
    background-image: var(--sf-select-arrow) !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
  }

  .special-form-select:focus,
  .special-form-select:active,
  .special-form-select:hover,
  select.special-form-select:focus,
  select.special-form-select:active,
  select.special-form-select:hover {
    background-image: var(--sf-select-arrow) !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
  }

  /* Mesaj alanı — orantılı, diğer alanlarla uyumlu */
  .special-form-textarea,
  textarea.special-form-textarea {
    height: var(--sf-mobile-textarea-h) !important;
    min-height: var(--sf-mobile-textarea-h) !important;
    padding: 12px var(--sf-mobile-pad-x) !important;
    font-size: var(--sf-mobile-font) !important;
    line-height: 1.4 !important;
    resize: none;
    background: var(--sf-body-color) !important;
    border: 0 !important;
  }

  .special-form-input::placeholder,
  .special-form-textarea::placeholder,
  .special-form-phone-input::placeholder,
  input.special-form-input[type="text"]::placeholder,
  input.special-form-input[type="email"]::placeholder,
  input.special-form-input[type="tel"]::placeholder,
  input.special-form-phone-input[type="tel"]::placeholder,
  textarea.special-form-textarea::placeholder {
    font-size: var(--sf-mobile-font) !important;
  }

  .special-form-checkbox-wrapper {
    margin-top: 12px;
    margin-bottom: 10px;
    gap: 12px;
  }

  .special-form-button-field {
    margin-top: 10px;
  }

  .special-form-checkbox-box {
    width: 30px;
    height: 30px;
  }

  .special-form-checkbox-label {
    font-size: 13px;
    line-height: 1.4;
  }

  .special-form-submit {
    height: 46px;
    max-width: 100%;
    font-size: 14px;
    padding: 0 32px;
  }

  .special-form-tooltip {
    display: none;
  }
}

/* KVKK Popup */
.special-form-kvkk-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.special-form-kvkk-overlay.active {
  opacity: 1;
  visibility: visible;
}

.special-form-kvkk-modal {
  position: relative;
  background: var(--sf-body-color);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.special-form-kvkk-close {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sf-close-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
  padding: 0;
  color: var(--sf-text);
  box-shadow: 0 4px 16px rgba(50, 68, 103, 0.1);
}

.special-form-kvkk-close:hover {
  background: rgb(0 120 180);
  color: #fff;
  transform: translateX(-50%) translateY(-50%) rotate(-180deg);
}

.special-form-kvkk-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: transform 0.4s ease;
}

.special-form-kvkk-content {
  padding: 90px 60px 60px 60px;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--sf-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  flex: 1;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 20px 20px;
  text-align: left;
  background: var(--sf-body-color);
}

.special-form-kvkk-content::-webkit-scrollbar {
  width: 8px;
}

.special-form-kvkk-content::-webkit-scrollbar-track {
  background: transparent;
}

.special-form-kvkk-content::-webkit-scrollbar-thumb {
  background: var(--sf-lynch-800);
  border-radius: 4px;
}

.special-form-kvkk-content::-webkit-scrollbar-thumb:hover {
  background: var(--sf-lynch-600);
}

.special-form-kvkk-content h2,
.special-form-kvkk-content .special-form-kvkk-heading {
  color: var(--sf-text);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
}

.special-form-kvkk-content h2 strong,
.special-form-kvkk-content .special-form-kvkk-heading strong {
  font-weight: 700;
}

.special-form-kvkk-content p {
  margin-bottom: 20px;
  color: rgba(50, 68, 103, 0.85);
  text-align: left;
}

.special-form-kvkk-content p strong {
  color: var(--sf-text);
  font-weight: 600;
}

.special-form-kvkk-content ol {
  margin: 20px 0;
  padding-left: 30px;
  list-style-type: disc;
  list-style-position: outside;
}

.special-form-kvkk-content ol li {
  margin-bottom: 12px;
  color: rgba(50, 68, 103, 0.85);
  padding-left: 10px;
  list-style: disc;
}

.special-form-kvkk-content a {
  color: var(--sf-primary);
  text-decoration: none;
  transition: color 0.35s ease;
}

.special-form-kvkk-content a:hover {
  color: rgb(0 120 180);
  text-decoration: underline;
}

/* Responsive KVKK Popup */
@media (max-width: 768px) {
  .special-form-kvkk-modal {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 0;
  }

  .special-form-kvkk-content {
    padding: 60px 20px 20px 20px;
    max-height: 75vh;
  }

  .special-form-kvkk-content h2,
  .special-form-kvkk-content .special-form-kvkk-heading {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .special-form-kvkk-content p,
  .special-form-kvkk-content ol li {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .special-form-kvkk-content ol {
    margin: 15px 0;
    padding-left: 25px;
  }
}

/* Privacy Policy Popup */
.special-form-privacy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.special-form-privacy-overlay.active {
  opacity: 1;
  visibility: visible;
}

.special-form-privacy-modal {
  position: relative;
  background: var(--sf-body-color);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.special-form-privacy-close {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sf-close-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
  padding: 0;
  color: var(--sf-text);
  box-shadow: 0 4px 16px rgba(50, 68, 103, 0.1);
}

.special-form-privacy-close:hover {
  background: rgb(0 120 180);
  color: #fff;
  transform: translateX(-50%) translateY(-50%) rotate(-180deg);
}

.special-form-privacy-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: transform 0.4s ease;
}

.special-form-privacy-content {
  padding: 90px 60px 60px 60px;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--sf-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  flex: 1;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 20px 20px;
  text-align: left;
  background: var(--sf-body-color);
}

.special-form-privacy-content::-webkit-scrollbar {
  width: 8px;
}

.special-form-privacy-content::-webkit-scrollbar-track {
  background: transparent;
}

.special-form-privacy-content::-webkit-scrollbar-thumb {
  background: var(--sf-lynch-800);
  border-radius: 4px;
}

.special-form-privacy-content::-webkit-scrollbar-thumb:hover {
  background: var(--sf-lynch-600);
}

.special-form-privacy-content .special-form-privacy-heading {
  color: var(--sf-text);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
}

.special-form-privacy-content .special-form-privacy-heading strong {
  font-weight: 700;
}

.special-form-privacy-content .special-form-privacy-subheading {
  color: var(--sf-text);
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.special-form-privacy-content .special-form-privacy-subheading strong {
  font-weight: 600;
}

.special-form-privacy-content p {
  margin-bottom: 20px;
  color: rgba(50, 68, 103, 0.85);
  text-align: left;
}

.special-form-privacy-content p strong {
  color: var(--sf-text);
  font-weight: 600;
}

.special-form-privacy-content ol {
  margin: 20px 0;
  padding-left: 30px;
  list-style-type: disc;
  list-style-position: outside;
}

.special-form-privacy-content ol li {
  margin-bottom: 12px;
  color: rgba(50, 68, 103, 0.85);
  padding-left: 10px;
  list-style: disc;
}

.special-form-privacy-content a {
  color: var(--sf-primary);
  text-decoration: none;
  transition: color 0.35s ease;
}

.special-form-privacy-content a:hover {
  color: rgb(0 120 180);
  text-decoration: underline;
}

/* Responsive Privacy Popup */
@media (max-width: 768px) {
  .special-form-privacy-modal {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 0;
  }

  .special-form-privacy-content {
    padding: 60px 20px 20px 20px;
    max-height: 75vh;
  }

  .special-form-privacy-content .special-form-privacy-heading {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .special-form-privacy-content .special-form-privacy-subheading {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .special-form-privacy-content p,
  .special-form-privacy-content ol li {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .special-form-privacy-content ol {
    margin: 15px 0;
    padding-left: 25px;
  }
}

/* Language Selector */
.special-form-language-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.special-form-language-selector {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 25px 0 60px;
  background: var(--sf-body-color);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s ease;
  font-family: inherit;
  box-shadow: 0 0 0 1px var(--sf-lynch-800);
}

.special-form-language-selector:hover {
  box-shadow: 0 0 0 1px var(--sf-lynch-600);
}

.special-form-language-flag-wrapper {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.special-form-language-flag {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 2px;
}

.special-form-language-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--sf-lynch-500);
  font-size: 15px;
  font-weight: 300;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
  font-family: inherit;
}
.special-form-language-input.has-value {
  color: var(--sf-text);
}

/* Proje adı select ile aynı dropdown ikonu (SVG) */
.special-form-language-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23324467' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.special-form-language-wrapper:focus-within .special-form-language-arrow,
.special-form-language-dropdown.active ~ .special-form-language-selector .special-form-language-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Language Dropdown */
.special-form-language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--sf-body-color);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--sf-lynch-800), 0 8px 24px rgba(50, 68, 103, 0.12);
  min-width: 200px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.special-form-language-dropdown.active {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.special-form-language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid var(--sf-lynch-800);
}

.special-form-language-option:hover {
  background-color: rgba(1, 150, 225, 0.06);
}

.special-form-language-option:last-child {
  border-bottom: none;
}

.special-form-language-option .special-form-language-flag {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.special-form-language-name {
  color: var(--sf-text);
  font-size: 14px;
  font-weight: 300;
  flex: 1;
}

.special-form-language-input {
  box-shadow: none !important;
  padding: 0 !important;
}

/* intl-tel-input: full width and input padding (flag is added by library) */
.special-form-phone-wrapper .iti {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
}
.special-form-phone-wrapper .iti .special-form-phone-input,
.special-form-phone-wrapper .iti input.special-form-phone-input[type="tel"],
.special-form-phone-wrapper .iti .special-form-input,
.special-form-phone-wrapper .iti input.special-form-input[type="tel"] {
  padding-left: 52px !important;
}

/* intl-tel-input dropdown scroll */
.special-form-phone-wrapper .iti__country-list {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  max-height: 300px !important;
}

/* intl-tel-input dropdown styling (match form theme) */
.special-form-phone-wrapper .iti__country-list {
  background: var(--sf-body-color) !important;
  border: 1px solid var(--sf-lynch-800) !important;
  border-radius: 10px !important;
  box-shadow: 0 0 0 1px var(--sf-lynch-800), 0 8px 24px rgba(50, 68, 103, 0.12) !important;
  z-index: 99999 !important;
}

.special-form-phone-wrapper .iti__country {
  color: var(--sf-text) !important;
  background: transparent !important;
  padding: 12px 15px !important;
  border-bottom: 1px solid var(--sf-lynch-800) !important;
}

.special-form-phone-wrapper .iti__country:last-child {
  border-bottom: none !important;
}

.special-form-phone-wrapper .iti__country:hover,
.special-form-phone-wrapper .iti__country.highlight {
  background: rgba(1, 150, 225, 0.06) !important;
}

.special-form-phone-wrapper .iti__country.iti__active {
  background: rgba(1, 150, 225, 0.1) !important;
  color: var(--sf-primary) !important;
}

.special-form-phone-wrapper .iti__country-name,
.special-form-phone-wrapper .iti__dial-code {
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 300 !important;
}

.special-form-phone-wrapper .iti__search-input {
  background: var(--sf-body-color) !important;
  border: none !important;
  border-bottom: 2px solid var(--sf-lynch-800) !important;
  color: var(--sf-text) !important;
  padding: 12px 15px !important;
  font-size: 14px !important;
  border-radius: 10px 10px 0 0 !important;
}

.special-form-phone-wrapper .iti__search-input::placeholder {
  color: var(--sf-text-muted) !important;
  opacity: 1 !important;
}

.special-form-phone-wrapper .iti__search-input:focus {
  outline: none !important;
  border-bottom-color: var(--sf-primary, rgb(1 150 225)) !important;
}

.special-form-phone-wrapper .iti__dropdown-content {
  z-index: 99999 !important;
  border-radius: 10px !important;
}

/* Mobil: intl-tel-input ülke listesi (Reportage ile aynı) */
@media (max-width: 1024px) {
  .special-form-phone-wrapper .iti__country-list {
    position: fixed !important;
    z-index: 99999 !important;
    max-width: 90vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .special-form-phone-wrapper .iti__dropdown-content {
    z-index: 99999 !important;
    position: fixed !important;
  }
}

/* TK Button */
/**
 * ANIMATED BUTTON STYLES
 * tk-button öneki ile özel class isimleri kullanılmıştır
 * Tüm değerler px cinsindendir
 * Proje entegrasyonu için özelleştirildi
 */

/* ============================================
   ANA CONTAINER - Butonun sayfadaki konumu
   Special-form butonu ile aynı konum: bottom: 86px, right: 35px
   ============================================ */
.tk-button-container {
    /* Sağ alt köşede sabitlenmiş - scroll-to-top butonunun üstünde */
    position: fixed;
    right: 35px;
    bottom: 110px; /* Scroll to top (46px) + bottom (20px) + gap (20px) = 86px */
    z-index: 11; /* special-form-trigger ile aynı z-index */
    
    /* Flexbox ile merkezleme */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============================================
   BUTON WRAPPER - Fare hareketi animasyonu için
   ============================================ */
.tk-button-wrapper {
    position: relative;
    cursor: pointer;
    
    /* Geçiş animasyonları için süre */
    transition-duration: 600ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BUTON İÇ WRAPPER - İç geçişler için
   ============================================ */
.tk-button-inner-wrapper {
    /* Geçiş animasyonları için süre */
    transition-duration: 600ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dosya SVG'si için özel opacity ayarı - stroke'lar her zaman tam opak */
.tk-button-icon-file path,
.tk-button-icon-file g path {
    /* Stroke opacity her zaman 1 - SVG opacity'sinden bağımsız */
    stroke-opacity: 1 !important;
    fill-opacity: 0 !important;
}

/* ============================================
   BUTON İÇ CONTAINER - Yuvarlak buton yapısı
   ============================================ */
.tk-button-inner {
    /* Pointer events'i kapat - sadece wrapper tıklanabilir */
    pointer-events: none;
    position: relative;
    isolation: isolate;
    
    /* Flexbox ile merkezleme - iç öğeleri tam ortaya al */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Kare aspect ratio - buton yuvarlak olacak */
    aspect-ratio: 1 / 1;
    
    /* Buton boyutu - Mobil: 70px (special-form ile aynı) */
    width: 70px;
    height: 70px;
    
    /* Yuvarlak şekil */
    border-radius: 50%;
    overflow: hidden;
    
    /* Renk geçişleri için */
    transition: background-color 350ms;
    
    /* Performans optimizasyonu */
    will-change: transform;
    transform: translateZ(0);
}

/* ============================================
   BUTON YÜZEYİ - Gradient arka plan ve efektler
   ============================================ */
.tk-button-surface {
    position: relative;
    isolation: isolate;
    
    /* Flexbox ile merkezleme - iç öğeleri tam ortaya al */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Tam boyut */
    width: 100%;
    height: 100%;
    
    /* Yuvarlak şekil */
    border-radius: 50%;
    overflow: hidden;
    
    /* Gölge efekti - varsayılan (#fac25a rengine uyumlu) */
    box-shadow: 0 0 100px 0 rgba(1, 150, 225, 0.3);
    
    /* Geçiş animasyonları */
    transition-duration: 600ms;
}

/* Hover durumunda gölge artışı */
.tk-button-wrapper:hover .tk-button-surface {
    box-shadow: 0 0 125px 0 rgba(1, 150, 225, 0.6);
}

/* Gradient arka plan - ::after pseudo element ile */
.tk-button-surface::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    
    /* Yuvarlak şekil */
    border-radius: 50%;
    
    /* Border */
    border: 1px solid #959595;
    
    /* Gradient arka plan - #fac25a ile uyumlu sarı/turuncu tonları */
    background: linear-gradient(135deg, rgb(100 200 245), rgb(1 150 225), rgb(0 130 200));
    
    /* İç gölge */
    box-shadow: inset 0 4px 12.5px 0 rgb(0 0 0 / 9%);
    
    /* Geçiş animasyonu */
    transition-duration: 300ms;
}



/* ============================================
   İKON CONTAINER - SVG'lerin container'ı
   ============================================ */
.tk-button-icon-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    
    /* İç öğeleri tam ortaya al */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   SVG İKONLAR - Genel stiller
   ============================================ */
.tk-button-icon {
    /* Merkeze konumlandır */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    /* Başlangıç durumu - görünmez ve küçük */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
    
    /* Fill rengi */
    fill: #2c3339;
}

/* Kalem ikonu - Butonun %45'i kadar */
.tk-button-icon-pen {
    width: 45%;
    height: 45%;
}

/* El ikonu - Butonun %50'si kadar */
.tk-button-icon-hand {
    width: 50%;
    height: 50%;
}

/* Dosya ikonu - Butonun %50'si kadar */
.tk-button-icon-file {
    width: 50%;
    height: 50%;
}

/* ============================================
   SVG PATH ELEMENTLERİ - Animasyon için
   ============================================ */
.tk-button-svg-path {
    /* Transform origin - animasyonlar için */
    transform-origin: center;
}

/* Kalem path - transform origin merkez */
.tk-button-svg-pen {
    transform-origin: center;
}

/* Çizgi path - soldan scale için */
.tk-button-svg-line {
    transform-origin: left;
    transform: scaleX(var(--tk-button-scale-x, 0));
}

/* El path - alttan rotate için */
.tk-button-svg-hand {
    transform-origin: bottom;
}

/* Dosya path'leri - transform origin merkez */
.tk-button-svg-file-bg,
.tk-button-svg-file-main,
.tk-button-svg-file-detail,
.tk-button-svg-file-body,
.tk-button-svg-file-shadow {
    transform-origin: center;
}

/* Dosya grubu - animasyon için */
.tk-button-svg-file-group {
    transform-origin: center;
}

/* ============================================
   RESPONSIVE AYARLAR - 3 Boyut: Mobil, Tablet, Desktop
   Special-form ile uyumlu
   ============================================ */

/* MOBİL - 768px altı */
@media (max-width: 767px) {
    .tk-button-container {
        right: 10px;
        bottom: 105px; /* Scroll to top (42px) + bottom (20px) + gap (8px) = 70px */
    }
    
    .tk-button-inner {
        width: 60px;
        height: 60px;
    }
    
    /* SVG'ler mobilde biraz daha küçük */
    .tk-button-icon-pen {
        width: 40%;
        height: 40%;
    }
    
    .tk-button-icon-hand,
    .tk-button-icon-file {
        width: 45%;
        height: 45%;
    }
}

/* TABLET - 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .tk-button-container {
        right: 35px;
        bottom: 110px;
    }
    
    .tk-button-inner {
        width: 66px;
        height: 66px;
    }
    
    .tk-button-icon-pen {
        width: 45%;
        height: 45%;
    }
    
    .tk-button-icon-hand,
    .tk-button-icon-file {
        width: 50%;
        height: 50%;
    }
}

/* MASAÜSTÜ - 1024px ve üzeri */
@media (min-width: 1024px) {
    .tk-button-container {
        right: 35px;
        bottom: 110px; /* Special-form ile aynı */
    }
    
    .tk-button-inner {
        width: 70px;
        height: 70px;
    }
    
    .tk-button-icon-pen {
        width: 45%;
        height: 45%;
    }
    
    .tk-button-icon-hand,
    .tk-button-icon-file {
        width: 50%;
        height: 50%;
    }
}

/* Dosya SVG'si için özel ayarlar */
.tk-button-icon-file {
    isolation: isolate;
}

/* Dosya path'leri - transform origin merkez ve çerçeve stili */
.tk-button-svg-file-bg,
.tk-button-svg-file-main,
.tk-button-svg-file-detail,
.tk-button-svg-file-body,
.tk-button-svg-file-shadow {
    transform-origin: center;
    /* İç kısımları şeffaf */
    fill: none !important;
    fill-opacity: 0 !important;
    /* Çerçeve/çizgileri renkli - ince çizgi */
    stroke: #2c3339 !important;
    stroke-width: 1.1px !important;
    stroke-opacity: 1 !important;
    /* SVG rendering için */
    vector-effect: non-scaling-stroke;
}
