@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Blog Comment Styles */
.bdetail-comments {
    margin-top: 2rem;
}

.bdetail-comment-form {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.bdetail-comment-form textarea {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    resize: vertical;
    min-height: 100px;
}

.bdetail-comment-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.bdetail-comment-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.bdetail-comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.bdetail-comment-avatar img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.bdetail-comment-author {
    color: #212529;
    font-weight: 600;
    font-size: 0.95rem;
}

.bdetail-comment-author a {
    color: #333;
    transition: color 0.2s ease;
}

.bdetail-comment-author a:hover {
    color: #0056b3;
    text-decoration: underline !important;
}

.bdetail-comment-text {
    color: #495057;
    line-height: 1.6;
    margin-top: 0.5rem;
    word-wrap: break-word;
}

.bdetail-comment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bdetail-comment-header small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* User Detail Page Styles */
.content-image-placeholder {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    min-height: 120px;
    color: #6c757d;
}

.content-meta a {
    color: #6c757d !important;
    transition: color 0.2s ease;
}

.content-meta a:hover {
    color: #007bff !important;
    text-decoration: underline !important;
}

/* Profile Photo Crop Styles */
.crop-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    min-height: 300px;
    margin-bottom: 1rem;
    position: relative;
}

.crop-wrapper {
    position: relative;
    display: inline-block;
}

.crop-canvas {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    max-height: 400px;
    cursor: crosshair;
    display: block;
}

.crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.crop-box {
    position: absolute;
    border: 2px solid #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    cursor: move;
    pointer-events: all;
    border-radius: 4px;
    transition: all 0.1s ease;
}

.crop-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid #fff;
    border-radius: 4px;
}

.crop-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #007bff;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: 0.8;
}

.crop-box:hover {
    border-color: #0056b3;
}

.crop-box:hover::after {
    background-color: #0056b3;
    opacity: 1;
}

.crop-controls {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
}

.crop-controls .form-range {
    margin-top: 0.5rem;
}

.crop-controls .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.crop-controls .text-muted {
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

.crop-controls .btn-group .btn {
    border-radius: 0.25rem;
    margin-right: 0.25rem;
}

.crop-controls .btn-group .btn:last-child {
    margin-right: 0;
}

/* Profile Image Preview */
#imagePreview {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

#previewImg {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

body {
  color: #e0e0e0;
  font-family: "Inter", sans-serif !important;
}

.mainWrapper {
  width: 85% !important;
  margin: 0px auto;
}
header .navbar-nav {
  justify-content: center;
}
header .auth-buttons .btn {
  background-color: #fff;
  color: #001f3f;
}
header .user-name {
  color: #fbfbfb;
}

.bg-primary {
    background-color: #002a56 !important;
}

header .auth-buttons .btn:hover {
  background-color: transparent;
  color: #fff;
}

.welcome-card {
  background: linear-gradient(135deg, #002e5e 0%, #001f3f 100%);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.content-card {
  background: #597f90;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.card-header-custom {
  background: #002e5e;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.list-group-item-custom {
  background: #597f90;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  color: #e0e0e0;
  transition: all 0.3s ease;
}

.list-group-item-custom:hover {
  background: #4a6b7a;
}

.list-group-item-custom:last-child {
  border-bottom: none;
}

.badge-custom {
  background: #002e5e;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
}

.popular-category-icon {
  width: 40px;
  height: 40px;
  background: #002e5e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

a {
  text-decoration: none !important;
  color: inherit;
}

.text-muted {
  color: #fbfbfb !important;
  font-weight: 600 !important;
}

.main-title {
  color: #fff;
}

/* Most Visited Topics Styles */
.topic-card {
  background: #fff !important;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.topic-card .topic-content * {
  color: #333 !important;
}

.topic-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.topic-card:hover .topic-image img {
  transform: scale(1.05);
}

.topic-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 20px;
}

.topic-views {
  color: white;
  font-size: 0.9rem;
}

.topic-content {
  background: var(--card-bg);
}

.topic-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.topic-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.topic-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.topic-author,
.topic-comments {
  display: flex;
  align-items: center;
}

.topic-author i,
.topic-comments i {
  margin-right: 4px;
}

/* Modern Navigation Styles */
.custom-navbar {
  background: linear-gradient(135deg, #002e5e 0%, #001f3f 100%);
  padding: 0.8rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  border-radius: 5px;
  margin: 0 2px;
}

.nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

.user-profile-section {
  position: relative;
}

.user-avatar img {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.user-info {
  text-align: left;
}

.user-name {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

.user-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.dropdown-menu {
  background: #fff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
}

.dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: #f8f9fa;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.auth-buttons .btn {
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.auth-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.auth-buttons .btn-light {
  background: #fff;
  color: #002e5e;
}

.auth-buttons .btn-light:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #002e5e;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }

  .auth-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
  }

  .auth-buttons .btn {
    flex: 1;
  }
}

/* Category Content Styles */
.category-content {
  padding: 1rem;
}

.content-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.content-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.content-item:hover .content-image {
  transform: scale(1.05);
}

.content-details {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-details h4 {
  color: #002e5e;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.content-details p {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.content-meta {
  display: flex;
  gap: 1.5rem;
  color: #888;
  font-size: 0.85rem;
}

.content-meta span {
  display: flex;
  align-items: center;
}

.content-meta i {
  margin-right: 0.25rem;
}

@media (max-width: 767.98px) {
  .content-image {
    height: 180px;
  }

  .content-details {
    padding: 1rem;
  }

  .content-meta {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Login Page Styles */
.login-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.login-header {
  margin-bottom: 2rem;
}

.login-icon {
  font-size: 3rem;
  color: #002e5e;
  margin-bottom: 1rem;
}

.login-title {
  color: #002e5e;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: #666;
  font-size: 1rem;
}

.login-form .form-floating {
  margin-bottom: 1.5rem;
}

.login-form .form-control {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 1rem 0.75rem;
  height: auto;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.login-form .form-control:focus {
  border-color: #002e5e;
  box-shadow: 0 0 0 0.25rem rgba(0, 46, 94, 0.1);
}

.login-form .form-floating label {
  padding: 1rem 0.75rem;
  color: #666;
}

.login-form .form-floating > .form-control:focus ~ label,
.login-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: #002e5e;
}

.login-form .form-check-input:checked {
  background-color: #002e5e;
  border-color: #002e5e;
}

.login-form .form-check-label {
  color: #666;
}

.login-button {
  background: linear-gradient(135deg, #002e5e 0%, #001f3f 100%);
  border: none;
  padding: 0.8rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 46, 94, 0.2);
}

.register-link {
  color: #002e5e;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.register-link:hover {
  color: #001f3f;
  text-decoration: underline;
}

.alert-danger {
  background-color: #fff5f5;
  border-color: #feb2b2;
  color: #c53030;
  border-radius: 10px;
  padding: 1rem;
}

@media (max-width: 768px) {
  .login-card {
    margin: 1rem;
    padding: 1.5rem;
  }

  .login-title {
    font-size: 1.5rem;
  }

  .login-icon {
    font-size: 2.5rem;
  }
}
.text-dark{
  color: #333;
}

.text-muted.text-dark{
    color: #444 !important;
}
/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #002e5e 0%, #001f3f 100%);
    color: #fff;
    padding-top: 3rem;
    margin-top: 4rem;
}

.footer-content {
  padding-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-brand i {
  margin-right: 0.5rem;
  color: #fff;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #fff;
  color: #002e5e;
  transform: translateY(-3px);
}

.footer-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a i {
  font-size: 0.8rem;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  width: 30px;
  margin-right: 1rem;
  color: #fff;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .copyright {
    text-align: center;
  }
}
.form-control:focus,
.form-check-input:focus {
  box-shadow: none !important;
}

/* Leaderboard Styles */
.leaderboard-header {
  margin-bottom: 3rem;
}

.leaderboard-header p {
  color: #333 !important;
}

.leaderboard-header h1 {
  color: #002e5e;
  font-weight: 700;
}

.leaderboard-filters {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.search-box {
  position: relative;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.search-box input {
  padding-left: 2.5rem;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.search-box input:focus {
  border-color: #002e5e;
  box-shadow: none;
}

.leaderboard-table {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.leaderboard-table .table {
  margin-bottom: 0;
}

.leaderboard-table th {
  background: #f8f9fa;
  color: #002e5e;
  font-weight: 600;
  padding: 1rem;
  border-bottom: 2px solid #e0e0e0;
}

.leaderboard-row {
  transition: all 0.3s ease;
}

.leaderboard-row:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
}

.rank-1 {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

.rank-2 {
  background: linear-gradient(135deg, #c0c0c0 0%, #a9a9a9 100%);
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%);
}

.rank-number {
  font-weight: 600;
  color: #666;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  margin: 0;
  color: #002e5e;
  font-weight: 600;
}

.user-title {
  font-size: 0.85rem;
  color: #666;
}

.points-badge {
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #002e5e;
  font-weight: 600;
}

.points-badge i {
  color: #ffd700;
}

.badge-list {
  display: flex;
  gap: 0.5rem;
}

.badge-item {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #002e5e;
  transition: all 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.badge-item[title="Uzman"] i {
  color: #ffd700;
}

.badge-item[title="Aktif"] i {
  color: #ff4500;
}

.badge-item[title="Yardımsever"] i {
  color: #32cd32;
}

.activity-stats {
  display: flex;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.stat-item i {
  color: #002e5e;
}

.leaderboard-pagination {
  margin-top: 2rem;
}

.pagination .page-link {
  color: #002e5e;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
  background: #002e5e;
  color: #fff;
}

.pagination .page-link:hover {
  background: #f8f9fa;
  color: #002e5e;
}

@media (max-width: 768px) {
  .leaderboard-table {
    margin: 0 -1rem;
    border-radius: 0;
  }

  .user-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .activity-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .badge-list {
    justify-content: center;
  }
}
.table-responsive {
  overflow-x: unset;
}

.user-detail-page .profile-sidebar-section .main-title {
  font-size: 14px;
  color: rgb(146, 153, 184);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.user-detail-page i.fas,
.user-detail-page i.far {
  color: rgb(146, 153, 184);
}
.user-detail-page .profile-sidebar-section .card-body p {
  color: #6c757d !important;
  line-height: 1.6;
  font-size: 13px;
}

.user-detail-page .contact-info-list li {
  font-size: 13px;
}

.social-links-list .fa-x-twitter {
  color: rgb(29, 161, 242);
}
.social-links-list .fa-facebook-f {
  color: rgb(59, 89, 152);
}
.social-links-list .fa-instagram {
  color: rgb(255, 3, 0);
}
.social-links-list .fa-youtube {
  color: #ff0000;
}
.social-links-list .fa-tiktok {
  color: #000000;
}
.user-detail-page .profile-stats small {
  color: #6c757d !important;
  font-size: 12px;
}

.user-detail-page .profile-sidebar .btn {
  min-width: 120px;
  height: 40px;
}

.btn-color {
  background-color: #002953;
  border-color: #002953;
  color: #fff;
}

.btn-outline-color {
  background-color: transparent;
  border-color: #002953;
  color: #002953;
}

.btn-color i {
  color: #fff !important;
}

.btn-outline-color i {
  color: #002953 !important;
}

.btn-color:hover {
  background-color: transparent !important;
  color: #002953;
  border-color: #002953;
}
.btn-color:hover i {
  color: #002953 !important;
}

.btn-outline-color:hover,
.btn-outline-color:active{
  background-color: #002953 !important;
  border-color: #002953 !important;
  color: #fff !important;
}

.btn-outline-color:hover i,
.btn-outline-color:active i{
  color: #fff !important;
}

.user-profile-page {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.profile-page-title {
  font-weight: 700;
  color: #333;
}

.top-actions .btn {
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.top-actions .btn-light {
  background-color: #fff;
  color: #6c757d;
  border-color: #dee2e6;
}

.top-actions .btn-light:hover {
  background-color: #e9ecef;
}

.top-actions .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.top-actions .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Sidebar (Left Column) Styles */
.profile-sidebar .profile-avatar {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-sidebar .profile-name {
  font-weight: 600;
  color: #333;
}

.profile-sidebar .profile-title {
  color: #6c757d !important;
  font-size: 0.9rem;
}

.profile-sidebar .btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
  background-color: #fff;
}

.profile-sidebar .btn-outline-primary:hover {
  background-color: #007bff;
  color: #fff;
}

.profile-sidebar .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.profile-sidebar .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.profile-stats {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.profile-stats .col-4 {
  border-right: 1px solid #eee;
}

.profile-stats .col-4:last-child {
  border-right: none;
}

.profile-stats h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.profile-sidebar-section {
  border-radius: 0.5rem;
  overflow: hidden;
  border: none;
  background-color: #fff;
}

.profile-sidebar-section .card-header-custom {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
}

.contact-info-list li {
  margin-bottom: 0.75rem;
  color: #6c757d;
}

.contact-info-list li:last-child {
  margin-bottom: 0;
}

.contact-info-list li i {
  color: #007bff;
  width: 20px;
}

.contact-info-list a {
  color: #6c757d !important;
}

.contact-info-list a:hover {
  color: #0056b3 !important;
}

.skills-list .badge {
  background-color: #e9ecef !important;
  color: #495057 !important;
  padding: 0.5em 0.8em;
  font-size: 0.85rem;
  font-weight: 500;
}

.social-links-list .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  font-size: 1.1rem;
  margin-right: 0.75rem;
  transition: all 0.2s ease;
}

.social-links-list .social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Main Content (Right Column) Styles */
.profile-main-content {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #fff;
}

.profile-cover-image {
  height: 250px;
  background-color: #e0e0e0; /* Fallback */
}

.profile-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.change-cover-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

.change-cover-btn:hover {
  background-color: #fff;
  color: #007bff;
}

.user-detail-page .profile-tabs-main {
  border-bottom: 1px solid #dee2e6;
  padding: 0 1.5rem;
  margin-bottom: 0;
}

.user-detail-page .profile-tabs-main .nav-item {
  margin-bottom: -1px;
}

.user-detail-page .profile-tabs-main .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  display: block;
  padding: 20px 20px !important;
  border-radius: 0px;
  color: rgb(146, 153, 184) !important;
}

.user-detail-page .profile-tabs-main .nav-link.active {
  color: #002853 !important;
  border-color: #002853;
  background-color: #fff;
}

.user-detail-page .profile-tabs-main .nav-link:hover {
  color: #007bff;
}

.user-detail-page .profile-tab-content-main {
  background-color: #fff;
  border-radius: 0 0 0.5rem 0.5rem;
  color: #333;
}

/* Gönderiler */

.posts-list .post-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.posts-list .post-item .card-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
}

.posts-list .post-avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid #002953;
}

.posts-list .post-item .card-header h6 {
  color: #000 !important;
  font-weight: 600;
  margin-bottom: 0;
}
.posts-list .post-item .dropdown-menu {
  background-color: #305880;
  border: 1px solid #fff;
}

.posts-list .post-item .dropdown-item,
.posts-list .post-item .dropdown-item i {
  color: #fbfbfb !important;
}

.posts-list .post-item .dropdown-item:hover {
  background-color: #002953;
  color: #fff;
}

.posts-list .post-image {
  width: 100%;
  height: auto;
  display: block;
}

.posts-list .post-actions .btn {
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #002953;
  background-color: #002953;
}
.posts-list .post-actions .btn:hover {
  background-color: transparent;
  color: #002953 !important;
}

.comments-section .comment-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
}

.comments-section .comment-avatar {
  width: 25px;
  height: 25px;
  object-fit: cover;
  border: 1px solid #002953;
}

.comments-section .comment-author {
  color: #000 !important;
}

.comments-section .comment-author strong {
  font-weight: 600;
}

.comments-section .comment-form .form-control-custom {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.comments-section .comment-form .btn-color {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.comments-section .text-muted,
.posts-list .post-item .card-header small,
.comments-section .main-title {
  color: #777 !important;
}
.comments-section .text-white-50,
.posts-list .text-white-50 {
  color: #666 !important;
}

.lastPost .list-group-item-custom h5 {
  font-size: 15px;
}
.lastPost .list-group-item-custom p {
  font-size: 13px;
}
.lastPost .list-group-item-custom small {
  font-size: 11px;
}

.lastPost .list-group-item-custom small.text-muted {
  font-size: 12px;
}

/* Blog Detail (namespaced to avoid conflicts) */
.bdetail-wrapper .bdetail-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.bdetail-hero-placeholder {
  height: 260px;
}

.bdetail-overlay {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

.bdetail-badge {
  display: inline-block;
  background: rgba(33, 37, 41, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.bdetail-body {
  background: #fff;
}

.bdetail-meta {
  border-radius: 8px;
  padding: 10px 0px;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  overflow-x: auto;
}

.bdetail-meta-item {
  color: #495057;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.bdetail-content {
  font-size: 1.06rem;
  line-height: 1.9;
  color: #212529;
}

.bdetail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.bdetail-content h1,
.bdetail-content h2,
.bdetail-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.bdetail-content p {
  margin: 0.75rem 0;
}

.bdetail-content a {
  color: inherit;
  text-decoration: underline;
}

.bdetail-content ul,
.bdetail-content ol {
  padding-left: 1.25rem;
}

.bdetail-actions .bdetail-share {
  border: 1px solid #e9ecef;
}

.bdetail-actions .bdetail-share:hover {
  background: #f8f9fa;
}

.bdetail-sidebar {
  position: sticky;
  top: 24px;
}

.bdetail-list-item {
  border-color: #f1f3f5;
}

/* Sidebar cards */
.bdetail-sidecards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bdetail-sidecard {
  display: flex;
  gap: 12px;
  padding: 10px;
  border: 1px solid #eceff1;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bdetail-sidecard:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.bdetail-sidecard-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bdetail-sidecard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bdetail-sidecard-thumbph {
  color: #adb5bd;
}
.bdetail-sidecard-body {
  flex: 1;
  min-width: 0;
}
.bdetail-sidecard-title {
  margin: 0 0 4px 0;
  font-size: 0.98rem;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  color: #333;
}
.bdetail-sidecard-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #6c757d;
  margin-bottom: 2px;
}
.bdetail-sidecard-author,
.bdetail-sidecard-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.customDarkTitle {
  color: #333;
  font-weight: 600;
}
.info-item {
    margin-bottom: 1rem;
}

    .info-item label {
        color: #6c757d;
        font-size: 0.9rem;
    }

    .info-item p {
        margin: 0;
        font-size: 1.1rem;
    }

.step-form {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
}

.step-content h5 {
    border-bottom: 2px solid #002a56;
    padding-bottom: 0.5rem;
}

.progress {
    height: 0.5rem;
}

.progress-bar {
    background-color: #002a56;
}
.text-primary {
    color: #002a56 !important;
}
.text-primary.sm{
    font-size: 13px;
}

#overview .text-muted,
#timeline .text-muted {
    color: #333 !important;
}

.border-primary {
    border-color: #002a56 !important;
}

/* Category Page Styles */
.category-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.category-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.category-page-content {
    position: relative;
    z-index: 2;
}

.category-page-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    backdrop-filter: blur(10px);
}

.category-page-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.category-page-stat-item {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.category-page-blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-page-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-page-blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-page-blog-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-page-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-page-blog-card:hover .category-page-blog-image {
    transform: scale(1.05);
}

.category-page-blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-page-blog-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.category-page-blog-views {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.category-page-blog-content {
    padding: 2rem;
}

.category-page-blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-page-blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-page-blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-page-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.category-page-author-name {
    font-weight: 600;
    color: #4a5568;
    transition: color 0.3s ease;
}

.category-page-author-name:hover {
    color: #667eea;
}

.category-page-blog-date {
    color: #718096;
    font-size: 0.9rem;
}

.category-page-blog-preview {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-page-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-page-blog-stats {
    display: flex;
    gap: 1rem;
}

.category-page-stat {
    display: flex;
    align-items: center;
    color: #718096;
    font-size: 0.9rem;
}

.category-page-blog-read-more {
    display: flex;
    align-items: center;
    color: #667eea;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-page-blog-card:hover .category-page-blog-read-more {
    color: #764ba2;
}

.category-page-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-page-empty-state-icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.category-page-empty-state h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.category-page-empty-state p {
    color: #718096;
    margin-bottom: 2rem;
}

.category-page-sidebar-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-page-sidebar-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    color: white;
}

.category-page-sidebar-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-page-sidebar-card-body {
    padding: 1.5rem;
}

.category-page-category-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-page-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.category-page-info-item i {
    color: #667eea;
    width: 20px;
}

.category-page-recent-blogs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-page-recent-blog-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.category-page-recent-blog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-page-recent-blog-link {
    text-decoration: none;
    color: inherit;
}

.category-page-recent-blog-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.category-page-recent-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #718096;
}

.category-page-recent-blog-meta a {
    transition: color 0.3s ease;
}

.category-page-recent-blog-meta a:hover {
    color: #667eea !important;
}

.category-page-popular-authors {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-page-author-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-page-author-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.category-page-author-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-page-author-info h6 {
    margin: 0;
    font-size: 0.9rem;
    color: #2d3748;
}

.category-page-author-info h6 a {
    transition: color 0.3s ease;
}

.category-page-author-info h6 a:hover {
    color: #667eea !important;
}

.category-page-author-blog-count {
    font-size: 0.8rem;
    color: #718096;
}

@media (max-width: 768px) {
    .category-page-header {
        padding: 2rem;
    }

    .category-page-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .category-page-blog-content {
        padding: 1.5rem;
    }

    .category-page-blog-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .mainWrapper{
        width: 100% !important;
    }
    .category-page-content .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .category-page-icon{
        margin-bottom: 15px !important;
    }
    .bdetail-content p{
        font-size: 14px !important;
    }
    .bdetail-meta-item{
        width: 47% !important;
    }
    .bdetail-meta{
        flex-wrap: wrap !important;
    }
}