body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f6fa;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.login-container {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 400px;
  text-align: center;
  margin: auto;
}
.login-container h1{
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}


.login-container button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background-color: #1a237e;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #0d1b5e;
}

h1 {
  color: #1a237e;
  margin-bottom: 5px;
}

.slogan {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

label {
  display: block;
  text-align: left;
  margin-top: 15px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.error-message {
  color: red;
  margin-top: 10px;
}

.main-container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  color: #1a237e;
  font-size: 28px;
  margin: 0;
}

.slogan {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

.intro {
  margin-bottom: 30px;
}

.modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background-color: #f0f3ff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #c5cae9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.card:hover {
  background-color: #e8edff;
  transform: scale(1.02);
}

.card h3 {
  margin: 0 0 10px 0;
  color: #1a237e;
}

@media (min-width: 600px) {
  .modules {
    grid-template-columns: repeat(3, 1fr);
  }
}

#logoutBtn:hover {
  color: white;
  background-color: red;
  border-color: red;
}
.secenek-btn {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
  background-color: #e0e0e0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.secenek-btn:hover {
  background-color: #c5cae9;
}
    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f4f7fa;
      color: #333;
    }

    .main-container {
      max-width: 800px;
      margin: auto;
      padding: 20px;
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0,0,0,0.1);
      margin-top: 60px;
    }

    h1 {
      text-align: center;
      font-size: 28px;
      color: #004080;
    }

    #soruMetni {
      font-size: 18px;
      margin-bottom: 20px;
    }

    .secenek-btn {
      display: block;
      width: 100%;
      padding: 12px;
      margin: 8px 0;
      border: 1px solid #ccc;
      border-radius: 8px;
      text-align: left;
      cursor: pointer;
      transition: background 0.3s;
      font-weight: bold;
      background: #f0f4ff;
    }

    .secenek-btn:hover {
      background-color: #d6e4ff;
    }

    .secenek-disabled {
      pointer-events: none;
      opacity: 0.7;
    }

    #sonrakiBtn, #oncekiBtn {
      margin-top: 20px;
      padding: 10px 20px;
      border: none;
      background-color: #004080;
      color: white;
      font-weight: bold;
      border-radius: 8px;
      cursor: pointer;
    }

    #soruBildir {
      display: block;
      margin-top: 15px;
      font-size: 12px;
      text-align: right;
      color: #888;
      text-decoration: underline;
      cursor: pointer;
    }

    .nav {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 10px;
      padding: 10px 20px;
      margin: 0;
      top: 20px;
      right: 20px;
      z-index: 1000;
    }

    .nav a {
      margin-left: 12px;
      text-decoration: none;
      color: #000;
      font-weight: bold;
      padding: 8px 14px;
      border-radius: 5px;
      border: 1px solid #bbb;
      background-color: rgba(255, 255, 255, 0);
      transition: all 0.3s ease;
      white-space: nowrap;
      
    }
    .nav a:hover:not(#cikisBtn) {
      background-color: #003366;
      color: #fff;
      border-color: #003366;
    }
    
    #cikisBtn:hover{
    background-color: #dc3545;
    color:#fff;
    border-color: #dc3545;
  }
    
    @media (max-width: 600px) {
      .main-container {
        margin-top: 30px;
        padding: 15px;
      }

      h1 {
        font-size: 22px;
      }

      .secenek-btn {
        font-size: 14px;
        padding: 10px;
      }

      #sonrakiBtn, #oncekiBtn {
        width: 100%;
      }
    }
    #sureContainer {
  margin-top: 12px;
  text-align: left;
}

.sure-gosterge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 8px;
  background-color: #f0f0f0;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.soru-alt-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px; /* Bu satır süre ile buton arasını açar */
  font-size: 14px;
  color: #444;
}
.main-container {
  
  max-width: 700px;
  margin: 50px auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", sans-serif;
  
}

.main-container h1 {
  text-align: center;
  color: #003366;
  margin-bottom: 30px;
}

#sonucAlani p {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
}

#sonucAlani strong {
  color: #003366;
}

.btn-group {
  margin-top: 30px;
  text-align: center;
}

.btn-group button {
  margin: 5px;
  padding: 10px 20px;
  background-color: #003366;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-group button:hover {
  background-color: #0055aa;
}

@media (max-width: 600px) {
  .main-container {
    padding: 20px;
  }

  .btn-group button {
    width: 100%;
    margin-top: 10px;
  }
}
/* PROFİL ve ÇIKIŞ butonları aynı satırda ve aynı stil */
.button-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px;
  
}

.button-bar button {
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #33333300;
  color: rgb(0, 0, 0);
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-bar button:hover {
  background-color: #003366;
  color:#fff;
}
.main-container{
  margin-top: 10px;
}
/* Modül kartlarını link gibi değil, kutu gibi göster */
.modules .card{
  display: block;           /* tüm kart tıklanabilir */
  text-decoration: none;    /* alt çizgiyi kaldır */
  color: inherit;           /* yazı rengi aynı kalsın */
}

/* Klavye erişilebilir odak stili */
.modules .card:focus-visible{
  outline: 3px solid #003366;
  outline-offset: 3px;
}

/* Güvenli tarafta kalmak için kart içindeki başlık ve paragrafta da underline kapat */
.modules .card h3,
.modules .card p{
  text-decoration: none;
}
/* TEST MODÜLÜ — cevap seçenekleri */
#secenekler .secenek-btn{
  display:block; width:100%; text-align:left;
  padding:14px 16px; margin:10px 0; border-radius:14px;
  border:1px solid #e2e8f0; background:#f8fafc;
  color:#0f172a; font-weight:600; letter-spacing:.2px; line-height:1.35;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
#secenekler .secenek-btn:hover{ background:#eef2ff; border-color:#c7d2fe; }
#secenekler .secenek-btn:focus-visible{ outline:2px solid rgba(11,103,255,.6); outline-offset:2px; }

/* kilitle: tıklanınca devre dışı */
#secenekler .secenek-btn.secenek-disabled{ pointer-events:none; }

/* DOĞRU/ YANLIŞ — iOS’ta parlamayı engelle */
#secenekler .secenek-btn.dogru{
  background:#16a34a !important; border-color:#128a3e !important;
  color:#fff !important; text-shadow:none; filter:none;
}
#secenekler .secenek-btn.yanlis{
  background:#dc2626 !important; border-color:#c81e1e !important;
  color:#fff !important; text-shadow:none; filter:none;
}
