body {
  background: linear-gradient(-45deg, #1e1e2f, #121212, #1e1e2f, #121212);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  color: #eee;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

@keyframes gradientMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}



/* 🔥 LOGIN KISMI PASSWORD */

.modal-content input[type="text"],
.modal-content input[type="password"] {
  width: 100%;
  height: 45px;
  margin: 10px 0;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #555;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.3s ease;
}



/* 🔥 GİRİŞ YAP ARKAPLAN İÇERİK */


/* 🔒 Modal İçerik */
.modal-content {
  background-color: #1c1c1c;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  color: #fff;
}


.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content input[type="text"]::placeholder,
.modal-content input[type="password"]::placeholder {
  color: #aaa; /* Placeholder renklerini de eşitle */
}

/* 🔵 Modal başlık kısmı */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* ❌ X butonu (kare içinde) */
.close-box {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.close-box:hover {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
}








.modal-content button {
  margin-top: 15px;
  padding: 12px 25px;
  background-color: #ff9800;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: #ffa733;
}


.container {
  margin-top: 40px;
}
.card {
  background: rgba(255, 255, 255, 0.07); /* saydam gri */
  color: #fff;
  position: relative;
  overflow: visible;
  border-radius: 10px;
}
.card-header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.07); /* saydam gri */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: bold;
  cursor: pointer;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1rem;
}
.card-body.show {
  max-height: 500px;
  padding: 1rem;
}
.test-card {
  background: #2a2a2a;
  border: 1px solid #444;
  padding: 10px;
  margin: 5px 0;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
}
.test-card:hover {
  background: #ffa733;
  color: #000;
}
.test-card.completed {
background: rgba(0, 255, 0, 0.07); /* saydam açık yeşil */

  color: #fff;
  border-color: #28a745;
}
.level-badge {
  font-size: 0.8rem;
}






/* 🔥 GİRİŞ YAP ARKAPLAN */


/* 🔒 Modal Arka Plan */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
}


/* 🔥 GİRİŞ YAP ARKAPLAN İÇERİK */


/* 🔒 Modal İçerik */
.modal-content {
  background-color: #1c1c1c;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  color: #fff;
}


.modal-content h2 {
  margin-bottom: 20px;
}







/* 🔥 RUSSIANBALL KISMI */
body {
  cursor: url('media/cursor.cur') 16 16, auto !important;
}

p, span, a, h1, h2, h3, h4, h5, h6 {
  cursor: url('media/text-cursor.cur'), text;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  cursor: url('media/klavye-cursor.cur'), text;
}

button {
  cursor: url('media/text-cursor.cur'), pointer !important;
}



li a, li a:hover {
  cursor: url('media/text-cursor.cur'), pointer !important;
}




.top-navbar {
  width: 100%; /* yarı genişlik */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07); 
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.top-navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-navbar .chatbotlogo-solust {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.top-navbar .flag-icon {
  width: 22px;
  height: 15px;
  border-radius: 3px;
}

.top-navbar .flag-iconru {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  margin-left: -5px;
}

.top-navbar .login-text {
  margin-left: 10px;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.top-navbar .login-text:hover {
  background: rgba(255, 255, 255, 0.2);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

nav ul li a,
nav ul li button {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.col-md-4 {
  flex: 0 0 20% !important; /* bootstrap içindeki flex tabanlı genişliği ezmek için */
  max-width: 20% !important;
}


nav ul li a:hover,
nav ul li button:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

nav ul li img {
  width: 20px;
  height: 20px;
}












/* 📱 Mobile uyumu */
@media (max-width: 768px) {
  body {
    background-size: 200% 200%;
    padding: 10px;
  }

@media (max-width: 768px) {
  body {
    overflow: auto;  /* mobilde kaydırmayı aç */
    height: auto;    /* içerik uzarsa kayabilsin */
  }
}



@media (max-width: 768px) {
  nav ul {
    display: none !important;
  }
}
  .container {
    margin-top: 20px;
  }

.top-navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: space-between; /* desktop'ta bayrakları itmesin */
}

.flag-icon {
  width: 20px;
  height: 15px;
  border-radius: 3px;
}

.flag-iconru {
  width: 20px;
  height: 15px;
  border-radius: 3px;
}

/* Mobile düzenlemesi */
@media (max-width: 768px) {
  .logo {
    justify-content: flex-start; /* sola yasla */
  }

  .flag-icon {
    margin-left: 6px; /* logo ile bayrak arası boşluk */
  }

  #openLoginModal {
    margin-left: auto; /* giriş butonunu sağa fırlat */
  }
}


.flags {
  display: flex;
  align-items: center;
  gap: 6px; /* ✅ bayraklar arası boşluk */
  margin-left: 10px; /* ✅ logo ile bayraklar arası boşluk */
}

.chatbotlogo-solust {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.login-text {
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.login-text:hover {
  background: rgba(255, 255, 255, 0.2);
}


  .top-navbar .logo {
    margin-bottom: 0; /* ✅ Alta kaymasın */
  }

@media (max-width: 768px) {
  .col-md-4 {
    flex: 0 0 50% !important;  /* her satıra 2 sığsın */
    max-width: 50% !important;
    padding: 5px;              /* butonlar arası biraz boşluk */
    box-sizing: border-box;    /* padding taşıp dizilimi bozmasın */
  }
}




.test-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.card-header {
  margin-top: auto;            /* başlığı en alta it */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

