.community-page {
  background-color: #F3F4F7;
  min-height: 100vh;
}

.community-header {
  background-color: #14171F;
  padding: 20px 0;
}
@media (max-width: 991px) {
  .community-header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #E3E6ED;
  }
}
.community-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.community-header h1,
.community-header .community-header-title {
  color: #fff;
  font-family: Figtree, serif;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 0 15px;
}
.community-header h1 .community-category-label,
.community-header .community-header-title .community-category-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  margin-top: 2px;
  line-height: 1.2;
}
@media (max-width: 991px) {
  .community-header h1,
  .community-header .community-header-title {
    color: #2F3137;
    font-size: 24px;
    margin: 0;
  }
}
.community-header .btn-topics {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  color: #2F3137;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
@media (min-width: 992px) {
  .community-header .btn-topics {
    display: none;
  }
}
.community-header .btn-topics i {
  color: #6c757d;
}

.community-container {
  padding: 1px 0;
}

.community-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}
@media (max-width: 991px) {
  .community-layout {
    grid-template-columns: 1fr;
  }
}

.community-sidebar {
  background: #fff;
  border-radius: 8px;
  padding: 32px 12px 24px 12px;
  max-height: calc(100vh - 80px - 20px);
  overflow-y: auto;
  position: sticky;
  top: 80px;
  z-index: 99;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.community-sidebar::-webkit-scrollbar {
  display: none;
}
@media (max-width: 991px) {
  .community-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    border-radius: 0;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .community-sidebar.active {
    display: block;
    animation: slideInLeft 0.3s ease;
  }
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.sidebar-overlay.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.sidebar-header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #E3E6ED;
}
@media (max-width: 991px) {
  .sidebar-header-mobile {
    display: flex;
  }
}
.sidebar-header-mobile h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  font-family: Figtree, serif;
}
.sidebar-header-mobile .btn-close-sidebar {
  background: none;
  border: none;
  font-size: 18px;
  color: #6c757d;
  cursor: pointer;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.sidebar-menu-item {
  margin-bottom: 5px;
}
.sidebar-menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 6px;
  color: #2F3137;
  text-decoration: none;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s;
}
.sidebar-menu-item a:hover {
  background-color: #F3F4F7;
}
.sidebar-menu-item.active a {
  background-color: #FFF1E5;
  border-radius: 12px;
}

.sidebar-section {
  border-top: 1px solid #E3E6ED;
  padding: 20px 15px;
}

.sidebar-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: #778698;
  cursor: pointer;
}

.sidebar-topics {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.sidebar-topic-item {
  margin-bottom: 3px;
}
.sidebar-topic-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-radius: 6px;
  color: #2F3137;
  text-decoration: none;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s;
}
.sidebar-topic-item a .topic-count {
  margin-left: auto;
  color: #778698;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
}
.sidebar-topic-item a:hover {
  background-color: #F3F4F7;
}
.sidebar-topic-item.active a {
  background-color: #F3F4F7;
  font-weight: 600;
}

.community-content {
  padding: 30px 10px;
  min-width: 0;
}
@media (max-width: 991px) {
  .community-content {
    padding: 20px 0 40px;
  }
}

.community-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.community-content-title {
  font-family: Figtree, serif;
  font-size: 24px;
  font-weight: 400;
  color: #2F3137;
  margin: 0;
}

.btn-start-conversation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #2F3137;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-start-conversation:hover {
  background-color: black;
  color: #fff;
}

.community-filters {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.community-filters .filters-left {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.community-filters .filters-right {
  display: flex;
  align-items: center;
}

.filters-bottomsheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
.filters-bottomsheet-overlay.open {
  display: block;
}

.filters-bottomsheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 85vh;
  overflow-y: auto;
}
.filters-bottomsheet.open {
  transform: translateY(0);
}
.filters-bottomsheet-handle {
  width: 36px;
  height: 4px;
  background: #E0E0E0;
  border-radius: 2px;
  margin: 12px auto 0;
}
.filters-bottomsheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #E3E6ED;
}
.filters-bottomsheet-title {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
}
.filters-bottomsheet-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #6c757d;
  font-size: 16px;
}
.filters-bottomsheet-body {
  padding: 16px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.filters-bottomsheet-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filters-bottomsheet-label {
  font-family: Figtree, serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
}
.filters-bottomsheet-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filters-bottomsheet-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  text-decoration: none;
  transition: background 0.15s;
}
.filters-bottomsheet-option svg, .filters-bottomsheet-option i {
  color: #6c757d;
  flex-shrink: 0;
}
.filters-bottomsheet-option:hover {
  background: #F3F4F7;
}
.filters-bottomsheet-option.active {
  background: #F3F4F7;
  color: #14171F;
  font-weight: 600;
}
.filters-bottomsheet-option.active svg path, .filters-bottomsheet-option.active svg circle {
  stroke: #14171F;
}

.filter-dropdown {
  position: relative;
}
.filter-dropdown .filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-dropdown .filter-btn:hover {
  background-color: #F5F5F4;
}
.filter-dropdown .filter-btn i {
  font-size: 12px;
  color: #6c757d;
  transition: transform 0.2s;
}
.filter-dropdown.open .filter-btn i, .filter-dropdown.show .filter-btn i {
  transform: rotate(180deg);
}
.filter-dropdown .filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 200px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  padding: 8px 0;
}
.filter-dropdown .filter-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #2F3137;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
}
.filter-dropdown .filter-dropdown-menu a:hover {
  background-color: #F3F4F7;
}
.filter-dropdown .filter-dropdown-menu a.active {
  background-color: #F3F4F7;
  font-weight: 600;
}
.filter-dropdown .filter-dropdown-menu a i {
  width: 16px;
  text-align: center;
  color: #6c757d;
}
.filter-dropdown .filter-dropdown-menu.show {
  display: block;
}
.filter-dropdown.open .filter-dropdown-menu {
  display: block;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  overflow: hidden;
}
.search-box .search-input {
  border: none;
  padding: 10px 16px;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #2F3137;
  width: 250px;
  outline: none;
}
.search-box .search-input::-moz-placeholder {
  color: #6c757d;
}
.search-box .search-input::placeholder {
  color: #6c757d;
}
.search-box .search-btn {
  padding: 10px 16px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.2s;
}
.search-box .search-btn:hover {
  color: #2F3137;
}

.d-none {
  display: none !important;
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: flex !important;
  }
}

.community-actions-bar {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 8px;
}
.community-actions-bar .actions-left {
  display: contents;
}
.community-actions-bar .btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 13px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  white-space: nowrap;
  flex: 1;
}
.community-actions-bar .btn-action i {
  font-size: 12px;
  color: #6c757d;
}
.community-actions-bar .btn-action.active {
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.community-actions-bar .btn-new-conversation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background-color: #14171F;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  flex: 1;
}
.community-actions-bar .btn-new-conversation:hover {
  background-color: #1e232f;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.related-posts {
  margin-top: 32px;
  padding: 15px 25px;
}
@media (max-width: 767px) {
  .related-posts {
    padding: 10px 12px;
    margin-bottom: 32px;
  }
}
.related-posts .related-posts-title {
  font-family: Figtree, serif;
  font-size: 20px;
  font-weight: 600;
  color: #2F3137;
  margin-bottom: 16px;
}
.related-posts .related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.post-card {
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}
.post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.post-card-link {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  padding: 15px;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 767px) {
  .post-card-link {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 12px;
  }
}

.post-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
}
.post-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.post-card-image.post-card-image-placeholder {
  background-color: #F3F4F7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-image.post-card-image-placeholder i {
  font-size: 24px;
  color: #6c757d;
}
.post-card-image.post-card-image-icon {
  background-color: #F3F4F7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-image.post-card-image-icon svg {
  width: 32px;
  height: 32px;
}
.post-card-image.post-card-image-icon img {
  position: static;
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}

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

.post-card-header {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
}
.post-card-header .tag-category {
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.post-card-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.post-card-user .user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.post-card-user .user-name {
  font-size: 13px;
  font-weight: 500;
  color: #2F3137;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
@media (max-width: 768px) {
  .post-card-user .user-name {
    max-width: 90px;
  }
}

.post-card-date {
  font-size: 12px;
  color: #6c757d;
  white-space: nowrap;
}
@media (max-width: 991px) {
  .post-card-date {
    display: none;
  }
}

.post-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  background-color: #F3F4F7;
  white-space: nowrap;
  flex-shrink: 0;
}
.tag.tag-custom {
  background-color: #FFF1E5;
  color: #a05a00;
}

.md-tag-custom {
  background-color: #FFF1E5 !important;
  color: #a05a00 !important;
}

.post-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0 0 8px 0;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 767px) {
  .post-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
  }
}

.post-card-excerpt {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 767px) {
  .post-card-excerpt {
    display: none;
  }
}

.post-card-wallet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #17a2b8;
  text-decoration: none;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.post-card-wallet-link:hover {
  color: #0d8599;
  text-decoration: underline;
}
.post-card-wallet-link svg {
  flex-shrink: 0;
}

.post-card-footer {
  padding: 10px 20px;
}
@media (max-width: 767px) {
  .post-card-footer {
    padding: 0 15px 15px 15px;
  }
}

.post-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .post-card-actions {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .post-card-actions::-webkit-scrollbar {
    display: none;
  }
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #F3F4F7;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.action-btn:hover {
  background-color: #E8E8E7;
}
@media (max-width: 767px) {
  .action-btn {
    padding: 10px 12px;
    gap: 6px;
  }
}
@media (max-width: 767px) {
  .action-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 767px) {
  .like-btn {
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .reply-btn,
  .share-btn {
    padding: 10px;
  }
  .reply-btn span,
  .share-btn span {
    display: none;
  }
}

.comments-btn .comments-icon {
  display: none;
}
.comments-btn .comments-count-mobile {
  display: none;
}
@media (max-width: 767px) {
  .comments-btn {
    padding: 10px;
  }
  .comments-btn .comments-icon {
    display: inline-block;
  }
  .comments-btn .comments-label {
    display: none;
  }
  .comments-btn .comments-count-mobile {
    display: inline;
  }
  .comments-btn .comments-avatars {
    display: none;
  }
}

.comments-avatars,
.replies-avatars {
  display: flex;
  margin-left: 5px;
}
.comments-avatars .comment-avatar,
.comments-avatars .reply-avatar,
.replies-avatars .comment-avatar,
.replies-avatars .reply-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
}
.comments-avatars .comment-avatar:first-child,
.comments-avatars .reply-avatar:first-child,
.replies-avatars .comment-avatar:first-child,
.replies-avatars .reply-avatar:first-child {
  margin-left: 0;
}
.comments-avatars .comments-more,
.comments-avatars .replies-more,
.replies-avatars .comments-more,
.replies-avatars .replies-more {
  font-family: Figtree, serif;
  font-weight: 500;
  font-size: 9px;
  margin: 5px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
}
.empty-state .empty-state-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  background-color: #fff3e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state .empty-state-icon i {
  font-size: 32px;
  color: #ff9800;
}
.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2F3137;
  margin: 0 0 10px 0;
}
.empty-state p {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 20px 0;
}
.empty-state .btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: #14171F;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.empty-state .btn-primary:hover {
  background-color: black;
}

.pagination-container {
  text-align: center;
  margin-top: 30px;
}
.pagination-container .btn-load-more {
  padding: 12px 30px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 6px;
  font-size: 14px;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s;
}
.pagination-container .btn-load-more:hover {
  background-color: #F5F5F4;
}

.community-content-post {
  background-color: #fff;
  padding: 10px 10px;
  min-width: 0;
}

.post-detail {
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.post-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.post-detail-header .back-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #2F3137;
  text-decoration: none;
  transition: all 0.2s;
}
.post-detail-header .back-link:hover {
  background-color: #F3F4F7;
}
.post-detail-header .post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
@media (max-width: 767px) {
  .post-detail-header .post-author {
    gap: 8px;
  }
}
.post-detail-header .post-author .author-avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.post-detail-header .post-author .author-avatar--sm {
  width: 25px;
  height: 25px;
}
@media (max-width: 767px) {
  .post-detail-header .post-author .author-avatar {
    width: 25px;
    height: 25px;
  }
  .post-detail-header .post-author .author-avatar--sm {
    width: 25px;
    height: 25px;
  }
}
.post-detail-header .post-author .author-name {
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (max-width: 767px) {
  .post-detail-header .post-author .author-name {
    font-size: 12px;
  }
}
.post-detail-header .post-author .post-date {
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #778698;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .post-detail-header .post-author .post-date {
    display: none;
  }
}
.post-detail-header .post-author .tag-category {
  white-space: nowrap;
  flex-shrink: 0;
}
.post-detail-header .btn-share,
.post-detail-header .like-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: none;
  border: 1px solid #E3E6ED;
  border-radius: 6px;
  font-size: 13px;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.post-detail-header .btn-share:hover,
.post-detail-header .like-btn:hover {
  background-color: #F5F5F4;
}
@media (max-width: 767px) {
  .post-detail-header .btn-share,
  .post-detail-header .like-btn {
    padding: 8px;
    border: none;
    background: transparent;
  }
  .post-detail-header .btn-share .btn-text,
  .post-detail-header .like-btn .btn-text {
    display: none;
  }
}
@media (max-width: 767px) {
  .post-detail-header {
    gap: 10px;
  }
}

.post-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.ticker-box-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.ticker-box-tags .tag {
  font-size: 12px;
  padding: 3px 10px;
}

.ticker-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px;
  background-color: #F3F4F7;
  border-radius: 8px;
  margin-bottom: 20px;
}
.ticker-box .ticker-box-left {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  flex: 1;
  padding-right: 8px;
}
.ticker-box .ticker-logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  -o-object-fit: contain;
     object-fit: contain;
}
.ticker-box .ticker-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: #14171F;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ticker-box .ticker-info {
  min-width: 0;
}
.ticker-box .ticker-info .ticker-symbol {
  display: block;
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 500;
  color: #2F3137;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-box .ticker-info .ticker-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-family: Figtree, serif;
}
@media (max-width: 767px) {
  .ticker-box .ticker-info .ticker-price {
    gap: 6px 10px;
  }
}
.ticker-box .ticker-info .ticker-price .price {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ticker-box .ticker-info .ticker-price .variation {
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.ticker-box .ticker-info .ticker-price .variation.positive {
  color: #009974;
}
.ticker-box .ticker-info .ticker-price .variation.negative {
  color: #dc3545;
}
.ticker-box .ticker-info .ticker-price .period {
  color: #778698;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.ticker-box .ticker-box-right {
  display: flex;
  gap: 10px;
}
.ticker-box .ticker-box-right button, .ticker-box .ticker-box-right a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #DBDDE1;
  border-radius: 4px;
  color: #6c757d;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.ticker-box .ticker-box-right button:hover, .ticker-box .ticker-box-right a:hover {
  background-color: #F5F5F4;
  color: #2F3137;
}
.ticker-box .ticker-box-right .btn-favorite img {
  width: 16px;
  height: 14px;
}
.ticker-box .ticker-box-right .btn-favorite.active {
  color: #d3b583;
}

.post-title {
  font-family: Figtree, serif;
  font-size: 20px;
  font-weight: 500;
  color: #2F3137;
  margin: 0 0 16px 0;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-wallet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #17a2b8;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.post-wallet-link:hover {
  color: #0d8599;
  text-decoration: underline;
}
.post-wallet-link svg {
  flex-shrink: 0;
}

.post-content {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #2F3137;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-image {
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
  width: 100%;
}
.post-image__blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
}
.post-image__main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  z-index: 1;
}

.post-ticker-widget {
  margin-top: 20px;
}
.post-ticker-widget .ticker-widget-placeholder {
  background-color: #F3F4F7;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #6c757d;
}

.comments-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px 25px;
}
@media (max-width: 767px) {
  .comments-section {
    padding: 10px 12px;
  }
}

.comment-form-container {
  margin-bottom: 25px;
}

.comment-form .pw-comment-form-wrapper {
  position: relative;
  border: 1px solid #DBDDE1;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.comment-form .pw-comment-form-wrapper:focus-within {
  border-color: #14171F;
  box-shadow: 0 0 0 3px rgba(47, 49, 55, 0.1);
}
.comment-form .comment-textarea {
  width: 100%;
  min-height: 100px;
  padding: 15px;
  padding-bottom: 60px;
  border: none;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-weight: 400;
  font-size: 14px;
  resize: vertical;
  outline: none;
  background-color: transparent;
}
.comment-form .comment-textarea::-moz-placeholder {
  color: #98A2B3;
}
.comment-form .comment-textarea::placeholder {
  color: #98A2B3;
}
.comment-form .comment-form-actions {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.comment-form .comment-form-actions .btn-cancel {
  padding: 10px 20px;
  background-color: transparent;
  border: none;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s ease;
}
.comment-form .comment-form-actions .btn-cancel:hover {
  background-color: #F5F5F4;
}
.comment-form .comment-form-actions .btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.comment-form .comment-form-actions .btn-cancel:disabled:hover {
  background-color: transparent;
}
.comment-form .comment-form-actions .btn-submit {
  padding: 10px 20px;
  background-color: #2F3137;
  border: none;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.comment-form .comment-form-actions .btn-submit:hover {
  background-color: #1a1b1f;
}
.comment-form .comment-form-actions .btn-submit:active {
  transform: scale(0.98);
}

.comments-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #E3E6ED;
}
.comments-header > span {
  font-family: Figtree, serif;
  font-weight: 400;
  font-size: 14px;
  color: #2F3137;
}

.pw-comments-filter-dropdown {
  position: relative;
}

.pw-comments-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pw-comments-filter-btn:hover {
  background-color: #F5F5F4;
}
.pw-comments-filter-btn svg {
  width: 12px;
  height: 8px;
  flex-shrink: 0;
}

.pw-comments-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px;
  z-index: 100;
}
.pw-comments-filter-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pw-comments-filter-menu button:hover {
  background-color: #F5F5F4;
}
.pw-comments-filter-menu button.active {
  background-color: #E5EEFF;
  color: #003699;
  font-weight: 500;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item.depth-0 {
  background-color: #F3F4F7;
  padding: 16px;
  border-radius: 8px;
  position: relative;
}
@media (max-width: 767px) {
  .comment-item.depth-0 {
    padding: 12px;
  }
}

.comment-main {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 20px 0;
  position: relative;
}

.comment-avatar-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.comment-avatar-wrapper .author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background-color: #F3F4F7;
}
.comment-avatar-wrapper .avatar-line {
  position: absolute;
  top: 30px;
  bottom: -35px;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  background-color: #E3E6ED;
  z-index: 0;
}

.comment-body {
  min-width: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.comment-header .comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.comment-header .comment-author .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.comment-header .comment-author .author-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  white-space: nowrap;
}
.comment-header .comment-author .comment-date {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #778698;
  white-space: nowrap;
}
.comment-header .badge-best-answer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #009974;
  background-color: #E3FCF8;
  white-space: nowrap;
}
.comment-header .badge-best-answer::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #009974;
  border-radius: 50%;
}
.comment-header .badge-best-answer i {
  display: none;
}

.comment-content {
  font-family: Figtree, serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #2F3137;
  margin-bottom: 12px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.comment-content p {
  margin: 0;
}

.btn-load-more-comments {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 6px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-load-more-comments:hover {
  background-color: #F3F4F7;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .comment-actions {
    gap: 5px;
  }
}
.comment-actions .action-btn {
  background-color: #ffffff;
  transition: all 0.2s;
}
.comment-actions .action-btn:hover {
  background-color: #F5F5F4;
}
@media (max-width: 767px) {
  .comment-actions .action-btn {
    background-color: #F3F4F7;
    border: 1px solid #E3E6ED;
    padding: 5px;
  }
}
@media (max-width: 767px) {
  .comment-actions .reply-btn span, .comment-actions .share-btn span {
    display: none;
  }
}

.reply-form-container {
  margin-top: 15px;
}
.reply-form-container .reply-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #E3E6ED;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
}
.reply-form-container .reply-textarea:focus {
  border-color: #14171F;
}
.reply-form-container .reply-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.reply-form-container .reply-form-actions .btn-cancel-reply {
  padding: 8px 16px;
  background: none;
  border: 1px solid #E3E6ED;
  border-radius: 6px;
  font-size: 12px;
  color: #2F3137;
  cursor: pointer;
}
.reply-form-container .reply-form-actions .btn-submit-reply {
  padding: 8px 16px;
  background-color: #14171F;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
}

.comment-replies {
  position: relative;
  margin-left: 17px;
  padding-left: 0;
  margin-top: -15px;
  padding-top: 15px;
}
.comment-replies .comment-item {
  position: relative;
  padding-left: 40px;
  padding-top: 0;
  border-radius: 0;
  background-color: transparent;
}
.comment-replies .comment-item.depth-1, .comment-replies .comment-item.depth-2 {
  padding-top: 0;
  padding-left: 40px;
}
.comment-replies .comment-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
  bottom: 0;
  width: 2px;
  background-color: #E3E6ED;
  z-index: 0;
}
.comment-replies .comment-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
  width: 55px;
  height: 54px;
  border-bottom: 2px solid #E3E6ED;
  border-left: 2px solid #E3E6ED;
  border-bottom-left-radius: 16px;
  z-index: 0;
}
.comment-replies .comment-item:last-child::before {
  display: none;
}
.comment-replies .comment-item .comment-avatar-wrapper .author-avatar {
  z-index: 1;
  position: relative;
}

.user-popup {
  position: absolute;
  z-index: 1000;
  width: 320px;
}
.user-popup .user-popup-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: 24px;
  width: 100%;
}
.user-popup .user-popup-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.user-popup .user-popup-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}
.user-popup .user-popup-avatar-wrapper .user-popup-crown {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #BA955F;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.user-popup .user-popup-avatar-wrapper .user-popup-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #BA955F;
}
.user-popup .user-popup-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}
.user-popup .user-popup-name {
  font-family: Figtree, serif;
  font-size: 18px;
  font-weight: 600;
  color: #2F3137;
}
.user-popup .user-popup-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 600;
}
.user-popup .user-popup-badge.pro {
  background: #E3CCAB;
  color: #2F3137;
}
.user-popup .user-popup-rank {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
}
.user-popup .user-popup-rank .user-popup-rank-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ECE9DF;
  border-radius: 50%;
}
.user-popup .user-popup-rank .user-popup-rank-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 600;
  color: #2F3137;
}
.user-popup .user-popup-rank .user-popup-rank-xp {
  font-family: Figtree, serif;
  font-size: 14px;
  color: #6c757d;
}
.user-popup .user-popup-rank .user-popup-rank-arrow {
  margin-left: auto;
  transition: transform 0.2s ease;
}
.user-popup .user-popup-rank.expanded .user-popup-rank-arrow {
  transform: rotate(180deg);
}
.user-popup .user-popup-gamification {
  display: none;
  padding: 16px 0;
  border-bottom: 1px solid #E3E6ED;
  margin-bottom: 16px;
  max-width: 100%;
  overflow: hidden;
}
.user-popup .user-popup-gamification.show {
  display: block;
}
.user-popup .gamification-levels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.user-popup .gamification-levels .level-current,
.user-popup .gamification-levels .level-next {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-popup .gamification-levels .level-current .level-icon,
.user-popup .gamification-levels .level-next .level-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ECE9DF;
  border-radius: 50%;
}
.user-popup .gamification-levels .level-current .level-name,
.user-popup .gamification-levels .level-next .level-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
}
.user-popup .gamification-levels .level-next .level-name {
  color: #BA955F;
}
.user-popup .gamification-progress {
  margin-bottom: 12px;
}
.user-popup .gamification-progress .progress-bar {
  height: 8px;
  background: #E3E6ED;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.user-popup .gamification-progress .progress-bar .progress-fill {
  height: 100%;
  background: #0D9488;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.user-popup .gamification-progress .progress-info {
  display: flex;
  justify-content: space-between;
  font-family: Figtree, serif;
  font-size: 12px;
  color: #6c757d;
}
.user-popup .gamification-progress .progress-info .progress-xp .xp-current {
  color: #2F3137;
  font-weight: 600;
}
.user-popup .gamification-missions .mission-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}
.user-popup .gamification-missions .mission-item .mission-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-popup .gamification-missions .mission-item .mission-icon.completed {
  color: #0D9488;
}
.user-popup .gamification-missions .mission-item .mission-icon.pending {
  color: #D1D5DB;
  background: #F3F4F6;
  border-radius: 50%;
}
.user-popup .gamification-missions .mission-item .mission-text {
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  line-height: 1.4;
}
.user-popup .user-popup-stats {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.user-popup .user-popup-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.user-popup .user-popup-stat .stat-label {
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
}
.user-popup .user-popup-stat .stat-value {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
}

.post-author {
  position: relative;
}
.post-author .author-name {
  cursor: pointer;
  transition: color 0.2s ease;
}
.post-author .author-name:hover {
  color: #2F3137;
}

.my-discussions-header {
  margin-bottom: 24px;
}
.my-discussions-header h2 {
  font-family: Figtree, serif;
  font-size: 24px;
  font-weight: 600;
  color: #2F3137;
  margin: 0;
}

.my-discussions-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid #E3E6ED;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .my-discussions-tabs {
    gap: 12px;
    margin-bottom: 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .my-discussions-tabs::-webkit-scrollbar {
    display: none;
  }
}
.my-discussions-tabs .tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .my-discussions-tabs .tab {
    padding: 12px 8px;
    font-size: 14px;
  }
  .my-discussions-tabs .tab .tab-icon {
    width: 18px;
    height: 18px;
  }
}
.my-discussions-tabs .tab .tab-icon {
  color: #6c757d;
  transition: color 0.2s ease;
}
.my-discussions-tabs .tab:hover {
  color: #2F3137;
}
.my-discussions-tabs .tab:hover .tab-icon {
  color: #2F3137;
}
.my-discussions-tabs .tab.active {
  color: #14171F;
  border-bottom-color: #14171F;
}
.my-discussions-tabs .tab.active .tab-icon {
  color: #14171F;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
}
.empty-state .empty-state-icon {
  margin-bottom: 24px;
}
.empty-state .empty-state-title {
  font-family: Figtree, serif;
  font-size: 20px;
  font-weight: 500;
  color: #2F3137;
  margin: 0 0 12px 0;
}
.empty-state .empty-state-text {
  font-family: Figtree, serif;
  font-size: 18px;
  font-weight: 400;
  color: #2F3137;
  line-height: 1.6;
  margin: 0 0 32px 0;
}
.empty-state .empty-state-btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
}

.my-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.my-post-card .post-card-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.my-post-card .post-card-header .post-card-user-info {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (max-width: 768px) {
  .my-post-card .post-card-header .post-card-user-info {
    display: none;
  }
}
.my-post-card .post-card-header .post-card-user-info .user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.my-post-card .post-card-header .post-card-user-info .user-meta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.my-post-card .post-card-header .post-card-user-info .user-meta .user-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
}
.my-post-card .post-card-header .post-card-user-info .user-meta .post-date {
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #6c757d;
}
.my-post-card .post-card-header .post-card-status-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 768px) {
  .my-post-card .post-card-header .post-card-status-actions {
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
    margin-left: auto;
  }
}
.my-post-card .post-card-header .post-card-status-actions .post-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.my-post-card .post-card-header .post-card-status-actions .post-status.status-pending {
  background: #FEF3C7;
  color: #B45309;
}
.my-post-card .post-card-header .post-card-status-actions .post-status.status-pending::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #B45309;
  border-radius: 50%;
}
.my-post-card .post-card-header .post-card-status-actions .post-status.status-approved {
  background: #D1FAE5;
  color: #047857;
}
.my-post-card .post-card-header .post-card-status-actions .post-status.status-rejected {
  background: #FEE2E2;
  color: #B91C1C;
}
.my-post-card .post-card-header .post-card-status-actions .btn-delete {
  padding: 6px;
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.my-post-card .post-card-header .post-card-status-actions .btn-delete:hover {
  color: #DC2626;
}
.my-post-card .post-card-header .post-card-status-actions .btn-delete:hover svg path {
  fill: #DC2626;
}

.my-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.my-comment-card {
  padding: 20px;
  background: white;
  border: 1px solid #E3E6ED;
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
}
.my-comment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.my-comment-card .my-comment-thread .comment-item.depth-0 {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}
.my-comment-card .my-comment-thread .comment-item.depth-0 > .comment-main {
  display: block;
  grid-template-columns: none;
  gap: 0;
}
.my-comment-card .my-comment-thread .author-avatar-placeholder {
  background: transparent;
  box-shadow: none;
  border: none;
  opacity: 0;
}
.my-comment-card .my-comment-thread .comment-item.depth-0 .avatar-line {
  display: none;
}
.my-comment-card .my-comment-thread .my-comment-original {
  padding: 16px;
  background: #F3F4F7;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.my-comment-card .my-comment-thread .my-comment-original-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}
.my-comment-card .my-comment-thread .my-comment-original-header .label {
  font-family: Figtree, serif;
  font-size: 13px;
  font-weight: 500;
  color: #6c757d;
  white-space: nowrap;
}
.my-comment-card .my-comment-thread .my-comment-original-header .post-author-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.my-comment-card .my-comment-thread .my-comment-original-header .post-author-mini img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.my-comment-card .my-comment-thread .my-comment-original-header .post-author-mini .author-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  white-space: nowrap;
}
.my-comment-card .my-comment-thread .my-comment-original-header .post-author-mini .post-date {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #778698;
  white-space: nowrap;
}
.my-comment-card .my-comment-thread .my-comment-original-title {
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}
.my-comment-card .my-comment-thread .my-comment-original-title:hover {
  color: #14171F;
}
.my-comment-card .my-comment-thread .comment-replies {
  margin-left: 0;
  padding-left: 0;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item {
  padding-left: 40px;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item .comment-main {
  display: grid !important;
  grid-template-columns: 24px 1fr !important;
  gap: 8px;
  padding: 0;
  align-items: start;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item .comment-avatar-wrapper {
  width: 24px;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item .comment-avatar-wrapper .author-avatar {
  margin: 0;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item::before {
  display: none;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item::after {
  content: "";
  position: absolute;
  left: 12px;
  top: -24px;
  width: 34px;
  height: 40px;
  border-bottom: 2px solid #E3E6ED;
  border-left: 2px solid #E3E6ED;
  border-bottom-left-radius: 12px;
  z-index: 0;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item .comment-body {
  border: 1px solid #E3E6ED;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item .comment-header {
  display: none;
}
.my-comment-card .my-comment-thread .comment-replies .comment-item .comment-content {
  margin-bottom: 12px;
}
.my-comment-card .my-comment-thread .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #F3F4F7;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}
.my-comment-card .my-comment-thread .action-btn:hover {
  background-color: #F5F5F4;
}
@media (max-width: 767px) {
  .my-comment-card .my-comment-thread .action-btn {
    padding: 5px;
  }
}
.my-comment-card .original-post {
  padding: 16px;
  background: #F9FAFB;
  border-radius: 8px;
  margin-bottom: 16px;
}
.my-comment-card .original-post .original-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.my-comment-card .original-post .original-post-header .label {
  font-family: Figtree, serif;
  font-size: 13px;
  font-weight: 500;
  color: #6c757d;
}
.my-comment-card .original-post .original-post-header .post-author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}
.my-comment-card .original-post .original-post-header .post-author-mini img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.my-comment-card .original-post .original-post-header .post-author-mini .author-name {
  font-family: Figtree, serif;
  font-size: 13px;
  font-weight: 500;
  color: #2F3137;
}
.my-comment-card .original-post .original-post-header .post-author-mini .post-date {
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
}
.my-comment-card .original-post .original-post-title {
  font-family: Figtree, serif;
  font-size: 15px;
  font-weight: 600;
  color: #2F3137;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}
.my-comment-card .original-post .original-post-title:hover {
  color: #14171F;
}
.my-comment-card .my-comment-content .comment-author {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.my-comment-card .my-comment-content .comment-author .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.my-comment-card .my-comment-content .comment-author .comment-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.my-comment-card .my-comment-content .comment-author .comment-text p {
  margin: 0;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #2F3137;
  line-height: 1.6;
}
.my-comment-card .my-comment-content .comment-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.create-header {
  margin-bottom: 24px;
}
.create-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Figtree, serif;
  font-size: 20px;
  font-weight: 500;
  color: #2F3137;
  text-decoration: none;
  transition: color 0.2s ease;
}
.create-header .back-link svg {
  color: #6c757d;
}
.create-header .back-link:hover {
  color: #14171F;
}
.create-header .back-link:hover svg {
  color: #14171F;
}

.post-type-toggle {
  display: inline-flex;
  gap: 12px;
  margin-bottom: 32px;
  background-color: #fff;
  border-radius: 12px;
  padding: 4px;
}
@media (max-width: 768px) {
  .post-type-toggle {
    display: flex;
    width: 100%;
    gap: 8px;
  }
}
.post-type-toggle .toggle-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: #F9FAFB;
  border: 2px solid #E3E6ED;
  border-radius: 12px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .post-type-toggle .toggle-option {
    flex: 1;
    padding: 8px 4px;
    font-size: 13px;
  }
  .post-type-toggle .toggle-option i {
    font-size: 14px;
  }
}
.post-type-toggle .toggle-option:hover {
  border-color: #14171F;
}
.post-type-toggle .toggle-option.active {
  background: #F3F4F7;
  border-color: #E3E6ED;
  color: #2F3137;
}

.create-form-container {
  max-width: 800px;
}
.create-form-container .info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: #F5F5F4;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  margin-bottom: 32px;
}
.create-form-container .info-card .info-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.create-form-container .info-card .info-header .info-icon {
  flex-shrink: 0;
  background-color: #FFF1E5;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.create-form-container .info-card .info-header .info-title {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0;
}
.create-form-container .info-card .info-content .info-text {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #2F3137;
  line-height: 1.6;
  margin: 0;
}

.post-form .form-group,
.wallet-form .form-group {
  margin-bottom: 24px;
}
.post-form .form-group .form-label,
.wallet-form .form-group .form-label {
  display: block;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  margin-bottom: 8px;
}
.post-form .form-group .form-label .required,
.wallet-form .form-group .form-label .required {
  color: #DC2626;
}
.post-form .form-group .form-label .optional,
.wallet-form .form-group .form-label .optional {
  color: #6c757d;
  font-weight: 400;
}
.post-form .form-group .form-control,
.wallet-form .form-group .form-control {
  width: 100%;
  padding: 16px 20px;
  font-family: Figtree, serif;
  font-size: 15px;
  color: #2F3137;
  background: white;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.post-form .form-group .form-control:focus,
.wallet-form .form-group .form-control:focus {
  outline: none;
  border-color: #14171F;
}
.post-form .form-group .form-control::-moz-placeholder, .wallet-form .form-group .form-control::-moz-placeholder {
  color: #B8C4CE;
}
.post-form .form-group .form-control::placeholder,
.wallet-form .form-group .form-control::placeholder {
  color: #B8C4CE;
}
.post-form .form-group textarea.form-control,
.wallet-form .form-group textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.post-form .form-group select.form-control,
.wallet-form .form-group select.form-control {
  padding: 16px 40px 16px 20px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  color: #B8C4CE;
  cursor: pointer;
}
.post-form .form-group select.form-control option,
.wallet-form .form-group select.form-control option {
  color: #2F3137;
}
.post-form .form-group select.form-control:not([value=""]), .post-form .form-group select.form-control:has(option:checked:not([value=""])),
.wallet-form .form-group select.form-control:not([value=""]),
.wallet-form .form-group select.form-control:has(option:checked:not([value=""])) {
  color: #2F3137;
}
.post-form .form-group .char-counter,
.wallet-form .form-group .char-counter {
  margin-top: 8px;
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
  text-align: right;
}
.post-form .form-group .char-counter #char-count,
.wallet-form .form-group .char-counter #char-count {
  font-weight: 600;
  color: #2F3137;
}
.post-form .form-row,
.wallet-form .form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .post-form .form-row,
  .wallet-form .form-row {
    grid-template-columns: 1fr;
  }
}
.post-form .file-upload .file-input,
.wallet-form .file-upload .file-input {
  display: none;
}
.post-form .file-upload .file-label,
.wallet-form .file-upload .file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  background: #F9FAFB;
  border: 2px dashed #E3E6ED;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.post-form .file-upload .file-label span,
.wallet-form .file-upload .file-label span {
  font-family: Figtree, serif;
  font-size: 14px;
  color: #6c757d;
}
.post-form .file-upload .file-label:hover,
.wallet-form .file-upload .file-label:hover {
  border-color: #14171F;
  background: #FEF3C7;
}
.post-form .file-upload .image-preview,
.wallet-form .file-upload .image-preview {
  position: relative;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.post-form .file-upload .image-preview img,
.wallet-form .file-upload .image-preview img {
  width: 100%;
  max-height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
.post-form .file-upload .image-preview .remove-image,
.wallet-form .file-upload .image-preview .remove-image {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.post-form .file-upload .image-preview .remove-image:hover,
.wallet-form .file-upload .image-preview .remove-image:hover {
  background: rgba(220, 38, 38, 0.8);
}
.post-form .helper-text,
.wallet-form .helper-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
}
.post-form .helper-text svg,
.wallet-form .helper-text svg {
  flex-shrink: 0;
}
.post-form .checkbox-label,
.wallet-form .checkbox-label {
  display: flex;
  gap: 12px;
  cursor: pointer;
}
.post-form .checkbox-label input[type=checkbox],
.wallet-form .checkbox-label input[type=checkbox] {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.post-form .checkbox-label .checkbox-text,
.wallet-form .checkbox-label .checkbox-text {
  flex: 1;
}
.post-form .checkbox-label .checkbox-text strong,
.wallet-form .checkbox-label .checkbox-text strong {
  display: block;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 600;
  color: #2F3137;
  margin-bottom: 4px;
}
.post-form .checkbox-label .checkbox-text small,
.wallet-form .checkbox-label .checkbox-text small {
  display: block;
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
  line-height: 1.4;
}
.post-form .form-actions,
.wallet-form .form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E3E6ED;
}
.post-form .form-actions .btn,
.wallet-form .form-actions .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.post-form .form-actions .btn-outline,
.wallet-form .form-actions .btn-outline {
  background: transparent;
  color: #6c757d;
  border: none;
}
.post-form .form-actions .btn-outline:hover,
.wallet-form .form-actions .btn-outline:hover {
  color: #2F3137;
}
.post-form .form-actions .btn-primary,
.wallet-form .form-actions .btn-primary {
  background: #2F3137;
  color: white;
  border: none;
}
.post-form .form-actions .btn-primary:hover,
.wallet-form .form-actions .btn-primary:hover {
  background: #18191c;
}

.wallet-settings-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .wallet-settings-preview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.wallet-settings .toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wallet-settings .toggle-group .toggle-content {
  flex: 1;
}
.wallet-settings .toggle-group .toggle-content .toggle-title {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0 0 4px 0;
}
.wallet-settings .toggle-group .toggle-content .toggle-description {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}
.wallet-settings .toggle-group .toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}
.wallet-settings .toggle-group .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.wallet-settings .toggle-group .toggle-switch input:checked + .toggle-slider {
  background-color: #14171F;
}
.wallet-settings .toggle-group .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
.wallet-settings .toggle-group .toggle-switch .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E5E7EB;
  transition: 0.3s;
  border-radius: 28px;
}
.wallet-settings .toggle-group .toggle-switch .toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.wallet-preview {
  background: #F9FAFB;
  border: 1px solid #E3E6ED;
  border-radius: 12px;
}
.wallet-preview .preview-content .preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.wallet-preview .preview-content .preview-placeholder .preview-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.wallet-preview .preview-content .preview-placeholder p {
  margin-top: 16px;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #6c757d;
}

.md-header {
  margin-bottom: 24px;
}
.md-header .md-page-title {
  font-family: Figtree, serif;
  font-size: 24px;
  font-weight: 400;
  color: #2F3137;
  margin: 0;
}

.md-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid #E3E6ED;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .md-tabs {
    gap: 12px;
    margin-bottom: 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .md-tabs::-webkit-scrollbar {
    display: none;
  }
}
.md-tabs .md-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .md-tabs .md-tab {
    padding: 12px 8px;
    font-size: 14px;
  }
  .md-tabs .md-tab .md-tab-icon {
    width: 18px;
    height: 18px;
  }
}
.md-tabs .md-tab .md-tab-icon {
  color: #6c757d;
  transition: color 0.2s ease;
}
.md-tabs .md-tab:hover {
  color: #2F3137;
}
.md-tabs .md-tab:hover .md-tab-icon {
  color: #2F3137;
}
.md-tabs .md-tab.active {
  color: #14171F;
  border-bottom-color: #14171F;
}
.md-tabs .md-tab.active .md-tab-icon {
  color: #14171F;
}

.md-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.md-post-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.md-post-status.md-status-pending {
  background: #FEF3C7;
  color: #B45309;
}
.md-post-status.md-status-pending::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #B45309;
  border-radius: 50%;
}
.md-post-status.md-status-approved {
  background: #D1FAE5;
  color: #047857;
}
.md-post-status.md-status-rejected {
  background: #FEE2E2;
  color: #B91C1C;
}

.md-post-card {
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}
.md-post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.md-post-card .md-post-card-link {
  display: flex;
  gap: 15px;
  padding: 15px;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 767px) {
  .md-post-card .md-post-card-link {
    display: none;
  }
}
.md-post-card .md-post-card-link-mobile {
  display: none;
}
@media (max-width: 767px) {
  .md-post-card .md-post-card-link-mobile {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
  }
}
.md-post-card .md-post-card-link-mobile .md-post-card-image {
  width: 80px;
  height: 80px;
  grid-row: 1/3;
}
.md-post-card .md-post-card-image {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.md-post-card .md-post-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.md-post-card .md-post-card-image.md-post-card-image-icon {
  background-color: #F3F4F7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md-post-card .md-post-card-image.md-post-card-image-icon svg {
  width: 32px;
  height: 32px;
}
.md-post-card .md-post-card-image.md-post-card-image-icon img {
  position: static;
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}
.md-post-card .md-post-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.md-post-card .md-post-card-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.md-post-card .md-post-card-content {
  flex: 1;
  min-width: 0;
}
.md-post-card .md-post-card-body-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.md-post-card .md-post-card-body-mobile .md-post-card-status-actions {
  justify-content: flex-end;
}
.md-post-card .md-post-card-body-mobile .md-post-card-status-actions .md-tag {
  margin-right: auto;
}
.md-post-card .md-post-card-body-mobile .md-post-card-title {
  font-size: 14px;
  margin-bottom: 0;
}
.md-post-card .md-post-card-body-mobile .md-post-card-tags {
  margin-bottom: 0;
}
.md-post-card .md-post-card-user-info {
  display: flex;
  gap: 12px;
  align-items: center;
}
.md-post-card .md-post-card-user-info .md-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.md-post-card .md-post-card-user-info .md-user-meta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.md-post-card .md-post-card-user-info .md-user-meta .md-user-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
}
.md-post-card .md-post-card-user-info .md-user-meta .md-post-date {
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #6c757d;
}
.md-post-card .md-post-card-status-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 768px) {
  .md-post-card .md-post-card-status-actions {
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
    margin-left: auto;
  }
}
.md-post-card .md-btn-delete {
  padding: 6px;
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md-post-card .md-btn-delete:hover {
  color: #DC2626;
}
.md-post-card .md-btn-delete:hover svg path {
  fill: #DC2626;
}
.md-post-card .md-post-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.md-post-card .md-post-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0 0 8px 0;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}
.md-post-card .md-post-wallet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #17a2b8;
  text-decoration: none;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.md-post-card .md-post-wallet-link:hover {
  color: #0d8599;
  text-decoration: underline;
}
.md-post-card .md-post-wallet-link svg {
  flex-shrink: 0;
}
.md-post-card .md-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  background-color: #F3F4F7;
}
.md-post-card .md-post-card-excerpt {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 767px) {
  .md-post-card .md-post-card-excerpt {
    display: none;
  }
}
.md-post-card .md-post-card-footer {
  padding: 10px 20px;
}
@media (max-width: 767px) {
  .md-post-card .md-post-card-footer {
    padding: 0 15px 15px 15px;
  }
}
.md-post-card .md-post-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .md-post-card .md-post-card-actions {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .md-post-card .md-post-card-actions::-webkit-scrollbar {
    display: none;
  }
}
.md-post-card .md-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #F3F4F7;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.md-post-card .md-action-btn:hover {
  background-color: #F5F5F4;
}
@media (max-width: 767px) {
  .md-post-card .md-action-btn {
    padding: 8px 12px;
    flex-shrink: 0;
    white-space: nowrap;
  }
}
.md-post-card .md-comments-avatars {
  display: flex;
  margin-left: 5px;
}
.md-post-card .md-comments-avatars .md-comment-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
}
.md-post-card .md-comments-avatars .md-comment-avatar:first-child {
  margin-left: 0;
}
@media (max-width: 767px) {
  .md-post-card .md-comments-avatars .md-comment-avatar {
    display: none;
  }
}
.md-post-card .md-comments-avatars .md-comments-more {
  font-family: Figtree, serif;
  font-weight: 500;
  font-size: 9px;
  margin: 5px;
}
@media (max-width: 767px) {
  .md-post-card .md-comments-avatars .md-comments-more {
    display: none;
  }
}

.md-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.md-comment-card {
  padding: 20px;
  background: white;
  border: 1px solid #E3E6ED;
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
}
.md-comment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.md-comment-card .md-comment-thread .comment-item.depth-0 {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}
.md-comment-card .md-comment-thread .comment-item.depth-0 > .comment-main {
  display: block;
  grid-template-columns: none;
  gap: 0;
}
.md-comment-card .md-comment-thread .author-avatar-placeholder {
  background: transparent;
  box-shadow: none;
  border: none;
  opacity: 0;
}
.md-comment-card .md-comment-thread .comment-item.depth-0 .avatar-line {
  display: none;
}
.md-comment-card .md-comment-thread .comment-replies {
  margin-left: 0;
  padding-left: 0;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item {
  padding-left: 40px;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item .comment-main {
  display: grid !important;
  grid-template-columns: 24px 1fr !important;
  gap: 8px;
  padding: 0;
  align-items: start;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item .comment-avatar-wrapper {
  width: 24px;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item .comment-avatar-wrapper .author-avatar {
  margin: 0;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item::before {
  display: none;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item::after {
  content: "";
  position: absolute;
  left: 12px;
  top: -24px;
  width: 34px;
  height: 40px;
  border-bottom: 2px solid #E3E6ED;
  border-left: 2px solid #E3E6ED;
  border-bottom-left-radius: 12px;
  z-index: 0;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item .comment-body {
  border: 1px solid #E3E6ED;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item .comment-header {
  display: none;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item .comment-content {
  margin-bottom: 12px;
}
.md-comment-card .md-comment-thread .comment-replies .comment-item .comment-actions .action-btn {
  background-color: #F3F4F7;
}
.md-comment-card .md-comment-thread .md-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #F3F4F7;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.md-comment-card .md-comment-thread .md-action-btn:hover {
  background-color: #F5F5F4;
}
@media (max-width: 767px) {
  .md-comment-card .md-comment-thread .md-action-btn {
    padding: 5px;
  }
}
.md-comment-card .md-comment-original {
  padding: 16px;
  background: #F3F4F7;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.md-comment-card .md-comment-original-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}
.md-comment-card .md-comment-original-header .md-label {
  font-family: Figtree, serif;
  font-size: 13px;
  font-weight: 500;
  color: #6c757d;
  white-space: nowrap;
}
.md-comment-card .md-comment-original-header .md-post-author-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.md-comment-card .md-comment-original-header .md-post-author-mini img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.md-comment-card .md-comment-original-header .md-post-author-mini .md-author-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  white-space: nowrap;
}
.md-comment-card .md-comment-original-header .md-post-author-mini .md-post-date {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #778698;
  white-space: nowrap;
}
.md-comment-card .md-comment-original-title {
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}
.md-comment-card .md-comment-original-title:hover {
  color: #14171F;
}

.md-create-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.md-create-header .md-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2F3137;
  text-decoration: none;
  transition: color 0.2s ease;
}
.md-create-header .md-back-link:hover {
  color: #14171F;
}
.md-create-header .md-page-title {
  font-family: Figtree, serif;
  font-size: 20px;
  font-weight: 600;
  color: #2F3137;
  margin: 0;
}

.md-post-type-toggle {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #E3E6ED;
  padding: 0;
}
@media (max-width: 768px) {
  .md-post-type-toggle {
    gap: 16px;
  }
}
.md-post-type-toggle .md-toggle-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .md-post-type-toggle .md-toggle-option {
    font-size: 13px;
  }
}
.md-post-type-toggle .md-toggle-option svg {
  flex-shrink: 0;
}
.md-post-type-toggle .md-toggle-option:hover {
  color: #2F3137;
}
.md-post-type-toggle .md-toggle-option.active {
  color: #2F3137;
  border-bottom-color: #2F3137;
}

.md-form-container {
  max-width: 800px;
}
.md-form-container .md-info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  margin-bottom: 32px;
}
.md-form-container .md-info-card .md-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.md-form-container .md-info-card .md-info-header .md-info-icon {
  flex-shrink: 0;
  background-color: #FFF1E5;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md-form-container .md-info-card .md-info-header .md-info-title {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0;
}
.md-form-container .md-info-card .md-info-content .md-info-text {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #2F3137;
  line-height: 1.6;
  margin: 0;
}

.md-form .md-form-group {
  margin-bottom: 24px;
  min-width: 0;
}
.md-form .md-form-group .md-form-label {
  display: block;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  margin-bottom: 8px;
}
.md-form .md-form-group .md-form-label .md-required {
  color: #DC2626;
}
.md-form .md-form-group .md-form-label .md-optional {
  color: #C8CFDA;
  font-weight: 400;
}
.md-form .md-form-group .md-form-control {
  width: 100%;
  padding: 8px;
  font-family: Figtree, serif;
  font-size: 15px;
  color: #2F3137;
  background: white;
  border: 1px solid #C2C0BC;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.md-form .md-form-group .md-form-control:focus {
  outline: none;
  border-color: #14171F;
}
.md-form .md-form-group .md-form-control::-moz-placeholder {
  color: #B8C4CE;
}
.md-form .md-form-group .md-form-control::placeholder {
  color: #B8C4CE;
}
.md-form .md-form-group .md-form-control.md-asset-trigger {
  padding: 14px 16px 14px 20px;
  font-size: 14px;
  color: #C8CFDA;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  overflow: hidden;
}
.md-form .md-form-group .md-form-control.md-asset-trigger.has-value {
  color: #2F3137;
}
.md-form .md-form-group .md-form-control.md-tag-trigger {
  padding: 14px 16px 14px 20px;
  font-size: 14px;
  color: #2F3137;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-align: left;
}
.md-form .md-form-group .md-form-control.md-share-trigger {
  padding: 14px 16px 14px 20px;
  font-size: 14px;
  color: #2F3137;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-align: left;
}
.md-form .md-form-group input.md-form-control {
  padding: 14px 20px;
}
.md-form .md-form-group textarea.md-form-control {
  resize: vertical;
  min-height: 140px;
}
.md-form .md-form-group select.md-form-control {
  padding: 14px 40px 14px 20px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500301 9.53674e-07H9.50056C9.59168 0.000172615 9.681 0.0152783 9.7589 0.0436921C9.8368 0.0721059 9.90034 0.112751 9.94267 0.161254C9.98499 0.209757 10.0045 0.26428 9.99912 0.318954C9.99373 0.373629 9.96363 0.426384 9.91207 0.471542L5.41194 4.37851C5.22544 4.5405 4.77642 4.5405 4.58942 4.37851L0.0892894 0.471542C0.0372003 0.426478 0.00665413 0.373696 0.00096949 0.318931C-0.00471515 0.264165 0.0146792 0.209511 0.0570455 0.160905C0.0994117 0.1123 0.163129 0.0716023 0.241276 0.0432348C0.319422 0.0148668 0.409008 -8.58307e-05 0.500301 9.53674e-07Z' fill='%232F3137'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  border-radius: 8px;
  border-color: #C2C0BC;
  color: #C8CFDA;
  cursor: pointer;
  font-size: 14px;
}
.md-form .md-form-group select.md-form-control option {
  color: #2F3137;
}
.md-form .md-form-group select.md-form-control:not([value=""]), .md-form .md-form-group select.md-form-control:has(option:checked:not([value=""])) {
  color: #2F3137;
}
.md-form .md-form-group .md-char-counter {
  margin-top: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  color: #778698;
  text-align: left;
}
.md-form .md-form-group .md-char-counter .md-char-count {
  font-weight: 500;
  color: #778698;
}
.md-form .md-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .md-form .md-form-row {
    grid-template-columns: 1fr;
  }
}
.md-form .md-form-row .md-form-group {
  margin-bottom: 0;
}
.md-form .md-form-row.md-form-row-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .md-form .md-form-row.md-form-row-2 {
    grid-template-columns: 1fr;
  }
}
.md-form .md-form-row .md-form-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.md-form .md-form-group-image > .md-form-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.md-form .md-file-upload .md-file-input {
  display: none;
}
.md-form .md-file-upload .md-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 40px;
  background: #fff;
  border: 2px dashed #E3E6ED;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.md-form .md-file-upload .md-file-label span {
  font-family: Figtree, serif;
  font-size: 14px;
  color: #6c757d;
  order: -1;
}
.md-form .md-file-upload .md-file-label:hover {
  border-color: #14171F;
  background: #FAFBFC;
}
.md-form .md-file-upload .md-image-preview {
  position: relative;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.md-form .md-file-upload .md-image-preview img {
  width: 100%;
  max-height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
.md-form .md-file-upload .md-image-preview .md-remove-image {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.md-form .md-file-upload .md-image-preview .md-remove-image:hover {
  background: rgba(220, 38, 38, 0.8);
}
.md-form .md-helper-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
}
.md-form .md-helper-text svg {
  flex-shrink: 0;
}
.md-form .md-form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 32px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid #E3E6ED;
}
.md-form .md-form-actions .md-btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.md-form .md-form-actions .md-btn-outline {
  background: transparent;
  color: #6c757d;
  border: none;
  text-decoration: none;
}
.md-form .md-form-actions .md-btn-outline:hover {
  color: #2F3137;
}
.md-form .md-form-actions .md-btn-primary {
  background: #2F3137;
  color: white;
  border: none;
}
.md-form .md-form-actions .md-btn-primary:hover {
  background: #18191c;
}

.md-wallet-settings-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .md-wallet-settings-preview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.md-wallet-settings .md-toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.md-wallet-settings .md-toggle-group .md-toggle-content {
  flex: 1;
}
.md-wallet-settings .md-toggle-group .md-toggle-content .md-toggle-title {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0 0 4px 0;
}
.md-wallet-settings .md-toggle-group .md-toggle-content .md-toggle-description {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}
.md-wallet-settings .md-toggle-group .md-toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}
.md-wallet-settings .md-toggle-group .md-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.md-wallet-settings .md-toggle-group .md-toggle-switch input:checked + .md-toggle-slider {
  background-color: #14171F;
}
.md-wallet-settings .md-toggle-group .md-toggle-switch input:checked + .md-toggle-slider:before {
  transform: translateX(20px);
}
.md-wallet-settings .md-toggle-group .md-toggle-switch .md-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E5E7EB;
  transition: 0.3s;
  border-radius: 28px;
}
.md-wallet-settings .md-toggle-group .md-toggle-switch .md-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.md-wallet-preview {
  background: #F9FAFB;
  border: 1px solid #E3E6ED;
  border-radius: 12px;
}
.md-wallet-preview .md-preview-content .md-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.md-wallet-preview .md-preview-content .md-preview-placeholder .md-preview-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.md-wallet-preview .md-preview-content .md-preview-placeholder p {
  margin-top: 16px;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #6c757d;
}

.md-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
}
.md-empty-state .md-empty-state-icon {
  margin-bottom: 24px;
}
.md-empty-state .md-empty-state-title {
  font-family: Figtree, serif;
  font-size: 20px;
  font-weight: 500;
  color: #2F3137;
  margin: 0 0 12px 0;
}
.md-empty-state .md-empty-state-text {
  font-family: Figtree, serif;
  font-size: 18px;
  font-weight: 400;
  color: #2F3137;
  line-height: 1.6;
  margin: 0 0 32px 0;
}
.md-empty-state .md-empty-state-btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
  background-color: #14171F;
  color: #fff;
  border: none;
  text-decoration: none;
  cursor: pointer;
}
.md-empty-state .md-empty-state-btn:hover {
  background-color: black;
}

.pw-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pw-header .pw-title {
  font-family: Figtree, serif;
  font-size: 24px;
  font-weight: 500;
  color: #2F3137;
  margin: 0;
}
.pw-header .pw-back-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2F3137;
}
.pw-header .pw-back-link svg {
  flex-shrink: 0;
}
.pw-header .pw-back-link:hover {
  opacity: 0.8;
}
@media (min-width: 992px) {
  .pw-header .pw-back-link {
    display: none;
  }
}

.pw-filters {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.pw-filters .pw-filters-left {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .pw-filters .pw-filters-left {
    width: 100%;
    flex-direction: row;
    gap: 12px;
  }
}

.pw-filter-dropdown {
  position: relative;
}
@media (max-width: 767px) {
  .pw-filter-dropdown {
    flex: 1;
    min-width: 0;
  }
}

.pw-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pw-filter-btn:hover {
  border-color: #c4cad9;
  background-color: #f9fafb;
}
.pw-filter-btn .pw-filter-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: none;
}
@media (max-width: 767px) {
  .pw-filter-btn .pw-filter-icon {
    display: block;
  }
}
.pw-filter-btn .pw-filter-arrow {
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
@media (max-width: 767px) {
  .pw-filter-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .pw-filter-btn span {
    flex: 1;
    text-align: left;
    margin-left: 8px;
  }
}

.pw-filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 302px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px;
  z-index: 100;
}
@media (max-width: 767px) {
  .pw-filter-dropdown-menu {
    width: 100%;
    min-width: auto;
    left: 0;
    right: 0;
  }
}

.pw-filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background-color: transparent;
  border: none;
  border-radius: 6px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #2F3137;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pw-filter-option svg {
  width: 20px;
  height: 20px;
  color: #667085;
  flex-shrink: 0;
}
.pw-filter-option:hover {
  background-color: #f9fafb;
}
.pw-filter-option.active {
  background-color: #f0f9ff;
  color: #14171F;
}
.pw-filter-option.active svg {
  color: #14171F;
}

.pw-filter-checkbox-menu {
  min-width: 302px;
  max-height: 348px;
  overflow-y: auto;
  padding: 4px;
}
@media (max-width: 767px) {
  .pw-filter-checkbox-menu {
    width: 100%;
    min-width: auto;
  }
}
.pw-filter-checkbox-menu::-webkit-scrollbar {
  width: 6px;
}
.pw-filter-checkbox-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.pw-filter-checkbox-menu::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.pw-filter-checkbox-menu::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.pw-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.pw-filter-checkbox:hover {
  background-color: #f9fafb;
}
.pw-filter-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pw-filter-checkbox input[type=checkbox]:checked + .checkbox-icon {
  background-color: #2F3137;
  border-color: #2F3137;
}
.pw-filter-checkbox input[type=checkbox]:checked + .checkbox-icon svg {
  opacity: 1;
}
.pw-filter-checkbox .checkbox-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #D0D5DD;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.pw-filter-checkbox .checkbox-icon svg {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pw-filter-checkbox .asset-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-filter-checkbox .asset-icon svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 767px) {
  .pw-filter-checkbox .asset-icon svg {
    width: 24px;
    height: 24px;
  }
}
.pw-filter-checkbox .label-text {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #2F3137;
  flex: 1;
}

.pw-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pw-card {
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}
.pw-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pw-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid #E3E6ED;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 767px) {
  .pw-card-header {
    flex-direction: column;
    gap: 12px;
  }
}

.pw-card-header-top {
  display: none;
}
@media (max-width: 767px) {
  .pw-card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
}

.pw-card-header-bottom {
  display: none;
}
@media (max-width: 767px) {
  .pw-card-header-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
  }
}

.pw-card-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 767px) {
  .pw-card-header-left {
    display: none;
  }
}

.pw-card-name {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0;
}

.pw-card-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pw-card-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.pw-card-user-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
}

.pw-card-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .pw-card-header-right {
    display: none;
  }
}

.pw-card-investment-time {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #778698;
  background-color: #F3F4F7;
  border-radius: 8px;
  padding: 4px 8px;
}

.pw-card-badge-b3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background-color: #E5EEFF;
  border: 1px solid #E3E6ED;
  border-radius: 4px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #003699;
}
.pw-card-badge-b3 svg {
  width: 20px;
  height: 16px;
}

.pw-card-btn-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #2F3137;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.pw-card-btn-access:hover {
  background-color: #18191c;
  color: #fff;
}

@media (max-width: 767px) {
  .pw-card-btn-access-desktop {
    display: none;
  }
}

.pw-card-btn-access-mobile {
  display: none;
}
@media (max-width: 767px) {
  .pw-card-btn-access-mobile {
    display: flex;
    width: 100%;
    margin-top: 16px;
    padding: 18px 12px;
  }
}

.pw-card-description {
  margin: 10px;
  padding: 10px;
  border-bottom: 1px solid #E3E6ED;
  border-radius: 4px;
  background-color: #F5F5F4;
}
.pw-card-description p {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #2F3137;
  line-height: 1.6;
  margin: 0;
}

.pw-card-footer {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 767px) {
  .pw-card-footer {
    gap: 0;
  }
}

.pw-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .pw-card-actions {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-start;
  }
}

.pw-reply-form {
  padding: 20px;
  border-top: 1px solid #E3E6ED;
  background-color: #fff;
}

.pw-reply-container {
  position: relative;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.pw-reply-container:focus-within {
  border-color: #14171F;
  box-shadow: 0 0 0 3px rgba(47, 49, 55, 0.1);
}

.pw-reply-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px 16px;
  padding-bottom: 60px;
  border: none;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #2F3137;
  resize: vertical;
  background-color: transparent;
}
.pw-reply-textarea:focus {
  outline: none;
}
.pw-reply-textarea::-moz-placeholder {
  color: #98A2B3;
}
.pw-reply-textarea::placeholder {
  color: #98A2B3;
}

.pw-reply-actions {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.pw-reply-btn-cancel {
  padding: 10px 20px;
  background-color: transparent;
  border: none;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pw-reply-btn-cancel:hover {
  background-color: #F5F5F4;
}

.pw-reply-btn-submit {
  padding: 10px 20px;
  background-color: #2F3137;
  border: none;
  border-radius: 100px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pw-reply-btn-submit:hover {
  background-color: #1a1b1f;
}
.pw-reply-btn-submit:active {
  transform: scale(0.98);
}

.pw-detail {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
}
.pw-detail--post {
  padding: 10px;
}

.pw-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #E3E6ED;
}
@media (max-width: 767px) {
  .pw-detail-header {
    align-items: center;
    gap: 12px;
    padding: 4px;
    margin-bottom: 20px;
  }
}

.pw-detail-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #2F3137;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.pw-detail-back:hover {
  background-color: #F3F4F7;
}

.pw-detail-info {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .pw-detail-info {
    align-items: center;
    width: 100%;
    gap: 12px;
  }
}

.pw-detail-info-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 767px) {
  .pw-detail-info-left {
    gap: 4px;
  }
}

.pw-detail-name {
  font-family: Figtree, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2F3137;
  margin: 0 0 8px 0;
}
@media (max-width: 767px) {
  .pw-detail-name {
    margin: 0;
    font-size: 14px;
  }
}

.pw-detail-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pw-detail-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.pw-detail-user-name {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
}

.pw-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .pw-detail-meta {
    gap: 8px;
  }
}

.pw-detail-date {
  font-family: Figtree, serif;
  font-weight: 500;
  font-size: 16px;
  color: #778698;
}
@media (max-width: 767px) {
  .pw-detail-date {
    font-size: 14px;
  }
}

.pw-detail-share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #F3F4F7;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: all 0.2s;
}
.pw-detail-share-btn:hover {
  border-color: #2F3137;
}
@media (max-width: 767px) {
  .pw-detail-share-btn {
    padding: 8px;
  }
  .pw-detail-share-btn span {
    display: none;
  }
}

.pw-detail-access-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #2F3137;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.pw-detail-access-btn:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}
.pw-detail-access-btn--inline {
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .pw-detail-access-btn {
    padding: 8px 14px;
  }
}

.pw-detail-description {
  padding: 10px;
  border-bottom: 1px solid #E3E6ED;
  background-color: #F5F5F4;
}
.pw-detail-description p {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  color: #2F3137;
  line-height: 1.6;
  margin: 0;
}

.pw-detail-assets {
  padding: 20px;
  border-bottom: 1px solid #E3E6ED;
}
.pw-detail-assets h2 {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  margin: 0 0 12px 0;
}

.pw-detail-assets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pw-detail-asset-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #F3F4F7;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
}

.pw-detail-asset-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.pw-detail-asset-icon {
  font-size: 14px;
}

.pw-comments {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
}

.community-seo-intro {
  margin-top: 40px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  text-align: center;
}
@media (max-width: 768px) {
  .community-seo-intro {
    margin-top: 30px;
    padding: 20px;
  }
}

.community-seo-intro-title {
  font-family: Figtree, serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6c757d;
  margin: 0;
}
@media (max-width: 768px) {
  .community-seo-intro-title {
    font-size: 16px;
  }
}

.delete-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.delete-modal {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: deleteModalFadeIn 0.2s ease;
}
@media (max-width: 480px) {
  .delete-modal {
    padding: 30px 20px;
    margin: 0 10px;
  }
}

@keyframes deleteModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.delete-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #2F3137;
  transition: opacity 0.2s;
}
.delete-modal-close:hover {
  opacity: 0.6;
}

.delete-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FDE8EE;
  margin-bottom: 16px;
}

.delete-modal-title {
  font-family: Figtree, serif;
  font-size: 24px;
  font-weight: 600;
  color: #2F3137;
  margin: 0 0 12px 0;
}

.delete-modal-text {
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #6c757d;
  margin: 0 0 28px 0;
}

.delete-modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.delete-modal-btn-cancel {
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  background: #fff;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  transition: background 0.2s;
}
.delete-modal-btn-cancel:hover {
  background: #F9FAFB;
}

.delete-modal-btn-confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid #FDE8EE;
  background: #FDE8EE;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #E74C6F;
  cursor: pointer;
  transition: background 0.2s;
}
.delete-modal-btn-confirm:hover {
  background: #FBD5DE;
}

.md-tag-selector {
  position: relative;
}
.md-tag-selector .md-tag-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #fff;
  text-align: left;
  padding: 14px 20px;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #2F3137;
}
.md-tag-selector .md-tag-trigger.open svg {
  transform: rotate(180deg);
}
.md-tag-selector .md-tag-trigger svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.md-tag-selector .md-tag-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 100;
  padding: 8px 0;
  max-height: 260px;
  overflow-y: auto;
}
.md-tag-selector .md-tag-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #2F3137;
  margin: 0;
  transition: background 0.15s;
}
.md-tag-selector .md-tag-option:hover {
  background: #F3F4F7;
}
.md-tag-selector .md-tag-option input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #0f3460;
  flex-shrink: 0;
  cursor: pointer;
}
.md-tag-selector .md-tag-option.md-tag-option-outros {
  border-top: 1px solid #E3E6ED;
  margin-top: 4px;
  padding-top: 10px;
}
.md-tag-selector .md-outros-field {
  padding: 4px 16px 8px;
}
.md-tag-selector .md-outros-field .md-form-control {
  padding: 8px 12px;
  font-size: 13px;
}
.md-tag-selector .md-tag-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.md-tag-selector .md-tag-selected-list .md-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #F3F4F7;
  border: 1px solid #E3E6ED;
  font-family: Figtree, serif;
  font-size: 12px;
  color: #2F3137;
}
.md-tag-selector .md-tag-selected-list .md-tag-badge.md-tag-badge-custom {
  background: #FFF1E5;
  border-color: #ffd0a8;
  color: #a05a00;
}

.md-asset-search {
  position: relative;
  min-width: 0;
}
.md-asset-search .md-asset-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.md-asset-search .md-asset-trigger .md-asset-trigger-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}
.md-asset-search .md-asset-trigger .md-asset-trigger-arrow {
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.2s;
}
.md-asset-search .md-asset-trigger.open .md-asset-trigger-arrow {
  transform: rotate(180deg);
}
.md-asset-search .md-asset-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 100;
  overflow: hidden;
}
.md-asset-search .md-asset-panel .md-asset-panel-search {
  padding: 8px 10px;
  border-bottom: 1px solid #E3E6ED;
}
.md-asset-search .md-asset-panel .md-asset-panel-search .md-asset-panel-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: Figtree, serif;
  font-size: 14px;
  color: #2F3137;
  background: transparent;
}
.md-asset-search .md-asset-panel .md-asset-panel-search .md-asset-panel-input::-moz-placeholder {
  color: #6c757d;
}
.md-asset-search .md-asset-panel .md-asset-panel-search .md-asset-panel-input::placeholder {
  color: #6c757d;
}
.md-asset-search .md-asset-dropdown {
  max-height: 240px;
  overflow-y: auto;
}
.md-asset-search .md-asset-dropdown.open {
  display: block;
}
.md-asset-search .md-asset-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: Figtree, serif;
  transition: background 0.15s;
}
.md-asset-search .md-asset-item:hover {
  background: #F3F4F7;
}
.md-asset-search .md-asset-item .md-asset-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
  background: #F3F4F7;
}
.md-asset-search .md-asset-item .md-asset-thumb--icon {
  background: transparent;
  border-radius: 0;
}
.md-asset-search .md-asset-item .md-asset-info {
  flex: 1;
  min-width: 0;
}
.md-asset-search .md-asset-item .md-asset-info .md-asset-name {
  font-size: 14px;
  font-weight: 600;
  color: #2F3137;
  line-height: 1.2;
}
.md-asset-search .md-asset-item .md-asset-info .md-asset-company {
  font-size: 12px;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.md-asset-search .md-asset-item .md-asset-type-label {
  font-size: 11px;
  font-weight: 500;
  color: #6c757d;
  background: #F3F4F7;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.md-asset-search .md-asset-empty {
  padding: 16px;
  text-align: center;
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
}
.md-asset-search .md-asset-loading {
  padding: 16px;
  text-align: center;
  font-family: Figtree, serif;
  font-size: 13px;
  color: #6c757d;
}

.pw-wallet-topbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 16px 0;
}
.pw-wallet-topbar .pw-wallet-assets {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.pw-wallet-access-btn--below {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 16px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 14px;
  font-weight: 500;
  color: #2F3137;
  text-decoration: none;
  transition: all 0.2s;
}
.pw-wallet-access-btn--below:hover {
  background-color: #f5f5f4;
  color: #2F3137;
  text-decoration: none;
}

.pw-wallet-assets {
  margin: 16px 0;
}
.pw-wallet-assets .pw-assets-title {
  font-weight: 600;
  color: #2F3137;
}
.pw-wallet-assets .pw-assets-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .pw-wallet-assets .pw-assets-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pw-wallet-assets .pw-assets-chips::-webkit-scrollbar {
    display: none;
  }
  .pw-wallet-assets .pw-asset-chip {
    flex: 0 0 auto;
  }
}
.pw-wallet-assets .pw-asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}
.pw-wallet-assets .pw-asset-chip-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  -o-object-fit: contain;
     object-fit: contain;
}

.pw-wallet-summary {
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: #F3F4F7;
}

.pw-wallet-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .pw-wallet-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pw-box {
  border: 1px solid #eef1f3;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pw-box .pw-box-title {
  font-size: 12px;
  color: #778698;
}
@media (max-width: 768px) {
  .pw-box .pw-box-title {
    font-size: 10px;
    white-space: nowrap;
  }
}
.pw-box .pw-box-value {
  font-size: 18px;
  color: #2F3137;
}
@media (max-width: 768px) {
  .pw-box .pw-box-value {
    font-size: 13px;
    white-space: nowrap;
  }
}
.pw-box .pw-box-sub {
  font-size: 12px;
  color: #778698;
}
.pw-box .pw-box-sub-value {
  font-size: 13px;
  color: #2F3137;
  white-space: nowrap;
}

.pw-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pw-trend .pw-arrow {
  font-size: 0.85em;
  line-height: 1;
}

.pw-box .pw-trend--up {
  color: #009974;
}

.pw-box .pw-trend--down {
  color: #dc3545;
}

.pw-masked {
  filter: blur(6px);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.md-hide-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #C2C0BC;
  border-radius: 8px;
  margin-bottom: 20px;
}
.md-hide-values .md-hide-values-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.md-hide-values .md-hide-values-text strong {
  font-size: 15px;
  font-weight: 500;
  color: #2F3137;
}
.md-hide-values .md-hide-values-text small {
  font-size: 13px;
  color: #778698;
}

.md-switch {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.md-switch input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
.md-switch .md-switch-track {
  position: absolute;
  inset: 0;
  background: #C8CFDA;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.md-switch .md-switch-track::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.md-switch input:checked + .md-switch-track {
  background: #14171F;
}
.md-switch input:checked + .md-switch-track::before {
  transform: translateX(20px);
}
.md-switch input:disabled + .md-switch-track {
  opacity: 0.5;
  cursor: not-allowed;
}

.pw-wallet-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .pw-wallet-charts {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pw-wallet-charts h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #2F3137;
}

.pw-wallet-chart {
  background: #fff;
  border: 1px solid #eef1f3;
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
}
.pw-wallet-chart .pw-wallet-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.pw-wallet-chart .pw-wallet-chart-header h3 {
  margin-bottom: 0;
}
.pw-wallet-chart .pw-wallet-chart-filters {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  justify-content: flex-end;
}
.pw-wallet-chart .pw-wallet-chart-filters .filter-btn {
  padding: 6px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.pw-wallet-chart .pw-wallet-chart-filters .filter-dropdown-menu {
  left: auto;
  right: 0;
  min-width: 160px;
}

@media (max-width: 768px) {
  .pw-wallet-chart--evolucao .pw-wallet-chart-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 16px;
  }
  .pw-wallet-chart--evolucao .pw-wallet-chart-filters {
    justify-content: stretch;
  }
  .pw-wallet-chart--evolucao .pw-wallet-chart-filters .pw-chart-filter {
    flex: 1;
    min-width: 0;
  }
  .pw-wallet-chart--evolucao .pw-wallet-chart-filters .filter-btn {
    width: 100%;
    justify-content: space-between;
  }
}
.pw-wallet-chart-canvas {
  width: 100%;
  height: 220px;
}

@media (min-width: 769px) {
  #pw-chart-equity.pw-wallet-chart-canvas {
    height: 280px;
  }
}
.pw-wallet-unavailable {
  border: 1px dashed #e2e6ea;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: #778698;
  margin-bottom: 16px;
}

.pw-ver-todos-wrap {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.pw-ver-todos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background-color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  font-family: Figtree, serif;
  font-size: 12px;
  font-weight: 500;
  color: #2F3137;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.pw-ver-todos:hover {
  background-color: #f5f5f4;
}

.pw-assets-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pw-assets-modal {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: deleteModalFadeIn 0.2s ease;
}
@media (max-width: 480px) {
  .pw-assets-modal {
    padding: 20px 16px;
  }
}

.pw-assets-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pw-assets-modal-title {
  font-family: Figtree, serif;
  font-size: 18px;
  font-weight: 600;
  color: #2F3137;
  margin: 0;
}

.pw-assets-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #2F3137;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.pw-assets-modal-close:hover {
  opacity: 0.6;
}

.pw-assets-modal-body {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 640px) {
  .pw-assets-modal-body {
    flex-direction: column;
    gap: 16px;
  }
}

.pw-assets-modal-chart {
  flex: 1.25 1 0;
  min-width: 0;
  height: 320px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .pw-assets-modal-chart {
    flex: none;
    width: 100%;
    height: 240px;
  }
}

.pw-assets-modal-list {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.pw-assets-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid #eef1f3;
  font-family: Figtree, serif;
  font-weight: 700;
  color: #2F3137;
}
.pw-assets-total .pw-assets-total-value {
  color: #009974;
}

.pw-assets-modal-state {
  padding: 24px;
  text-align: center;
  color: #778698;
  font-size: 14px;
}

.pw-assets-rows {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.pw-assets-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  font-family: Figtree, serif;
  font-size: 13px;
  color: #2F3137;
}
.pw-assets-row .pw-assets-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.pw-assets-row .pw-assets-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pw-assets-row .pw-assets-col-pct {
  flex: 0 0 auto;
  text-align: right;
  color: #6c757d;
  font-variant-numeric: tabular-nums;
}

.md-share-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.md-share-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.md-form-group:has(> .md-share-panel) {
  position: relative;
}

.md-share-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.md-share-panel .md-share-panel-intro {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #5b6b7b;
}
.md-share-panel .md-share-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
}
.md-share-panel .md-share-option input[type=radio] {
  margin-top: 3px;
  flex-shrink: 0;
}
.md-share-panel .md-share-option .md-share-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.md-share-panel .md-share-option .md-share-option-body strong {
  font-size: 14px;
  font-weight: 600;
  color: #2F3137;
}
.md-share-panel .md-share-option .md-share-option-body small {
  font-size: 12px;
  line-height: 1.4;
  color: #778698;
}
.md-share-panel .md-share-interval {
  padding: 4px 0 10px 28px;
}
.md-share-panel .md-share-interval .md-share-interval-title {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: #778698;
}
.md-share-panel .md-share-interval .md-share-interval-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.md-share-panel .md-share-interval .md-share-interval-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #2F3137;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.md-share-panel .md-share-interval .md-share-interval-options label input[type=radio] {
  margin: 0;
}
.md-share-panel .md-share-interval .md-share-interval-options label:has(input:checked) {
  border-color: #14171F;
  background: rgba(20, 23, 31, 0.06);
}
.md-share-panel .md-share-interval.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
