/*!
 * Normalmiyiz.com - https://normalmiyiz.com
 * License - https://normalmiyiz.com
 * Copyright 2025
 */



@font-face {
  font-family: "Noto Color Emoji";
  /* Fontunuza bir isim verin. Bu ismi daha sonra kullanacağız. */
  src: url("../assets/webfonts/NotoColorEmoji.ttf") format("truetype");
  /* Font dosyasının yolunu belirtin. */
  /* format() tarayıcıya fontun türünü söyler, bu TTF için 'truetype' dir. */
  font-weight: normal;
  font-style: normal;
}

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

:root {
  --root-bg: #f2f4f7;
  --primary-color: #4f46e5;
  --secondary-color: #10b981;
  --primary-pink: #e91e63;
  --primary-purple: #7b60f4;
  --text-dark: #333333;

  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --card-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-bg: #fdfdfd;
  --nm-green: #047857;
  --nm-green-bg: #ecfdf5;
  --nm-red: #f34336;
  --nm-red-bg: #fdf3ec;
  --nm-purple: #7b60f4;
  --nm-purple-bg: #faecfd;

  /* category colors */
  --color-duygular-psikoloji: #ff6f61;
  --color-saglik-tip: #4caf50;
  --color-spor-fiziksel-aktivite: #2196f3;
  --color-sanat-kultur: #9c27b0;
  --color-egitim-bilim: #3f51b5;
  --color-aile-sosyal-hayat: #ffb74d;
  --color-is-kariyer-ekonomi: #607d8b;
  --color-teknoloji-yapay-zeka: #00bcd4;
  --color-yazilim-internet: #03a9f4;
  --color-aliskanliklar-riskler: #f44336;
  --color-cinsellik-iliskiler: #e91e63;
  --color-yasam-tarzi-doga: #8bc34a;
  --color-siyaset-gundem: #ff9800;
  --color-haberler-medya: #795548;
  --color-din-maneviyat: #673ab7;
  --color-cevre-iklim-gelecek: #009688;
  --color-finans-yatirim: #ffc107;
  --color-oyun-eglence: #ff5722;
  --color-moda-guzellik: #ff4081;
  --color-yemek-gastronomi: #ff7043;
  --color-seyahat-gezi: #03dac5;
  --color-gelisim-kisisel-gelisim: #8d6e63;
  --color-hobiler-el-sanatlari: #ffc0cb;
  --color-ebeveynlik-cocuk-gelisimi: #ffeb3b;
  --color-hayvanlar-evcil-dostlar: #a1887f;
}

/********************************************************************************************************* Dependents */

body {
  background: var(--root-bg);
  /* font-family: "Inter", sans-serif; */
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.container {
  max-width: 1320px;
  /* 1400 / 1200*/
  margin: 0 auto;
  padding: 0 15px;
}

.main-content {
  padding: 90px 0 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer {
  text-align: center;
  padding: 40px 0 20px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 15px 0 25px;
}

.card-header i {
  margin-right: 8px;
  color: var(--text-secondary);
}

#mobile-logout-btn {
  display: none;
}

#logoutModal {
  z-index: 9999;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

.spinner-border-sm {
  width: 1.5rem;
  height: 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#loading,
#no-more-posts {
  text-align: center;
  padding: 30px;
  color: #6c757d;
}

/********************************************************************************************************* Dependents */

/*************************************************************************************************************** Post */


.post-container {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-container:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.post-avatar-col {
  flex: 0 0 60px;
  margin-right: 1rem;
}

.post-atavar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
}

.post-content-col {
  flex: 1;
  min-width: 0;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #6c757d;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  color: #495057;
}

.post-author i {
  color: #667eea;
}

.post-title {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.5rem;
}

.post-title a:hover {
  color: #3498db;
  text-decoration: underline;
}

.post-meta-info {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 1em;
  margin-left: -1em;
}

.post-category {
  font-size: 9px !important;
  padding: 4px 8px !important;
  border-radius: 4px;
  font-weight: 600;
  border-left: 3px solid;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-type {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.post-time {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
  max-width: fit-content;
}

.post-stats {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.post-stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6c757d;
  font-size: 14px;
}

.post-stats-col {
  justify-content: center;
  align-items: center;
  display: flex;
  text-align: center;
  margin: 0 auto;
}

.post-normalmetre-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.post-meter-label {
  font-size: 12px;
  font-weight: 500;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-category,
.post-time,
.post-author {
  background: #e3e7eb;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
}

.normalmetre-red {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--nm-red-bg);
  color: var(--nm-red);
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--nm-red);
  position: relative;
}

.normalmetre-green {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--nm-green-bg);
  color: var(--nm-green);
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--nm-green);
  position: relative;
}

.normalmetre-purple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--nm-purple-bg);
  color: var(--nm-purple);
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--nm-purple);
  position: relative;
}

.post-info-text {
  width: 100%;
  background: #f0f7ff;
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid #7e5bef;
}

.create-post-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  background: url(/assets/images/bg.png);
  padding: 20px;
  height: 150px;
  border-radius: 1em;
}

/**/

.create-post-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--root-bg);
  color: var(--nm-purple);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 160px;
}

.create-post-btn:hover {
  color: #fff;
  background-color: #7a1bda;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.create-post-btn i {
  margin-right: 8px;
}

.anon-info {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 900;
  color: var(--nm-text, #65676b);
  text-align: center;
  max-width: 300px;
}

/*************************************************************************************************************** Post */

/********************************************************************************************************* CreatePost */

.create-post-privacy-note {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 12px 15px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 14px;
  margin-bottom: 1em;
  font-weight: 500;
}

.create-post-privacy-note i {
  min-width: 20px;
  color: var(--nm-purple);
}

/********************************************************************************************************* CreatePost */

.createPostGruop {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3em;
}

.nm-post-container {
  margin-top: 6em;
  width: 100%;
  background-color: #fff;
  border: 1px solid #e6ecf0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Başlık */
.nm-post-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e6ecf0;
  background-color: #fff;
}

.nm-post-back-btn {
  color: #7b60f4;
  background: none;
  border: none;
  font-size: 20px;
  margin-right: 20px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.nm-post-back-btn:hover {
  background-color: #f1e8fe;
}

.nm-post-title {
  font-size: 20px;
  font-weight: 700;
}

/* Form Alanı */
.nm-post-form {
  padding: 16px;
}

.nm-post-form-group {
  margin-bottom: 20px;
}

.nm-post-label {
  display: block;
  color: #7b60f4;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.nm-post-input {
  width: 100%;
  background-color: #f7f9fa;
  border: 1px solid #e6ecf0;
  border-radius: 8px;
  color: #000;
  font-size: 16px;
  padding: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.nm-post-input:focus {
  border-color: #7b60f4;
  background-color: #fff;
}

.nm-post-textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  background-color: #f7f9fa;
  border: 1px solid #e6ecf0;
  border-radius: 8px;
  color: #000;
  font-size: 16px;
  padding: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.nm-post-textarea:focus {
  border-color: #7b60f4;
  background-color: #fff;
}

/* Kategori Seçimi (Select Box) */
.nm-post-category {
  margin-bottom: 20px;
  position: relative;
}

.nm-post-category-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #7b60f4;
}

.nm-post-select {
  width: 100%;
  background-color: #f7f9fa;
  border: 1px solid #e6ecf0;
  border-radius: 8px;
  color: #000;
  font-size: 16px;
  padding: 12px;
  outline: none;
  appearance: none;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b60f4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.nm-post-select:focus {
  border-color: #7b60f4;
  background-color: #fff;
}

/* Karakter Sayacı */
.nm-post-character-count {
  text-align: right;
  font-size: 14px;
  color: #657786;
  margin-bottom: 16px;
}

.nm-post-character-count.warning {
  color: #ffad1f;
}

.nm-post-character-count.error {
  color: #e0245e;
}

/* Paylaşım Butonu */
.nm-post-actions {
  display: flex;
  justify-content: flex-end;
  padding: 16px;
  border-top: 1px solid #e6ecf0;
}

.nm-post-submit-btn {
  background-color: #7b60f4;
  border: none;
  color: #fff;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.nm-post-submit-btn:hover {
  background-color: #921ad8;
}

.nm-post-submit-btn:disabled {
  background-color: #b19bf9;
  cursor: not-allowed;
}

/* Başarı Mesajı */
.nm-post-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: #7b60f4;
}

.nm-post-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.nm-post-success-text {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.nm-post-success-btn {
  background-color: #7b60f4;
  border: none;
  color: #fff;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
}

/*step2*/
.nm-post-type-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nm-post-type-option {
  position: relative;
}

.nm-post-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.nm-post-type-label {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.nm-post-type-label:hover {
  border-color: #c3dafe;
  background: #f8faff;
}

.nm-post-type-option input[type="radio"]:checked+.nm-post-type-label {
  border-color: #4a6ee0;
  background: #f0f4ff;
  box-shadow: 0 4px 12px rgba(74, 110, 224, 0.15);
}

.nm-post-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
  border-radius: 10px;
  margin-right: 16px;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.nm-post-type-text {
  flex: 1;
}

.nm-post-type-text strong {
  display: block;
  font-size: 1.1rem;
  color: #2d3748;
  margin-bottom: 6px;
}

.nm-post-type-text small {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.5;
}

/********************************************************************************************************* CreatePost */

/********************************************************************************************************* Categories */

.categories-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Navbar */

.tt-user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tt-notification-btn {
  position: relative;
}

.tt-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tt-icon-btn:hover {
  background: #e9ecef;
  color: #533fa9;
}

.tt-user-avatar {
  position: relative;
}

.tt-user-avatar .tt-avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tt-user-avatar .tt-avatar:hover {
  border-color: #533fa9;
  transform: scale(1.05);
}

.tt-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.tt-dropdown {
  position: relative;
}

.tt-dropdown-toggle {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
  font-size: 12px;
}

.tt-dropdown-toggle:hover {
  color: #f7b6bf;
}

.tt-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 1000;
  display: none;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.tt-dropdown.open .tt-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tt-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.tt-dropdown-item:hover {
  background-color: #f8f9fa;
  color: #533fa9;
}

.tt-dropdown-item i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.tt-dropdown-divider {
  height: 1px;
  background-color: #e9ecef;
  margin: 8px 0;
}

:root {
  --nm-bg: #ffffff;
  --nm-surface: #ffffff;
  --nm-accent: #7b60f4;
  /* mavi */
  --nm-text: #1a1a1a;
  --nm-muted: #6b7280;
  --nm-radius: 12px;
  --nm-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  --nm-transition: 180ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.nm-notification {
  position: relative;
  display: inline-block;
}

.nm-notification .tt-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  color: var(--nm-bg);
  border: none;
  font-size: 1.1rem;
  position: relative;
}

.nm-notification .tt-badge,
#nm-badge {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.75rem;
  line-height: 20px;
  background: var(--nm-accent);
  color: white;
  border-radius: 999px;
  text-align: center;
  position: absolute;
  top: -6px;
  right: -6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nm-notif-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 320px;
  background: var(--nm-surface);
  color: var(--nm-text);
  border-radius: var(--nm-radius);
  box-shadow: var(--nm-shadow);
  transform-origin: top right;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--nm-transition),
    transform var(--nm-transition);
  z-index: 9999;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.nm-notification.open .nm-notif-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nm-notif-header {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 500;
  font-size: 0.95rem;
}

.nm-notif-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 340px;
  overflow: auto;
}

.nm-notif-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--nm-transition);
  margin-bottom: 1em;
}

.nm-notif-item:hover {
  background: #f9fafb;
}

.nm-unread {
  background-color: #00968859;
}

.nm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nm-notif-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.nm-message {
  margin: 0;
  font-size: 0.9rem;
  color: var(--nm-text);
}

.nm-time {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--nm-muted);
}

.nm-see-all {
  display: block;
  text-align: center;
  padding: 10px;
  font-weight: 500;
  text-decoration: none;
  color: var(--nm-accent);
  border-top: 1px solid #f3f4f6;
}

@media (max-width: 420px) {
  .nm-notif-dropdown {
    width: 92vw;
    right: -43vw;
  }
}

/* Badge animasyonu */
@keyframes badgePulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.tt-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Bildirim ikonuna hover efekti */
.tt-icon-btn:hover .tt-badge {
  background: #ff3742;
  transform: scale(1.1);
}

/*Navbar*/

.versiyon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -85px;
  opacity: 0.5;
}

.title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.title a {
  color: inherit;
  text-decoration: none;
}



.post-text p,
.title a,
.post-title,
.nm-message {
  display: block;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.title a:hover {
  color: var(--primary-color);
}

.meta-info {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.kategori-cinsellik {
  background-color: var(--cinsellik);
  color: var(--bg-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kategori-iliski {
  background-color: var(--iliski);
  color: var(--bg-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kategori-saglik {
  background-color: var(--saglik);
  color: var(--bg-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kategori-spor {
  background-color: var(--spor);
  color: var(--bg-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kategori-egitim {
  background-color: var(--egitim);
  color: var(--bg-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kategori-sanat {
  background-color: var(--sanat);
  color: var(--bg-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tag {
  background-color: var(--bg-light);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgb(209 209 209 / 40%);
  font-weight: 900;
}

.stats-col {
  flex: 0 0 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.time {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 900;
}

ul.ul-kategori {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 1em;
}

li.li-kategori {
  list-style: none;
  padding: 1.2em;
  border-radius: 12px;
  font-size: 0.95em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  min-height: 120px;
  justify-content: center;
  flex: 1 0 calc(8.33% - 15px);
  /* 12 öğe için (100%/12) */
  min-width: 180px;
  max-width: 220px;
  position: relative;
  overflow: hidden;
}

li.li-kategori::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: inherit;
  opacity: 0.7;
}

li.li-kategori:hover {
  cursor: pointer;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

li.li-kategori i {
  margin-right: 8px;
  font-size: 0.9rem;
}

/* Create Post */

/* Buttons */

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #0e6de0;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Buttons */

/* Profile */

.comment-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  border: 1px solid var(--border);
  padding: 16px;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.comment-user {
  font-weight: 500;
  margin-right: 8px;
}

.comment-time {
  font-size: 13px;
  color: var(--text-secondary);
}

.comment-text {
  color: var(--text-primary);
  margin-bottom: 12px;
}

.comment-actions {
  display: flex;
  gap: 16px;
}

.comment-action {
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.comment-action i {
  margin-right: 4px;
}

.profile-header {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  border: 1px solid var(--card-shadow);
  overflow: hidden;
  padding: 24px;
}

.profile-avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-avatar {
  position: relative;
  margin-right: 24px;
}

.avatar-upload {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--card-bg);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.profile-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-stat-value {
  font-size: 18px;
  font-weight: 700;
}

.profile-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.profile-content-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Auth Popup Temel Stiller */
.auth-pp {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
}

.auth-pp.active {
  display: block;
}

.auth-pp-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.auth-pp-container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  animation: auth-pp-fadeIn 0.3s ease-out;
}

@keyframes auth-pp-fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Header */
.auth-pp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.auth-pp-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1f2937;
}

.auth-pp-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s;
}

.auth-pp-close:hover {
  color: #374151;
}

/* Content */
.auth-pp-content {
  padding: 20px;
}

.auth-pp-message {
  margin: 0 0 20px 0;
  color: #4b5563;
  line-height: 1.5;
  text-align: center;
}

.auth-pp-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-pp-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

/* Aktivasyon Modal Stilleri */
.nm-login-active-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: nm-login-active-fadeIn 0.3s ease;
}

.nm-login-active-modal {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: nm-login-active-slideIn 0.3s ease;
}

.nm-login-active-modal-header {
  background: linear-gradient(3deg, #000000 0%, #ffffff 100%);
  padding: 20px;
  text-align: center;
}

.nm-login-active-modal-title {
  color: white;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
}

.nm-login-active-modal-body {
  padding: 30px 20px;
  text-align: center;
}

.nm-login-active-modal-message {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.nm-login-active-modal-email {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #666;
  margin-top: 15px;
}

.nm-login-active-modal-footer {
  padding: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.nm-login-active-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.nm-login-active-btn-cancel {
  background: #6c757d;
  color: white;
}

.nm-login-active-btn-cancel:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.nm-login-active-btn-activate {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.nm-login-active-btn-activate:hover {
  background: linear-gradient(135deg, #218838 0%, #1e9e8a 100%);
  transform: translateY(-2px);
}

.nm-login-active-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Animasyonlar */
@keyframes nm-login-active-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes nm-login-active-slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .nm-login-active-modal {
    width: 95%;
  }

  .nm-login-active-modal-footer {
    flex-direction: column;
  }

  .nm-login-active-btn {
    width: 100%;
  }
}

.auth-pp-btn-login {
  background: #3b82f6;
  color: white;
}

.auth-pp-btn-login:hover {
  background: #2563eb;
}

.auth-pp-btn-register {
  background: #10b981;
  color: white;
}

.auth-pp-btn-register:hover {
  background: #059669;
}

.auth-pp-btn-cancel {
  background: #f3f4f6;
  color: #374151;
  margin-top: 8px;
}

.auth-pp-btn-cancel:hover {
  background: #e5e7eb;
}

/* Yükleme animasyonları */
.spinner-border {
  width: 2rem;
  height: 2rem;
}

/* Post animasyonları */
.post-container {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading more styles */
#loading-more {
  border-top: 1px solid #eee;
  margin-top: 20px;
}

#no-more-posts {
  text-align: center;
  padding: 20px;
  color: #6c757d;
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.nm-footer-info {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
  margin-top: 2em;
}

.nm-footer-stats {
  text-decoration: underline;
  list-style: none;
  color: var(--primary-color);
  cursor: pointer;
}

.normalmetre-footer {
  background-color: white;
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
}

.normalmetre-footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.normalmetre-footer-links li {
  margin-bottom: 10px;
}

.normalmetre-footer-links a {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.normalmetre-footer-links a:hover {
  color: var(--primary-pink);
}

.normalmetre-copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

.normalmetre-social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.normalmetre-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.normalmetre-social-link:hover {
  background-color: var(--primary-pink);
  color: white;
}

/* --- ANA COMPONENT STİLLERİ --- */
.normalmetre-test-base-konteyner {
  max-width: 1140px;
  margin: auto;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.normalmetre-test-base-baslik-alani {
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: #212529;
  /* Daha koyu başlık rengi */
  letter-spacing: 2px;
  font-size: 1rem;
  text-transform: uppercase;
  /* Büyük harf kullanımı */
}

/* --- KART TASARIMI --- */
.normalmetre-test-base-kart {
  position: relative;
  border: none;
  /* Kenarlık kaldırıldı */
  border-radius: 12px;
  /* Köşe yuvarlaklığı artırıldı */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #1a202c;
  height: 100%;
}

.normalmetre-test-base-kart:hover {
  transform: translateY(-6px);
  /* Daha belirgin hover efekti */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- KART RESMİ --- */
.normalmetre-test-base-resim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 1;
}

.normalmetre-test-base-kart:hover .normalmetre-test-base-resim {
  transform: scale(1.04);
}

/* --- İÇERİK KAPLAMASI (GRADYAN) --- */
.normalmetre-test-base-icerik-kaplama {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.95) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

/* --- KART METİNLERİ --- */
.normalmetre-test-base-kart-baslik {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.normalmetre-test-base-h-kisa .normalmetre-test-base-kart-baslik {
  font-size: 1rem;
}

.normalmetre-test-base-kart-detaylar {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.normalmetre-test-base-kart-detaylar i {
  color: #7b60f4;
}

.normalmetre-test-base-kart-detaylar span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.normalmetre-test-base-kart-buton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background: #5a67d8;
  /* Daha modern bir mavi/mor tonu */
  color: white;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.normalmetre-test-base-kart-buton:hover {
  background: #434190;
  color: white;
  transform: scale(1.02);
}

/* Farklı kart yükseklikleri için yardımcı sınıflar */
.normalmetre-test-base-h-uzun {
  min-height: 400px;
}

.normalmetre-test-base-h-kisa {
  min-height: 188px;
}

.nm-test-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  justify-content: center;
  margin: 1em 0;
}

.nm-test-section-title i {
  color: #f4991a;
}

.nm-gonderi-header {
  display: flex;
  justify-content: space-between;
}

.normalmetre-test-base-kategori {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  /* Ensure it doesn't stretch */
}

.normalmetre-test-base-kategori .fas {
  margin-right: 6px;
}

.normalmetre-test-btn {
  width: 140px;
  background-color: var(--primary-pink);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.normalmetre-test-btn:hover {
  background-color: var(--primary-purple);
  color: white;
}

.normalmetre-test-btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-medium);
  padding: 8px 12px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.normalmetre-test-btn-outline:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

/*normalibu start */





/*normalibu end */

#btnBasaDon {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 2em;
  border: none;
  outline: none;
  background-color: transparent;
  color: white;
  cursor: pointer;
  border-radius: 50%;
}

.nm-header-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  z-index: 9999;
  overflow: hidden;
}

.nm-header-effect-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff8c00, #ffa500, #ff8c00);
  background-size: 200% 100%;
  animation: nmHeaderEffectSlide 2s ease-in-out;
}

.nm-kategori-reklam {
  max-width: 970px;
  margin: 0 auto;
}

@keyframes nmHeaderEffectSlide {
  0% {
    width: 0;
    background-position: 200% 0;
  }

  50% {
    width: 100%;
    background-position: 0 0;
  }

  100% {
    width: 100%;
    background-position: -200% 0;
  }
}


/* Responsive */
@media (max-width: 480px) {
  .btn {
    font-size: 9px;
  }

  .auth-pp-container {
    width: 95%;
  }

  .auth-pp-header {
    padding: 16px;
  }

  .auth-pp-content {
    padding: 16px;
  }
}

/* Mobile */

@media (max-width: 480px) {
  .li-kategori {
    flex: 1 0 calc(50% - 15px);
    min-height: 100px;
  }

  .li-kategori i {
    font-size: 1.2em;
  }
}

@media (max-width: 789px) {
  /* .tt-notification-btn {
    display: none;
  } */
}

@media (max-width: 768px) {
  #tt-header .tt-logo img {
    max-width: 140px;
    height: auto;
  }

  /* Post */

  .post-stats {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .post-stats-col {
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
    margin: 0 auto;
  }

  .create-post-container {
    padding: 20px;
    height: 200px;
  }

  .post-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-avatar-col {
    margin-bottom: 0.75rem;
  }

  .stats-col {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .confidence-meter {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
  }

  /* Post */

  /* Categories */

  .li-kategori {
    flex: 1 0 calc(33.33% - 15px);
    /* 3'lü grid için */
    min-width: 150px;
  }

  /* Categories */

  #mobile-logout-btn {
    display: block;
  }
}

@media (max-width: 1200px) {
  .li-kategori {
    flex: 1 0 calc(25% - 15px);
    /* 4'lü grid için */
  }
}

/* Mobile */