html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F8F8F8;
  color: #333;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-header {
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eee;
  position: relative;
}
  .main-header .container,
.bottom-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}
.site-logo {
  flex-shrink: 0;
}
.site-logo a {
  text-decoration: none;
  color: inherit;
}
.site-logo a img {
  max-height: 80px;
  width: auto;
  vertical-align: middle;
}
.site-logo h1 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  color: #34495e;
}
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.auth-buttons .btn {
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.04em;
}
.auth-buttons .btn:hover {
  background-color: #f0f0f0;
}
.bottom-nav {
  background-color: #c3242b;
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
}
.bottom-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.bottom-nav li {
  margin: 0 15px;
}
.bottom-nav a {
  text-decoration: none;
  color: #fff;
  padding: 8px 0;
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.bottom-nav a i {
  margin-right: 6px;
}
.search-bar-bottom-nav {
  display: flex;
  align-items: center;
}
.search-input-bottom-nav {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px 0 0 20px;
  background: transparent;
  color: #fff;
  padding: 6px 15px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}
.search-input-bottom-nav::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.search-input-bottom-nav:focus {
  background: rgba(0, 0, 0, 0.2);
}
.search-button-bottom-nav {
  background: #a51a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 0 20px 20px 0;
}
.top-notification-bar {
  background-color: #34353b;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 13px;
  width: 100%;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  min-height: 38px;
  position: relative;
}
.main-message-bar {
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 13px;
  width: 100%;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  min-height: 38px;
  position: relative;
}
  .notification-content,
.main-message-content {
  position: absolute;
  width: 100%;
}
.stats-section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.stat-box {
  background-color: #fff;
  padding: 4px 5px;
  border-right: 1px solid #f0f0f0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(100% / 6);
  min-width: 150px;
  box-sizing: border-box;
}
.stat-box:last-child {
  border-right: none;
}
.stat-box .icon {
  font-size: 22px;
  margin-bottom: 5px;
}
.stat-box h3 {
  margin: 0 0 3px 0;
  color: #555;
  font-size: 12px;
  font-weight: 600;
}
.stat-box .value {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3px;
}
.stat-box .description {
  font-size: 10px;
  color: #666;
  font-style: italic;
}
.stat-box.users .icon {
  color: #3498db;
}
.stat-box.solved .icon {
  color: #e74c3c;
}
.stat-box.top-member .icon {
  color: #f39c12;
}
.stat-box.total-questions .icon {
  color: #27ae60;
}
.stat-box.new-member .icon {
  color: #8e44ad;
}
.stat-box.total-tests .icon {
  color: #1abc9c;
}
.main-content {
  padding: 30px 0;
}
.main-content-area {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 20px;
  align-items: start;
}
.content-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.content-box {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
}
  .content-box > ul,
.content-box > ol {
  flex-grow: 1;
}
.content-box h2 {
  font-size: 15px;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  color: #2c3e50;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content-box h2 .view-all-btn {
  background-color: #ffffff;
  color: #555;
  border: 1px solid #eef0f2;
  box-shadow: 0 2px 8px rgba(40, 40, 40, 0.06);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}
.content-box h2 .view-all-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(40, 40, 40, 0.1);
}
  .content-box ul,
.content-box ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.content-box ul li {
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.content-box ul li:last-child {
  border-bottom: none;
}
.content-box ul li a {
  color: #555;
  text-decoration: none;
}
.latest-activities-section .fa-solid {
  margin-right: 10px;
  color: #999;
  margin-top: 4px;
}
.top-performers-section .player-name {
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  color: #333;
}
.top-performers-section ol li {
  display: flex;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 10px;
}
.top-performers-section ol li:last-child {
  border-bottom: none;
}
.top-performers-section .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #eee;
}
.top-performers-section .user-avatar .avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-performers-section .player-info {
  flex-grow: 1;
}
.top-performers-section .score {
  font-size: 15px;
  font-weight: 700;
  color: #c3242b;
}
.top-performers-section .trophy-icon {
  font-size: 18px;
  color: #f39c12;
  margin-left: 10px;
}
.top-performers-section .final-score {
  font-size: 15px;
  font-weight: 500;
  color: #6c757d;
  margin-right: 5px;
}
.top-performers-section .final-score .score-number {
  font-weight: 700;
  color: #c3242b;
}
.top-performers-section .score-trophy-group {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-posts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.blog-post-item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.blog-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.blog-post-item .post-icon {
  font-size: 18px;
  color: #c3242b;
  margin-right: 15px;
}
.blog-post-item .post-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}
.blog-post-item .post-meta {
  font-size: 11px;
  color: #777;
}
.breadcrumb {
  padding: 10px 15px;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin-top: 30px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  text-decoration: none;
  color: #333;
}
.kategori-sayfa-basligi {
  font-size: 24px;
  color: #2c3e50;
  margin: 0 0 10px 0;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 600;
}
.test-list-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
  .test-list-table th,
.test-list-table td {
  padding: 16px 10px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.test-list-table th {
  font-weight: 600;
  color: #343a40;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
  .test-list-table th:first-child,
.test-list-table td:first-child {
  text-align: left;
}
  .test-list-table th:not(:first-child),
.test-list-table td:not(:first-child) {
  text-align: center;
}
.test-list-table td a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}
.test-list-table td a:hover {
  color: #c3242b;
}
.test-list-table .views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #dc3545;
  color: white;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  min-width: 20px;
  justify-content: center;
}
.test-list-table .views .fa-eye {
  font-size: 10px;
}
.test-header-box {
  background-color: #ffffff;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}
.test-header-box h1 {
  margin: 0;
  font-size: 14px;
  color: #343a40;
  font-weight: 700;
}
.soru-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 18px;
  margin-top: 25px;
  padding: 25px;
  position: relative;
}
.soru-item .soru-body {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  font-weight: 500;
  margin-bottom: 15px;
  margin-top: 12px;
}
.soru-item-header {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  padding: 6px 20px;
  border-radius: 20px;
}
.soru-item-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.soru-item-content hr {
  border-top: 1px solid #e9ecef;
}
.soru-options {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.soru-secenek-label {
  display: flex;
  align-items: center;
  cursor: default;
  border-radius: 6px;
  background-color: #fff;
  color: #777;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
  padding-left: 24px;
  line-height: 1.2;
}
.soru-secenek-label:last-child {
  margin-bottom: 0;
}
.soru-options input[type="radio"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
.test-container form .soru-options input[type="radio"] {
  accent-color: #0d6efd;
}
.soru-secenek-label .secenek-metni {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  flex-grow: 1;
  color: #555;
  display: inline-block;
}
.result-summary-bar+.test-container .soru-secenek-label .secenek-metni {
  color: #666;
}
.result-summary-bar+.test-container .soru-secenek-label input[type="radio"] {
  accent-color: #6c757d;
}
  .result-summary-bar+.test-container .soru-secenek-label.secilen-cevap input[type="radio"],
.result-summary-bar+.test-container .soru-secenek-label.dogru-cevap-sikki input[type="radio"] {
  accent-color: #6f42c1;
}
.soru-secenek-label .secenek-metni strong {
  margin-right: 2px;
}
.testi-bitir-btn {
  display: block;
  max-width: 850px;
  width: 100%;
  margin: 40px auto;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: white;
  background-color: #c3242b;
  border: 1px solid #c3242b;
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}
.testi-bitir-btn:hover {
  background-color: #a51a1a;
  border-color: #a51a1a;
}
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
}
.auth-modal {
  background: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.auth-modal-body {
  min-height: 340px;
}
.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
}
.auth-modal-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}
.auth-tab-link {
  font-family: 'Poppins', sans-serif;
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #888;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.auth-tab-link.active {
  color: #c3242b;
  border-bottom-color: #c3242b;
}
.auth-tab-content {
  display: none;
}
.auth-tab-content.active {
  display: block;
}
.auth-modal .form-group {
  margin-bottom: 15px;
}
.auth-modal .form-group label {
  font-weight: 500;
  font-size: 13px;
  color: #555;
}
  .auth-modal input[type="text"],
  .auth-modal input[type="email"],
.auth-modal input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
.form-group-row {
  display: flex;
  gap: 15px;
}
.form-group-row .form-group {
  flex: 1;
}
.password-strength-bar-container {
  height: 5px;
  width: 100%;
  background-color: #eee;
  border-radius: 5px;
  margin: -5px 0 15px 0;
}
.password-strength-bar {
  height: 100%;
  width: 0;
  border-radius: 5px;
  transition: width 0.3s, background-color 0.3s;
}
.form-group-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group-checkbox label {
  margin: 0;
  font-size: 12px;
  color: #666;
}
.form-group-checkbox a {
  color: #c0392b;
  text-decoration: underline;
  font-weight: 500;
}
.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
}
.auth-options .form-group-checkbox {
  margin-bottom: 0;
}
.auth-options a {
  color: #c0392b;
  text-decoration: none;
  font-weight: 500;
}
.auth-options a:hover {
  text-decoration: underline;
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #c3242b;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.auth-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 13px;
  text-align: center;
}
.auth-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #fdedec;
  border: 1px solid #f5b7b1;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.auth-info-box i {
  font-size: 20px;
  flex-shrink: 0;
  color: #c0392b;
}
.auth-info-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: #a93226;
}
.user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  padding: 6px 12px;
  border-radius: 25px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.user-menu .welcome-text {
  font-size: 13px;
  color: #666;
}
.user-menu .username {
  font-size: 14px;
  font-weight: 600;
  color: #c3242b;
}
.user-menu .btn-logout {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  margin-left: 5px;
  transition: color 0.2s;
}
.user-menu .btn-logout:hover {
  color: #c3242b;
}
.user-menu-container {
  position: relative;
  margin-left: 15px;
}
.user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  padding: 6px 10px;
  border-radius: 15px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.user-menu-toggle:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
}
.user-menu-toggle .header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.user-menu-toggle .welcome-text {
  font-size: 13px;
  color: #666;
}
.user-menu-toggle .username {
  font-size: 14px;
  font-weight: 600;
  color: #c3242b;
}
.user-menu-toggle .dropdown-icon {
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.2s ease;
}
.user-menu-toggle.active .dropdown-icon {
  transform: rotate(180deg);
}
.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 200px;
  padding: 8px 0;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.user-menu-dropdown.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.user-menu-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #495057;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.user-menu-dropdown a:hover {
  background-color: #f8f9fa;
  color: #0d6efd;
}
.user-menu-dropdown a i {
  width: 18px;
  text-align: center;
  color: #6c757d;
}
.user-menu-dropdown a:hover i {
  color: #0d6efd;
}
.user-menu-dropdown .dropdown-divider {
  height: 1px;
  background-color: #eee;
  margin: 8px 0;
}
.toast-title {
  font-size: 16px;
  font-weight: bold;
}
.toast-message {
  font-size: 14px;
}
.profile-page-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  margin-top: 30px;
  align-items: flex-start;
}
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profile-user-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto 15px auto;
  display: block;
}
.profile-username {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 5px 0;
}
.profile-badge {
  background-color: #ffe5e7;
  color: #c3242b;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}
.profile-follower-count {
  font-size: 14px;
  color: #666;
}
.btn-profile-edit {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: #c3242b;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  box-sizing: border-box;
}
.profile-sidebar-stats {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.profile-sidebar-stats .stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.profile-sidebar-stats .stat-item:last-child {
  border-bottom: none;
}
.profile-sidebar-stats .stat-item strong {
  color: #c3242b;
}
.profile-main-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.profile-stats-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.profile-stats-boxes .stat-box {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.profile-stats-boxes .stat-box h4 {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}
.profile-stats-boxes .stat-box span {
  font-size: 32px;
  font-weight: 700;
  color: #c3242b;
  display: block;
}
.profile-stats-boxes .stat-box p {
  margin: 0;
  font-size: 12px;
  color: #999;
}
.profile-activity-feed {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.feed-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.feed-header h3 {
  margin: 0;
  font-size: 18px;
}
.btn-filter {
  background: #f1f1f1;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
}
.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.activity-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.activity-list li:last-child {
  border-bottom: none;
}
.activity-icon {
  font-size: 18px;
  color: #999;
}
.activity-text {
  font-size: 14px;
  color: #555;
}
.feed-footer {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}
.profile-settings-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
.settings-tabs {
  display: flex;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.settings-tabs .tab-link {
  padding: 15px 25px;
  text-decoration: none;
  color: #6c757d;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.settings-tabs .tab-link:hover {
  color: #000;
}
.settings-tabs .tab-link.active {
  color: #c3242b;
  border-bottom-color: #c3242b;
}
.settings-content {
  padding: 30px;
}
.settings-content .tab-pane {
  display: none;
}
.settings-content .tab-pane.active {
  display: block;
}
.settings-content .form-group {
  margin-bottom: 20px;
}
.settings-content .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.settings-content .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}
.settings-content .btn-submit {
  display: inline-block;
  padding: 12px 25px;
  background-color: #c3242b;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 6px;
}
.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}
.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}
.user-menu .user-avatar-link {
  line-height: 0;
}
.user-menu .user-info-link {
  text-decoration: none;
}
.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee;
}
.profile-solved-tests {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.profile-solved-tests h3 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 600;
}
  .dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 25px;
  font-size: 14px;
}
.dataTables_wrapper .dataTables_filter input {
  margin-left: 0.5em;
  border: 1px solid #ddd;
  padding: 8px 10px;
  border-radius: 6px;
  margin: 0 5px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(195, 36, 43, 0.15);
  border-color: #c3242b;
}
.dataTables_wrapper .dataTables_length select {
  border: 1px solid #ddd;
  padding: 8px 10px;
  border-radius: 6px;
  margin: 0 5px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dataTables_wrapper .dataTables_length select:focus {
  outline: none;
  border-color: #c3242b;
  box-shadow: 0 0 0 3px rgba(195, 36, 43, 0.15);
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0.5em 0.9em;
  margin: 0 2px;
  border-radius: 6px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #c3242b !important;
  color: white !important;
  border-color: #c3242b !important;
  border-radius: 4px;
}
.dataTables_wrapper .dataTables_info {
  padding-top: 15px;
  font-size: 14px;
}
.dataTables_wrapper .dataTables_paginate {
  padding-top: 10px;
}
  .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #f8d7da !important;
  color: #c3242b !important;
  border-color: #c3242b !important;
  border-radius: 4px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #e9ecef !important;
  border-color: #ddd !important;
  color: #333 !important;
}
.result-summary-bar {
  background-color: #1abc9c !important;
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  margin: auto auto;
  justify-content: center;
}
.result-summary-bar .summary-item i {
  margin-right: 8px;
  vertical-align: middle;
}
  .result-summary-bar i.fa-check-circle,
.result-summary-bar i.fa-pencil-alt {
  font-size: 20px;
  margin-right: 5px;
  color: #fff;
}
.result-summary-bar .separator {
  color: rgba(255, 255, 255, 0.6);
}
.performer-item {
  align-items: center;
}
.soru-opsiyon-ayirici {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 15px 0;
}
.soru-secenek-label.secilen-cevap {
  background-color: #fff;
  border: none;
}
.soru-secenek-label.secilen-cevap input[type="radio"] {
  accent-color: #c3242b !important;
}
.soru-secenek-label.dogru-cevap-sikki {
  opacity: 1;
  border: none;
}
.soru-secenek-label.dogru-cevap-sikki input[type="radio"] {
  accent-color: #28a745;
}
  .soru-secenek-label.dogru-cevap-sikki strong,
.soru-secenek-label.dogru-cevap-sikki .secenek-metni {
  color: #666;
}
.soru-secenek-label.yanlis-secilen {
  opacity: 1;
  border-color: #dc3545;
  border: none;
}
.soru-secenek-label.yanlis-secilen input[type="radio"] {
  accent-color: #dc3545;
}
  .soru-secenek-label.yanlis-secilen strong,
.soru-secenek-label.yanlis-secilen .secenek-metni {
  color: #666;
}
.cevap-geribildirim {
  padding: 5px 7px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 13px !important;
  font-weight: 700;
  text-align: left;
  line-height: 1;
  display: inline-block;
}
.cevap-geribildirim.dogru {
  background-color: #e0f7fa;
  color: #006064;
  border: none;
}
.cevap-geribildirim.yanlis {
  color: #e83e8c;
  background-color: #fce8f1;
  border: none;
}
.soru-secenek-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.soru-secenek-label .checkmark {
  height: 14px;
  width: 14px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.soru-secenek-label .checkmark:after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  display: none;
}
.soru-secenek-label input:checked~.checkmark:after {
  display: block;
}
.soru-secenek-label .secenek-metni {
  color: #333;
  font-size: 14px;
}
form#testForm .soru-secenek-label:hover .checkmark {
  border-color: #999;
}
form#testForm .soru-secenek-label input:checked~.checkmark {
  background-color: #2196F3;
  border-color: #2196F3;
  box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}
.result-summary-bar+.test-container .soru-secenek-label input:checked~.checkmark {
  background-color: #a6b2fb;
  border-color: #a6b2fb;
  box-shadow: 0 0 5px rgba(166, 178, 251, 0.5);
}
form#testForm .soru-secenek-label .secenek-metni strong {
  font-weight: 500;
}
.result-summary-bar+.test-container .soru-secenek-label .secenek-metni strong {
  font-weight: 500;
}
  .main-footer,
.yeni-footer {
  background-color: #363636;
  color: #a0a0a0;
  padding: 25px 0;
  margin-top: 25px;
  border-top: 1px solid #4a4a4a;
}
.footer-ust-linkler {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-ust-linkler a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
}
.footer-ust-linkler a:hover {
  text-decoration: underline;
  color: #fff;
}
.footer-copyright p {
  text-align: center;
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.6;
  margin: 0;
}
.bottom-nav li.dropdown {
  position: relative;
}
.mega-menu {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  background-color: #ffffff;
  padding: 25px 30px;
  margin-top: 10px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  border: 1px solid #e9ecef;
}
.bottom-nav li.dropdown:hover>.mega-menu {
  visibility: visible;
  opacity: 1;
}
.mega-menu-column {
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.mega-menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  display: block !important;
}
  .mega-menu-column .menu-heading,
.mega-menu-column ul li a.menu-heading {
  font-weight: 500;
  color: #5f6281 !important;
  font-size: 15px;
  margin-bottom: 8px;
  padding-bottom: none;
  border-bottom: none;
  text-align: left;
  width: auto;
  display: inline-block;
  cursor: default;
  pointer-events: none;
  white-space: nowrap;
}
.mega-menu-column:not(:last-child) {
  border-right: 1px solid #f0f0f0;
  padding-right: 25px;
}
.mega-menu-column ul li a.menu-heading:hover {
  background-color: transparent !important;
}
.mega-menu-column ul li a.menu-link {
  color: #6c757d;
  padding: 6px 0;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  text-align: left;
}
.mega-menu-column ul li a.menu-link:hover {
  color: #c3242b;
}
.bottom-nav .dropdown-icon {
  font-size: 10px;
  margin-left: 6px;
}
.bottom-nav li.dropdown:hover>a .dropdown-icon {
  transform: rotate(180deg);
}
.profile-solved-tests .dataTables_paginate .paginate_button {
  padding: 0.5em 0.9em;
  margin: 0 3px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
  background: #fff;
  color: #333 !important;
  box-shadow: none;
  transition: all 0.2s ease;
}
.profile-solved-tests .dataTables_paginate .paginate_button:hover {
  background: #f1f1f1 !important;
  border-color: #ccc !important;
}
  .profile-solved-tests .dataTables_paginate .paginate_button.current,
.profile-solved-tests .dataTables_paginate .paginate_button.current:hover {
  background: #e9ecef !important;
  color: white !important;
  border-color: #828486 !important;
  font-weight: bold;
}
  .profile-solved-tests .dataTables_paginate .paginate_button.disabled,
.profile-solved-tests .dataTables_paginate .paginate_button.disabled:hover {
  background: #e9ecef !important;
  color: #6c757d !important;
  border-color: #dee2e6 !important;
  cursor: default;
  box-shadow: none;
}
.password-reset-container {
  max-width: 550px;
  margin: 50px auto;
}
.form-card {
  background: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}
.form-card h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
}
.form-card .form-description {
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 25px;
}
.styled-form .form-group {
  margin-bottom: 20px;
}
.styled-form .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}
.styled-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
}
.styled-form .form-control:focus {
  outline: none;
  border-color: #c3242b;
  box-shadow: 0 0 0 3px rgba(195, 36, 43, 0.15);
}
.btn-submit-full {
  width: 100%;
  padding: 14px;
  background-color: #c3242b;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-submit-full:hover {
  background-color: #a51a1a;
}
.user-list-container {
  max-width: 800px;
  margin: 30px auto;
}
.user-list-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
.user-list-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.user-list-header h3 {
  margin: 0;
  font-size: 18px;
}
.user-list-header .user-count {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}
.online-user-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.online-user-item:last-child {
  border-bottom: none;
}
.user-item-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}
.user-item-info {
  flex-grow: 1;
}
.user-item-info .name {
  font-weight: 600;
  color: #333;
}
.user-item-info .last-activity {
  font-size: 12px;
  color: #6c757d;
}
.user-item-actions .btn-message {
  background-color: #c7ab46;
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
}
.user-actions-area {
  display: flex;
  align-items: center;
  gap: 15px;
}
.notification-bell {
  font-size: 20px;
  color: #555;
  position: relative;
  padding: 5px;
}
.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: #e74c3c;
  border-radius: 50%;
  display: none;
  border: 1px solid #fff;
}
.quote-activity-box {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 16px;
  padding: 70px 30px;
  text-align: center;
  margin-bottom: 25px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.quote-wrapper {
  margin-bottom: 20px;
  transition: opacity 0.5s ease-in-out;
  transform: translateY(-15px);
}
.quote-text {
  font-size: 23px;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 15px;
}
.quote-author {
  font-size: 15px;
  font-style: italic;
  color: #5e7a8d;
}
.box-bottom-activity {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid #e9ecef;
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.box-bottom-activity i {
  color: #e74c3c;
}
#latestActivityText {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}
.box-bottom-activity .activity-part {
  display: flex;
  align-items: center;
}
.box-bottom-activity .activity-part i {
  color: #999;
  margin-right: 5px;
  font-size: 0.9em;
}
.box-bottom-activity .separator {
  color: #e0e0e0;
}
.box-bottom-activity .action i.fa-quote-left {
  margin-right: 3px;
  flex-shrink: 0;
}
.box-bottom-activity .action i.fa-quote-right {
  margin-left: 3px;
  margin-right: 0;
  flex-shrink: 0;
}
.activity-test-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  flex-shrink: 1;
}
.activity-test-link:hover {
  text-decoration: underline;
}
.istekler-table-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
.istekler-table-card .card-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.istekler-table-card .card-header h3 {
  margin: 0;
  font-size: 18px;
}
.istekler-table-card .card-header .btn-primary {
  background-color: #28a745;
  border-color: #28a745;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 5px;
}
.istekler-table-card .card-header .btn-primary:hover {
  background-color: #218838;
  border-color: #1e7e34;
}
.istekler-table-card .card-body {
  padding: 0;
}
.istekler-table-card table.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
  .istekler-table-card table th,
.istekler-table-card table td {
  padding: 15px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.istekler-table-card table th {
  font-weight: 600;
  color: #495057;
  background-color: #ffffff;
}
.istekler-table-card .card-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  background-color: #ffffff;
}
.istekler-table-card table tbody tr:last-child td {
  border-bottom: none;
}
.istekler-table-card table tbody tr:hover {
  background-color: #f1f1f1;
}
.istekler-table-card .badge {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.istekler-table-card .bg-warning {
  background-color: #ffc107 !important;
  color: #333 !important;
}
.istekler-table-card .bg-info {
  background-color: #17a2b8 !important;
}
.istekler-table-card .bg-success {
  background-color: #28a745 !important;
}
.istekler-table-card .bg-danger {
  background-color: #dc3545 !important;
}
.istekler-table-card .bg-secondary {
  background-color: #6c757d !important;
}
.admin-reply-cell {
  position: relative;
  cursor: help;
}
.admin-reply-cell .admin-reply-tooltip {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 13px;
  line-height: 1.5;
}
.admin-reply-cell:hover .admin-reply-tooltip {
  visibility: visible;
  opacity: 1;
}
.btn-cancel-request {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-cancel-request:hover:not(:disabled) {
  background-color: #c82333;
}
.btn-cancel-request:disabled {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}
.btn-cancel-request i {
  margin-right: 5px;
}
.profile-main-content .form-card {
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07) !important;
  overflow: hidden !important;
}
.form-card .form-card-header {
  padding: 20px 25px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  background-color: #f8f9fa !important;
  text-align: left !important;
}
.form-card .form-card-header h3 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #343a40 !important;
  text-align: left !important;
}
.form-card .form-card-body {
  padding: 25px !important;
}
.form-card .form-description {
  text-align: left !important;
  font-size: 14px !important;
  color: #6c757d !important;
  line-height: 1.7 !important;
  margin-bottom: 15px !important;
}
.profile-activity-feed .activity-list .activity-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  overflow: hidden;
}
.activity-text a.activity-link {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-left: 11px;
}
.activity-text a.activity-link:hover {
  color: #c3242b;
  text-decoration: underline;
}
.feed-footer {
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}
.btn-show-more {
  display: inline-block;
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
  padding: 8px 18px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
}
.btn-show-more:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
  color: #c3242b;
}
.profile-activity-feed .activity-list .activity-icon-wrapper i {
  color: #555 !important;
}
.profile-stats-graphs {
  margin-top: 30px;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.profile-stats-graphs h3 {
  margin: 0 0 25px 0;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.graphs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}
@media (max-width: 992px) {
.graphs-container {
  grid-template-columns: 1fr;
}
}
.graph-item {
  background-color: #fdfdff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #f0f2f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-height: 320px;
}
.graph-item h4 {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #5a6a7b;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
@media (max-width: 992px) {
  .main-header .container,
.bottom-nav .container {
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.menu-toggle {
  display: block;
  order: 1;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 1001;
}
.auth-buttons {
  width: 100%;
  text-align: center;
  order: 3;
}
.auth-buttons .btn-login {
  width: 90%;
  max-width: 300px;
  padding: 12px 15px;
  font-size: 16px;
}
.user-actions-area {
  flex-direction: row;
  justify-content: center;
  width: 100%;
  gap: 20px;
}
.user-menu-container {
  width: auto;
  margin-left: 0;
}
.user-menu-toggle {
  width: auto;
  justify-content: flex-end;
  padding: 6px 10px;
}
.user-menu-toggle .welcome-text {
  display: none;
}
.user-menu-toggle .username {
  font-size: 14px;
  margin-right: 5px;
}
.bottom-nav.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.bottom-nav ul {
  flex-direction: column;
  width: 100%;
  text-align: center;
  padding: 10px 0;
}
.bottom-nav li {
  margin: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.bottom-nav li:last-child {
  border-bottom: none;
}
.bottom-nav a {
  padding: 15px 0;
  font-size: 16px;
}
.bottom-nav li.dropdown .mega-menu {
  position: static;
  width: 100%;
  padding: 10px 0;
  margin-top: 0;
  border: none;
  box-shadow: none;
  background-color: rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 0;
  visibility: visible;
  opacity: 1;
  display: none;
}
.bottom-nav li.dropdown.active .mega-menu {
  display: flex;
}
.mega-menu-column {
  min-width: unset;
  width: 100%;
  border-right: none !important;
  padding-right: 0 !important;
}
.mega-menu-column ul li a.menu-heading {
  text-align: left !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background-color: #a51a1a !important;
  border-radius: 8px;
  margin: 5px 10px !important;
  display: block !important;
  pointer-events: auto;
  cursor: pointer;
  line-height: 1.3;
}
.mega-menu-column ul li a.menu-heading:hover {
  background-color: #8a1515 !important;
}
.mega-menu-column ul li a.menu-link {
  color: #eee;
  padding: 8px 20px !important;
  font-size: 15px;
  text-align: left !important;
}
.mega-menu-column ul li a.menu-link:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
}
.bottom-nav li.dropdown:hover>a .dropdown-icon {
  transform: rotate(0deg);
}
.bottom-nav li.dropdown > a .dropdown-icon {
  display: none;
}
.search-bar-bottom-nav {
  width: calc(100% - 20px);
  max-width: 300px;
  margin: 15px auto;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
}
.search-input-bottom-nav {
  flex-grow: 1;
  border-radius: 20px 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 15px;
}
.search-button-bottom-nav {
  border-radius: 0 20px 20px 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: none;
}
  .main-content-area,
  .blog-posts-container,
.content-left {
  grid-template-columns: 1fr;
}
.content-left > .content-box {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.content-left .test-list-table {
  display: table !important;
  white-space: nowrap;
}
.content-right {
  margin-top: 0 !important;
    padding-top: 0 !important;
    align-self: stretch;
}
.stats-section {
  flex-direction: column;
}
.stat-box {
  border-right: none;
  border-bottom: 1px solid #eee;
  flex: 1 1 100%;
  padding: 15px 10px;
}
.stat-box:last-child {
  border-bottom: none;
}
.profile-page-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.profile-sidebar {
  width: 100%;
}
.profile-stats-boxes {
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.profile-stats-boxes .stat-box {
  padding: 15px;
}
.profile-stats-boxes .stat-box span {
  font-size: 28px;
}
.profile-stats-graphs .graphs-container {
  grid-template-columns: 1fr;
}
.auth-modal {
  width: 95%;
  padding: 20px;
}
.auth-modal-tabs {
  flex-direction: column;
  border-bottom: none;
}
.auth-tab-link {
  width: 100%;
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
  text-align: center;
}
.auth-tab-link.active {
  border-bottom-color: #c3242b;
}
.form-group-row {
  flex-direction: column;
  gap: 0;
}
.form-group-row .form-group {
  width: 100%;
}
.footer-ust-linkler {
  flex-direction: column;
  gap: 10px;
}
.test-list-table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
  .test-list-table th,
.test-list-table td {
  width: auto !important;
}
  .test-list-table td:first-child,
.test-list-table th:first-child {
  min-width: 200px;
}
.kategori-sayfa-govdesi .test-list-table {
  display: table !important;
  table-layout: fixed;
  width: 100%;
}
  .kategori-sayfa-govdesi .test-list-table th:nth-child(1),
.kategori-sayfa-govdesi .test-list-table td:nth-child(1) {
  width: 60%;
}
  .kategori-sayfa-govdesi .test-list-table th:nth-child(2),
  .kategori-sayfa-govdesi .test-list-table td:nth-child(2),
  .kategori-sayfa-govdesi .test-list-table th:nth-child(3),
.kategori-sayfa-govdesi .test-list-table td:nth-child(3) {
  width: 20%;
}
  .kategori-sayfa-govdesi .test-list-table th,
.kategori-sayfa-govdesi .test-list-table td {
  white-space: normal;
  word-break: break-word;
  vertical-align: middle;
}
}
.kategori-sayfa-govdesi .content-left {
  grid-template-columns: 1fr;
}
@media (min-width: 993px) {
.kategori-sayfa-govdesi .test-list-table {
  table-layout: fixed;
}
  .kategori-sayfa-govdesi .test-list-table th:nth-child(1),
.kategori-sayfa-govdesi .test-list-table td:nth-child(1) {
  width: 60%;
}
  .kategori-sayfa-govdesi .test-list-table th:nth-child(2),
.kategori-sayfa-govdesi .test-list-table td:nth-child(2) {
  width: 20%;
}
  .kategori-sayfa-govdesi .test-list-table th:nth-child(3),
.kategori-sayfa-govdesi .test-list-table td:nth-child(3) {
  width: 20%;
}
}
@media (max-width: 480px) {
  .main-header .container,
.bottom-nav .container {
  gap: 10px;
}
.site-logo img {
  max-height: 60px;
}
.menu-toggle {
  font-size: 24px;
  right: 10px;
  top: 10px;
}
.auth-buttons .btn-login {
  padding: 10px 12px;
  font-size: 14px;
}
.bottom-nav {
  top: 80px;
}
.bottom-nav a {
  padding: 12px 0;
  font-size: 15px;
}
.search-bar-bottom-nav {
  width: 95%;
}
h1 {
  font-size: 1.5em;
}
h2 {
  font-size: 1.3em;
}
p, li, a {
  font-size: 0.9em;
}
.quote-activity-box .box-bottom-activity {
  display: none !important;
}
.quote-text {
  font-size: 16px !important;
  line-height: 1.3 !important;
  word-break: break-all;
  overflow-wrap: break-word;
  padding: 0 10px;
}
.quote-author {
  font-size: 12px;
}
.mobile-activity-box {
  display: none !important;
}
.mobile-activity-box .activity-text-mobile {
}
.mobile-activity-box .activity-link-mobile {
}
.mobile-activity-box .activity-text-mobile i {
}
.mobile-activity-box .activity-text-mobile strong {
}
.mobile-activity-box .activity-text-mobile span {
}
.stat-box .value {
  font-size: 14px;
}
.stat-box h3 {
  font-size: 11px;
}
.profile-stats-boxes {
  grid-template-columns: 1fr;
}
.profile-stats-boxes .stat-box span {
  font-size: 24px;
}
.auth-modal {
  padding: 15px;
}
.auth-tab-link {
  font-size: 14px;
  padding: 8px 15px;
}
  .auth-modal input[type="text"],
  .auth-modal input[type="email"],
.auth-modal input[type="password"] {
  padding: 10px;
  font-size: 14px;
}
.btn-submit {
  padding: 12px;
  font-size: 14px;
}
}
@media (min-width: 769px) and (max-width: 992px) {
.quote-activity-box .box-bottom-activity {
  display: none !important;
}
.mobile-activity-box {
  display: none !important;
}
.mobile-activity-box .activity-text-mobile {
}
.mobile-activity-box .activity-link-mobile {
}
.mobile-activity-box .activity-text-mobile i {
}
.mobile-activity-box .activity-text-mobile strong {
}
.mobile-activity-box .activity-text-mobile span {
}
}
.mobile-only {
  display: none;
}
.desktop-only {
  display: block;
}
@media (max-width: 992px) {
.desktop-only {
  display: none !important;
}
}
@media (max-width: 992px) {
.main-header .container .site-logo {
  order: 1;
}
.main-header .container .menu-toggle {
  order: 2;
}
.main-header .container .auth-buttons {
  order: 3;
}
.auth-buttons {
  justify-content: center;
}
}
.profile-main-content {
  max-width: 100%;
  overflow-x: hidden;
}
.dataTables_wrapper {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}
.profile-solved-tests .dataTables_wrapper {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
  .dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
}
  .dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
  transition: all 0.2s ease;
}
  .dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: #c3242b;
  box-shadow: 0 0 0 3px rgba(195, 36, 43, 0.15);
}
  table.dataTable thead th,
table.dataTable thead td {
  border: none !important;
  border-bottom: 1px solid #eee !important;
  color: #333;
  font-weight: 600;
  text-transform: none;
}
table.dataTable tbody tr {
  transition: background-color 0.2s ease;
}
table.dataTable tbody tr:hover {
  background-color: #f8f9fa;
}
table.dataTable tbody td {
  padding: 12px 10px;
  border: none !important;
}
table.dataTable.no-footer {
  border: none !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 6px;
  margin: 0 3px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333 !important;
  box-shadow: none;
  transition: all 0.2s ease;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
}
  .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background-color: #e9ecef !important;
  color: #c3242b !important;
  border-color: #ced4da !important;
  font-weight: bold;
}
.dataTables_wrapper {
  width: 100% !important;
  overflow-x: auto !important;
}
.profile-solved-tests .dataTables_wrapper {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
  .dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
}
  .dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
  transition: all 0.2s ease;
}
  .dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: #c3242b;
  box-shadow: 0 0 0 3px rgba(195, 36, 43, 0.15);
}
table.dataTable {
  border-collapse: collapse !important;
  width: 100% !important;
  border: none !important;
  table-layout: fixed !important;
}
table.dataTable thead th {
  border: none !important;
  border-bottom: 1px solid #eee !important;
  font-weight: 600;
  text-transform: none;
  padding: 12px 10px;
  color: #333;
}
table.dataTable thead th:nth-child(1) {
  width: 40% !important;
}
table.dataTable thead th:nth-child(2) {
  width: 20% !important;
}
table.dataTable thead th:nth-child(3) {
  width: 10% !important;
}
table.dataTable thead th:nth-child(4) {
  width: 10% !important;
}
table.dataTable thead th:nth-child(5) {
  width: 10% !important;
}
table.dataTable thead th:nth-child(6) {
  width: 10% !important;
}
table.dataTable tbody tr {
  transition: background-color 0.2s ease;
}
table.dataTable tbody tr:nth-child(even) {
  background-color: transparent !important;
}
table.dataTable tbody tr:hover {
  background-color: #f8f9fa !important;
}
table.dataTable tbody td {
  padding: 12px 10px;
  border: none !important;
  vertical-align: middle;
  word-break: break-word;
}
  table.dataTable tbody td:nth-child(3),
  table.dataTable tbody td:nth-child(4),
  table.dataTable tbody td:nth-child(5),
table.dataTable tbody td:nth-child(6) {
  text-align: center;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 6px;
  margin: 0 3px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333 !important;
  box-shadow: none;
  transition: all 0.2s ease;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
}
  .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background-color: #e9ecef !important;
  color: #c3242b !important;
  border-color: #ced4da !important;
  font-weight: bold;
}
.graph-item {
  overflow: hidden;
}
.istekler-table-card .card-body {
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.istekler-table-card table.table {
  margin-bottom: 0;
  width: 100%;
  min-width: 800px;
}
.istekler-table-card .table-striped>tbody>tr:nth-of-type(odd) {
  --bs-table-accent-bg: transparent;
}
.istekler-table-card .table-hover>tbody>tr:hover {
  --bs-table-hover-bg: #f8f9fa;
}
.istekler-table-card table th {
  background-color: #fcfcfd;
  border-bottom: 1px solid #eee !important;
  border-top: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  color: #555;
  padding: 16px 15px;
}
.istekler-table-card table td {
  border-top: 1px solid #f0f0f0;
  border-bottom: none;
  padding: 16px 15px;
  vertical-align: middle;
}
  .istekler-table-card table th:nth-child(1),
.istekler-table-card table td:nth-child(1) {
  width: 5%;
  text-align: center;
}
  .istekler-table-card table th:nth-child(2),
.istekler-table-card table td:nth-child(2) {
  width: 35%;
}
  .istekler-table-card table th:nth-child(3),
.istekler-table-card table td:nth-child(3) {
  width: 15%;
}
  .istekler-table-card table th:nth-child(4),
.istekler-table-card table td:nth-child(4) {
  width: 15%;
  text-align: center;
}
  .istekler-table-card table th:nth-child(5),
.istekler-table-card table td:nth-child(5) {
  width: 15%;
  text-align: center;
}
  .istekler-table-card table th:nth-child(6),
.istekler-table-card table td:nth-child(6) {
  width: 15%;
  text-align: center;
}
.online-user-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.user-item-info {
  flex-grow: 1;
  min-width: 0;
}
.user-item-info .name,.user-item-info .last-activity {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-item-actions {
  flex-shrink: 0;
}
@media (max-width: 992px) {
.user-item-actions .btn-message {
  padding: 6px 10px;
  font-size: 12px;
}
}
.soru-body strong {
  font-weight: 700 !important;
}
  .soru-body u,
.soru-body .kelime-rakam-cifti .kelime {
  text-decoration: underline !important;
}
.soru-body .kelime-rakam-cifti {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 3px;
  text-align: center;
  flex-grow: 0;
  flex-shrink: 0;
  line-height: 1.1 !important;
}
@media (max-width: 992px) {
.sonuc-page-wrapper {
  flex-direction: column;
}
.sonuc-sidebar {
  width: 100%;
}
}
.sonuc-sidebar .content-box h2 span:last-child {
  white-space: nowrap;
}
.top-performers-list .performer-item {
  display: flex;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 10px;
}
.top-performers-list .performer-item:last-child {
  border-bottom: none;
}
.top-performers-list .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.top-performers-list .avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-performers-list .player-info {
  flex-grow: 1;
}
.top-performers-list .player-name {
  font-weight: 600;
  font-size: 13px;
  color: #333;
}
.top-performers-list .score-trophy-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.top-performers-list .final-score {
  font-size: 13px;
  font-weight: 500;
  color: #6c757d;
}
.top-performers-list .score-number {
  font-weight: 700;
  color: #c3242b;
}
.top-performers-list .trophy-icon {
  font-size: 16px;
  color: #f39c12;
}
.top-performers-section .performer-item .user-avatar {
  width: 38px;
  height: 38px;
}
.top-performers-section .performer-item .player-name {
  font-size: 14px;
}
.top-performers-section .performer-item .final-score {
  font-size: 14px;
}
.top-performers-section .performer-item .trophy-icon {
  font-size: 14px;
}
.result-summary-bar + .test-container .soru-secenek-label {
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 992px) {
  .kategori-sayfa-govdesi #kategoriTestListesi {
    width: 100%;
    table-layout: fixed; /* sabit kolon genişlikleri uygulanabilsin */
  }

  /* 2. sütun (Görüntülenme): rozet + boşluk için makul sabit genişlik */
  .kategori-sayfa-govdesi #kategoriTestListesi th:nth-child(2),
  .kategori-sayfa-govdesi #kategoriTestListesi td:nth-child(2) {
              /* gerekirse 150-180px arası değiştirilebilir */
    text-align: center;
    white-space: nowrap;
	padding-right: 100px;
  }

  /* 3. sütun (Soru): sayı kadar sabit küçük genişlik + kenardan makul boşluk */
  .kategori-sayfa-govdesi #kategoriTestListesi th:nth-child(3),
  .kategori-sayfa-govdesi #kategoriTestListesi td:nth-child(3) {
    width: 180px;           /* 2-3 haneli sayılar için yeterli */
    text-align: center;
    padding-right: 6px;   /* çok kayık görünmesin diye kenardan biraz iç boşluk */
  }

  /* 1. sütun (Test Adı): geri kalan alanı alır */
  .kategori-sayfa-govdesi #kategoriTestListesi th:nth-child(1),
  .kategori-sayfa-govdesi #kategoriTestListesi td:nth-child(1) {
	text-align: left;
    /* genişlik belirtmeyerek kalan alanı kaplamasını sağlıyoruz */
  }
}
/* ===== YENİ YANDAN AÇILIR MOBİL MENÜ STİLLERİ ===== */

/* --- 1. Genel Yapı ve Katman --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.menu-overlay.active {
    visibility: visible;
    opacity: 1;
}
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px; /* Menü genişliği */
    max-width: 85%; /* Ekranın en fazla %85'ini kaplasın */
    height: 100%;
    background-color: #ffffff;
    z-index: 1050;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}
.mobile-side-menu.active {
    transform: translateX(0);
}

/* --- 2. Menü İçi Elemanlar --- */
.side-menu-header {
    padding: 10px 15px;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.side-menu-user-profile {
    padding: 20px 15px;
}
.side-menu-user-profile .user-info-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.profile-avatar-side-menu {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.side-menu-user-profile .user-details {
    display: flex;
    flex-direction: column;
}
.side-menu-user-profile .username {
    font-size: 16px;
    font-weight: 600;
    color: #c3242b;
}
.side-menu-user-profile .view-profile {
    font-size: 12px;
    color: #777;
}
.side-menu-user-profile .guest-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.guest-user i {
    font-size: 40px;
    color: #ccc;
}
.guest-user span {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}
.btn-login-side-menu {
    width: 100%;
    background-color: #c3242b;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
}

/* --- 3. Navigasyon ve Linkler --- */
.side-menu-nav-container {
    flex-grow: 1; /* Kalan tüm boşluğu doldurur */
    overflow-y: auto; /* İçerik sığmazsa kaydırma çubuğu çıkar */
}
/* Menü içine taşınan .bottom-nav için mobil stil ezmeleri */
.mobile-side-menu .bottom-nav {
    display: flex !important;
    background-color: transparent !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
    box-shadow: none !important;
}
.mobile-side-menu .bottom-nav .container {
    padding: 0 !important;
}
.mobile-side-menu .bottom-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 10px 0;
}
.mobile-side-menu .bottom-nav li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-side-menu .bottom-nav a {
    color: #333;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-side-menu .bottom-nav li.dropdown > a .dropdown-icon {
    display: inline-block !important; /* Gizlenmiş ikonu geri göster */
    transition: transform 0.2s ease-in-out;
}
.mobile-side-menu .bottom-nav li.dropdown.active > a .dropdown-icon {
    transform: rotate(180deg);
}
.mobile-side-menu .bottom-nav .mega-menu {
    display: none; /* Alt menüleri varsayılan olarak gizle */
    position: static;
    background-color: #f8f9fa; /* Alt menü arka plan rengi */
    box-shadow: none;
    padding: 0;
    border: none;
    border-top: 1px solid #eee;
}
.mobile-side-menu .bottom-nav li.dropdown.active .mega-menu {
    display: block !important; /* Aktif olunca göster */
}
.mobile-side-menu .mega-menu-column {
    padding: 0 !important;
    border: none !important;
}
.mobile-side-menu .mega-menu-column ul {
    padding: 10px 0;
}
.mobile-side-menu .mega-menu-column .menu-heading {
    color: #c3242b !important;
    font-weight: 620 !important;
    font-size: 14px !important;
    padding: 10px 25px !important;
    cursor: default;
}
.mobile-side-menu .mega-menu-column .menu-link {
    color: #555 !important;
    font-size: 14px !important;
    padding: 8px 25px 8px 35px !important; /* İçeriden başlasın */
}
.mobile-side-menu .bottom-nav .search-bar-bottom-nav {
    display: none; /* Yandaki menüde arama çubuğunu gizle */
}

/* --- 4. Menü Altbilgisi (Footer) --- */
.side-menu-footer {
    padding: 10px;
    border-top: 1px solid #f0f0f0;
}
.side-menu-footer a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    border-radius: 5px;
}
.side-menu-footer a:hover {
    background-color: #f8f9fa;
}

/* --- 5. Mobil Görünüm İçin Son Dokunuşlar --- */
@media (max-width: 992px) {
    /* Hamburger menü ikonunu header içinde doğru konumlandır */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .main-header .container {
        justify-content: center; /* Logoyu ortala */
        position: relative;
        padding-top: 5px;
        padding-bottom: 5px;
		padding-left: 20px;
        padding-right: 40px; 
    }
    .site-logo {
        text-align: center;
    }
    /* Masaüstü menüsünü mobil'de tamamen gizle */
    .bottom-nav {
        display: none;
    }
    /* Header'daki kullanıcı/giriş butonlarını gizle, çünkü menüye taşıdık */
    .main-header .auth-buttons {
        display: none;
    }
}
/* ===== MASAÜSTÜ / MOBİL GÖRÜNÜM DÜZELTMELERİ ===== */

/* Kural 1: Masaüstünde (993px ve üzeri) hamburger ikonu GİZLİ olsun */
.menu-toggle {
    display: none;
}

/* Kural 2: Masaüstünde ana navigasyon menüsü GÖRÜNÜR olsun */
.bottom-nav {
    display: flex;
}

/* Kural 3: Mobilde (992px ve altı) bu kuralları TERSİNE çevir */
@media (max-width: 992px) {
    /* Mobilde hamburger ikonu GÖRÜNÜR olsun */
    .menu-toggle {
        display: block;
    }

    /* Mobilde ana navigasyon menüsü (üstteki bar) GİZLİ olsun */
    /* !important ekleyerek diğer kuralları ezmesini garantiliyoruz */
    header + .bottom-nav {
        display: none !important;
    }
}
/* ===== HAMBURGER İKONU VE YAN MENÜ ARAMA KUTUSU STİLLERİ ===== */

/* --- Yeni Hamburger İkon Stili --- */
.menu-toggle {
    width: 30px;
    height: 24px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}
/* Menü açıldığında ikonu 'X' yapma animasyonu (JavaScript Destekli) */
.menu-toggle.active span:nth-child(1) {
    top: 10px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/* --- Yan Menüdeki Arama Kutusu Stili --- */
.mobile-side-menu .search-bar-bottom-nav {
    display: flex;
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-side-menu .search-input-bottom-nav {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    background: #f8f9fa;
    color: #333;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

.mobile-side-menu .search-input-bottom-nav::placeholder {
  color: #999;
}

.mobile-side-menu .search-input-bottom-nav:focus {
  border-color: #c3242b;
  box-shadow: 0 0 0 2px rgba(195, 36, 43, 0.1);
}

.mobile-side-menu .search-button-bottom-nav {
    background: #c3242b;
    color: #fff;
    border: 1px solid #c3242b;
    border-left: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 0 20px 20px 0;
}
/* ===== SON MOBİL MENÜ DÜZENLEMELERİ (Ağustos 2025) ===== */

/* --- Adım 2.1: Mobil Header İkon Konumunu Düzeltme --- */
@media (max-width: 992px) {
    .main-header .container {
        display: flex;
        flex-direction: row !important; /* Dikey hizalamayı iptal et, yatay yap */
        justify-content: space-between; /* Logoyu sola, ikonu sağa yasla */
        align-items: center;
        width: 100%;
    }

    .site-logo {
        text-align: left; /* Logo için metin ortalamasını kaldır */
        flex-grow: 1; /* Gerekirse logonun alanı kaplamasına izin ver */
    }

    .menu-toggle {
        flex-shrink: 0; /* İkonun küçülmesini engelle */
        position: static; /* Mutlak konumlandırmayı kaldır */
        transform: none;
        order: 2;
    }
}

/* --- Adım 2.2: Yan Menü Altbilgisi ve Sabit Arama Kutusu Stili --- */
/* Ana menü gövdesinin esneyip kalan alanı doldurmasını sağla */
.mobile-side-menu .side-menu-nav-container {
    flex-grow: 1;
    overflow-y: auto;
}

/* Yeni oluşturulan footer'ın sabit kalmasını sağla */
.mobile-side-menu .side-menu-footer {
    flex-shrink: 0; /* Küçülmesini engelle */
    padding: 15px;
    background-color: #f8f9fa; /* Hafif bir arkaplan rengi */
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

/* Footer içindeki arama formunun stilini sıfırla (eski padding'leri kaldır) */
.mobile-side-menu .side-menu-footer .search-bar-bottom-nav {
    padding: 0;
    border-bottom: none;
}


/* --- Adım 2.3: Alt Menü Başlıklarının Modern Görünümü --- */
/* Eski kırmızı arkaplanı ve stilleri tamamen geçersiz kıl */
.mobile-side-menu .mega-menu-column .menu-heading {
    background-color: transparent !important;
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px !important;
    margin: 10px 0 5px 0 !important;
    border: none !important;
    cursor: default !important;
    border-radius: 0 !important;
}

/* Alt menü başlıklarının altındaki linkleri biraz içeriden başlat */
.mobile-side-menu .mega-menu-column ul li a.menu-link {
    padding-left: 35px !important; /* Girinti ekle */
}
/* ===== MOBİL MENÜ İKONU FİNAL DÜZELTMESİ ===== */

@media (max-width: 992px) {
    .menu-toggle {
        /* Çakışan 'position' kurallarını eziyoruz. 
           İkonun içindeki çizgilerin doğru durması için 'relative' olmalı. */
        position: relative !important;

        /* Önceki adımlardan kalan ve artık gerekmeyen mutlak konumlandırma kurallarını sıfırlıyoruz. */
        right: auto;
        top: auto;
        transform: none; /* Bu, flexbox düzeniyle hizalandığı için artık gerekli değil */

        /* Flexbox düzeni için gerekli olan kurallar kalacak. */
        order: 2;
        flex-shrink: 0;
    }
}
/* --- MOBİL MENÜ KAYDIRMA (SCROLL) DÜZELTMESİ --- */
.side-menu-scrollable-content {
    flex-grow: 1;       /* Kalan tüm boşluğu doldurmasını sağlar */
    overflow-y: auto;   /* İçerik sığmazsa dikey kaydırma çubuğu çıkarır */
    min-height: 0;      /* Flexbox'ın doğru çalışması için kritik bir kural */
}
/* --- ALT MENÜ MODERN GÖRÜNÜM VE RENK DÜZENLEMESİ --- */

/* Alt menü alanını hafif gri bir arkaplanla ayır */
.mobile-side-menu .bottom-nav .mega-menu {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: -1px; /* Üst menünün alt çizgisiyle birleşmesi için */
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Alt menü başlıklarının altındaki boşluğu düzenle */
.mobile-side-menu .mega-menu-column .menu-heading {
    margin-bottom: 5px !important;
}

/* Alt menü linklerinin stilini belirginleştir */
.mobile-side-menu .mega-menu-column ul li a.menu-link {
    color: #495057 !important; /* Daha okunaklı bir metin rengi */
    padding: 10px 20px 10px 40px !important; /* Girintiyi artır */
    position: relative;
    border-radius: 4px;
    margin: 0 10px;
    width: auto;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Linklerin üzerine gelindiğinde dikkat çekici bir efekt ekle */
.mobile-side-menu .mega-menu-column ul li a.menu-link:hover {
    background-color: #e9ecef;
    color: #c3242b !important; /* Tema rengiyle uyumlu */
}
/* --- MOBİL MENÜ AÇIKKEN ARKA PLAN KAYDIRMAYI ENGELLEME --- */
body.menu-open {
    overflow: hidden;
}
/* --- YAN MENÜ KULLANICI ALT MENÜSÜ STİLLERİ (GÜNCELLENDİ) --- */

/* Ana profil alanını, açılır menü için konumlandırma referansı yap */
.side-menu-user-profile {
    position: relative; /* Bu satır eklendi */
}

/* Tıklanabilir kullanıcı alanı için temel stiller */
.side-menu-user-profile .user-info-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

/* Kullanıcı adının yanındaki aşağı ok ikonu */
.side-menu-user-profile .user-info-toggle .dropdown-icon {
    margin-left: auto;
    color: #888;
    transition: transform 0.2s ease-in-out;
}

/* Menü açıldığında ok ikonu yukarı dönsün */
.side-menu-user-profile .user-info-toggle.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Açılır menüyü akışın dışına al ve gizle */
.side-menu-user-dropdown {
    display: none; /* JS ile kontrol edilecek */
    position: absolute; /* En önemli değişiklik */
    top: 100%; /* Kullanıcı alanının hemen altında başlasın */
    left: 0;
    right: 0;
    z-index: 10; /* Diğer linklerin üzerinde görünsün */
    background-color: #ffffff; /* Arka planı beyaz yap */
    border: 1px solid #f0f0f0; /* Kenarlık ekle */
    border-radius: 6px; /* Kenarları yuvarlat */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Gölge ekle */
    padding: 8px;
    margin-top: 10px;
}

/* JavaScript ile .show sınıfı eklendiğinde menüyü göster */
.side-menu-user-dropdown.show {
    display: block !important;      /* Görünür yap */
    opacity: 1 !important;          /* Tamamen opak yap (görünmez değil) */
    visibility: visible !important; /* Görünür olarak işaretle */
    transform: none !important;     /* Ekran dışına kaydırılmışsa sıfırla */
}

/* Alt menüdeki linklerin stili */
.side-menu-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
}

.side-menu-user-dropdown a:hover {
    background-color: #f8f9fa;
    color: #c3242b;
}

.side-menu-user-dropdown a i {
    width: 18px;
    text-align: center;
    color: #6c757d;
}

/* Linkler arasındaki ayırıcı çizgi */
.side-menu-user-dropdown .dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 8px 0;
}
/* --- MOBİL MENÜ BİLDİRİM İKONLARI STİLİ (GÜNCELLENDİ) --- */

/* Tıklanabilir ana kullanıcı alanına yeni hizalama kuralları */
.side-menu-user-profile .user-info-toggle {
    display: flex;
    align-items: center;
    gap: 15px; /* Öğeler arası boşluk */
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

/* Kullanıcı adı/menüsü yazısını sola yasla */
.side-menu-user-profile .user-details {
    margin-right: auto; /* Bu kural ikonları ve oku sağa iter */
}

/* İkonların eski mutlak konumunu sıfırla */
.side-menu-action-icons {
    position: static;
    display: flex;
    gap: 15px;
}

/* Her bir ikonun stili */
.side-menu-action-icons .action-icon {
    font-size: 18px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.side-menu-action-icons .action-icon:hover {
    color: #c3242b;
}

/* Aşağı ok ikonunun stilini ayarla */
.side-menu-user-profile .user-info-toggle .dropdown-icon {
    color: #888;
    transition: transform 0.2s ease-in-out;
}
/* ===== MOBİL MENÜ FİNAL GÖRÜNÜM ===== */

/* Yeni oluşturulan birleşik üst alanı düzenle */
.side-menu-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px; /* Tüm kenarlara eşit boşluk ver */
    border-bottom: 1px solid #f0f0f0; /* Altına ayırıcı çizgi ekle */
    flex-shrink: 0; /* Bu alanın küçülmesini engelle */
}

/* Kullanıcı profili alanının gereksiz boşluklarını ve pozisyonunu sıfırla */
.side-menu-user-profile {
    padding: 0;
    position: relative; /* Mutlak konumlandırmayı kaldır */
    flex-grow: 1; /* Mümkün olduğunca genişlesin */
}

/* Başlık ve kapatma butonu alanının gereksiz stillerini sıfırla */
.side-menu-header {
    padding: 0;
    position: static; /* Mutlak konumlandırmayı kaldır */
    border: none;
}

/* Kapatma butonunu biraz daha belirgin hale getir */
.mobile-menu-close {
    font-size: 30px;
    color: #888;
}
/* public_html/assets/css/style.css DOSYASININ SONUNA EKLEYİN */

/* ===== UZUN KULLANICI ADI İÇİN MOBİL MENÜ DÜZELTMESİ ===== */

/* Kullanıcı adı ve "Hoşgeldin" yazısını içeren kapsayıcının
   gerektiğinde küçülebilmesini sağlar. */
.mobile-side-menu .user-details {
    min-width: 0;
}

/* Uzun kullanıcı adlarının taşmasını engeller ve sonuna ... ekler. */
.mobile-side-menu .username {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; /* Bu kural text-overflow'un doğru çalışmasına yardımcı olur */
}
.soru-body.soru-metni-icerik {
    text-align: justify;
}

.soru-body.soru-metni-icerik,
.soru-body.soru-metni-icerik p {
    text-align: justify;
    -moz-text-align-last: left; /* Firefox için uyumluluk */
    text-align-last: left;
}
.test-icerik-alani {
    max-width: 850px; /* İçeriğin maksimum genişliği. Bu değeri zevkinize göre değiştirebilirsiniz. */
    margin: 0 auto;   /* Bu, daraltılmış alanı sayfanın ortasına hizalar. */
}
/* --- KATEGORİ SAYFASI MOBİL TABLO FİNAL ÇÖZÜMÜ (Başlıklar Düzeltildi) --- */
@media (max-width: 992px) {

  /* Genel tablo yapısı */
  .kategori-sayfa-govdesi #kategoriTestListesi {
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
  }

  /* Mobil başlıkların fontunu biraz küçülterek sığmalarını sağlıyoruz */
  .kategori-sayfa-govdesi #kategoriTestListesi th {
    font-size: 12px;
    vertical-align: middle; /* Başlıkları dikeyde ortalıyoruz */
  }

  /* Test Adı Sütunu */
  .kategori-sayfa-govdesi #kategoriTestListesi th:first-child,
  .kategori-sayfa-govdesi #kategoriTestListesi td:first-child {
    width: 65% !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: left;
    padding-left: 10px !important;
  }

  /* Görüntülenme Sütunu */
  .kategori-sayfa-govdesi #kategoriTestListesi th:nth-child(2),
  .kategori-sayfa-govdesi #kategoriTestListesi td:nth-child(2) {
    width: 20% !important; /* Genişliği yüzde olarak sabitliyoruz */
    white-space: nowrap !important;
    text-align: center;
    padding: 16px 5px !important;
  }

  /* Soru Sütunu */
  .kategori-sayfa-govdesi #kategoriTestListesi th:nth-child(3),
  .kategori-sayfa-govdesi #kategoriTestListesi td:nth-child(3) {
    width: 15% !important; /* Genişliği yüzde olarak sabitliyoruz */
    white-space: nowrap !important;
    text-align: center;
    padding: 16px 5px !important;
  }
}
.daily-fact-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.daily-fact-box:hover {
    transform: translateY(-3px);
}

/* Reklam alanı iç boşluğu */
.sidebar-ad-content {
    padding: 10px 0;
    text-align: center;
}

/* Yazım kuralları hizalaması */
.fact-content .yazim-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
}

.fact-content .yazim-item i {
    width: 25px; /* İkonların aynı hizada başlaması için sabit genişlik */
    font-size: 18px;
}

.yazim-item.wrong { color: #e91e63; }
.yazim-item.correct { color: #00bcd4; }

/* İpucu metni ayarı */
.ipucu-text {
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
    padding-top: 5px;
}
/* Reklam Kapsayıcısı Ayarları */
.ad-container-fixed {
    max-height: 400px; /* Reklamın maksimum yüksekliğini belirler */
    overflow: hidden;  /* Belirlenen alanı aşan içeriği gizler */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

/* Reklam içindeki görsellerin kutuya sığmasını sağlar */
.ad-container-fixed img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.ipucu-mesaj {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
    
    /* İki yana yaslamayı (justify) tamamen kaldırıyoruz */
    text-align: left; 
    
    /* Modern tarayıcılar için metni satırlara dengeli dağıtır */
    text-wrap: balance; 
    
    /* Harf ve kelime boşluklarını standartlaştırır */
    word-spacing: 0.05em;
    letter-spacing: -0.01em;
    
    /* Kelime bölünmesini önleyerek bütünlüğü korur */
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none; 
}
.hap-icerik {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;   /* üstten başlasın */
    padding: 10px 14px;        /* boşluk azaltıldı */
}

.ipucu-mesaj {
    margin: 0;
    line-height: 1.45;         /* çok önemli: boşluk hissini bitirir */
    font-size: 14px;
    color: #555;
	padding: 10px;
}
/* 2. BLOG KUTULARI HİZALAMA VE TAŞMA DÜZELTMESİ */
.blog-posts-container {
    align-items: stretch; /* Kutuları eşit boya zorla */
}

.blog-posts-container .content-box {
    height: 100%; /* Kutuyu tam doldur */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
/* REKLAM SABİTLEME AYARLARI (300x600 Standart Boyut) */
.fixed-ad-container {
    height: 380px;           /* Yüksekliği tam 380px yaptık */
    width: 100%;             /* Genişlik bulunduğu sütuna tam otursun */
    max-width: 300px;        /* Çok geniş ekranlarda aşırı büyümesin (Opsiyonel) */
    margin: 0 auto;          /* Kutuyu ortalar */
    display: flex;
    align-items: center;     
    justify-content: center; 
    overflow: hidden;        
    background-color: #fff;  
    border-radius: 4px;      /* Köşeleri hafif yumuşattık */
}

/* Resim veya Video Ayarları */
.fixed-ad-container img, 
.fixed-ad-container video {
    width: 100%;            /* Genişliği kutuya yay */
    height: 100%;           /* Yüksekliği kutuya yay */
    object-fit: fill;       /* Resmi/Videoyu 600px alana tam doldur (Boşluk kalmaz) */
}