/* ============================================
   MODERN PROFILE PAGE STYLES — Two-Column Layout
   ============================================ */

/* --- Page Wrapper — offset for fixed navbar --- */
.profile-page-wrapper {
  padding-top: 110px;
  padding-bottom: 40px;
  min-height: 100vh;
}

.profile-container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Sidebar (Left Column) --- */
.profile-sidebar-sticky {
  position: sticky;
  top: 110px;
  padding-bottom: 24px;
}

/* --- Avatar Block --- */
.profile-avatar-block {
  margin-bottom: 20px;
}

.profile-avatar-rect {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  position: relative;
}

.profile-avatar-rect.is-online::after {
  content: 'Онлайн';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #2dce89;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(45, 206, 137, 0.4);
  z-index: 5;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  border: none !important;
}

.profile-avatar-edit-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  text-align: center;
  z-index: 3;
  transition: background 0.2s;
  text-decoration: none;
}

.profile-avatar-edit-btn:hover {
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  text-decoration: none;
}

.profile-avatar-rect .progress-upload {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  border-radius: 16px;
  z-index: 4;
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  line-height: 1;
}

.live-badge-modern {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff3b5c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 5;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* --- Info Block --- */
.profile-info-block {
  margin-bottom: 16px;
  padding: 0 2px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-display-name {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 2px;
  line-height: 1.3;
}

.profile-age {
  font-weight: 400;
  font-size: 18px;
  color: #8898aa;
  margin-left: 2px;
}

.profile-verified-badge {
  color: #5e72e4;
  font-size: 17px;
  vertical-align: middle;
}

.profile-featured-badge {
  color: #f5a623;
  font-size: 17px;
  vertical-align: middle;
}

.profile-username-line {
  margin: 2px 0 8px;
  font-size: 14px;
  color: #8898aa;
  line-height: 1.4;
}

.profile-profession-sep {
  margin: 0 6px;
  color: #ccc;
}

.profile-profession {
  color: #525f7f;
}

.profile-last-seen {
  font-size: 12px;
  color: #adb5bd;
  margin: 0 0 10px;
}

.profile-last-seen i {
  margin-right: 4px;
}

.profile-online-now {
  font-size: 12px;
  color: #2dce89;
  font-weight: 600;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.online-dot-sm {
  width: 8px;
  height: 8px;
  background: #2dce89;
  border-radius: 50%;
  display: inline-block;
  animation: onlineBlink 2s infinite;
}

@keyframes onlineBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Quick Stats --- */
.profile-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 4px;
  padding: 12px 0;
  border-top: 1px solid #f0f2f5;
  border-bottom: 1px solid #f0f2f5;
}

.profile-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 4px 2px;
}

.profile-stat-num {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}

.profile-stat-label {
  font-size: 10px;
  color: #8898aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-top: 2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* --- Action Buttons --- */
.profile-actions-modern {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  align-items: center;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.profile-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.profile-btn i,
.profile-btn svg {
  font-size: 14px;
}

.profile-btn-primary {
  background: linear-gradient(135deg, #5e72e4, #825ee4);
  color: #fff;
  box-shadow: 0 4px 12px rgba(94, 114, 228, 0.3);
}

.profile-btn-primary:hover {
  background: linear-gradient(135deg, #4a5ecf, #7050d4);
  color: #fff;
  box-shadow: 0 6px 16px rgba(94, 114, 228, 0.4);
}

.profile-btn-success {
  background: linear-gradient(135deg, #2dce89, #26b576);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45, 206, 137, 0.3);
}

.profile-btn-success:hover {
  background: linear-gradient(135deg, #28b97c, #22a56b);
  color: #fff;
}

.profile-btn-warning {
  background: linear-gradient(135deg, #fb6340, #fbb140);
  color: #fff;
  box-shadow: 0 4px 12px rgba(251, 99, 64, 0.3);
}

.profile-btn-warning:hover {
  background: linear-gradient(135deg, #e8562f, #e8a035);
  color: #fff;
}

.profile-btn-outline {
  background: #fff;
  color: #525f7f;
  border: 1.5px solid #e9ecef;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.profile-btn-outline:hover {
  background: #f8f9fe;
  color: #5e72e4;
  border-color: #d2d6dc;
}

.profile-btn-message {
  background: linear-gradient(135deg, #11cdef, #1171ef);
  color: #fff;
  box-shadow: 0 4px 12px rgba(17, 205, 239, 0.3);
}

.profile-btn-message:hover {
  background: linear-gradient(135deg, #0db4d1, #0f62d9);
  color: #fff;
  box-shadow: 0 6px 16px rgba(17, 205, 239, 0.4);
}

/* --- Report Actions --- */
.profile-report-actions {
  display: flex;
  gap: 16px;
  padding: 0 0 16px;
}

.profile-report-btn {
  background: none;
  border: none;
  color: #adb5bd;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.profile-report-btn:hover {
  color: #f5365c;
  background: rgba(245, 54, 92, 0.06);
}

.profile-report-btn i {
  margin-right: 4px;
  font-size: 11px;
}

/* --- Posts width constraint on profile page --- */
.profile-page-wrapper .wrap-post {
  max-width: 550px;
  margin: 0 auto;
}

/* --- Navigation Tabs (Right Column) --- */
.profile-nav-modern {
  display: flex;
  gap: 4px;
  /* overflow-x: auto; */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #fff;
  border-radius: 14px;
  padding: 0 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.profile-nav-modern::-webkit-scrollbar {
  display: none;
}

.profile-nav-filter {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.profile-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: #f5f7fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
  border: 0px;
  border-radius: 8px;
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.profile-filter-select:hover {
  border-color: #cbd5e0;
  background-color: #edf2f7;
}

.profile-filter-select:focus {
  border-color: var(--primary-btn-color, #f5365c);
  box-shadow: 0 0 0 2px rgba(245, 54, 92, 0.1);
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #8898aa;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s;
}

.profile-nav-item:hover {
  text-decoration: none;
  color: #5e72e4;
  background: rgba(94, 114, 228, 0.04);
}

.profile-nav-item.active {
  color: #5e72e4;
  /* border-bottom-color: #5e72e4; */
  font-weight: 600;
}

.profile-nav-item i,
.profile-nav-item svg {
  font-size: 15px;
}

/* --- Nav Tab Counters --- */
.profile-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #8898aa;
  background: #f0f2f5;
  border-radius: 10px;
  margin-left: 4px;
}

.profile-nav-item.active .profile-nav-count {
  color: #5e72e4;
  background: rgba(94, 114, 228, 0.1);
}

[data-bs-theme="dark"] .profile-nav-count {
  color: #718096;
  background: #252a43;
}

[data-bs-theme="dark"] .profile-nav-item.active .profile-nav-count {
  color: #7c8ce4;
  background: rgba(94, 114, 228, 0.2);
}

/* --- About Card (Left Sidebar) --- */
.profile-card-modern {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #f0f2f5;
}

.profile-card-modern-body {
  padding: 20px;
}

.profile-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f5;
}

.profile-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #525f7f;
  margin-bottom: 8px;
}

.profile-info-item i {
  width: 16px;
  text-align: center;
  color: #8898aa;
  font-size: 13px;
}

.profile-bio-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #525f7f;
}

/* --- Social Links --- */
.profile-social-links {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f0f2f5;
}

.profile-website-link {
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-website-link a {
  font-size: 13px;
  color: #5e72e4;
  text-decoration: none;
  transition: color 0.2s;
}

.profile-website-link a:hover {
  color: #3d52c4;
}

.profile-website-link a i {
  margin-right: 6px;
  color: #8898aa;
}

.profile-social-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f6f7fb;
  color: #525f7f;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.profile-social-icons a:hover {
  background: #5e72e4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(94, 114, 228, 0.3);
}

/* --- Categories Tags --- */
.profile-categories {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-category-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #5e72e4;
  background: rgba(94, 114, 228, 0.08);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.profile-category-tag:hover {
  background: rgba(94, 114, 228, 0.16);
  color: #3d52c4;
  text-decoration: none;
}

/* --- Filter select modern styling --- */
.wrap-post .custom-select {
  border-radius: 10px;
  border: 1.5px solid #e9ecef;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 32px 8px 14px;
  transition: border-color 0.2s;
}

.wrap-post .custom-select:focus {
  border-color: #5e72e4;
  box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.12);
}

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
  .profile-page-wrapper {
    padding-top: 90px;
  }

  .profile-sidebar-sticky {
    position: static;
  }

  .profile-avatar-rect {
    max-width: 260px;
    margin: 0 auto;
  }

  .profile-info-block {
    text-align: center;
  }

  .profile-name-row {
    justify-content: center;
  }

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

  .profile-actions-modern {
    justify-content: center;
  }

  .profile-report-actions {
    justify-content: center;
  }

  .profile-last-seen,
  .profile-online-now {
    justify-content: center;
  }

  .profile-card-modern {
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .profile-container-wide {
    padding: 0 12px;
  }

  .profile-actions-modern {
    flex-wrap: wrap;
    justify-content: center;
  }

  .profile-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .profile-btn-outline span {
    display: none;
  }

  .profile-btn-outline {
    padding: 8px 10px;
  }

  .profile-nav-item span {
    display: none;
  }

  .profile-nav-modern {
    justify-content: space-around;
    padding: 0 4px;
  }

  .profile-nav-item {
    padding: 10px 10px;
  }

  .profile-avatar-rect {
    max-width: 200px;
  }

  .profile-nav-count {
    display: none;
  }
}

/* --- Dark Mode Support --- */
[data-bs-theme="dark"] .profile-page-wrapper {
  background: transparent;
}

[data-bs-theme="dark"] .profile-display-name,
[data-bs-theme="dark"] .profile-stat-num {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .profile-username-line,
[data-bs-theme="dark"] .profile-stat-label {
  color: #718096;
}

[data-bs-theme="dark"] .profile-card-modern {
  background: #1e2235;
  border-color: #2d3250;
}

[data-bs-theme="dark"] .profile-card-title {
  color: #e2e8f0;
  border-bottom-color: #2d3250;
}

[data-bs-theme="dark"] .profile-info-item {
  color: #a0aec0;
}

[data-bs-theme="dark"] .profile-bio-text {
  color: #a0aec0;
}

[data-bs-theme="dark"] .profile-btn-outline {
  background: #1e2235;
  color: #a0aec0;
  border-color: #2d3250;
}

[data-bs-theme="dark"] .profile-btn-outline:hover {
  background: #252a43;
  color: #5e72e4;
}

[data-bs-theme="dark"] .profile-nav-modern {
  background: #1e2235;
  border-bottom-color: #2d3250;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .profile-nav-item {
  color: #718096;
}

[data-bs-theme="dark"] .profile-nav-item.active {
  color: #5e72e4;
}

[data-bs-theme="dark"] .profile-social-icons a {
  background: #252a43;
  color: #a0aec0;
}

[data-bs-theme="dark"] .profile-social-icons a:hover {
  background: #5e72e4;
  color: #fff;
}

[data-bs-theme="dark"] .profile-social-links {
  border-top-color: #2d3250;
}

[data-bs-theme="dark"] .profile-report-btn {
  color: #718096;
}

[data-bs-theme="dark"] .profile-report-btn:hover {
  color: #f5365c;
  background: rgba(245, 54, 92, 0.1);
}

[data-bs-theme="dark"] .profile-category-tag {
  background: rgba(94, 114, 228, 0.15);
  color: #7c8ce4;
}

[data-bs-theme="dark"] .profile-avatar-rect {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* --- Animated Avatar (Video) --- */
.profile-avatar-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  border: none !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show animated avatar on hover */
.profile-avatar-rect:hover .profile-avatar-video {
  opacity: 1;
}

/* Keep static avatar visible underneath */
.profile-avatar-rect .profile-avatar-img {
  display: block !important;
}

.animated-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-upload-animated {
  margin-top: 8px;
  background: #f0f2f5;
  border-radius: 8px;
  overflow: hidden;
  height: 28px;
  position: relative;
}

.progress-animated-bar {
  background: linear-gradient(135deg, #5e72e4, #825ee4);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s ease;
  min-width: 40px;
}

[data-bs-theme="dark"] .progress-upload-animated {
  background: #252a43;
}

/* Animated avatar on cards (home page) */
.ai-model-card-img .animated-avatar-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show animated avatar on card hover */
.ai-model-card:hover .ai-model-card-img .animated-avatar-card-video {
  opacity: 1;
}

.ai-model-card-img {
  position: relative;
}

/* Ensure overlay elements stay on top of animated video */
.ai-model-card-overlay {
  z-index: 3;
}

.ai-model-card-status {
  z-index: 3;
}

/* --- Modern Empty State Blocks --- */
.profile-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  width: 100%;
}

.profile-empty-state-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(94, 114, 228, 0.1);
}

.profile-empty-state-icon i,
.profile-empty-state-icon svg {
  font-size: 36px;
  color: #5e72e4;
  width: 36px;
  height: 36px;
}

.profile-empty-state-title {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.profile-empty-state-text {
  font-size: 14px;
  color: #a0aec0;
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.profile-empty-state .btn {
  border-radius: 12px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(94, 114, 228, 0.25);
}

.profile-empty-state .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(94, 114, 228, 0.35);
}

/* Dark mode empty state */
[data-bs-theme="dark"] .profile-empty-state-icon {
  background: linear-gradient(135deg, #252a43 0%, #1e2235 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .profile-empty-state-icon i,
[data-bs-theme="dark"] .profile-empty-state-icon svg {
  color: #7c8ce4;
}

[data-bs-theme="dark"] .profile-empty-state-title {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .profile-empty-state-text {
  color: #718096;
}

/* --- Likes/Comments unified font --- */
.containerLikeComment {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.containerLikeComment .dot-item {
  font-size: 13px;
  font-weight: 400;
  font-family: inherit;
  line-height: 1.5;
}

[data-bs-theme="dark"] .profile-quick-stats {
  border-top-color: #2d3250;
  border-bottom-color: #2d3250;
}

/* --- About Me Card (right column, above tabs) --- */
.profile-about-card {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

[data-bs-theme="dark"] .profile-about-card {
  background: #1e2235;
  border-color: #2d3250;
}

.profile-about-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #2d3748;
}

[data-bs-theme="dark"] .profile-about-card-title {
  color: #e2e8f0;
}

.profile-about-card .profile-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}

.profile-about-card .profile-info-item i {
  color: #999;
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.profile-about-description {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.profile-bio-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-bs-theme="dark"] .profile-about-description {
  color: #bbb;
}

.profile-about-toggle {
  font-size: 13px;
  color: #f5365c;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}

.profile-about-toggle:hover {
  text-decoration: underline;
  color: #e02950;
}

.ai-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}

@media (max-width: 767px) {
  .ai-profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
}

.profile-about-collapsed .ai-profile-grid {
  margin-top: 12px;
}

.profile-about-collapsed .profile-social-links {
  margin-top: 12px;
}

.profile-about-collapsed .profile-categories {
  margin-top: 12px;
}

/* ===== Settings Page ===== */
.settings-page {
  padding-top: 110px;
  padding-bottom: 40px;
  min-height: 100vh;
}
.settings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.settings-header {
  text-align: center;
  margin-bottom: 32px;
}
.settings-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.settings-title i {
  font-size: 22px;
  color: #8b5cf6;
}
.settings-subtitle {
  color: #9ca3af;
  font-size: 14px;
  margin: 0;
}
.settings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.settings-sidebar {
  min-width: 0;
}
.settings-sidebar-sticky {
  position: sticky;
  top: 110px;
}
/* Reset Bootstrap column classes inside settings sidebar */
.settings-sidebar .col-md-6,
.settings-sidebar .col-lg-3 {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}
@media (min-width: 993px) {
  .settings-sidebar .navbar-collapse.collapse {
    display: block !important;
  }
}
.settings-sidebar .btn-menu-expand {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  width: 100%;
  margin-bottom: 12px;
}
.settings-sidebar .btn-menu-expand:hover,
.settings-sidebar .btn-menu-expand:focus {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}
/* Sidebar navigation modern overrides */
.settings-sidebar .card-settings {
  border-radius: 16px !important;
  border: 1px solid #f0f0f0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  overflow: hidden;
}
.settings-sidebar .card-settings .list-group-item {
  padding: 10px 16px;
  font-size: 13px;
  border: none !important;
  color: #4b5563;
  transition: all 0.15s ease;
}
.settings-sidebar .card-settings .list-group-item:hover {
  background: #f5f3ff;
  color: #7c3aed;
}
.settings-sidebar .card-settings .list-group-item.active {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  color: #fff !important;
  border: none !important;
}
.settings-sidebar .card-settings .list-group-item.active i,
.settings-sidebar .card-settings .list-group-item.active svg {
  color: #fff !important;
}
.settings-sidebar .card-settings .list-group-item.active .feather {
  color: rgba(255,255,255,0.7) !important;
}
.settings-sidebar .card-settings small.text-muted {
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 16px 6px !important;
}
/* Home-style nav inside settings sidebar */
.sidebar-home-nav .menu-left-home {
  display: block !important;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 8px 0;
  list-style: none;
  margin: 0;
}
.sidebar-home-nav .menu-left-home li a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  transition: all 0.15s ease;
  border-radius: 0;
}
.sidebar-home-nav .menu-left-home li a:hover {
  background: #f5f3ff;
  color: #7c3aed;
}
.sidebar-home-nav .menu-left-home li a.active {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff !important;
}
.sidebar-home-nav .menu-left-home li a.active i,
.sidebar-home-nav .menu-left-home li a.active svg,
.sidebar-home-nav .menu-left-home li a.active .feather {
  color: #fff !important;
}
.sidebar-home-nav .menu-left-home li a i,
.sidebar-home-nav .menu-left-home li a svg {
  font-size: 18px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.settings-main {
  min-width: 0;
}
.settings-main .grid-updates {
  max-width: 550px;
}

/* Home feed */
.home-feed-wrap {
  max-width: 550px;
}
.home-feed-wrap .card {
  border-radius: 16px !important;
  border: 1px solid #f0f0f0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}
.home-feed-wrap .storiesWrapper {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.home-add-story-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 16px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff !important;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.home-add-story-btn:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.home-add-story-btn i {
  font-size: 18px;
}
.home-explore-section {
  max-width: 550px;
  margin-top: 24px;
}
/* Success alert */
.settings-alert {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.settings-alert-success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.settings-alert-success i {
  font-size: 18px;
}
/* Tabs */
.settings-tabs {
  display: flex;
  gap: 4px;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 20px;
}
.settings-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.settings-tab:hover {
  color: #4b5563;
  background: rgba(255,255,255,0.5);
}
.settings-tab.active {
  background: #fff;
  color: #7c3aed;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  font-weight: 600;
}
.settings-tab i {
  font-size: 15px;
}
.settings-tab-content {
  display: none;
}
.settings-tab-content.active {
  display: block;
  animation: settingsTabFadeIn 0.2s ease;
}
@keyframes settingsTabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Card sections */
.settings-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  margin-bottom: 20px;
  overflow: hidden;
}
.settings-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
}
.settings-card-header i {
  font-size: 18px;
  color: #8b5cf6;
}
.settings-card-body {
  padding: 20px 24px;
}
/* Field styles */
.settings-field {
  margin-bottom: 16px;
}
.settings-field:last-child {
  margin-bottom: 0;
}
.settings-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
}
.settings-hint {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}
.settings-switch-row {
  margin-top: 8px;
}
/* Form controls inside settings */
.settings-card .form-control,
.settings-card .custom-select {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  padding: 8px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  height: auto;
}
.settings-card .form-control:focus,
.settings-card .custom-select:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.settings-card .input-group .input-group-text {
  border-radius: 10px 0 0 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
  border-right: none;
}
.settings-card .input-group .form-control,
.settings-card .input-group .custom-select {
  border-radius: 0 10px 10px 0;
}
.settings-card textarea.form-control {
  border-radius: 10px;
}
/* Row grids */
.settings-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.settings-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.settings-row-2:last-child,
.settings-row-3:last-child {
  margin-bottom: 0;
}
.settings-row-2 .settings-field,
.settings-row-3 .settings-field {
  margin-bottom: 0;
}
/* Outline button for settings */
.settings-btn-outline {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  border-radius: 8px;
  font-size: 13px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.settings-btn-outline:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: #f5f3ff;
}
/* Save button */
.settings-save-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}
.settings-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}
.settings-save-btn:active {
  transform: translateY(0);
}
/* Select2 inside settings */
.settings-card .select2-container--default .select2-selection--multiple {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  min-height: 40px;
  padding: 4px 8px;
}
.settings-card .select2-container--default .select2-selection--multiple:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.settings-card .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 6px;
  color: #7c3aed;
  font-size: 12px;
  padding: 2px 8px;
}
/* Responsive */
@media (max-width: 992px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-sidebar-sticky {
    position: static;
  }
  .settings-sidebar .col-md-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}
@media (max-width: 576px) {
  .settings-container {
    padding: 0 12px;
  }
  .settings-card-body {
    padding: 16px;
  }
  .settings-row-2,
  .settings-row-3 {
    grid-template-columns: 1fr;
  }
  .settings-header {
    margin-bottom: 20px;
  }
  .settings-title {
    font-size: 20px;
  }
  .settings-tabs {
    gap: 2px;
    padding: 3px;
    border-radius: 12px;
  }
  .settings-tab {
    padding: 8px 6px;
    font-size: 11px;
    gap: 4px;
  }
  .settings-tab span {
    display: none;
  }
  .settings-tab i {
    font-size: 18px;
  }
}

/* ===== Dashboard Page ===== */
.dash-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.dash-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}
.dash-stat-card:hover {
  border-color: #e5e7eb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transform: translateY(-1px);
}
.dash-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #7c3aed;
  font-size: 18px;
  flex-shrink: 0;
}
.dash-stat--primary .dash-stat-icon {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #7c3aed;
}
.dash-stat--green .dash-stat-icon {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
}
.dash-stat--blue .dash-stat-icon {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}
.dash-stat-info {
  min-width: 0;
  flex: 1;
}
.dash-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}
.dash-stat-label {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.4;
}
.dash-stat-link {
  color: #7c3aed;
  font-weight: 500;
}
.dash-stat-link:hover {
  color: #6d28d9;
  text-decoration: underline;
}

/* Revenue comparison */
.dash-revenue-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.dash-revenue-card {
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  position: relative;
}
.dash-revenue-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.dash-revenue-amount {
  font-size: 18px;
  font-weight: 700;
}
.dash-revenue--up .dash-revenue-amount {
  color: #059669;
}
.dash-revenue--down .dash-revenue-amount {
  color: #ef4444;
}
.dash-revenue-change {
  font-size: 12px;
  font-weight: 600;
}
.dash-revenue-label {
  font-size: 12px;
  color: #9ca3af;
}
.dash-revenue-hint {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 14px;
  color: #d1d5db;
  cursor: help;
}

/* Chart card */
.dash-chart-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  padding: 24px;
  margin-bottom: 20px;
}
.dash-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dash-chart-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}
.dash-chart-body {
  position: relative;
  height: 320px;
}

/* Tables */
.dash-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.dash-table-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dash-table-header {
  padding: 16px 20px 12px;
}
.dash-table-header h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
}
.dash-table thead th {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  background: #f9fafb;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
}
.dash-table tbody td {
  padding: 10px 16px;
  font-size: 13px;
  color: #4b5563;
  border-bottom: 1px solid #f9fafb;
  vertical-align: middle;
}
.dash-table tbody tr:hover {
  background: #fafafa;
}
.dash-user-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-user-cell img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dash-user-name {
  font-weight: 500;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.dash-user-name:hover {
  color: #7c3aed;
}
.dash-msg-icon {
  color: #9ca3af;
  font-size: 14px;
  flex-shrink: 0;
}
.dash-msg-icon:hover {
  color: #7c3aed;
}
.dash-msg-link {
  color: #9ca3af;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: auto;
}
.dash-msg-link:hover {
  color: #7c3aed;
}
.dash-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.dash-badge--success {
  background: #ecfdf5;
  color: #059669;
}
.dash-badge--warning {
  background: #fffbeb;
  color: #d97706;
}
.dash-badge--danger {
  background: #fef2f2;
  color: #ef4444;
}
.dash-badge--info {
  background: #eff6ff;
  color: #2563eb;
}
.dash-table-footer {
  padding: 12px 20px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}
.dash-table-footer a {
  font-size: 13px;
  font-weight: 500;
  color: #7c3aed;
}
.dash-table-footer a:hover {
  color: #6d28d9;
}
@media (max-width: 992px) {
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-tables {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .dash-container {
    padding: 0 12px;
  }
  .dash-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dash-revenue-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dash-stat-card {
    padding: 14px 16px;
    border-radius: 12px;
  }
  .dash-stat-value {
    font-size: 18px;
  }
  .dash-chart-card {
    padding: 16px;
    border-radius: 12px;
  }
  .dash-chart-body {
    height: 240px;
  }
  .dash-table-card {
    border-radius: 12px;
  }
}

/* ===== Notifications Page ===== */
.noty-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.noty-toolbar-left {
  flex: 1;
  min-width: 0;
}
.noty-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.noty-filter {
  appearance: none;
  -webkit-appearance: none;
  background: #f3f4f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 7px 32px 7px 12px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}
.noty-filter:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.noty-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.noty-action-btn:hover {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}
.noty-action-btn--danger:hover {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fecaca;
}

/* Notification cards */
.noty-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  margin-bottom: 8px;
  transition: all 0.15s ease;
}
.noty-card:hover {
  border-color: #e5e7eb;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.noty-card-avatar {
  flex-shrink: 0;
}
.noty-avatar-link img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f3f4f6;
}
.noty-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #7c3aed;
  font-size: 20px;
}
.noty-icon-circle svg {
  width: 24px;
  height: 24px;
}
.noty-card-body {
  flex: 1;
  min-width: 0;
}
.noty-card-text {
  margin: 0 0 3px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4b5563;
}
.noty-username {
  font-weight: 600;
  color: #1f2937;
}
.noty-username:hover {
  color: #7c3aed;
}
.noty-link {
  color: #7c3aed;
  font-weight: 500;
}
.noty-link:hover {
  color: #6d28d9;
  text-decoration: underline;
}
.noty-time {
  font-size: 12px;
  color: #9ca3af;
}

/* Empty state */
.noty-empty {
  text-align: center;
  padding: 60px 20px;
}
.noty-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #8b5cf6;
  font-size: 32px;
  margin-bottom: 16px;
}
.noty-empty h4 {
  font-weight: 500;
  color: #6b7280;
  font-size: 16px;
}

/* Notification settings modal */
.noty-modal {
  border-radius: 18px !important;
  border: none !important;
  overflow: hidden;
}
.noty-modal-inner {
  padding: 24px;
}
.noty-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.noty-modal-header h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}
.noty-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}
.noty-modal-close:hover {
  background: #e5e7eb;
  color: #374151;
}
.noty-switches-section {
  margin-bottom: 20px;
}
.noty-switches-section .custom-control {
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f3f4f6;
}
.noty-switches-section .custom-control:last-child {
  border-bottom: none;
}
.noty-switches-section .custom-control-label {
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
}
.noty-section-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f3f4f6;
}
.noty-push-warning {
  display: block;
  margin-top: 10px;
  padding: 8px 12px;
  background: #fffbeb;
  border-radius: 8px;
  color: #92400e;
  font-size: 12px;
  font-weight: 500;
}
.noty-switches-section .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #8b5cf6;
  border-color: #8b5cf6;
}
/* Notifications page pagination */
.settings-main .pagination {
  justify-content: center;
  margin-top: 16px;
}
.settings-main .page-link {
  border-radius: 8px;
  margin: 0 2px;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  padding: 6px 12px;
}
.settings-main .page-item.active .page-link {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border-color: transparent;
}

@media (max-width: 576px) {
  .noty-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
  }
  .noty-filter {
    width: 100%;
  }
  .noty-card {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 12px;
  }
  .noty-avatar-link img,
  .noty-icon-circle {
    width: 40px;
    height: 40px;
  }
  .noty-icon-circle {
    font-size: 16px;
  }
  .noty-card-text {
    font-size: 13px;
  }
  .noty-modal-inner {
    padding: 18px;
  }
}

/* ===== Post Detail Page ===== */
.post-detail-page {
  padding-top: 110px;
  padding-bottom: 40px;
  min-height: 100vh;
}
.post-detail-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.post-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.post-detail-main {
  min-width: 0;
}
.post-detail-main .card-updates {
  border-radius: 18px !important;
  border: 1px solid #f0f0f0 !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06) !important;
  overflow: hidden;
}
.post-detail-empty {
  text-align: center;
  padding: 60px 24px;
  color: #9ca3af;
}
.post-detail-empty i {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}
.post-detail-sidebar {
  min-width: 0;
}
.post-detail-sidebar-sticky {
  position: sticky;
  top: 110px;
}
/* Author card */
.post-author-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.post-author-avatar-link {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}
.post-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
  transition: transform 0.2s;
}
.post-author-avatar-link:hover .post-author-avatar {
  transform: scale(1.05);
}
.post-author-online {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #2dce89;
  border: 3px solid #fff;
  border-radius: 50%;
}
.post-author-info {
  margin-bottom: 14px;
}
.post-author-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  margin-bottom: 2px;
}
.post-author-name:hover {
  color: #8b5cf6;
  text-decoration: none;
}
.post-author-verified {
  color: #8b5cf6;
  font-size: 14px;
  margin-left: 2px;
}
.post-author-username {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 4px;
}
.post-author-profession {
  display: block;
  font-size: 12px;
  color: #6b7280;
}
.post-author-profile-btn {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}
.post-author-profile-btn:hover {
  opacity: 0.9;
  color: #fff;
  text-decoration: none;
}
.post-author-profile-btn:active {
  transform: scale(0.98);
}
/* Post detail sidebar explore creators */
.post-detail-sidebar .explore-cr-grid {
  grid-template-columns: 1fr 1fr;
}
/* Responsive */
@media (max-width: 768px) {
  .post-detail-page {
    padding-top: 80px;
    padding-bottom: 24px;
  }
  .post-detail-container {
    padding: 0 12px;
  }
  .post-detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .post-detail-sidebar-sticky {
    position: static;
  }
  .post-author-card {
    padding: 18px;
  }
}
/* ===== End Post Detail Page ===== */

/* Compact post header */
.card-updates .media .avatarUser {
  width: 40px !important;
  height: 40px !important;
}
.card-updates .media .mr-3 {
  margin-right: 0.5rem !important;
}
.card-updates .media-body h5 {
  font-size: 14px;
  line-height: 1.3;
}
.card-updates .media-body h5 a {
  font-weight: 600;
}
.card-updates .media-body h5 .verified i {
  font-size: 13px;
}
.card-updates .media-body h5 .font-14 {
  font-size: 12px !important;
}
.card-updates .media-body .type-post {
  font-size: 11px;
}
.card-updates .post-time-corner {
  position: absolute;
  top: 2px;
  right: 8px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-updates .media-body h5:has(.float-right) ~ .post-time-corner {
  right: 28px;
}
.card-updates .media-body h5 .float-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  float: none !important;
}
/* Modern dropdown menus */
.card-updates .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 6px;
  min-width: 200px;
  animation: dropdownFadeIn 0.15s ease;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px) !important; }
  to { opacity: 1; transform: translateY(0) !important; }
}
.card-updates .dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #374151;
  transition: background 0.15s;
  margin-bottom: 2px;
}
.card-updates .dropdown-menu .dropdown-item:last-child {
  margin-bottom: 0;
}
.card-updates .dropdown-menu .dropdown-item:hover {
  background: #f3f4f6;
  color: #111827;
}
.card-updates .dropdown-menu .dropdown-item i {
  font-size: 14px;
  width: 18px;
  text-align: center;
}
/* Comment dropdown */
.container-comments .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 6px;
  min-width: 180px;
  animation: dropdownFadeIn 0.15s ease;
}
.container-comments .dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #374151;
  transition: background 0.15s;
  margin-bottom: 2px;
}
.container-comments .dropdown-menu .dropdown-item:last-child {
  margin-bottom: 0;
}
.container-comments .dropdown-menu .dropdown-item:hover {
  background: #f3f4f6;
  color: #111827;
}

/* Post action buttons */
.card-updates h4 {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.25rem !important;
  font-size: 0;
}
.card-updates h4 .pulse-btn,
.card-updates h4 > span,
.card-updates h4 > a {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  color: #718096 !important;
}
.card-updates h4 .post-action-btn {
  width: auto;
  padding: 0 10px;
  border-radius: 18px;
}
.card-updates h4 .post-action-count:not(:empty) {
  margin-left: 4px;
}
.card-updates h4 .post-action-count {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}
.card-updates h4 .post-views-count {
  font-size: 14px;
}
.card-updates h4 .pulse-btn:hover,
.card-updates h4 > a:hover {
  background: #f7f7f9;
  color: #4a5568 !important;
}
.card-updates h4 .pulse-btn.active,
.card-updates h4 .btnLike.active {
  color: #e53e3e !important;
}
.card-updates h4 .pulse-btn.text-primary,
.card-updates h4 a.text-primary {
  color: #5e72e4 !important;
}
.card-updates h4 .float-right {
  margin-left: auto !important;
  float: none !important;
}
.card-updates h4 .mr-14px {
  margin-right: 2px !important;
}
.card-updates h4 .bi-coin {
  width: 18px;
  height: 18px;
}
.card-updates h4 .d-inline {
  display: none !important;
}
.card-updates h4 .modal {
  font-size: 14px;
}
/* Post text */
.card-updates .truncated {
  font-size: 14px;
  line-height: 1.5;
}
.card-updates .link-border {
  font-size: 13px;
}
/* Locked content modern */
.content-locked-modern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;Н
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.content-locked-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  width: 100%;
}
.content-locked-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.content-locked-icon i {
  font-size: 20px;
  color: #fff;
}
.content-locked-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 320px;
  height: 44px;
  padding: 0 24px;
  border-radius: 22px;
  box-sizing: border-box;
  line-height: 44px;
  background: rgba(255,255,255,0.95);
  color: #1a1a2e !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none !important;
}
.content-locked-btn:hover {
  background: #fff;
  transform: translateY(-1px);
  color: #1a1a2e !important;
  text-decoration: none !important;
}
.content-locked-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.content-locked-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.content-locked-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  backdrop-filter: blur(4px);
}
.content-locked-tag .quality-video {
  background: rgba(255,255,255,0.2);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

/* =============================================
   WALLET PAGE
   ============================================= */

/* Alerts */
.wallet-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wallet-alert--danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.wallet-alert--success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Balance card */
.wallet-balance-card {
  position: relative;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  border-radius: 20px;
  padding: 32px 28px;
  color: #fff;
  overflow: hidden;
  margin-bottom: 24px;
}
.wallet-balance-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wallet-balance-bg svg {
  width: 100%;
  height: 100%;
}
.wallet-balance-content {
  position: relative;
  z-index: 1;
}
.wallet-balance-label {
  font-size: 13px;
  opacity: 0.8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.wallet-balance-amount {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}
.wallet-balance-currency {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 4px;
  vertical-align: middle;
}
.wallet-balance-equiv {
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 16px;
}
.wallet-transfer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 12px;
  backdrop-filter: blur(4px);
}
.wallet-transfer-btn:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
  text-decoration: none;
}
.wallet-balance-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 72px;
  opacity: 0.1;
  pointer-events: none;
}

/* Sections */
.wallet-section {
  margin-bottom: 28px;
}
.wallet-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}
.wallet-section-title i {
  color: #8b5cf6;
  font-size: 18px;
}

/* Amount input */
.wallet-amount-wrap {
  margin-bottom: 20px;
}
.wallet-amount-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wallet-amount-input-row {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wallet-amount-input-row:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.wallet-amount-symbol {
  padding: 10px 12px 10px 16px;
  font-size: 22px;
  font-weight: 700;
  color: #94a3b8;
}
.wallet-amount-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  padding: 10px 16px 10px 4px;
  outline: none;
  min-width: 0;
}
.wallet-amount-input::placeholder {
  color: #cbd5e1;
  font-weight: 500;
}
.wallet-amount-hint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
}

/* Quick amount buttons */
.wallet-quick-amounts {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.wallet-quick-btn {
  padding: 8px 18px;
  border: 2px solid #e2e8f0;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.wallet-quick-btn:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: #faf5ff;
}
.wallet-quick-btn.active {
  border-color: #8b5cf6;
  background: #8b5cf6;
  color: #fff;
}

/* Fee breakdown */
.wallet-fee-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}
.wallet-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: #64748b;
}
.wallet-fee-total {
  border-top: 1px solid #e2e8f0;
  margin-top: 6px;
  padding-top: 10px;
  font-size: 15px;
  color: #1e293b;
  font-weight: 600;
}

/* Payment methods */
.wallet-payments-section {
  margin-bottom: 24px;
}
.wallet-payments-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wallet-pay-option {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.wallet-pay-option:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
}
.wallet-pay-option.active {
  border-color: #8b5cf6;
  background: #faf5ff;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.wallet-pay-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wallet-pay-option-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.wallet-pay-icon {
  font-size: 20px;
  color: #8b5cf6;
  width: 28px;
  text-align: center;
}
.wallet-pay-logo {
  max-height: 24px;
  width: auto;
  object-fit: contain;
}
.wallet-pay-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.wallet-pay-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-left: -4px;
}
.wallet-pay-fee {
  font-size: 11px;
  color: #8b5cf6;
  background: #f3f0ff;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}

/* Bank transfer details */
.wallet-bank-details {
  margin-bottom: 8px;
}
.wallet-bank-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.wallet-bank-info h6 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
}
.wallet-bank-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
.wallet-bank-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  color: #1e293b;
}
.wallet-bank-total small {
  color: #94a3b8;
  margin-left: 4px;
}
.wallet-bank-upload {
  text-align: center;
  padding: 16px;
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
}
.wallet-bank-upload small {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  margin-top: 6px;
}
.wallet-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.wallet-upload-btn:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
}

/* Submit section */
.wallet-submit-section {
  margin-top: 4px;
}
.wallet-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  margin-bottom: 16px;
}
.wallet-terms-check input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #8b5cf6;
  flex-shrink: 0;
}
.wallet-terms-check a {
  color: #8b5cf6;
  font-weight: 600;
}
.wallet-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(139,92,246,0.3);
}
.wallet-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139,92,246,0.4);
}
.wallet-submit-btn:active {
  transform: translateY(0);
}

/* Invoice link */
.wallet-invoice-link {
  color: #8b5cf6;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
}
.wallet-invoice-link:hover {
  color: #7c3aed;
  text-decoration: underline;
}

/* Fee note */
.wallet-fee-note {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  margin-top: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .wallet-balance-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .wallet-balance-amount {
    font-size: 32px;
  }
  .wallet-balance-icon {
    font-size: 56px;
    right: 16px;
  }
  .wallet-amount-input {
    font-size: 22px;
  }
  .wallet-amount-symbol {
    font-size: 18px;
  }
  .wallet-quick-btn {
    padding: 7px 14px;
    font-size: 13px;
  }
}

/* ===================== Verify Account ===================== */
.verify-status-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 20px;
}
.verify-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 22px;
  flex-shrink: 0;
}
.verify-status-body h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}
.verify-status-body p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.verify-status-body a {
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}
.verify-status-body a:hover {
  text-decoration: underline;
}

/* Warning (avatar) */
.verify-status--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.verify-status--warning .verify-status-icon {
  background: #fef3c7;
  color: #d97706;
}
.verify-status--warning .verify-status-body h4,
.verify-status--warning .verify-status-body p {
  color: #92400e;
}
.verify-status--warning .verify-status-body a {
  color: #d97706;
}

/* Info */
.verify-status--info {
  background: #f0f5ff;
  border: 1px solid #c7d2fe;
}
.verify-status--info .verify-status-icon {
  background: #e0e7ff;
  color: #6366f1;
}
.verify-status--info .verify-status-body h4,
.verify-status--info .verify-status-body p {
  color: #3730a3;
}

/* Pending */
.verify-status--pending {
  background: #fefce8;
  border: 1px solid #fde68a;
}
.verify-status--pending .verify-status-icon {
  background: #fef9c3;
  color: #ca8a04;
}
.verify-status--pending .verify-status-body h4 {
  color: #854d0e;
}

/* Danger / Rejected */
.verify-status--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.verify-status--danger .verify-status-icon {
  background: #fee2e2;
  color: #dc2626;
}
.verify-status--danger .verify-status-body h4 {
  color: #991b1b;
}

/* Success / Verified */
.verify-status--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.verify-status--success .verify-status-icon {
  background: #dcfce7;
  color: #16a34a;
}
.verify-status--success .verify-status-body h4 {
  color: #166534;
}

/* Verify form card */
.verify-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
}
.verify-form-group {
  margin-bottom: 20px;
}
.verify-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}
.verify-form-label i {
  color: #8b5cf6;
  margin-right: 4px;
  width: 16px;
  text-align: center;
}
.verify-form-select,
.verify-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.verify-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.verify-form-select:focus,
.verify-form-input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
  background: #fff;
}
.verify-form-hint {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .verify-form-card {
    padding: 20px 16px;
  }
  .verify-status-card {
    padding: 16px;
    gap: 12px;
  }
  .verify-status-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ===================== Conversations Settings ===================== */
.conv-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.conv-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px;
}
.conv-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}
.conv-switch-row + .conv-switch-row {
  border-top: 1px solid #f1f5f9;
}
.conv-switch-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.conv-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: #f0f5ff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  font-size: 13px;
  color: #3730a3;
  margin-bottom: 12px;
}
.conv-info-banner i {
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .conv-card {
    padding: 10px 12px;
  }
  .conv-switch-row {
    gap: 12px;
  }
}

/* ===================== Subscription Plans ===================== */
.sub-plans-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.sub-plan-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}
.sub-plan-card:hover {
  border-color: #cbd5e1;
}
.sub-plan-card--primary {
  border-color: #c4b5fd;
  background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
}
.sub-plan-card--primary:hover {
  border-color: #8b5cf6;
}
.sub-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.sub-plan-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}
.sub-plan-name i {
  color: #8b5cf6;
  font-size: 16px;
}
.sub-plan-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #7c3aed;
  background: #ede9fe;
  padding: 3px 10px;
  border-radius: 8px;
}
.sub-plan-price .wallet-amount-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0;
  margin-bottom: 0;
  transition: border-color 0.2s;
}
.sub-plan-price .wallet-amount-wrap:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.08);
}
.sub-plan-price .wallet-amount-symbol {
  padding: 8px 10px;
  font-size: 15px;
  font-weight: 700;
  color: #94a3b8;
  flex-shrink: 0;
}
.sub-plan-price .wallet-amount-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  padding: 8px 12px;
  outline: none;
  min-width: 0;
}
.sub-plan-price .wallet-amount-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.sub-plan-price .wallet-amount-input::placeholder {
  color: #cbd5e1;
}
.sub-plan-error {
  display: block;
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .sub-plan-card {
    padding: 8px 10px;
  }
}
.sub-plan-savings {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 6px;
}
.sub-plan-savings:empty {
  display: none;
}

/* ============================================
   PAYOUT METHOD TILES
   ============================================ */
.payout-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.payout-method-tile {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  transition: all 0.2s ease;
  cursor: pointer;
  overflow: hidden;
}

.payout-method-tile:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.payout-method-tile--active {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #faf5ff, #ede9fe);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

.payout-radio-hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.payout-tile-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  cursor: pointer;
  min-height: 90px;
  position: relative;
}

.payout-tile-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.payout-tile-icon img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.payout-tile-name {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  text-align: center;
  margin-top: 2px;
}

.payout-method-tile--active .payout-tile-name {
  color: #7c3aed;
}

.payout-tile-check {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 18px;
  color: #8b5cf6;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.payout-method-tile--active .payout-tile-check {
  opacity: 1;
}

.payout-fees-note {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Payout form panels */
.payout-form-panel {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  animation: panelSlideIn 0.3s ease;
}

@keyframes panelSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.payout-form-title {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payout-form-title i {
  color: #8b5cf6;
}

.payout-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
}

.payout-field-hint {
  font-size: 12px;
  color: #9ca3af;
  margin: 4px 0 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Crypto network selector */
.crypto-network-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.crypto-net-option {
  cursor: pointer;
  position: relative;
}

.crypto-net-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.crypto-net-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  background: #fff;
  transition: all 0.2s ease;
}

.crypto-net-badge small {
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
}

.crypto-net-option:hover .crypto-net-badge {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.crypto-net-option--active .crypto-net-badge {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #7c3aed;
}

.crypto-net-option--active .crypto-net-badge small {
  color: #7c3aed;
}

/* Dark mode adjustments */
body.dark-mode .payout-method-tile {
  border-color: #374151;
  background: #1f2937;
}

body.dark-mode .payout-method-tile:hover {
  border-color: #7c3aed;
  background: #2d1b69;
}

body.dark-mode .payout-method-tile--active {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #2d1b69, #1e1b4b);
}

body.dark-mode .payout-tile-name {
  color: #d1d5db;
}

body.dark-mode .payout-method-tile--active .payout-tile-name {
  color: #c4b5fd;
}

body.dark-mode .payout-form-panel {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .payout-form-title {
  color: #e5e7eb;
}

body.dark-mode .payout-field-label {
  color: #d1d5db;
}

body.dark-mode .crypto-net-badge {
  border-color: #374151;
  color: #d1d5db;
  background: #1f2937;
}

body.dark-mode .crypto-net-option:hover .crypto-net-badge {
  border-color: #7c3aed;
  background: #2d1b69;
}

body.dark-mode .crypto-net-option--active .crypto-net-badge {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #2d1b69, #1e1b4b);
  color: #c4b5fd;
}

body.dark-mode .crypto-net-option--active .crypto-net-badge small {
  color: #c4b5fd;
}

@media (max-width: 576px) {
  .payout-methods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .payout-tile-label {
    padding: 14px 8px;
    min-height: 75px;
  }
  .payout-form-panel {
    padding: 14px;
  }
}
