    * { margin: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
    :root {
      --primary-color: #2c3e50;
      --secondary-color: #3498db;
      --accent-color: #1abc9c;
      --light-color: #ecf0f1;
      --dark-color: #2c3e50;
      --success-color: #2ecc71;
      --warning-color: #f39c12;
      --danger-color: #e74c3c;
      --border-radius: 12px;
      --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
    }
    body {
      background-color: #f9f9f9;
      color: #333;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }
    .app-container {
      width: 100%;
      max-width: 1200px;
      background-color: white;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      min-height: 600px;
    }
    .screen { display: none; padding: 40px; min-height: 600px; flex-direction: column; justify-content: space-between; }
    .active-screen { display: flex; }

    .header { text-align: center; margin-bottom: 30px; }
    .header h1 {
      color: var(--primary-color);
      font-size: 2.5rem;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
    }
    .header h1 svg { width: 48px; height: 48px; fill: var(--accent-color); }
    .header p { color: #7f8c8d; font-size: 1.1rem; }

    .form-group { margin-bottom: 25px; }
    label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary-color); }
    .input-with-icon { position: relative; }
    .input-with-icon svg {
      position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
      width: 20px; height: 20px; fill: #7f8c8d;
    }
    .input-with-icon input, .input-with-icon select { padding-left: 45px; }

    input, select {
      width: 100%;
      padding: 15px;
      border: 2px solid #ddd;
      border-radius: var(--border-radius);
      font-size: 1rem;
      transition: var(--transition);
    }
    input:focus, select:focus { border-color: var(--secondary-color); outline: none; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px 30px;
      background-color: var(--secondary-color);
      color: white;
      border: none;
      border-radius: var(--border-radius);
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      text-align: center;
      width: 100%;
      user-select: none;
    }
    .btn:hover { background-color: #2980b9; transform: translateY(-2px); }
    .btn svg { width: 20px; height: 20px; fill: white; }

    .btn-accent { background-color: var(--accent-color); }
    .btn-accent:hover { background-color: #16a085; }

    .btn-warning { background-color: var(--warning-color); }
    .btn-warning:hover { background-color: #e67e22; }

    .btn-danger { background-color: var(--danger-color); }
    .btn-danger:hover { background-color: #c0392b; }

    .btn-success { background-color: var(--success-color); }
    .btn-success:hover { background-color: #27ae60; }

    .btn-small { padding: 10px 20px; font-size: 1rem; width: auto; }

    .button-group { display: flex; gap: 15px; margin-top: 20px; }
    .button-group .btn { flex: 1; }

    .contract-container {
      background-color: #f8f9fa;
      border-radius: var(--border-radius);
      padding: 25px;
      overflow-y: auto;
      margin-bottom: 25px;
      border: 1px solid #eee;
    }
    .contract-title { color: var(--primary-color); margin-bottom: 15px; text-align: center; }
    .contract-rules { list-style-type: none; }
    .contract-rules li {
      padding: 10px 0;
      border-bottom: 1px solid #eee;
      display: flex;
      align-items: flex-start;
    }
    .contract-rules li svg {
      width: 20px; height: 20px; fill: var(--accent-color);
      margin-right: 10px; margin-top: 3px; flex-shrink: 0;
    }
    .checkbox-container { display: flex; align-items: center; margin-bottom: 25px; }
    .checkbox-container input { width: auto; margin-right: 10px; }

    .question-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      flex-wrap: wrap;
      gap: 15px;
    }
    .question-counter {
      font-size: 1.2rem;
      color: var(--primary-color);
      font-weight: 600;
      background-color: #f1f8ff;
      padding: 10px 20px;
      border-radius: 50px;
    }
    .timer {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--danger-color);
      background-color: #fff5f5;
      padding: 10px 25px;
      border-top-left-radius: 50px;
      border-bottom-left-radius: 50px;
      display: flex;
      align-items: center;
      gap: 10px;
    	position:fixed;
    	right:0px;
    }
    .timer svg { width: 24px; height: 24px; fill: var(--danger-color); }

    .question-container { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
    .question-text { font-size: 1.5rem; line-height: 1.8; margin-bottom: 30px; color: var(--dark-color); text-align: center; }

    .options-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-bottom: 30px; }
    .option {
      padding: 20px;
      background-color: #f8f9fa;
      border: 2px solid #e9ecef;
      border-radius: var(--border-radius);
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 15px;
      user-select: none;
    }
    .option:hover { border-color: var(--secondary-color); background-color: #e8f4fc; }
    .option.selected { border-color: var(--accent-color); background-color: #e8f8f5; }

    .option-letter {
      width: 40px;
      height: 40px;
      background-color: var(--primary-color);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      flex-shrink: 0;
    }

    .waiting-container {
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex-grow: 1;
    }
    .waiting-icon { width: 80px; height: 80px; color: var(--accent-color); margin-bottom: 30px; animation: pulse 1.5s infinite; }
    @keyframes pulse { 0% { transform: scale(1);} 50% { transform: scale(1.1);} 100% { transform: scale(1);} }
    .waiting-text { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 20px; }
    .countdown { font-size: 2.5rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 30px; }

    .certificate-container {
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex-grow: 1;
    }
    .certificate-icon { width: 96px; height: 96px; color: var(--accent-color); margin-top: 30px; }
    .congrats-text { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
    .completion-text { font-size: 1.3rem; color: #7f8c8d; margin-bottom: 20px; max-width: 600px; }
    .certificate {
      background-color: #f8f9fa;
      border-radius: var(--border-radius);
      padding: 30px;
      margin: 30px 0;
      border: 2px dashed var(--accent-color);
      max-width: 500px;
      width: 100%;
    }
    .certificate-title { color: var(--primary-color); font-size: 2rem; margin-bottom: 10px; }
    .certificate-name { color: var(--accent-color); font-size: 1.8rem; margin-bottom: 20px; font-weight: 700; }
    .certificate-info { color: #7f8c8d; font-size: 1.1rem; margin-bottom: 10px; }

    .footer { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; color: #7f8c8d; font-size: 0.9rem; }

    @media (max-width: 768px) {
      .screen { padding: 25px; }
      .header h1 { font-size: 2rem; }
      .question-text { font-size: 1.3rem; }
      .timer { font-size: 1.3rem; padding: 8px 15px; }
      .button-group { flex-direction: column; }
      .options-container { grid-template-columns: 1fr; }
      .congrats-text { font-size: 2rem; }
      .certificate { padding: 20px; }
    }

    @media (max-width: 480px) {
      .screen { padding: 20px; }
      .header h1 { font-size: 1.8rem; }
      .question-header { flex-direction: column; align-items: flex-start; }
      .timer { align-self: stretch; justify-content: center; }
    }

    .btn-disabled {
      opacity: 0.45;
      filter: grayscale(100%);
      cursor: not-allowed;
      pointer-events: auto;
    }
.btn.btn-disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.result-warning {
  padding: 14px 16px;
  background: #fff4e5;
  border: 1px solid #f5c07a;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #7a4a00;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.result-warning strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #a86100;
}
@media (min-width: 992px) {
  /* İKİSİNİ DE AYNI SATIRA KİLİTLE */
  #skip-btn{
    grid-column: 1;
    grid-row: 1;
  }
  #answer-btn{
    grid-column: 2;
    grid-row: 1;
  }

  /* Hr gibi çizgi 2. satır */
  .question-actions .actions-divider{
    grid-column: 1 / -1;
    grid-row: 2;
    height: 1px;
    background: rgba(0,0,0,0.12);
    margin: 6px 0;
  }

  /* Sınavı bitir 3. satır (altta, daha küçük) */
  #finish-btn{
    grid-column: 1 / -1;
    grid-row: 3;

    width: 100%;
    height: 44px;
    font-size: 0.9rem;
  }

  /* Butonlar aynı hizada olsun */
  #skip-btn,
  #answer-btn{
    width: 100%;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    line-height: 1;
    box-sizing: border-box;
  }
}
/* Varsayılan (PC) */
.screen .button-group {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Mobil düzen */
@media (max-width: 768px) {

  /* Sadece contract & honesty ekranları */
  #contract-screen .button-group,
  #honesty-screen .button-group {
    flex-direction: column;
  }

  /* Devam Et / Onaylıyorum üstte */
  #contract-screen #agree-btn,
  #honesty-screen #honesty-approve-btn {
    order: 1;
  }

  /* Geri Dön altta */
  #contract-screen #back-to-login-btn,
  #honesty-screen #honesty-back-btn {
    order: 2;
  }

  /* Mobilde ana aksiyon daha güçlü olsun */
  #contract-screen #agree-btn,
  #honesty-screen #honesty-approve-btn {
    width: 100%;
  }
}
/* Ortak görünüm */
#honesty-text {
  padding: 20px 22px;
  border-radius: 14px;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 500;
  transition: background-color .3s ease, color .3s ease;
}

/* 1. Madde – Mavi (güven / ciddiyet) */
#honesty-screen.honesty-1 #honesty-text {
  background: #e3f2fd;
  color: #0d47a1;
  border: 1px solid #bbdefb;
}

/* 2. Madde – Yeşil (dürüstlük / adalet) */
#honesty-screen.honesty-2 #honesty-text {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

/* 3. Madde – Amber (vicdan / sorumluluk) */
#honesty-screen.honesty-3 #honesty-text {
  background: #fff8e1;
  color: #8a5a00;
  border: 1px solid #ffe082;
}
/* style.css içine ekle */
#critical-message-box {
  display: none; /* başlangıçta gizli */
  padding: 5px 20px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  color: #fff;
  background-color: red;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

#critical-message-box.info { background-color: #3498db; } /* bilgi mesajı mavi */
#critical-message-box.success { background-color: #2ecc71; } /* başarı mesajı yeşil */
.question-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Ana aksiyonlar yan yana */
.primary-actions {
  display: flex;
  gap: 12px;
}

/* Sınavı Bitir → ikincil, küçük, mesafeli */
.btn-finish-secondary {
  align-self: center;
  font-size: 13px;
  padding: 8px 14px;
  opacity: 0.7;
  border-radius: 10px;
margin-top:30px;
background-color:red;
}

/* Desktop’ta biraz daha aşağı al */
@media (min-width: 768px) {
  .btn-finish-secondary {
    margin-top: 12px;
  }
}
/* =========================
   ORTAK (mobil + PC)
========================= */
.question-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Ana aksiyonlar */
.primary-actions {
  display: flex;
  gap: 12px;
}

/* BUTON SIRASI (her yerde SABİT) */
#skip-btn {
  order: 1;
}
#answer-btn {
  order: 2;
}

/* Eşit genişlik */
.primary-actions .btn {
  flex: 1;
  height: 52px;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 768px) {
  .primary-actions {
    flex-direction: row;
  }
}

/* =========================
   MOBİL
========================= */
@media (max-width: 767px) {
  .primary-actions {
    flex-direction: row; /* İSTERSEN column yapabilirsin */
  }
}
.login-help-box{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
  padding:14px 16px;
  border:1px solid #dbe7ff;
  background:#f5f9ff;
  border-radius:14px;
  cursor:pointer;
  transition:all .2s ease;
  box-shadow:0 4px 14px rgba(13,110,253,.06);
}

.login-help-box:hover{
  background:#edf4ff;
  border-color:#bcd1ff;
  transform:translateY(-1px);
}

.login-help-icon{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:50%;
  background:#0d6efd;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:18px;
}

.login-help-text{
  display:flex;
  flex-direction:column;
}

.login-help-text strong{
  color:#0f172a;
  font-size:15px;
  margin-bottom:2px;
}

.login-help-text span{
  color:#475569;
  font-size:13px;
  line-height:1.45;
}

.login-help-modal-card{
  max-width:720px;
  width:100%;
  max-height:85vh;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 16px 40px rgba(0,0,0,.28);
  display:flex;
  flex-direction:column;
}

.login-help-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 22px;
  background:#0d6efd;
  color:#fff;
}

.login-help-modal-header h2{
  margin:0;
  font-size:22px;
  font-weight:700;
}

.login-help-close-btn{
  border:none;
  background:rgba(255,255,255,.15);
  color:#fff;
  width:38px;
  height:38px;
  border-radius:50%;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.login-help-close-btn:hover{
  background:rgba(255,255,255,.24);
}

.login-help-modal-body{
  padding:20px;
  overflow-y:auto;
}

.login-help-info-box{
  background:#eef6ff;
  border:1px solid #cfe3ff;
  color:#1d4f91;
  border-radius:12px;
  padding:14px 16px;
  margin-bottom:18px;
  font-weight:600;
  line-height:1.5;
}

.login-help-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.login-help-item{
  border:1px solid #e8edf5;
  background:#fbfcfe;
  border-radius:14px;
  padding:14px 16px;
}

.login-help-item-title{
  font-weight:700;
  color:#1e293b;
  margin-bottom:6px;
  line-height:1.5;
}

.login-help-item-text{
  color:#475569;
  line-height:1.65;
  font-size:14px;
}

.login-help-support-box{
  margin-top:18px;
  border:1px solid #dbe7ff;
  background:#f8fbff;
  border-radius:16px;
  padding:18px;
  text-align:center;
}

.login-help-support-title{
  font-size:17px;
  font-weight:800;
  color:#0f172a;
  margin-bottom:8px;
}

.login-help-support-box p{
  margin:0 0 10px 0;
  color:#475569;
  line-height:1.6;
}

.login-help-support-phone{
  display:inline-block;
  color:#0d6efd;
  text-decoration:none;
  font-size:28px;
  font-weight:800;
  letter-spacing:.5px;
}

.login-help-support-phone:hover{
  text-decoration:underline;
}

@media (max-width: 640px){
  .login-help-box{
    padding:12px;
    gap:10px;
  }

  .login-help-text strong{
    font-size:14px;
  }

  .login-help-text span{
    font-size:12px;
  }

  .login-help-modal-card{
    max-height:90vh;
    border-radius:16px;
  }

  .login-help-modal-header{
    padding:16px;
  }

  .login-help-modal-header h2{
    font-size:18px;
  }

  .login-help-modal-body{
    padding:16px;
  }

  .login-help-support-phone{
    font-size:24px;
  }
}