/* ============================================================
   TRAVOCHAT — SOCIAL CORE
   App shell, feed, posts, profile, settings + oryzo-style motion
   Depends on tokens from style.css (--tc-primary etc.)
   ============================================================ */

/* ---- APP SHELL ---- */
body.tc-app {
  background: #f4f6fb;
}

.tc-navbar--solid {
  position: sticky;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 18px rgba(15, 23, 42, 0.06);
  padding: 12px 32px;
  gap: 18px;
}

.tc-navbar--solid .tc-nav-container {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tc-nav-logo img {
  height: 50px;
  width: auto;
}

.tc-nav-search {
  flex: 1;
  max-width: 440px;
  position: relative;
  display: flex;
  align-items: center;
}

.tc-nav-search i {
  position: absolute;
  left: 16px;
  color: var(--tc-muted);
  font-size: 14px;
}

.tc-nav-search input {
  width: 100%;
  border: 1px solid #e8ecf3;
  background: #f4f6fb;
  border-radius: 30px;
  padding: 11px 18px 11px 42px;
  font-size: 14px;
  outline: none;
  transition: 0.25s;
}

.tc-nav-search input:focus {
  background: #fff;
  border-color: var(--tc-primary);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.tc-navbar--solid .tc-nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tc-nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--tc-text);
  font-size: 11px;
  font-weight: 600;
  transition: 0.2s;
}

.tc-nav-icon i {
  font-size: 17px;
}

.tc-nav-icon:hover {
  background: #f4f6fb;
  color: var(--tc-primary);
}

.tc-nav-icon.active {
  color: var(--tc-primary);
}

.tc-nav-create {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--tc-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 30px;
  margin: 0 8px;
  transition: 0.2s;
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.32);
}

.tc-nav-create:hover {
  background: var(--tc-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.tc-avatar-menu {
  position: relative;
}

.tc-avatar-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.tc-avatar-btn img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--tc-primary);
}

.tc-avatar-dropdown {
  right: 0;
  top: 56px;
}

.tc-mitem-btn {
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* ---- LAYOUT WRAPPERS ---- */
.tc-app-wrap {
  max-width: 975px;
  margin: 0 auto;
  padding: 28px 16px 80px;
}

.tc-app-wrap--wide {
  max-width: 1100px;
}

.tc-app-wrap--narrow {
  max-width: 680px;
}

body:not(.tc-app) main {
  /* marketing pages keep full-bleed hero */
}

/* ---- FEED LAYOUT ---- */
.tc-feed-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.tc-feed-main {
  min-width: 0;
}

.tc-feed-side {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---- COMPOSE ---- */
.tc-compose {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
  transition: 0.2s;
}

.tc-compose:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.tc-compose img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-compose>span:first-of-type {
  flex: 1;
  color: var(--tc-muted);
}

.tc-compose-cta {
  background: rgba(255, 122, 0, 0.1);
  color: var(--tc-primary);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
}

/* ---- FEED CARD ---- */
.tc-feed-card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 26px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
}

.tc-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.tc-feed-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-feed-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-feed-author strong {
  display: block;
  font-size: 15px;
  color: var(--tc-text);
}

.tc-feed-author span {
  font-size: 12.5px;
  color: var(--tc-muted);
}

.tc-feed-more {
  border: none;
  background: none;
  color: var(--tc-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: 0.2s;
}

.tc-feed-more:hover {
  color: #ef4444;
  background: #fef2f2;
}

.tc-feed-media {
  display: grid;
  background: #0b1020;
}

.tc-feed-media--multi {
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.tc-feed-media-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.tc-feed-media:not(.tc-feed-media--multi) .tc-feed-media-item {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.tc-feed-media-item img,
.tc-feed-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.tc-feed-media-item:hover img {
  transform: scale(1.04);
}

.tc-media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* ---- ACTIONS ---- */
.tc-feed-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px 16px;
}

.tc-act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--tc-text);
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  transition: 0.18s;
}

.tc-act i {
  font-size: 20px;
}

.tc-act:hover {
  color: var(--tc-primary);
  transform: translateY(-1px);
}

.tc-act--right {
  margin-left: auto;
}

.tc-like-btn.is-active {
  color: #ff3b5c;
}

.tc-like-btn.is-active i {
  animation: tcPop 0.35s ease;
}

.tc-bookmark-btn.is-active {
  color: var(--tc-primary);
}

@keyframes tcPop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.35);
  }

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

.tc-feed-caption {
  padding: 0px 16px 12px;
  font-size: 14.5px;
  line-height: 1.5;
}

.tc-feed-caption strong {
  margin-right: 6px;
}

.tc-hashtag {
  color: var(--tc-primary);
  font-weight: 600;
}

.tc-feed-viewall {
  display: block;
  padding: 4px 16px 16px;
  color: var(--tc-muted);
  font-size: 13.5px;
}

/* ---- SIDEBAR CARDS ---- */
.tc-side-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.tc-side-me {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-side-me img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-side-me strong {
  display: block;
}

.tc-side-me a {
  color: var(--tc-primary);
  font-size: 13px;
}

.tc-side-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--tc-muted);
  margin-bottom: 14px;
}

.tc-suggest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}

.tc-suggest-user {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.tc-suggest-user img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-suggest-user strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-suggest-user span {
  font-size: 12.5px;
  color: var(--tc-muted);
}

.tc-follow-pill {
  border: 1.5px solid var(--tc-primary);
  background: var(--tc-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.tc-follow-pill:hover {
  background: var(--tc-primary-dark);
}

.tc-follow-pill.is-following {
  background: #fff;
  color: var(--tc-text);
  border-color: #e2e8f0;
}

.tc-side-foot {
  font-size: 12.5px;
  color: var(--tc-muted);
  padding: 4px 6px;
}

.tc-side-foot a {
  color: var(--tc-muted);
}

.tc-side-foot p {
  margin-top: 6px;
}

/* ---- EXPLORE / GRID ---- */
.tc-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.tc-grid-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: #e8ecf3;
}

.tc-grid-card img,
.tc-grid-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tc-grid-card:hover img,
.tc-grid-card:hover video {
  transform: scale(1.08);
}

.tc-grid-noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 26px;
}

.tc-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transition: 0.3s;
}

.tc-grid-card:hover .tc-grid-overlay {
  opacity: 1;
}

.tc-grid-multi {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ---- PAGE HEAD / SHARED ---- */
.tc-page-head {
  margin-bottom: 26px;
}

.tc-page-head h1 {
  font-family: "DM sans", serif;
  font-size: 34px;
  color: var(--tc-dark);
}

.tc-page-head p {
  color: var(--tc-muted);
}

.tc-back {
  color: var(--tc-muted);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.tc-muted {
  color: var(--tc-muted);
}

.tc-flash {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-weight: 600;
}

.tc-alert {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.tc-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tc-empty {
  background: #fff;
  border-radius: 18px;
  padding: 56px 24px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.tc-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.tc-empty h3 {
  font-family: "DM sans", serif;
  margin-bottom: 6px;
}

.tc-empty p {
  color: var(--tc-muted);
  margin-bottom: 18px;
}

.tc-pagination {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.tc-pagination .pagination {
  gap: 6px;
}

/* Theme Laravel Bootstrap Default Pagination */
.pagination {
  --bs-pagination-color: var(--tc-dark);
  --bs-pagination-bg: #fff;
  --bs-pagination-border-width: 1px;
  --bs-pagination-border-color: #dee2e6;
  --bs-pagination-border-radius: 8px;
  --bs-pagination-hover-color: var(--tc-primary);
  --bs-pagination-hover-bg: #fff1e5;
  --bs-pagination-hover-border-color: var(--tc-primary);
  --bs-pagination-focus-color: var(--tc-primary);
  --bs-pagination-focus-bg: #fff1e5;
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(255, 122, 0, 0.25);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--tc-primary);
  --bs-pagination-active-border-color: var(--tc-primary);
}

.page-item .page-link {
  border-radius: 8px;
  margin: 0 3px;
  font-weight: 500;
  color: var(--tc-dark);
  border: 1px solid #ebedf0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}

.page-item.active .page-link {
  background-color: var(--tc-primary);
  border-color: var(--tc-primary);
  color: white;
  box-shadow: 0 4px 6px rgba(255, 122, 0, 0.3);
}

.page-item.disabled .page-link {
  color: #adb5bd;
  background-color: #f8f9fa;
  border-color: #ebedf0;
}

nav>div.d-flex.justify-content-between.flex-fill.d-sm-none>ul.pagination {
  margin-bottom: 0;
}

/* Hide default tailwind styling string if it accidentally leaks */
.text-sm.text-gray-700.leading-5 {
  color: var(--tc-muted);
}

/* ---- CREATE / FORMS ---- */
.tc-create-card,
.tc-settings-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
  margin-bottom: 22px;
}

.tc-create-title {
  font-family: "DM sans", serif;
  font-size: 26px;
}

.tc-create-sub {
  color: var(--tc-muted);
  margin-bottom: 20px;
}

.tc-settings-card h3 {
  font-family: "DM sans", serif;
  font-size: 21px;
  margin-bottom: 4px;
}

.tc-settings-subhead {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--tc-muted);
  margin: 18px 0 10px;
}

.tc-field {
  margin-bottom: 16px;
  flex: 1;
}

.tc-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.tc-field input,
.tc-field textarea,
.tc-field select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: 0.2s;
  background: #fbfcfe;
}

.tc-field select {
  appearance: none;
  background: #fbfcfe url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 14px center/12px 12px;
  padding-right: 36px;
  cursor: pointer;
}

.tc-field input:focus,
.tc-field textarea:focus {
  border-color: var(--tc-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.tc-field select:focus {
  border-color: var(--tc-primary);
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 14px center/12px 12px;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.tc-field-row {
  display: flex;
  gap: 16px;
}

.tc-create-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.tc-btn-ghost {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: var(--tc-text);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 16px 42px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
  line-height: 1.5;
  margin-bottom: 18px;
}

.tc-btn-ghost:hover {
  border-color: var(--tc-primary);
  color: var(--tc-primary);
}

.tc-btn-danger {
  border: none;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.2s;
}

.tc-btn-danger:hover {
  background: #dc2626;
}

.tc-settings-card--danger {
  border: 1px solid #fee2e2;
}

/* dropzone */
.tc-dropzone {
  display: block;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
  margin-bottom: 20px;
}

.tc-dropzone:hover,
.tc-dropzone.is-drag {
  border-color: var(--tc-primary);
  background: rgba(255, 122, 0, 0.04);
}

.tc-dropzone-inner i {
  font-size: 38px;
  color: var(--tc-primary);
  margin-bottom: 10px;
}

.tc-dropzone-inner strong {
  display: block;
  margin-bottom: 4px;
}

.tc-dropzone-inner span {
  color: var(--tc-muted);
  font-size: 13px;
}

.tc-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.tc-preview-grid:empty {
  margin-top: 0;
}

.tc-preview-grid img,
.tc-preview-grid video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.tc-upload-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tc-upload-preview {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-upload-cover {
  width: 110px;
  height: 60px;
  border-radius: 10px;
  background: #e2e8f0 center/cover no-repeat;
}

/* ---- POST DETAIL ---- */
.tc-post-detail {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
}

.tc-detail-media {
  background: #0b1020;
}

.tc-detail-media img,
.tc-detail-media video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.tc-detail-media--multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.tc-detail-body {
  padding: 8px 4px;
}

.tc-detail-caption {
  padding: 10px 16px 16px;
  border-bottom: 1px solid #f1f5f9;
}

/* ---- COMMENTS ---- */
.tc-comments {
  padding: 16px;
}

.tc-comments-title {
  font-size: 15px;
  margin-bottom: 14px;
}

.tc-comment-form {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.tc-comment-form img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-comment-input {
  flex: 1;
}

.tc-comment-input input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 10px 16px;
  outline: none;
}

.tc-comment-input input:focus {
  border-color: var(--tc-primary);
}

.tc-reply-banner {
  font-size: 12.5px;
  color: var(--tc-muted);
  margin-bottom: 6px;
  padding-left: 6px;
}

.tc-reply-banner button {
  border: none;
  background: none;
  cursor: pointer;
  color: #ef4444;
  margin-left: 6px;
}

.tc-comment-send {
  padding: 9px 18px;
}

.tc-comment {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.tc-comment--reply {
  margin-left: 30px;
}

.tc-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-comment-bubble {
  background: #f4f6fb;
  border-radius: 14px;
  padding: 9px 14px;
  display: inline-block;
}

.tc-comment-bubble p {
  margin: 2px 0 0;
  font-size: 14px;
}

.tc-comment-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 6px;
  font-size: 12.5px;
  color: var(--tc-muted);
}

.tc-comment-reply,
.tc-comment-del {
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--tc-muted);
  font-size: 12.5px;
  padding: 0;
}

.tc-comment-del:hover {
  color: #ef4444;
}

.tc-no-comments {
  text-align: center;
  padding: 20px 0;
}

/* ---- PROFILE ---- */
.tc-profile {
  margin-top: -1px;
}

.tc-cover {
  height: 300px;
  background: linear-gradient(120deg, #ff7a00, #ff9e44 60%, #ffb774) center/cover no-repeat;
  position: relative;
}

.tc-cover-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 50%,
      rgba(244, 246, 251, 0.6));
}

.tc-profile-head {
  display: flex;
  gap: 28px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.tc-profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.18);
  flex-shrink: 0;
}

.tc-profile-info {
  flex: 1;
  padding-top: 68px;
}

.tc-profile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tc-profile-top h1 {
  font-family: "DM sans", serif;
  font-size: 30px;
  line-height: 1.1;
}

.tc-profile-username {
  color: var(--tc-muted);
}

.tc-profile-stats {
  display: flex;
  gap: 26px;
  margin: 16px 0;
}

.tc-profile-stats a,
.tc-profile-stats div {
  color: var(--tc-text);
  font-size: 14.5px;
}

.tc-profile-stats strong {
  font-size: 17px;
}

.tc-profile-bio {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 10px;
}

.tc-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--tc-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.tc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tc-chip {
  background: rgba(255, 122, 0, 0.1);
  color: var(--tc-primary-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 20px;
}

.tc-countries {
  font-size: 14px;
  color: var(--tc-text);
  margin-bottom: 14px;
}

.tc-countries span {
  color: var(--tc-muted);
}

.tc-profile-socials {
  display: flex;
  gap: 10px;
}

.tc-psoc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--tc-text);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  transition: 0.2s;
}

.tc-psoc:hover {
  background: var(--tc-primary);
  color: #fff;
  transform: translateY(-3px);
}

.tc-profile-tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid #e2e8f0;
  margin: 30px 0 18px;
  padding-top: 14px;
}

.tc-profile-tabs span {
  font-weight: 600;
  color: var(--tc-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0;
}

.tc-profile-tabs .active {
  color: var(--tc-primary);
  border-top: 2px solid var(--tc-primary);
  margin-top: -15px;
  padding-top: 14px;
}

/* ============================================================
   ORYZO-STYLE MOTION — staggered reveals + subtle hovers
   (.animate-on-scroll base lives in style.css; we add stagger)
   ============================================================ */
.tc-feed-card.animate-on-scroll {
  transform: translateY(34px) scale(0.99);
}

.tc-feed-card.animate-on-scroll.visible {
  transform: translateY(0) scale(1);
}

.tc-explore-grid .tc-grid-card:nth-child(3n + 1) {
  transition-delay: 0.04s;
}

.tc-explore-grid .tc-grid-card:nth-child(3n + 2) {
  transition-delay: 0.12s;
}

.tc-explore-grid .tc-grid-card:nth-child(3n + 3) {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .tc-feed-layout {
    grid-template-columns: 1fr;
  }

  .tc-feed-side {
    display: none;
  }

  .tc-nav-search {
    display: none;
  }

  .tc-nav-icon span {
    display: none;
  }
}

@media (max-width: 640px) {
  .tc-profile-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .tc-profile-info {
    padding-top: 14px;
  }

  .tc-profile-top {
    flex-direction: column;
    align-items: center;
  }

  .tc-profile-stats {
    justify-content: center;
  }

  .tc-field-row {
    flex-direction: column;
    gap: 0;
  }

  .tc-explore-grid {
    gap: 3px;
  }

  .tc-navbar--solid {
    padding: 10px 14px;
  }
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
body.tc-admin {
  background: #f4f6fb;
  display: flex;
  min-height: 100vh;
}

.tc-admin-side {
  width: 240px;
  background: #0f172a;
  color: #cbd5e1;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 0;
}

.tc-admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px 22px;
  color: #fff;
}

.tc-admin-logo img {
  height: 30px;
  width: auto;
}

.tc-admin-logo span {
  font-weight: 700;
  font-size: 15px;
  background: var(--tc-primary);
  padding: 2px 9px;
  border-radius: 6px;
}

.tc-admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}

.tc-admin-nav a,
.tc-admin-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: 0.18s;
}

.tc-admin-nav a:hover,
.tc-admin-nav button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.tc-admin-nav a.active {
  background: var(--tc-primary);
  color: #fff;
}

.tc-admin-nav a i,
.tc-admin-nav button i {
  width: 18px;
  text-align: center;
}

.tc-admin-navsep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 14px;
}

.tc-admin-main {
  flex: 1;
  padding: 26px 32px 60px;
  min-width: 0;
}

.tc-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tc-admin-head h1 {
  font-family: "DM sans", serif;
  font-size: 28px;
  color: var(--tc-dark);
}

.tc-admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.tc-admin-user img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.tc-admin-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.tc-admin-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.tc-admin-card-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--tc-dark);
  line-height: 1;
}

.tc-admin-card-label {
  color: var(--tc-muted);
  font-size: 13px;
  margin-top: 3px;
}

.tc-admin-grid2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.tc-admin-panel {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  margin-bottom: 18px;
}

.tc-admin-panel h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.tc-admin-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
}

.tc-admin-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
}

.tc-admin-bar {
  width: 70%;
  max-width: 44px;
  background: linear-gradient(180deg, var(--tc-primary), #ffb774);
  border-radius: 6px 6px 0 0;
  transition: height 0.5s ease;
}

.tc-admin-bar-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--tc-text);
}

.tc-admin-bar-lbl {
  font-size: 12px;
  color: var(--tc-muted);
}

.tc-admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-admin-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
}

.tc-admin-list li:last-child {
  border-bottom: none;
}

.tc-admin-list img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-admin-list strong {
  display: block;
  font-size: 14px;
}

.tc-admin-list span {
  font-size: 12.5px;
  color: var(--tc-muted);
}

.tc-admin-list li>div {
  flex: 1;
  min-width: 0;
}

.tc-admin-table {
  width: 100%;
  border-collapse: collapse;
}

.tc-admin-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--tc-muted);
  padding: 10px 12px;
  border-bottom: 2px solid #f1f5f9;
}

.tc-admin-table td {
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  vertical-align: middle;
}

.tc-admin-userref {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-admin-userref img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-admin-userref strong {
  display: block;
}

.tc-admin-userref span {
  font-size: 12.5px;
  color: var(--tc-muted);
}

.tc-admin-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

.tc-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e2e8f0;
  color: #475569;
}

.tc-badge--admin {
  background: rgba(255, 122, 0, 0.14);
  color: var(--tc-primary-dark);
}

.tc-admin-actions {
  display: flex;
  gap: 6px;
}

.tc-admin-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--tc-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.18s;
}

.tc-admin-btn:hover {
  border-color: var(--tc-primary);
  color: var(--tc-primary);
}

.tc-admin-btn--danger:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

.tc-admin-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 8px 8px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  max-width: 520px;
}

.tc-admin-search i {
  color: var(--tc-muted);
}

.tc-admin-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
}

@media (max-width: 820px) {
  body.tc-admin {
    display: block;
    padding-bottom: 64px;
  }

  .tc-admin-side {
    width: 100%;
    height: 64px;
    position: fixed;
    bottom: 0;
    left: 0;
    top: auto;
    flex-direction: row;
    padding: 0;
    z-index: 1000;
  }

  .tc-admin-logo,
  .tc-admin-navsep {
    display: none;
  }

  .tc-admin-nav {
    flex-direction: row;
    width: 100%;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    align-items: center;
    -webkit-overflow-scrolling: touch;
  }

  .tc-admin-nav::-webkit-scrollbar {
    display: none;
  }

  .tc-admin-nav form {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
  }

  .tc-admin-nav a,
  .tc-admin-nav button {
    flex-direction: column;
    justify-content: center;
    width: auto;
    padding: 0 20px;
    height: 64px;
    border-radius: 0;
    font-size: 0 !important;
  }

  .tc-admin-nav a i,
  .tc-admin-nav button i {
    font-size: 22px !important;
    margin: 0 !important;
    width: auto;
  }

  .tc-admin-grid2 {
    grid-template-columns: 1fr;
  }

  .tc-admin-main {
    padding: 18px 14px 20px;
  }

  .tc-admin-head h1 {
    font-size: 22px;
  }

  /* Admin search bar fix for mobile */
  .tc-admin-search {
    max-width: 100%;
    padding: 8px 12px;
  }

  .tc-admin-search input {
    font-size: 13px;
  }

  .tc-admin-search button.tc-cta-primary {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Header flex containers fix for blogs, faqs, services */
  .tc-admin-main>div[style*="flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
    margin-bottom: 24px !important;
  }

  .tc-admin-main>div[style*="flex"] p.tc-muted {
    font-size: 13.5px;
    line-height: 1.4;
    text-align: left;
  }

  .tc-admin-main>div[style*="flex"] .tc-cta-primary {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 10px;
  }
}

/* ============================================================
   AUTH PAGES (login / register / password)
   ============================================================ */
.tc-auth-body {
  min-height: 100vh;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(1100px 500px at 100% -10%,
      rgba(255, 122, 0, 0.18),
      transparent 60%),
    radial-gradient(900px 500px at -10% 110%,
      rgba(14, 165, 233, 0.12),
      transparent 55%),
    #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.tc-auth-wrap {
  width: 100%;
  max-width: 430px;
}

.tc-auth-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  animation: tcAuthIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes tcAuthIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tc-auth-logo {
  display: block;
  text-align: center;
  margin-bottom: 22px;
}

.tc-auth-logo img {
  height: 42px;
  width: auto;
  display: inline-block;
}

.tc-auth-title {
  font-family: "DM sans", serif;
  font-size: 26px;
  color: var(--tc-dark);
  margin: 0 0 4px;
  text-align: center;
}

.tc-auth-sub {
  color: var(--tc-muted);
  text-align: center;
  margin-bottom: 22px;
  font-size: 14.5px;
}

.tc-auth-field {
  margin-bottom: 16px;
}

.tc-auth-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.tc-auth-input,
input.tc-auth-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 14.5px;
  background: #fbfcfe;
  transition: 0.2s;
}

.tc-auth-input:focus {
  border-color: var(--tc-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
  outline: none;
}

.tc-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 20px;
}

.tc-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--tc-muted);
  cursor: pointer;
}

.tc-auth-link {
  font-size: 14px;
  color: var(--tc-primary);
  font-weight: 600;
}

.tc-auth-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  border: none;
  font-size: 15px;
  padding: 13px;
  cursor: pointer;
}

.tc-auth-switch {
  text-align: center;
  margin: 18px 0 0;
  color: var(--tc-muted);
  font-size: 14px;
}

.tc-auth-switch a {
  color: var(--tc-primary);
  font-weight: 700;
}

.tc-auth-error {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  color: #dc2626;
  font-size: 13px;
}

.tc-auth-status {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
}

.tc-auth-foot {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-top: 18px;
}

/* ============================================================
   MARKETING PAGES (Services, Contact) — shared
   ============================================================ */
.tc-page-hero {
  position: relative;
  padding: 150px 0 90px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.tc-page-hero--sm {
  padding: 140px 0 70px;
}

.tc-services-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/service-banner.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tc-page-hero-inner {
  position: relative;
  z-index: 1;
}

.tc-page-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}

.tc-page-hero h1 {
  font-family: "DM sans", serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.tc-page-hero h1 span {
  color: #e18317;
}

.tc-page-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  opacity: 0.92;
}

.tc-page-hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.tc-btn-ghost--light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.tc-btn-ghost--light:hover {
  background: #fff;
  color: var(--tc-primary);
  border-color: #fff;
}

/* services grid */
.tc-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tc-svc-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 18px;
  padding: 30px 26px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  transition-delay: var(--tc-delay, 0s);
}

.tc-svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
  border-color: transparent;
}

.tc-svc-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--tc-primary);
  background: rgba(255, 122, 0, 0.1);
  margin-bottom: 18px;
}

.tc-svc-card:hover .tc-svc-icon {
  background: var(--tc-primary);
  color: #fff;
}

.tc-svc-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.tc-svc-card p {
  color: var(--tc-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* CTA band */
.tc-cta-band {
  background: linear-gradient(120deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.tc-cta-band h2 {
  font-family: "DM sans", serif;
  font-size: 32px;
  margin-bottom: 10px;
}

.tc-cta-band p {
  opacity: 0.85;
  margin-bottom: 24px;
}

.tc-cta-primary--lg {
  padding: 15px 34px;
  font-size: 16px;
}

/* contact */
.tc-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.tc-contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("../images/contact-page.png") center/cover no-repeat;
  background-size: cover;
}

.tc-contact-info h2 {
  font-family: "DM sans", serif;
  font-size: 28px;
  margin-bottom: 6px;
}

.tc-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.tc-contact-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 122, 0, 0.1);
  color: var(--tc-primary);
  font-size: 17px;
  flex-shrink: 0;
}

.tc-contact-item strong {
  display: block;
  font-size: 14px;
}

.tc-contact-item span {
  color: var(--tc-muted);
  font-size: 14px;
}

.tc-contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.tc-contact-form-wrap {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.tc-contact-form-wrap .tc-auth-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 820px) {
  .tc-svc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tc-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tc-svc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   USER DASHBOARD
   ============================================================ */
.tc-dash-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.tc-dash-head img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--tc-primary);
}

.tc-dash-head h1 {
  font-family: "DM sans", serif;
  font-size: 28px;
  color: var(--tc-dark);
  line-height: 1.1;
}

.tc-dash-head p {
  color: var(--tc-muted);
  margin: 2px 0 0;
}

.tc-dash-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.tc-dash-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

a.tc-dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

.tc-dash-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}

.tc-dash-num {
  font-size: 21px;
  font-weight: 800;
  color: var(--tc-dark);
  line-height: 1;
}

.tc-dash-label {
  font-size: 12.5px;
  color: var(--tc-muted);
  margin-top: 3px;
}

.tc-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tc-dash-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

.tc-dash-panel {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.tc-dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tc-dash-panel-head h3 {
  font-size: 16px;
  margin: 0;
}

.tc-dash-panel-head a {
  color: var(--tc-primary);
  font-size: 13.5px;
  font-weight: 600;
}

.tc-dash-empty {
  text-align: center;
  padding: 20px 0;
  color: var(--tc-muted);
}

.tc-dash-empty p {
  margin-bottom: 12px;
}

.tc-dash-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tc-dash-post {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #e8ecf3;
}

.tc-dash-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.tc-dash-post:hover img {
  transform: scale(1.08);
}

.tc-dash-post-noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #94a3b8;
}

.tc-dash-post-meta {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: 0.25s;
}

.tc-dash-post:hover .tc-dash-post-meta {
  opacity: 1;
}

.tc-activity {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-activity li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.tc-activity li:last-child {
  border-bottom: none;
}

.tc-activity-av {
  position: relative;
  flex-shrink: 0;
}

.tc-activity-av img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-activity-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 9px;
  border: 2px solid #fff;
}

.tc-activity-body {
  font-size: 14px;
  line-height: 1.4;
}

.tc-activity-body a {
  color: var(--tc-text);
}

.tc-activity-time {
  display: block;
  font-size: 12px;
  color: var(--tc-muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .tc-dash-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .tc-dash-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tc-dash-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   HOMEPAGE "SEARCH THE WORLD" — floating card over the hero
   ============================================================ */
.tc-search-section {
  /* background: var(--tc-light-bg); */
  padding: 0 0 64px;
  position: relative;
  z-index: 6;
}

.tc-search-float {
  position: relative;
  max-width: 880px;
  margin: -78px auto 0;
  /* pull up to overlap the hero */
  background: #fff;
  border-radius: 30px;
  padding: 40px 44px 34px;
  text-align: center;
  box-shadow: 0 36px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

/* soft brand glow accents inside the card */
.tc-search-float::before,
.tc-search-float::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.tc-search-float::before {
  background: rgba(255, 122, 0, 0.25);
  top: -90px;
  left: -70px;
}

.tc-search-float::after {
  background: rgba(56, 189, 248, 0.18);
  bottom: -100px;
  right: -80px;
}

.tc-search-float>* {
  position: relative;
  z-index: 1;
}

.tc-search-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--tc-primary);
  background: rgba(255, 122, 0, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.tc-search-title {
  font-family: "DM sans", serif;
  font-size: 34px;
  color: var(--tc-dark);
  margin: 0 0 6px;
}

.tc-search-desc {
  color: var(--tc-muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.tc-worldsearch {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 660px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 60px;
  padding: 9px 9px 9px 22px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    border-color 0.25s;
}

.tc-worldsearch:focus-within {
  box-shadow: 0 22px 60px rgba(255, 122, 0, 0.18);
  transform: translateY(-2px);
}

.tc-worldsearch>i {
  color: var(--tc-muted);
  font-size: 17px;
}

.tc-worldsearch input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  color: var(--tc-text);
  min-width: 0;
}

.tc-worldsearch input::placeholder {
  color: #9aa6b8;
}

.tc-worldsearch .tc-cta-primary {
  padding: 14px 38px;
  border-radius: 50px;
  flex-shrink: 0;
}

.tc-trending {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.tc-trending-label {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tc-muted);
}

.tc-trend {
  font-weight: 600;
  font-size: 14px;
  color: var(--tc-text);
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eef1f6;
  transition: 0.2s;
}

.tc-trend:hover {
  border-color: var(--tc-primary);
  color: var(--tc-primary);
  transform: translateY(-2px);
}

.tc-trend--hot {
  color: var(--tc-primary);
  border-color: rgba(255, 122, 0, 0.4);
  background: rgba(255, 122, 0, 0.06);
}

.tc-worldsearch--inline {
  max-width: none;
  margin: 0 0 26px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.tc-explore-subhead {
  font-family: "DM sans", serif;
  font-size: 19px;
  margin: 6px 0 14px;
}

.tc-traveler-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.tc-traveler-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 40px;
  padding: 8px 16px 8px 8px;
  transition: 0.2s;
}

.tc-traveler-chip:hover {
  border-color: var(--tc-primary);
  transform: translateY(-2px);
}

.tc-traveler-chip img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-traveler-chip strong {
  display: block;
  font-size: 14px;
}

.tc-traveler-chip span {
  font-size: 12.5px;
  color: var(--tc-muted);
}

@media (max-width: 560px) {
  .tc-worldsearch {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 14px;
  }

  .tc-worldsearch input {
    width: 100%;
    padding: 4px 0;
  }

  .tc-worldsearch .tc-cta-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   ORYZO-STYLE MOTION SYSTEM (home / marketing)
   ============================================================ */

/* ---- 1. HERO ON-LOAD REVEAL (staggered rise + fade) ---- */
.tc-hero-content h1,
.tc-hero-content .tc-hero-sub,
.tc-hero-content .tc-hero-cta {
  opacity: 0;
  animation: tcHeroRise 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) forwards;
}

.tc-hero-content h1 {
  animation-delay: 0.15s;
}

.tc-hero-content .tc-hero-sub {
  animation-delay: 0.4s;
}

.tc-hero-content .tc-hero-cta {
  animation-delay: 0.62s;
}

@keyframes tcHeroRise {
  from {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(6px);
  }

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

/* gradient highlight sweep on the hero accent word */
.tc-hero-content h1 span {
  background: linear-gradient(100deg, #ff7a00, #ffd27a, #ff7a00);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tcShine 5s linear infinite;
}

@keyframes tcShine {
  to {
    background-position: 200% center;
  }
}

/* ---- 2. PARALLAX (JS sets --tc-parallax on .tc-hero-bg) ---- */
.tc-hero-bg {
  will-change: transform;
  transform: translateY(var(--tc-parallax, 0)) scale(1.12);
  /* slow cinematic pan (Ken Burns) — animates background-position so it
     doesn't fight the transform used by the parallax scroll */
  animation: tcKenBurns 26s ease-in-out infinite;
}

@keyframes tcKenBurns {
  0% {
    background-position: center 30%;
  }

  50% {
    background-position: center 46%;
  }

  100% {
    background-position: center 30%;
  }
}

/* ---- 2b. BACKGROUND VIDEO LAYER ---- */
.tc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: tcHeroVideoIn 1.2s ease forwards;
}

@keyframes tcHeroVideoIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }

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

/* ---- 2d. TRAVEL ANIMATION (flying plane + drifting clouds) ---- */
.tc-hero-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

/* keep hero text/buttons above the animation */
.tc-hero-content {
  position: relative;
  z-index: 4;
}

/* drifting clouds */
.tc-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  filter: blur(14px);
  will-change: transform;
}

.tc-cloud-1 {
  width: 180px;
  height: 52px;
  top: 16%;
  animation: tcDrift 46s linear infinite;
}

.tc-cloud-2 {
  width: 130px;
  height: 42px;
  top: 30%;
  opacity: 0.4;
  animation: tcDrift 64s linear infinite;
  animation-delay: -24s;
}

.tc-cloud-3 {
  width: 220px;
  height: 60px;
  top: 9%;
  opacity: 0.3;
  animation: tcDrift 82s linear infinite;
  animation-delay: -50s;
}

@keyframes tcDrift {
  from {
    transform: translateX(-260px);
  }

  to {
    transform: translateX(115vw);
  }
}

/* flying plane */
.tc-plane {
  position: absolute;
  top: 24%;
  left: 0;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  animation: tcFly 19s ease-in-out infinite;
  will-change: transform;
}

.tc-plane i {
  transform: rotate(8deg);
}

.tc-plane-trail {
  position: absolute;
  right: 22px;
  top: 52%;
  width: 120px;
  height: 2px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.7), transparent);
  border-radius: 2px;
}

@keyframes tcFly {
  0% {
    transform: translate(-12vw, 40px) rotate(6deg);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  50% {
    transform: translate(50vw, -14px) rotate(-3deg);
  }

  88% {
    opacity: 1;
  }

  100% {
    transform: translate(114vw, 28px) rotate(6deg);
    opacity: 0;
  }
}

/* ---- 2c. MOVING LIGHT SWEEP across the hero ---- */
.tc-hero-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg,
      transparent,
      rgba(255, 255, 255, 0.12),
      transparent);
  transform: skewX(-18deg);
  animation: tcSweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tcSweep {
  0% {
    left: -60%;
  }

  55%,
  100% {
    left: 130%;
  }
}

/* ---- 3. FLOATING GRADIENT ORBS in hero ---- */
.tc-hero::before,
.tc-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.tc-hero::before {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.55), transparent 70%);
  top: 8%;
  left: -80px;
  animation: tcFloatA 11s ease-in-out infinite;
}

.tc-hero::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 70%);
  bottom: 14%;
  right: -60px;
  animation: tcFloatB 13s ease-in-out infinite;
}

@keyframes tcFloatA {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, 30px);
  }
}

@keyframes tcFloatB {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-36px, -28px);
  }
}

/* ---- 4. MARQUEE BAND ---- */
.tc-marquee {
  background: var(--tc-dark);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
  position: relative;
}

.tc-marquee::before,
.tc-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
}

.tc-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--tc-dark), transparent);
}

.tc-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--tc-dark), transparent);
}

.tc-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  animation: tcMarquee 32s linear infinite;
}

.tc-marquee:hover .tc-marquee-track {
  animation-play-state: paused;
}

.tc-marquee-item {
  color: #fff;
  font-family: "DM sans", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.tc-marquee-dot {
  color: var(--tc-primary);
  font-size: 13px;
}

@keyframes tcMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- 5. DIRECTIONAL SCROLL REVEALS (opt-in via data-reveal) ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 0.84, 0.3, 1);
  transition-delay: var(--tc-delay, 0s);
}

[data-reveal="left"] {
  transform: translateX(-50px);
}

[data-reveal="right"] {
  transform: translateX(50px);
}

[data-reveal="zoom"] {
  transform: scale(0.9);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---- 6. STAT COUNT-UP POP ---- */
.tc-stat.animate-on-scroll {
  transform: translateY(28px);
}

.tc-stat.animate-on-scroll.visible {
  transform: translateY(0);
}

.tc-stat-num {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {

  .tc-hero-content h1,
  .tc-hero-content .tc-hero-sub,
  .tc-hero-content .tc-hero-cta,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .tc-marquee-track,
  .tc-hero::before,
  .tc-hero::after,
  .tc-hero-bg,
  .tc-hero-video,
  .tc-hero-overlay::after,
  .tc-cloud,
  .tc-plane,
  .tc-hero-content h1 span {
    animation: none !important;
  }

  .tc-plane {
    display: none;
  }
}

/* ============================================================
   EXTRA MOBILE RESPONSIVE PATCH
   Add at very end of file
   ============================================================ */

@media (max-width: 768px) {

  /* Navbar */
  .tc-navbar--solid {
    padding: 10px 12px;
  }

  .tc-navbar--solid .tc-nav-container {
    gap: 10px;
  }

  .tc-nav-logo img {
    height: 40px;
  }

  .tc-nav-create {
    padding: 8px 12px;
    font-size: 12px;
  }

  .tc-nav-create span {
    display: none;
  }

  .tc-nav-icon {
    padding: 8px;
  }

  /* General Containers */
  .tc-app-wrap,
  .tc-app-wrap--wide,
  .tc-app-wrap--narrow {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Feed */
  .tc-feed-card {
    border-radius: 14px;
  }

  .tc-feed-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .tc-feed-caption {
    font-size: 14px;
  }

  /* Compose */
  .tc-compose {
    padding: 12px;
    gap: 10px;
  }

  .tc-compose img {
    width: 38px;
    height: 38px;
  }

  /* Profile */
  .tc-cover {
    height: 180px;
  }

  .tc-profile-avatar {
    width: 110px;
    height: 110px;
  }

  .tc-profile-top h1 {
    font-size: 24px;
  }

  .tc-profile-stats {
    flex-wrap: wrap;
    gap: 15px;
  }

  .tc-profile-tabs {
    gap: 16px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  /* Dashboard */
  .tc-dash-head {
    flex-direction: column;
    text-align: center;
  }

  .tc-dash-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Admin Tables */
  .tc-admin-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tc-admin-search {
    max-width: 100%;
  }

  /* Forms */
  .tc-create-card,
  .tc-settings-card,
  .tc-contact-form-wrap {
    padding: 18px;
  }

  .tc-create-actions {
    flex-direction: column;
  }

  .tc-create-actions button,
  .tc-create-actions a {
    width: 100%;
  }

  /* Comments */
  .tc-comment-form {
    flex-direction: column;
  }

  .tc-comment-send {
    width: 100%;
  }

  /* Contact */
  .tc-contact-form-wrap {
    padding: 20px;
  }

  /* Search Section */
  .tc-search-float {
    padding: 25px 18px;
    margin-top: -50px;
    border-radius: 20px;
  }

  .tc-search-title {
    font-size: 26px;
  }

  .tc-search-desc {
    font-size: 14px;
  }

  /* Hero */
  .tc-page-hero {
    padding: 120px 0 60px;
  }

  .tc-page-hero h1 {
    font-size: 34px;
  }

  .tc-page-hero p {
    font-size: 15px;
    padding: 0 10px;
  }

  .tc-page-hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .tc-page-hero-cta .tc-btn,
  .tc-page-hero-cta a {
    width: 100%;
    max-width: 280px;
  }

  /* Service Cards */
  .tc-svc-card {
    padding: 24px 18px;
  }

  /* Admin Cards */
  .tc-admin-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .tc-admin-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Small Phones */
@media (max-width: 480px) {

  .tc-feed-author strong,
  .tc-suggest-user strong {
    font-size: 13px;
  }

  .tc-feed-author span,
  .tc-suggest-user span {
    font-size: 11px;
  }

  .tc-profile-top h1 {
    font-size: 22px;
  }

  .tc-profile-meta {
    justify-content: center;
  }

  .tc-dash-cards {
    grid-template-columns: 1fr;
  }

  .tc-admin-cards {
    grid-template-columns: 1fr;
  }

  .tc-dash-posts {
    grid-template-columns: 1fr;
  }

  .tc-search-title {
    font-size: 22px;
  }

  .tc-page-hero h1 {
    font-size: 28px;
  }

  .tc-auth-card {
    padding: 24px 18px;
  }

  .tc-create-card,
  .tc-settings-card {
    padding: 16px;
  }
}

/* Prevent Horizontal Scroll Everywhere */
html,
body {
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
}

img,
video {
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
}