/* ===========================================
   Hemen Başvur Page Styles
   =========================================== */

/* Checkbox dot color override */

/* Input success tick */
.input-tick {
  display: flex; align-items: center; flex-shrink: 0; margin-left: 4px;
  opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.input-tick.show { opacity: 1; transform: scale(1); }

/* Step Progress Bar */
.step-progress-bar {
  width: 100%; height: 4px; background: #e5e7eb; border-radius: 999px;
  margin-bottom: 2rem; overflow: hidden;
}
.step-progress-fill {
  height: 100%; background: linear-gradient(90deg, #290e6f, #7c3aed);
  border-radius: 999px; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* KVKK Modal */
html.kvkk-open, body.kvkk-open { overflow: hidden !important; }
body.kvkk-open .float-call { opacity: 0 !important; pointer-events: none !important; visibility: hidden !important; }
.kvkk-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; overscroll-behavior: contain; }
.kvkk-overlay.active { opacity: 1; visibility: visible; }
.kvkk-modal { background: #fff; border-radius: 16px; width: 92%; max-width: 540px; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 25px 60px rgba(0,0,0,0.2); transform: translateY(20px) scale(0.97); transition: transform 0.3s ease; position: relative; overscroll-behavior: contain; }
.kvkk-overlay.active .kvkk-modal { transform: translateY(0) scale(1); }
.kvkk-modal-header { padding: 1.25rem 1.5rem; font-size: 15px; font-weight: 700; color: #1f2937; border-bottom: 1px solid #f3f4f6; flex-shrink: 0; }
.kvkk-close-btn { width: 32px; height: 32px; border-radius: 50%; background: #f3f4f6; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; position: absolute; top: 14px; right: 16px; transition: background 0.2s, transform 0.15s; z-index: 1; }
.kvkk-close-btn:hover { background: #e5e7eb; transform: scale(1.08); }
.kvkk-close-btn svg { width: 16px; height: 16px; color: #374151; }
.kvkk-modal-body { padding: 0; overflow: hidden; flex: 1; min-height: 0; }
.kvkk-modal-body-inner { border: 1px solid #e5e7eb; border-radius: 10px; margin: 1rem 1.5rem; padding: 1.25rem; max-height: 45vh; overflow-y: auto; font-size: 12.5px; line-height: 1.7; color: #4b5563; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.kvkk-modal-body-inner::-webkit-scrollbar { width: 6px; }
.kvkk-modal-body-inner::-webkit-scrollbar-track { background: transparent; }
.kvkk-modal-body-inner::-webkit-scrollbar-thumb { background: #290e6f; border-radius: 10px; }
.kvkk-modal-body-inner h3 { font-size: 13px; font-weight: 700; color: #111827; margin: 0.75rem 0 0.4rem; text-transform: uppercase; letter-spacing: 0.02em; }
.kvkk-modal-body-inner h3:first-child { margin-top: 0; }
.kvkk-modal-body-inner h4 { font-size: 12.5px; font-weight: 700; color: #1f2937; margin: 0.75rem 0 0.3rem; }
.kvkk-modal-body-inner p { font-size: 12.5px; margin: 0.3rem 0; }
.kvkk-modal-body-inner strong { color: #1f2937; }
.kvkk-modal-body-inner ul { padding-left: 1.25rem; margin: 0.3rem 0; }
.kvkk-modal-body-inner ul li { margin-bottom: 0.15rem; font-size: 12.5px; }
.kvkk-modal-body-inner table { width: 100%; border-collapse: collapse; margin: 0.4rem 0; font-size: 11.5px; }
.kvkk-modal-body-inner table th, .kvkk-modal-body-inner table td { border: 1px solid #e5e7eb; padding: 5px 7px; text-align: left; font-size: 11.5px; }
.kvkk-modal-body-inner table th { background: #f9fafb; font-weight: 600; color: #374151; }
.kvkk-modal-footer { padding: 1rem 1.5rem; flex-shrink: 0; }
.kvkk-modal-footer button { width: 100%; padding: 0.75rem; border-radius: 12px; background-color: #290e6f; color: #fff; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: background-color 0.2s, transform 0.15s; }
.kvkk-modal-footer button:hover { background-color: #3b1a8f; transform: translateY(-1px); }
.peer:checked ~ .cb-dot::after { background-color: #290e6f !important; }

/* Layout & Spacing */
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.rounded-2xl { border-radius: 1rem; }
.rounded-\[24px\] { border-radius: 24px; }
.rounded-full { border-radius: 9999px; }
.min-h-screen { min-height: 100vh; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.pl-14 { padding-left: 3.5rem; }
.pl-12 { padding-left: 3rem; }
.pl-11 { padding-left: 2.75rem; }
.pl-4 { padding-left: 1rem; }
.pr-4 { padding-right: 1rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-3\.5 { padding: 0.875rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }

/* Colors & Backgrounds */
.bg-white { background-color: #ffffff; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-\[\#f8f9fc\] { --tw-gradient-from: #f8f9fc; --tw-gradient-to: rgba(248, 249, 252, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-\[\#eef1f9\] { --tw-gradient-to: #eef1f9; }
.bg-gray-50\/50 { background-color: rgba(249, 250, 251, 0.5); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-blue-50\/70 { background-color: rgba(239, 246, 255, 0.7); }

/* Borders & Shadows */
.border { border-width: 1px; border-style: solid; }
.border-transparent { border-color: transparent; }
.border-indigo-100 { border-color: #e0e7ff; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-blue-100 { border-color: #dbeafe; }
.shadow-\[0_2px_10px_rgb\(0\,0\,0\,0\.02\)\] { box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.shadow-\[0_8px_30px_rgb\(0\,0\,0\,0\.04\)\] { box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }

/* Typography */
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-\[13px\] { font-size: 13px; line-height: 1.5; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[24px\] { font-size: 24px; line-height: 32px; }
.text-\[28px\] { font-size: 28px; line-height: 36px; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.leading-relaxed { line-height: 1.625; }
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-900 { color: #111827; }
.text-indigo-600 { color: #4f46e5; }
.text-indigo-700 { color: #4338ca; }
.text-blue-500 { color: #3b82f6; }
.text-blue-800 { color: #1e40af; }
.text-emerald-500 { color: #10b981; }
.text-\[\#290e6f\] { color: #290e6f; }

/* Forms */
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-\[\#290e6f\]:focus { --tw-ring-opacity: 1; --tw-ring-color: #290e6f; box-shadow: 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); }
.focus\:border-\[\#290e6f\]:focus { border-color: #290e6f; }
.focus\:bg-white:focus { background-color: #ffffff; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* Custom Checkbox with Check Icon */
.cb-check {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.3rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
}
.cb-check:hover { border-color: #9ca3af; }
.cb-check svg { opacity: 0; transition: opacity 0.15s; width: 12px; height: 12px; }
.peer:checked ~ .cb-check {
  background-color: #290e6f;
  border-color: #290e6f;
}
.peer:checked ~ .cb-check svg {
  opacity: 1;
}

/* Icons & SVGs */
svg { display: block; vertical-align: middle; }

/* Transitions */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.hover\:-translate-y-0\.5:hover { --tw-translate-y: -0.125rem; }
.group:hover .group-hover\:text-gray-900 { color: #111827; }

@media (min-width: 768px) {
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-5 { padding: 1.25rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-\[15px\] { font-size: 15px; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-\[24px\] { font-size: 24px; line-height: 32px; }
  .md\:text-\[28px\] { font-size: 28px; line-height: 36px; }
}

/* Mobile step indicator - desktop'ta gizle */
.mobile-step-indicator { display: flex; align-items: center; padding-right: 0.25rem; }
@media (min-width: 1280px) {
  .mobile-step-indicator { display: none !important; }
}

/* Floating Call Badge */
.float-call {
  position: fixed !important; bottom: 1.5rem; right: 1.5rem; z-index: 9000;
  display: flex !important; align-items: center; gap: 0;
  font-family: 'Inter Tight', sans-serif;
  text-decoration: none !important; opacity: 1 !important; visibility: visible !important;
}
.float-call-label {
  background: #290e6f; color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 0 1.25rem 0 1rem; height: 48px; line-height: 48px;
  border-radius: 9999px 0 0 9999px; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, padding 0.4s;
}
.float-call:hover .float-call-label,
.float-call.expanded .float-call-label {
  max-width: 320px; opacity: 1; padding: 0 0.5rem 0 1.25rem;
}
.float-call-btn {
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #290e6f 0%, #4c1d95 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(41,14,111,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; z-index: 1;
}
.float-call-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(41,14,111,0.45);
}
.float-call-btn svg { width: 20px; height: 20px; }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.15; }
  100% { transform: scale(1.5); opacity: 0; }
}
.float-call-btn::before {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid #290e6f; z-index: -1;
  animation: pulseRing 3s ease-out infinite;
}

@media (max-width: 480px) {
  .float-call { bottom: 1rem; right: 1rem; }
  .float-call-btn { width: 44px; height: 44px; }
  .float-call-label { height: 44px; line-height: 44px; font-size: 11.5px; }
}
