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; /* Hamburger menü için konumlandırma bağlamı */
}

.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; /* Logo küçülmesin */
}

.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; /* İçindeki butonları/menüyü yatayda hizala */
    align-items: center;
    gap: 15px; /* Butonlar arasında boşluk */
}

.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 300px;
    gap: 30px;
    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: 14px;
    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;
}

/* Tüm hücreler için ortak stiller */
.test-list-table th,
.test-list-table td {
    padding: 16px 10px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* Sadece BAŞLIK hücreleri için stil */
.test-list-table th {
    font-weight: 600;
    color: #343a40;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* BİRİNCİ SÜTUN (Test Adı) için özel stil */
.test-list-table th:first-child,
.test-list-table td:first-child {
    text-align: left; /* Sola hizalı kalsın */
}

/* DİĞER SÜTUNLAR (Görüntülenme ve Soru) için özel stil */
.test-list-table th:not(:first-child),
.test-list-table td:not(:first-child) {

    text-align: center; /* ORTALI HİZALANSIN */
}

/* Test adı linki */
.test-list-table td a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px; /* Font boyutunu td'den buraya taşıdık */
    transition: color 0.2s ease;
}

.test-list-table td a:hover {
    color: #c3242b;
}

/* Görüntülenme sayısı etiketi ('views' badge) */
.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; /* Ortalamak için eklendi */
}

.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: 16px;
    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-size: 15px;
    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; /* Mevcut stil */
}

.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: 15px;
}

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; /* Added missing border */
}

.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; /* İkonların küçülmesini engelle */
}

.box-bottom-activity .action i.fa-quote-right {
    margin-left: 3px;
    margin-right: 0;
    flex-shrink: 0; /* İkonların küçülmesini engelle */
}

.activity-test-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap; /* Metni tek satırda tut */
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    flex-shrink: 1; /* Metnin küçülmesine izin ver */
}

.activity-test-link:hover {
    text-decoration: underline;
}

/* Tabloyu içeren kartın genel yapısı */
.istekler-table-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    overflow: hidden; /* Kenarlıkların yuvarlak kalması için */
}

.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; /* Yeşil tonu */
    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; /* Tablonun kenarlara tam yaslanması için */
}

/* Tablonun kendisi için stiller */
.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; /* Arka planı beyaz yap */
}

.istekler-table-card table tbody tr:last-child td {
    border-bottom: none; /* Son satırın alt çizgisini kaldır */
}

.istekler-table-card table tbody tr:hover {
    background-color: #f1f1f1; /* Satır üzerine gelince renk değişimi */
}

/* Durum etiketleri (badge) için daha belirgin stiller */
.istekler-table-card .badge {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px; /* Hap şeklinde */
    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; }

/* Yönetici cevabı ve Tooltip */
.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%; /* Hücrenin üstünde göster */
    left: 50%;
    margin-left: -110px; /* Genişliğin yarısı kadar sola kaydır */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
    line-height: 1.5;
}

.admin-reply-cell:hover .admin-reply-tooltip {
    visibility: visible;
    opacity: 1;
}

/* İşlemler Sütunundaki Butonlar */
.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;
}
/* =================================================================== */
/* === İstek Talebi Sayfası Form Stilleri (GARANTİLİ SÜRÜM) === */
/* =================================================================== */

.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;
}
/* Tüm aktivite metinleri için ortak stil */
.profile-activity-feed .activity-list .activity-text {
    font-size: 14px;
    color: #555;        /* Yazı rengini #555 yap */
    line-height: 1.6;
    overflow: hidden;    /* float'tan etkilenen diğer elementleri düzeltir */
}

/* "İstek" linkleri için ek stil */
.activity-text a.activity-link {
    color: #555; /* Yazı rengini miras al veya direkt ata */
    text-decoration: none;
    transition: color 0.2s ease;
	margin-left: 11px;
}

.activity-text a.activity-link:hover {
    color: #c3242b;
    text-decoration: underline;
}
/* =================================================================== */
/* === Profil Sayfası 'Daha Fazla Göster' Buton Stili === */
/* =================================================================== */

.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;  /* Butonun iç boşluğunu küçülttük */
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600; /* Fontu biraz daha belirgin yaptık */
    font-size: 13px;    /* Yazı boyutunu küçülttük */
    transition: all 0.2s ease;
}

.btn-show-more:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #c3242b; /* Tema rengi */
}
/* Profil sayfası aktivite listesi ikon rengini #55ÜRÜM) */
.profile-activity-feed .activity-list .activity-icon-wrapper i {
    color: #555 !important;
}
/* Profil Sayfası İstatistik Grafikleri Stili (FİNAL SÜRÜM) */
.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;
}

/* YENİ EKLENDİ: Chart.js Konteyner Çözümü */
.chart-container {
    position: relative;
    height: 300px; /* Grafiğe sabit ve güvenilir bir yükseklik veriyoruz */
    width: 100%;
}

@media (max-width: 992px) {
    .graphs-container {
        grid-template-columns: 1fr;
    }
}
/* =================================================================== */
/* Modern Grafik Stilleri */
/* =================================================================== */

/* Her bir grafik kartının ana yapısı */
.graph-item {
    background-color: #fdfdff; /* Çok hafif kırık beyaz arkaplan */
    padding: 20px;
    border-radius: 16px; /* Konteynerin köşelerini belirgin şekilde yuvarlak yap */
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Daha yumuşak bir gölge */
    min-height: 320px;
}

/* Grafik başlığını ortala */
.graph-item h4 {
    text-align: center;
    font-size: 15px;
    font-weight: 600; /* Biraz daha kalın */
    color: #5a6a7b;
    margin-bottom: 20px;
}

/* --- Mobil Uyumlu Tasarım Başlangıcı --- */

/* Hamburger menü ikonu için varsayılan stil - masaüstünde gizli */
.menu-toggle {
    display: none; /* Masaüstünde gizle */
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
}

/* Tüm görsellerin kapsayıcılarına sığmasını ve oranlarını korumasını sağlar */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Görsellerin altındaki boşluğu kaldırır */
}

/* Tabloların mobil cihazlarda yatay kaydırılabilir olmasını sağlar */
table {
    width: 100%; /* Tablonun tam genişlikte olmasını sağlar */
    border-collapse: collapse;
    display: block; /* Tablonun kaydırılabilir olması için */
    overflow-x: auto; /* Yatay kaydırma çubuğu ekler */
    white-space: nowrap; /* Satırların sarılmasını engeller */
}

/* Küçük ekranlar için genel kurallar (992px ve altı - tablet ve telefonlar için daha geniş bir başlangıç) */
@media (max-width: 992px) {
    /* Ana header ve alt navigasyonun düzenini değiştir */
    .main-header .container,
    .bottom-nav .container {
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Elemanlar arasında boşluk */
    }

    /* Hamburger menü ikonunu göster */
    .menu-toggle {
        display: block; /* Mobilde göster */
        order: 1; /* Logodan sonra gelmesini sağlar */
        position: absolute; /* Konumlandırma için */
        right: 20px; /* Sağdan boşluk */
        top: 25px; /* Üstten boşluk */
        z-index: 1001; /* Diğer elementlerin üzerinde kalması için */
    }

    /* Kullanıcı aksiyon alanı ve giriş/kayıt butonu mobilde daha iyi hizala */
    .auth-buttons {
        width: 100%; /* Tam genişlik */
        text-align: center; /* Butonları ortala */
        order: 3; /* En altta olmasını sağlar */
    }

    .auth-buttons .btn-login {
        width: 90%; /* Butonun genişliğini ayarla */
        max-width: 300px; /* Maksimum genişlik */
        padding: 12px 15px;
        font-size: 16px;
    }

    .user-actions-area {
        /* Flex yönünü satır olarak değiştirerek ikonları yan yana getir */
        flex-direction: row;
        justify-content: center; /* İçerikleri yatayda ortala */
        width: 100%;
        gap: 20px; /* İkonlar arasında daha fazla boşluk */
    }

    .user-menu-container {
        width: auto; /* Genişliği içeriğe göre ayarla */
        margin-left: 0; /* Sol marjı sıfırla */
    }

    .user-menu-toggle {
        width: auto; /* Genişliği içeriğe göre ayarla */
        justify-content: flex-end; /* İçerikleri sağa hizala */
        padding: 6px 10px; /* Padding'i koru */
    }

    .user-menu-toggle .welcome-text {
        display: none; /* "Hoş geldin," yazısını gizle */
    }

    .user-menu-toggle .username {
        font-size: 14px; /* Kullanıcı adı font boyutunu koru */
        margin-right: 5px; /* Kullanıcı adı ile ikon arasına boşluk */
    }

    /* Alt navigasyon menüsü (bottom-nav) için mobil düzen */
    .bottom-nav {
        width: 100%;
        padding: 0; /* Padding'i sıfırla */
        box-shadow: none; /* Gölgeyi kaldır */
        position: absolute; /* Menünün üstüne gelmesi için */
        top: 100px; /* Header yüksekliğine göre ayarla */
        left: 0;
        background-color: #c3242b; /* Kendi arka plan rengi */
        z-index: 999; /* Header'ın altında kalması için */
        display: none; /* Varsayılan olarak gizle */
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        transform: translateY(-100%); /* Başlangıçta yukarıda gizle */
        opacity: 0;
    }

    .bottom-nav.active {
        display: flex; /* Aktif olduğunda göster */
        transform: translateY(0); /* Aşağı kaydırarak görünür yap */
        opacity: 1;
    }

    .bottom-nav ul {
        flex-direction: column; /* Menü öğelerini dikey sırala */
        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); /* Menü öğeleri arasına çizgi */
    }

    .bottom-nav li:last-child {
        border-bottom: none;
    }

    .bottom-nav a {
        padding: 15px 0; /* Daha büyük dokunma alanı */
        font-size: 16px;
    }

    /* Mega menüleri mobil için tam genişlikte ve alt alta yığ */
    .bottom-nav li.dropdown .mega-menu {
        position: static; /* Statik konumlandırarak akışa dahil et */
        width: 100%;
        padding: 10px 0;
        margin-top: 0;
        border: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1); /* Hafif koyu arka plan */
        flex-direction: column; /* Sütunları alt alta yığ */
        gap: 0;
        visibility: visible; /* Her zaman görünür olsun */
        opacity: 1; /* Her zaman görünür olsun */
        display: none; /* Varsayılan olarak gizle */
    }

    .bottom-nav li.dropdown.active .mega-menu {
        display: flex; /* Aktif olduğunda göster */
    }

    .mega-menu-column {
        min-width: unset; /* Minimum genişliği kaldır */
        width: 100%;
        border-right: none !important; /* Sütun ayırıcıları kaldır */
        padding-right: 0 !important;
    }

    /* Hamburger menüdeki alt başlıkları modernize etme */
    .mega-menu-column ul li a.menu-heading {
        text-align: left !important; /* Metni sola hizala */
        padding: 10px 20px !important; /* Padding'i biraz daha düşürdük */
        font-size: 14px !important; /* Font boyutunu daha da küçülttük */
        font-weight: 600 !important; /* Daha belirgin */
        color: #fff !important; /* Başlık rengini beyaz yap */
        background-color: #a51a1a !important; /* Daha koyu kırmızı arka plan */
        border-radius: 8px; /* Köşeleri yuvarla */
        margin: 5px 10px !important; /* Yanlardan boşluk */
        display: block !important; /* Tam genişlikte olmasını sağla */
        pointer-events: auto; /* Tıklanabilir yap */
        cursor: pointer; /* İmleci değiştir */
        line-height: 1.3; /* Satır yüksekliğini ayarla */
    }

    .mega-menu-column ul li a.menu-heading:hover {
        background-color: #8a1515 !important; /* Hover rengi */
    }

    .mega-menu-column ul li a.menu-link {
        color: #eee; /* Alt menü link rengi */
        padding: 8px 20px !important; /* Padding'i ayarla */
        font-size: 15px;
        text-align: left !important; /* Metni sola hizala */
    }

    .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); /* Hover'da ikon dönmesini iptal et */
    }
    
    .bottom-nav li.dropdown > a .dropdown-icon {
        display: none; /* Varsayılan olarak ikonları gizle */
    }

    /* Arama çubuğunu mobil için ayarla */
    .search-bar-bottom-nav {
        width: calc(100% - 20px); /* Kapsayıcı genişliğine göre ayarla, padding'i düş */
        max-width: 300px; /* Maksimum genişlik */
        margin: 15px auto; /* Ortala ve üstten boşluk bırak */
        display: flex; /* Flexbox kullan */
        border-radius: 20px; /* Tüm çubuğa yuvarlaklık ver */
        overflow: hidden; /* İçerik taşmasını engelle */
    }

    .search-input-bottom-nav {
        flex-grow: 1; /* Mevcut alanı doldur */
        border-radius: 20px 0 0 20px; /* Sadece sol tarafı yuvarla */
        border: 1px solid rgba(255, 255, 255, 0.3); /* Kenarlık */
        padding: 8px 15px; /* Padding'i ayarla */
    }

    .search-button-bottom-nav {
        border-radius: 0 20px 20px 0; /* Sadece sağ tarafı yuvarla */
        padding: 8px 12px; /* Padding'i ayarla */
        border: 1px solid rgba(255, 255, 255, 0.3); /* Kenarlık */
        border-left: none; /* Sol kenarlığı kaldır */
    }

    /* Ana içerik alanları için düzenlemeler */
    .main-content-area,
    .blog-posts-container,
    .content-left {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
    }
	.content-left > .content-box {
    overflow-x: auto; /* Bu kutu artık yatayda kaydırılabilir */
    -webkit-overflow-scrolling: touch; /* iOS'ta daha akıcı bir kaydırma deneyimi için */
}

/* Genel 'table' kuralının bu özel tabloyu bozmamasını sağlıyoruz */
.content-left .test-list-table {
    display: table !important; /* Tablonun varsayılan görünümüne dönmesini sağlar */
    white-space: nowrap; /* İçeriğin alt satıra kaymasını engeller (kaydırma için gerekli) */
}

    .content-right {
        position: static; /* Statik konuma getir */
        margin-top: 30px; /* Üstten boşluk */
        width: 100%;
    }

    .stats-section {
        flex-direction: column; /* İstatistik kutularını alt alta yığ */
    }

    .stat-box {
        border-right: none;
        border-bottom: 1px solid #eee; /* Alt çizgi ekle */
        flex: 1 1 100%; /* Tam genişlikte olmasını sağlar */
        padding: 15px 10px; /* Padding'i ayarla */
    }

    .stat-box:last-child {
        border-bottom: none;
    }

    /* Profil sayfası düzeni */
    .profile-page-container {
        display: grid; /* Grid düzenini koru */
        grid-template-columns: 1fr; /* Tek sütuna düşür */
        gap: 20px;
    }

    .profile-sidebar {
        width: 100%;
    }

    .profile-stats-boxes {
        grid-template-columns: 1fr 1fr; /* İki sütuna düşür */
        gap: 15px;
    }

    .profile-stats-boxes .stat-box {
        padding: 15px;
    }

    .profile-stats-boxes .stat-box span {
        font-size: 28px; /* Font boyutunu küçült */
    }

    .profile-stats-graphs .graphs-container {
        grid-template-columns: 1fr; /* Grafikleri alt alta yığ */
    }

    /* Giriş/Kayıt Modalı */
    .auth-modal {
        width: 95%; /* Modalı biraz daha genişlet */
        padding: 20px;
        /* Padding'i azalt */
    }

    .auth-modal-tabs {
        flex-direction: column; /* Tabları alt alta sırala */
        border-bottom: none;
    }

    .auth-tab-link {
        width: 100%;
        border-bottom: 1px solid #eee; /* Her tab arasına çizgi */
        margin-bottom: 0;
        text-align: center;
    }

    .auth-tab-link.active {
        border-bottom-color: #c3242b;
    }

    .form-group-row {
        flex-direction: column; /* Form gruplarını alt alta yığ */
        gap: 0;
    }

    .form-group-row .form-group {
        width: 100%;
    }

    .footer-ust-linkler {
        flex-direction: column; /* Footer linklerini alt alta yığ */
        gap: 10px;
    }
	/* Kategori sayfasındaki test tablosunun mobil taşmasını engeller */
.test-list-table {
    display: block; /* Tabloyu kaydırılabilir bir bloğa dönüştürür */
    overflow-x: auto; /* Yatayda taşarsa kaydırma çubuğu ekler */
    white-space: nowrap; /* Hücre içindeki metinlerin alt satıra inmesini engeller */
}

/* Mobil için sütun genişliklerini sıfırlayıp içeriğe göre ayarlanmasını sağlıyoruz */
.test-list-table th,
.test-list-table td {
    width: auto !important; /* Genişlikleri otomatik yap (masaüstü stillerini ezer) */
}

/* İlk sütundaki test adının okunabilirlik için minimum genişliğini ayarlıyoruz */
.test-list-table td:first-child,
.test-list-table th:first-child {
    min-width: 200px; /* Test adının çok sıkışmasını engeller */
}
/* SADECE KATEGORİ SAYFASINDAKİ TABLO İÇİN METİN KAYDIRMA STİLİ */

/* Tablonun ana yapısını düzenliyoruz */
.kategori-sayfa-govdesi .test-list-table {
    display: table !important; /* Tablo gibi davranmasını zorunlu kıl */
    table-layout: fixed;      /* Sütun genişliklerini sabitle */
    width: 100%;
}

/* Sütun genişliklerini mobil için ayarlıyoruz */
.kategori-sayfa-govdesi .test-list-table th:nth-child(1),
.kategori-sayfa-govdesi .test-list-table td:nth-child(1) {
    width: 60%; /* Test Adı sütunu */
}

.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%; /* Görüntülenme ve Soru sütunları */
}

/* Tüm hücrelerde metinlerin alt satıra geçmesini ve dikeyde ortalanmasını sağlıyoruz */
.kategori-sayfa-govdesi .test-list-table th,
.kategori-sayfa-govdesi .test-list-table td {
    white-space: normal;    /* Metinlerin alt satıra geçmesine İZİN VER */
    word-break: break-word; /* Çok uzun kelimelerin taşmasını engelle */
    vertical-align: middle; /* Hücre içeriğini dikeyde ortala */
}
}
.kategori-sayfa-govdesi .content-left {
    grid-template-columns: 1fr; /* 2 sütunlu yapıyı ezip tek sütuna indirir */
}
/* =================================================================== */
/* === Kategori Sayfası Tablo Sütun Genişlikleri (Masaüstü) === */
/* =================================================================== */

@media (min-width: 993px) {
    /* Tablonun sabit bir düzene sahip olmasını ve 
       belirtilen genişliklere uymasını sağlıyoruz. */
    .kategori-sayfa-govdesi .test-list-table {
        table-layout: fixed;
    }

    /* Sütunları yüzdelik olarak ayarlıyoruz */
    .kategori-sayfa-govdesi .test-list-table th:nth-child(1),
    .kategori-sayfa-govdesi .test-list-table td:nth-child(1) {
        width: 60%; /* Test Adı sütunu en geniş olacak */
    }

    .kategori-sayfa-govdesi .test-list-table th:nth-child(2),
    .kategori-sayfa-govdesi .test-list-table td:nth-child(2) {
        width: 20%; /* Görüntülenme sütunu */
    }

    .kategori-sayfa-govdesi .test-list-table th:nth-child(3),
    .kategori-sayfa-govdesi .test-list-table td:nth-child(3) {
        width: 20%; /* Soru sütunu */
    }
}

/* Daha küçük ekranlar için özel kurallar (480px ve altı - küçük telefonlar) */
@media (max-width: 480px) {
    .main-header .container,
    .bottom-nav .container {
        gap: 10px;
    }

    .site-logo img {
        max-height: 60px; /* Logo boyutunu küçült */
    }

    .menu-toggle {
        font-size: 24px;
        right: 10px;
        top: 10px;
    }

    .auth-buttons .btn-login {
        padding: 10px 12px;
        font-size: 14px;
    }

    .bottom-nav {
        top: 80px; /* Daha küçük header yüksekliğine göre ayarla */
    }

    .bottom-nav a {
        padding: 12px 0;
        font-size: 15px;
    }

    .search-bar-bottom-nav {
        width: 95%; /* Genişliği ayarla */
    }

    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.3em;
    }
    p, li, a {
        font-size: 0.9em;
    }

    /* Özlü söz kutusunun içindeki aktivite alanını gizle */
    .quote-activity-box .box-bottom-activity {
        display: none !important;
    }

    /* Özlü söz metnini ve yazarını mobil ve küçük tabletlerde daha iyi sığdır */
    .quote-text {
        font-size: 16px !important; /* Daha da küçültüldü */
        line-height: 1.3 !important; /* Satır yüksekliği ayarlandı */
        word-break: break-all; /* Uzun kelimeleri daha agresif böler */
        overflow-wrap: break-word; /* Uzun kelimeleri böler (alternatif) */
        padding: 0 10px; /* Yanlardan boşluk bırakarak sığdır */
    }

    .quote-author {
        font-size: 12px; /* Daha da küçültüldü */
    }

    /* Yeni mobil aktivite kutusunu tamamen gizle */
    .mobile-activity-box {
        display: none !important;
    }

    .mobile-activity-box .activity-text-mobile {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }

    .mobile-activity-box .activity-link-mobile {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }

    /* Aktivite ikonları ve zaman bilgisi için stil */
    .mobile-activity-box .activity-text-mobile i {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }
    .mobile-activity-box .activity-text-mobile strong {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }
    .mobile-activity-box .activity-text-mobile span {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }

    .stat-box .value {
        font-size: 14px;
    }

    .stat-box h3 {
        font-size: 11px;
    }

    .profile-stats-boxes {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
    }

    .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;
    }
}

/* Tablet boyutları için (769px ile 992px arası) */
@media (min-width: 769px) and (max-width: 992px) {
    /* Özlü söz kutusunun içindeki aktivite alanını gizle */
    .quote-activity-box .box-bottom-activity {
        display: none !important;
    }

    /* Yeni mobil aktivite kutusunu tamamen gizle */
    .mobile-activity-box {
        display: none !important;
    }

    .mobile-activity-box .activity-text-mobile {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }

    .mobile-activity-box .activity-link-mobile {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }

    /* Aktivite ikonları ve zaman bilgisi için stil */
    .mobile-activity-box .activity-text-mobile i {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }
    .mobile-activity-box .activity-text-mobile strong {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }
    .mobile-activity-box .activity-text-mobile span {
        /* Bu stiller artık uygulanmayacak, çünkü kutu gizli */
    }
}
/* Masaüstünde gizle */
.mobile-only {
    display: none;
}

/* Masaüstünde göster */
.desktop-only {
    display: block; /* Varsayılan olarak masaüstünde göster */
}

@media (max-width: 992px) { /* Tablet ve mobil ekranlarda gizle */
    .desktop-only {
        display: none !important;
    }
}
/* --- Mobil Uyumlu Tasarım Sonu --- */
/* === MOBİL HEADER DÜZENLEMELERİ (LOGO ÖRTÜŞMESİ VE HİZALAMA SORUNU İÇİN) === */

@media (max-width: 992px) {

    /* 1. Menünün logonun üzerine gelme sorununu çözme */
    .bottom-nav {
        position: static; /* Absolute konumlandırmayı kaldırıyoruz. Menü artık sayfa akışının bir parçası. */
        order: 4;         /* Header içindeki sıralamasını en sona alıyoruz. */
        transform: none;  /* Animasyon için kullanılan transform'u sıfırlıyoruz. */
        opacity: 1;       /* Görünürlüğü tam yapıyoruz. */
        /* Zaten .active class'ı ile gösterilip gizlendiği için bu değişiklikler sorun yaratmaz. */
    }

    /* Header'daki tüm elemanların sıralamasını düzenliyoruz */
    .main-header .container .site-logo {
        order: 1;
    }
    
    .main-header .container .menu-toggle {
        order: 2;
    }

    .main-header .container .auth-buttons {
        order: 3;
    }
    
    /* 2. Giriş Yap / Kayıt Ol ve Kullanıcı Menüsünü Ortalama */
    .auth-buttons {
        justify-content: center; /* Flexbox ile içindeki elemanları yatayda mükemmel ortalar. */
    }

}
/* === PROFİL SAYFASI MOBİL TAŞMA FİNAL ÇÖZÜMÜ === */

/* Ana içerik alanının ekran dışına taşmasını kesin olarak engelliyoruz. */
.profile-main-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Tablo sarmalayıcısının (DataTables tarafından oluşturulan) 
kendi içinde kaydırılabilir olmasını sağlıyoruz. */
.dataTables_wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch; /* iOS için akıcı kaydırma */
}
/* === PROFİL SAYFASI DATATABLES MODERN STİLİ (v4 - FİNAL/ZORUNLU SÜRÜM) === */

/* Tabloyu saran ana konteyner */
.profile-solved-tests .dataTables_wrapper {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* "Sayfada X kayıt göster" ve "Ara" kutuları */
.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);
}

/* Tablo Başlığı (thead) - Sadece altında çok hafif bir çizgi olacak */
table.dataTable thead th,
table.dataTable thead td {
    border: none !important; /* Tüm borderları zorla kaldır */
    border-bottom: 1px solid #eee !important; /* Sadece alta çok hafif bir ayırıcı çizgi ekle */
    color: #333;
    font-weight: 600;
    text-transform: none;
}

/* Tablo Satırları (tbody) - ÇİZGİLER ZORLA KALDIRILDI */
table.dataTable tbody tr {
    transition: background-color 0.2s ease;
}

table.dataTable tbody tr:hover {
    background-color: #f8f9fa; /* Üzerine gelince hafif gri ton */
}

table.dataTable tbody td {
    padding: 12px 10px;
    border: none !important; /* SATIR ARASI ÇİZGİLERİ ZORLA TAMAMEN KALDIR */
}

table.dataTable.no-footer {
    border: none !important;
}

/* Sayfalama Butonları */
.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;
}
/* === PROFİL SAYFASI DATATABLES - FİNAL VE TEK SÜRÜM (v5 - Masaüstü Genişlik Ayarlı) === */

/* Tablo sarmalayıcısı için genel stil */
.dataTables_wrapper {
    width: 100% !important;
    overflow-x: auto !important; /* Mobil taşma sorununu çözer */
}

.profile-solved-tests .dataTables_wrapper {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Arama ve Kayıt Sayısı kutuları */
.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);
}

/* Tablonun kendisi */
table.dataTable {
    border-collapse: collapse !important;
    width: 100% !important;
    border: none !important;
    table-layout: fixed !important; /* YENİ: Sütun genişliklerinin uygulanmasını sağlar */
}

/* Tablo Başlığı (thead) */
table.dataTable thead th {
    border: none !important;
    border-bottom: 1px solid #eee !important;
    font-weight: 600;
    text-transform: none;
    padding: 12px 10px;
    color: #333;
}

/* YENİ: Sütun genişliklerini belirliyoruz */
table.dataTable thead th:nth-child(1) { width: 40% !important; } /* Test adı */
table.dataTable thead th:nth-child(2) { width: 20% !important; } /* Tarih */
table.dataTable thead th:nth-child(3) { width: 10% !important; } /* Doğru */
table.dataTable thead th:nth-child(4) { width: 10% !important; } /* Yanlış */
table.dataTable thead th:nth-child(5) { width: 10% !important; } /* Boş */
table.dataTable thead th:nth-child(6) { width: 10% !important; } /* Başarı Yüzdesi */


/* Tablo Satırları (tbody) */
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; /* YENİ: Uzun test adlarının satır atlamasını sağlar */
}

/* YENİ: Sayısal sütunları ortalıyoruz */
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;
}


/* Sayfalama Butonları */
.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;
}
/* === GRAFİK TAŞMA SORUNU İÇİN EK DÜZELTME === */

.graph-item {
    /* Bu kural, içerideki grafiğin (canvas)
       yanlışlıkla dışarı taşmasını engeller ve onu kutu içinde kalmaya zorlar. */
    overflow: hidden;
}
/* === İSTEK TALEPLERİM SAYFASI TABLO STİLİ VE MOBİL UYUM === */

/* Ana tablo kartının iç boşluğunu düzenliyoruz */
.istekler-table-card .card-body {
    padding: 0;
    overflow-x: auto; /* Mobil için kaydırmayı bu kapsayıcıya taşıdık */
    -webkit-overflow-scrolling: touch; /* iOS için akıcı kaydırma */
}

/* Tablonun genel yapısını sıfırlayıp modernize ediyoruz */
.istekler-table-card table.table {
    margin-bottom: 0;
    width: 100%;
    min-width: 800px; /* Mobilde kaydırma çubuğunun çıkmasını sağlar */
}

/* Bootstrap'in zebra desenini (table-striped) ve hover efektini eziyoruz */
.istekler-table-card .table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: transparent; /* Zebra desenini kaldır */
}
.istekler-table-card .table-hover>tbody>tr:hover {
    --bs-table-hover-bg: #f8f9fa; /* Modern hover efekti */
}

/* Tablo başlığı (thead) için yeni stil */
.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;
}

/* Tablo satırları (tbody) için yeni stil */
.istekler-table-card table td {
    border-top: 1px solid #f0f0f0; /* Üstte hafif bir çizgi */
    border-bottom: none;
    padding: 16px 15px;
    vertical-align: middle;
}

/* Sütun Genişliklerini ve Hizalamalarını Ayarlama */
.istekler-table-card table th:nth-child(1), /* ID */
.istekler-table-card table td:nth-child(1) {
    width: 5%;
    text-align: center;
}
.istekler-table-card table th:nth-child(2), /* Mesaj Özeti */
.istekler-table-card table td:nth-child(2) {
    width: 35%;
}
.istekler-table-card table th:nth-child(3), /* Tarih */
.istekler-table-card table td:nth-child(3) {
    width: 15%;
}
.istekler-table-card table th:nth-child(4), /* Durum */
.istekler-table-card table td:nth-child(4) {
    width: 15%;
    text-align: center;
}
.istekler-table-card table th:nth-child(5), /* Yönetici Cevabı */
.istekler-table-card table td:nth-child(5) {
    width: 15%;
    text-align: center;
}
.istekler-table-card table th:nth-child(6), /* İşlemler */
.istekler-table-card table td:nth-child(6) {
    width: 15%;
    text-align: center;
}/* Online Üyeler Sayfası Düzenlemesi (Nihai Sürüm) *//* Ana kapsayıcı: Elemanları tek satırda tutar ve dikeyde ortalar */.online-user-item {    display: flex;    align-items: center;    gap: 15px; /* Elemanlar arası yatay boşluk */}/* Orta bölüm: Avatar ve buton arasındaki tüm boşluğu doldurur */.user-item-info {    flex-grow: 1; /* Esneyerek tüm boş alanı kapla */    min-width: 0; /* İçerik taşarsa küçülmesine izin ver (ÇOK ÖNEMLİ) */}/* Kullanıcı adı ve aktivite metinlerinin taşmasını engeller */.user-item-info .name,.user-item-info .last-activity {    white-space: nowrap; /* Metinlerin alt satıra inmesini engelle */    overflow: hidden; /* Taşarsa gizle */    text-overflow: ellipsis; /* Sonuna "..." ekle */}/* Buton kapsayıcısı: Boyutunu korur ve sıkışmaz */.user-item-actions {    flex-shrink: 0; /* Butonun küçülmesini engelle */}/* Online Üyeler sayfasındaki "Mesaj Gönder" butonunu mobil için küçültme */@media (max-width: 992px) {    .user-item-actions .btn-message {        padding: 6px 10px; /* Butonun içindeki dikey ve yatay boşlukları azaltır */        font-size: 12px;   /* Yazı boyutunu biraz küçültür */    }}
/* -----------------------------------------
   TinyMCE ile Eklenen İçerik Stilleri
----------------------------------------- */

.soru-body strong {
    font-weight: 700 !important;
}

/* Altı çizili metinlerin görünmesini sağlar */
.soru-body u,
.soru-body .kelime-rakam-cifti .kelime {
    text-decoration: underline !important;
}

/* Romen Rakamları ve Kelimeler Arası Boşluğu Daraltır */
.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%; /* Kenar çubuğunun mobilde tam genişlik kaplamasını sağlar */
    }
}
.sonuc-sidebar .content-box h2 span:last-child {
    white-space: nowrap; /* Metnin alt satıra kaymasını engeller */
}

/* ============================================================== */
/* === Kategori Sayfası - Haftanın En İyileri Listesi Stili === */
/* ============================================================== */

.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;
}