@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Allura&family=Arizonia&family=Bilbo+Swash+Caps&family=Cookie&family=Dancing+Script:wght@400;700&family=Euphoria+Script&family=Great+Vibes&family=Italianno&family=Kaushan+Script&family=Lobster&family=Marck+Script&family=Monsieur+La+Doulaise&family=Pacifico&family=Parisienne&family=Pinyon+Script&family=Qwigley&family=Rancho&family=Rochester&family=Rouge+Script&family=Satisfy&family=Swanky+and+Moo+Moo&family=Tangerine:wght@400;700&family=Yellowtail&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root {
  --corner: 3px;
}

body, html {
  width: 100%;
  height: 100%;
}



@font-face {
  font-family: 'Harlow';
  src: url('/fonts/harlow.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Pacifico';
  src: url('/fonts/Pacifico-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Arka plan ve genel görünüm */
.page {
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at top left, #35b2a3 0%, #0f6d6f 60%, #0a5659 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #ffffff;
  border-radius: 24px; /* görseldeki yuvarlatılmış köşeler için */
  overflow: hidden;
}

/* Sol üst QR kutusu */
.qr-box {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 70px;
  height: 70px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box img {
  width: 90%;
  height: auto;
}

/* Sağ üst Kayıt Ol butonu */
.btn-register {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 26px;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #4b9191;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
}

/* Ortadaki içerik */
.center-wrapper {
  width: 420px;
  max-width: 90%;
  text-align: center;
}

/* Logo alanı */
.logo {
  margin-bottom: 60px;
  text-align: center;
}

/* Logo resminin boyutu */
.logo-img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.logo-text {
  font-family: 'Harlow', cursive;  /* önce kendi fontun, sonra yedek */
  font-size: 40px;
  font-weight: 400;      /* bu fontun kendi kalınlığı genelde tek olur */
  letter-spacing: 1px;
}

.logo-text {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: 1px;
}
.logo-yukk {
  font-family: 'Harlow', cursive;
}
.logo-turk {
  /*font-family: 'Great Vibes', cursive;*/
  font-family: 'Qwigley', cursive;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff; /* örnek: mor renk vurgusu */
}

/* Form */
.login-form {
  text-align: left;
}

/* Ortadaki ince çizgi efekti için */
.field-group {
  margin-bottom: 32px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.field-label {
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.field-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14px;
  padding: 6px 0;
}

/* Placeholder rengi */
.field-input::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

/* Şifre alanı hizalama */
.password-row {
  display: flex;
  align-items: center;
}

.password-row .field-input {
  flex: 1;
}

/* Soru işareti butonu */
.btn-help {
  width: 28px;
  height: 28px;
  margin-left: 8px;
  border-radius: 3px;
  border: none;
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
}

/* Şifremi Unuttum linki */
.forgot-link {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  float: right;
}

/* Giriş butonu */
.btn-login {
  display: block;
  width: 100%;
  margin-top: 40px;
  padding: 14px 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}
.btn-login-secondary {
  display: block;
  width: 100%;
  margin-top: 15%;          /* Giriş butonuna göre aralık */
  padding: 11px 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15); /* Biraz daha açık / koyu istersen değiştir */
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}
/* Modal genel overlay */
.modal-overlay {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.5);
  display: none;          /* başta kapalı */
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Modal kutu */
.modal-content {
  background: transparent;
  color: #222;
  border-radius: 12px;
  max-width: 1200px;
  width: 90%;
  padding: 20px 24px 24px;
  position: relative;
  text-align: center;
}

/* Modal Resim */
.modal-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 8px;
}


.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050000;
}

.error-box {
  text-align: center;
}

.error-code {
  font-size: 80px;
  margin-bottom: 10px;
}

.error-title {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-back {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  color: #300202;
  text-decoration: none;
}

/*-----------ikaz modalı-----------------*/
.warn-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(4px);
}

.warn-modal {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  width: 90%;
  max-width: 380px;
  padding: 18px 20px 14px 20px;
  animation: warnModalFadeIn 0.22s ease-out;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.warn-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.warn-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.warn-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #9ca3af;
  padding: 0 4px;
}

.warn-modal-close:hover {
  color: #4b5563;
}

.warn-modal-body {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 16px;
}

.warn-modal-footer {
  display: flex;
  justify-content: flex-end;
}

.warn-modal-button {
  background: #ef4444;
  border: none;
  color: white;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.warn-modal-button:hover {
  background: #dc2626;
}

.warn-modal-button:active {
  transform: scale(0.97);
}

@keyframes warnModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

/* Ana kutu – tam ekran değil */
.profile-modal-box {
  width: 760px;
  max-width: 95%;
  height: 520px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: height 0.25s ease;
}

/* Sol adımlar */
.profile-modal-steps {
  width: 200px;
  background: #fafafa;
  border-right: 1px solid #eee;
  padding: 24px 0;
}

.profile-modal-steps ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-modal-steps li {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #b0b0b0;
  font-size: 14px;
}

.profile-modal-steps li .pm-step-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-right: 10px;
}

.profile-modal-steps li .pm-step-label {
  white-space: nowrap;
}

/* Aktif adım */
.profile-modal-steps li.active {
  color: #0f9d8a; /* yeşil tonuna göre değiştirebilirsin */
  font-weight: 600;
  position: relative;
}

.profile-modal-steps li.active .pm-step-icon {
  background: #0f9d8a;
  border-color: #0f9d8a;
  color: #fff;
}

.profile-modal-steps li.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: #0f9d8a;
  border-radius: 0 3px 3px 0;
}

/* Sağ içerik */
.profile-modal-content {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}

/* Başlık alanı */
.profile-modal-header-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.profile-modal-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #333;
}

.profile-modal-header p {
  margin: 0 0 18px;
  font-size: 13px;
  color: #777;
  max-width: 460px;
}
.pm-step-vehicle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 10px;
}

/* Grid içindeki form grupları tam kolon genişliği kullansın */
.pm-step-vehicle .pm-form-group {
  margin-bottom: 0; /* row-gap zaten boşluk veriyor */
}

/* Şehir / İlçe için kolonlar */
.pm-step-vehicle .pm-form-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Label için ortak stil zaten var:
.pm-form-group label { ... }
İstersen aynı görünüm için: */
.pm-step-vehicle .pm-form-col label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #555;
}

/* İçindeki select’ler de diğer select’lerle aynı gözüksün diye: */
.pm-step-vehicle .pm-form-col select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.pm-step-vehicle .pm-form-col select:focus {
  border-color: #0f9d8a;
  box-shadow: 0 0 0 2px rgba(15, 157, 138, 0.12);
}

/* Form alanları */
.pm-form-group {
  margin-bottom: 14px;
}

.pm-form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #555;
}

.pm-form-group input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pm-form-group input:focus {
  border-color: #0f9d8a;
  box-shadow: 0 0 0 2px rgba(15, 157, 138, 0.12);
}

/* Araç select alanları */
.pm-form-group select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

/* Placeholder (Seçiniz vb.) için daha soluk renk */
.pm-form-group select.placeholder {
  color: #9ca3af;
}

/* Focus hali */
.pm-form-group select:focus {
  border-color: #0f9d8a;
  box-shadow: 0 0 0 2px rgba(15, 157, 138, 0.12);
}

.pm-loadtypes-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pm-loadtypes-summary-text {
  font-size: 12px;
  color: #4b5563;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-btn-small {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}

/* Yük türleri modalındaki grid ve chip'ler */
.pm-loadtypes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
}
.pm-loadtype-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  cursor: pointer;
  user-select: none;
}

.pm-loadtype-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

/* Yük türleri modalı kutusunu biraz daha alçak yapabiliriz */
.loadtypes-modal-box {
  max-width: 520px;
  max-height: 80vh;
  overflow: auto;
}
.pm-input-box {
  border: 1px solid #ccc;         /* diğer inputların border’ına göre ayarla */
  border-radius: 4px;             /* input’ların radius’u kaç ise onu kullan */
  padding: 8px 10px;
  background-color: #fff;         /* tema rengine göre */
}

.pm-loadtypes-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pm-loadtypes-summary-text {
  font-size: 0.9rem;
  color: #555;                    /* placeholder benzeri renk */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pm-plate-invalid {
  border-color: #e53935;
}

.pm-plate-error {
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
}


/* Alt butonlar */
.pm-actions {
  margin-top: 18px;
}

.pm-btn-primary {
  background: #0f9d8a;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.pm-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Ortak stil */
.pm-btn-secondary,
.pm-btn-primary {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.2s;
}

/* Geri / İleri */
.pm-btn-secondary {
  background: #f3f3f3;
  color: #444;
  border: 1px solid #ddd;
}

.pm-btn-secondary:hover {
  background: #e7e7e7;
}

/* Kaydet */
.pm-btn-primary {
  background: #0f9d8a;
  color: #fff;
  box-shadow: 0 2px 6px rgba(15, 157, 138, 0.35);
}

.pm-btn-primary:hover {
  background: #0b7f6c;
}

.pm-btn-secondary:active,
.pm-btn-primary:active {
  transform: translateY(1px);
  box-shadow: none;
}
#pm-contact-save-btn.pm-contact-disabled {
  background-color: #cccccc;   /* gri */
  color: #777777;
  cursor: default;
  pointer-events: none;        /* tıklama ve hover tamamen kapalı */
}

/* Disabled durumda hover tamamen etkisiz */
#pm-contact-save-btn.pm-contact-disabled:hover {
  background-color: #cccccc;
}

/* Aktif durum */
#pm-contact-save-btn.pm-contact-enabled {
  background-color: #007bff;   /* aktif renk (örnek) */
  color: #ffffff;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s ease;
}

/* Aktif durumda hover efekti */
#pm-contact-save-btn.pm-contact-enabled:hover {
  background-color: #0064cc;   /* hover rengi */
}
#pm-save-btn.pm-vehicle-disabled {
  background-color: #cccccc;
  color: #777777;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

/* Disabled durumda hover etkisiz */
#pm-save-btn.pm-vehicle-disabled:hover {
  background-color: #cccccc;
}

/* Aktif durum */
#pm-save-btn.pm-vehicle-enabled {
  background-color: #0f9d8a;      /* aktif renk */
  color: #ffffff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(15, 157, 138, 0.35);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Aktif durumda hover efekti */
#pm-save-btn.pm-vehicle-enabled:hover {
  background-color: #0b7f6c;      /* hover rengi */
}
#pm-username[readonly] {
  background-color: #f3f3f3;
  color: #666;
  cursor: not-allowed;
}
/* hidden attribute'unu tekrar aktif et */
[hidden] {
  display: none !important;
}
/*-----------ikaz modalı sonu -----------*/
/*---------------confirm modal --------------*/
/* Konteyneri biraz küçült, kart hissi ver */
.confirm-modal-dialog {
  max-width: 380px;
  position: relative;
  z-index: 20000;
}
/* Kart görünümü */
.confirm-modal {
  border-radius: 14px;
  border: none;
  padding: 24px 24px 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  z-index: 20000;
}

/* Üstte yuvarlak ikon alanı */
.confirm-modal-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.confirm-modal-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #ffe4e7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-modal-icon-i {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f97373;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Metinler */
.confirm-modal-body {
  text-align: center;
  margin-bottom: 18px;
}

.confirm-modal-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.confirm-modal-text {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

/* Butonlar */
.confirm-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.confirm-btn {
  flex: 1;
  border-radius: 999px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Cancel butonu: beyaz zemin, gri kenar */
.confirm-btn.cancel {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.confirm-btn.cancel:hover {
  background: #f3f4f6;
}

/* Delete butonu: pembe zemin */
.confirm-btn.delete {
  background: #f97373;
  color: #ffffff;
  border-color: #f97373;
}

.confirm-btn.delete:hover {
  background: #f85c63;
  border-color: #f85c63;
  box-shadow: 0 8px 18px rgba(248, 92, 99, 0.4);
}
/* confirmModal'da cancelLabel boş ise butonu gizlemek için */
#confirmModal1 .confirm-btn.cancel1:empty {
  display: none;
}
/*---------------confirm modal sonu--------------*/

@media (max-width: 1024px) {
  .page {
    border-radius: 16px;
  }

  .center-wrapper {
    width: 380px;
  }

  .logo {
    margin-bottom: 40px;
  }

  .modal-content {
    max-width: 900px;
    padding: 18px 20px 22px;
  }

  .modal-image {
    border-radius: 6px;
  }
}

/* 768px ve aşağısı: tablet ve büyük telefonlar */
@media (max-width: 768px) {
  body, html {
    height: auto;
  }

  .page {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    border-radius: 0;
    padding: 24px 16px;
  }

  .qr-box {
    top: 16px;
    left: 16px;
    width: 60px;
    height: 60px;
  }

  .btn-register {
    top: 16px;
    right: 16px;
    padding: 8px 18px;
    font-size: 13px;
  }

  .center-wrapper {
    width: 100%;
    max-width: 360px;
  }

  .logo-img {
    width: 80px;
  }

  .logo-text {
    font-size: 32px;
  }

  .logo {
    margin-bottom: 32px;
  }

  .field-group {
    margin-bottom: 24px;
  }

  .btn-login {
    margin-top: 28px;
    font-size: 16px;
  }
  .btn-login-secondary {
    margin-top: 10%;
    font-size: 16px;
    padding: 12px 0;
  }
}

/* 480px ve aşağısı: küçük telefonlar */
@media (max-width: 480px) {
  .page {
    padding: 20px 12px;
  }

  .qr-box {
    width: 52px;
    height: 52px;
  }

  .logo-img {
    width: 70px;
  }

  .logo-text {
    font-size: 26px;
  }

  .field-label {
    font-size: 9px;
  }

  .field-input {
    font-size: 13px;
  }

  .forgot-link {
    font-size: 10px;
  }

  .btn-login {
    padding: 12px 0;
    font-size: 15px;
  }

  .btn-login-secondary {
    padding: 12px 0;
    font-size: 15px;
  }

  .error-code {
    font-size: 60px;
  }

  .error-title {
    font-size: 18px;
  }
}


@media (max-width: 768px) {
  .page {
    height: auto;
    min-height: 100dvh;       /* mobil tarayıcı adres çubuğu için 'dvh' daha doğru */
    align-items: flex-start;  /* içeriği üstten başlat, o3aysa ortala değil */
    padding: 24px 16px 60px;  /* alt kısımda butona nefes */
  }

  /* QR + Kayıt butonunun sayfa kaydırıldığında bile üstte sabit kalması opsiyonel:
     .qr-box { position: sticky? } veya normal akışta bırakılabilir. Normalde page içinde
     absolute iken 100vh üstü kaydırmada taşabilir; o yüzden absolute'ten kurtarıp
     normal yerine koymak bazen iyidir. Basitlik için olduğu gibi bırakıyoruz. */

  .center-wrapper {
    margin: auto;         /* dikeyde ortala (flex-start yaptık, ama üst boşlukla dengeler) */
  }

  /* Logo & form dikey daraltma */
  .logo { margin-bottom: 24px; }

  /* İki buton arası ve alt boşluk yumuşatma */
  .btn-login { margin-top: 30px; }
  .btn-login-secondary { margin-top: 20px; }
}

/* ── Çok küçük telefonlar + landscape telefona uygun ── */
@media (max-width: 480px) and (orientation: portrait), 
       (max-height: 520px) {
  .qr-box { width: 48px; height: 48px; top: 12px; left: 12px; }
  .btn-register { top: 12px; right: 12px; padding: 7px 16px; font-size: 12px; }
  .logo { margin-top: -20%; }
  .logo-img { width: 64px; }
  .logo-text { font-size: 24px; letter-spacing: .5px; }
  .field-group { margin-bottom: 18px; padding-top: 8px; }
  .btn-login { padding: 13px 0; margin-top: 22px; }
  .btn-login-secondary { padding: 12px 0; margin-top: 14px; }
}

/* ── Çok küçük (≤360px), eski/kompakt cihazlar ── */
@media (max-width: 380px) {
  .center-wrapper { max-width: 100%; padding: 0 4px; }
  .logo { margin-top: -10%; }
  .logo-text { font-size: 22px; }
  .field-input { font-size: 15px; }
  .btn-register { padding: 6px 12px; }
}

/* ────────────────────────────────────────────
   PROFILE MODAL — mobilde SOL MENÜYÜ AT, tek kolon
   ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .profile-modal-box {
    flex-direction: column;      /* sol + sağ yan yana değil, üst üste */
    width: 96%;
    max-width: 420px;
    height: auto;                /* yükseklik içeriğe göre */
    max-height: 92vh;
  }

  .profile-modal-steps {
    width: 100%;
    background: #fafafa;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 8px 12px;
  }

  .profile-modal-steps ul {
    display: flex;               /* adımları yatay taşı */
    justify-content: space-around;
  }

  .profile-modal-steps li {
    padding: 8px 6px;
    font-size: 12px;
    flex-direction: column;      /* ikon üstte, yazı altta */
    gap: 4px;
    text-align: center;
  }
  .profile-modal-steps li .pm-step-icon { margin-right: 0; }

  /* Aktif adımın sol çizgisi dikeyde kalmasın, alt çizgi yap */
  .profile-modal-steps li.active::before {
    top: auto; bottom: 0; left: 6px; right: 6px;
    width: auto; height: 3px;
    border-radius: 3px 3px 0 0;   /* istenirse yukarı kenar çizgisi */
  }

  .profile-modal-content {
    flex: 1;
    padding: 18px 16px;
    overflow-y: auto;            /* uzun form içinde kaydırma */
  }
}

/* ── Araç grid'i de küçük ekranda tek kolon ── */
@media (max-width: 560px) {
  .pm-step-vehicle {
    grid-template-columns: 1fr;  /* iki kolonlu alanı teke indir */
    row-gap: 12px;
  }
}

/* ────────────────────────────────────────────
   GENEL MODAL görselleri / geniş kutular
   ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .modal-content {
    max-width: 100%;
    padding: 14px 12px 18px;
    border-radius: 8px;
  }
  .modal-image { margin-bottom: 8px; }
}

/* ──────────────── İKAZ / WARN MODAL ──────────────── */
@media (max-width: 480px) {
  .warn-modal { width: 92%; padding: 16px 14px 12px; }
  .warn-modal-body { font-size: 13px; }
}

/* ──────────────── CONFIRM MODAL ──────────────── */
@media (max-width: 420px) {
  .confirm-modal-dialog { max-width: 94vw; }
  .confirm-modal { padding: 20px 16px 14px; }
  .confirm-btn { font-size: 13px; padding: 9px 0; }
}

/* ────────────────────────────────────────────
   DOKUNMATİK BÜYÜK HEDEFLER (genel iyileştirme)
   ──────────────────────────────────────────── */
@media (hover: none), (pointer: coarse) {
  .btn-login,
  .btn-login-secondary,
  .btn-help,
  .pm-btn-primary,
  .pm-btn-secondary,
  .confirm-btn,
  .btn-back {
    min-height: 48px;         /* min dokunma hedefi ~48px */
  }

  .pm-form-group input,
  .pm-form-group select,
  .pm-input-box,
  .field-input {
    min-height: 44px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Rajdhani:wght@400;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --glow-cyan:  #00f5d4;
  --glow-pink:  #ff0a78;
  --glow-green: #39ff14;
  --bg:         #0a0a0a;
  --btn-bg:     #111;
  --text:       #ffffff;
  --pill-w:     clamp(100px, 20vw, 170px);
  --pill-h:     clamp(40px,  6vw, 60px);
  --circle-d:   clamp(160px, 30vw, 260px);
  --border-w:   4px;
  --blur-spread: clamp(12px, 3vw, 22px);
  --glow-blue:  #0ea5e9;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Page Container ── */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 2vw, 10px);
  padding: clamp(8px, 2vw, 20px) clamp(16px, 5vw, 40px);
  width: 100%;
  margin-top: -15%;
}

.title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--glow-cyan), var(--glow-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.subtitle {
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-align: center;
}

/* ── Buttons Layout ── */
.buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 8vw, 80px);
  align-items: center;
  justify-content: center;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.label {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   SHARED GLOW BUTTON BASE
   ============================================= */
.glow-btn {
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: clamp(0.75rem, 2vw, 1rem);
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Hover state */
.glow-btn:hover {
  transform: scale(1.05);
}

.glow-btn:active {
  transform: scale(0.97);
}

/* =============================================
   PILL BUTTON
   ============================================= */
.glow-btn.pill {
  width: var(--pill-w);
  height: var(--pill-h);
}


/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --pill-w: clamp(100px, 25vw, 160px);
    --pill-h: clamp(40px, 7vw, 60px);
    --circle-d: clamp(140px, 38vw, 220px);
  }

  .buttons-wrapper {
    gap: 36px;
  }
}

/* Phone */
@media (max-width: 480px) {
  :root {
    --pill-w: clamp(90px, 55vw, 150px);
    --pill-h: clamp(38px, 13vw, 58px);
    --circle-d: clamp(130px, 52vw, 200px);
  }

  .container {
    margin-top: 0%;
    margin-bottom: 5%;
  }

  .buttons-wrapper {
    flex-direction: column;
    gap: 32px;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  :root {
    --pill-w: 170px;
    --pill-h: 60px;
    --circle-d: 300px;
    --border-w: 5px;
  }
}