body {
  background-color: #ecf0f5;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
  color: #758697;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  color: #16202b;
}

h1, .h1 {
  font-size: 34px;
}

h2, .h2 {
  font-size: 28px;
}

h3, .h3 {
  font-size: 22px;
}

h4, .h4 {
  font-size: 16px;
}

h5, .h5 {
  font-size: 12px;
}

h6, .h6 {
  font-size: 10px;
}

#content-container {
  position: relative;
  padding-bottom: 80px;
  background-color: #ecf0f5;
}

#page-content {
  padding: 15px 15px 0;
}

.feed-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}

.feed-card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease-in-out;
}
.feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.feed-card .feed-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feed-card .feed-card-header .feed-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.feed-card .feed-card-header .feed-user-info .feed-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #e9ecef;
}
.feed-card .feed-card-header .feed-user-info .feed-user-details .feed-username {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}
.feed-card .feed-card-header .feed-user-info .feed-user-details .feed-username:hover {
  color: #0F75BD;
  text-decoration: none;
}
.feed-card .feed-card-header .feed-user-info .feed-user-details .feed-timestamp {
  font-size: 0.875rem;
  color: #6c757d;
}
.feed-card .feed-card-header .feed-actions .btn-feed-action {
  background: none;
  border: none;
  color: #6c757d;
  padding: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.feed-card .feed-card-header .feed-actions .btn-feed-action:hover {
  color: #0F75BD;
}
.feed-card .feed-card-body {
  padding: 1.5rem;
}
.feed-card .feed-card-body .feed-content {
  color: #343a40;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.feed-card .feed-card-body .feed-media {
  margin: 1rem -1.5rem;
}
.feed-card .feed-card-body .feed-media img, .feed-card .feed-card-body .feed-media video {
  width: 100%;
  height: auto;
}
.feed-card .feed-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feed-card .feed-card-footer .feed-stats {
  display: flex;
  gap: 1.5rem;
}
.feed-card .feed-card-footer .feed-stats .feed-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s;
}
.feed-card .feed-card-footer .feed-stats .feed-stat-item:hover {
  color: #F72C93;
}
.feed-card .feed-card-footer .feed-stats .feed-stat-item.active {
  color: #F72C93;
  font-weight: 600;
}
.feed-card .feed-card-footer .feed-stats .feed-stat-item i {
  font-size: 1.125rem;
}

.feed-sidebar .sidebar-section {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.feed-sidebar .sidebar-section .sidebar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feed-sidebar .sidebar-section .sidebar-title .title-icon {
  color: #0F75BD;
  margin-right: 0.5rem;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item a {
  color: #495057;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.2s;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item a:hover {
  color: #0F75BD;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item a .item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item a .item-text {
  flex: 1;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item a .item-text .item-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.feed-sidebar .sidebar-section .sidebar-content .sidebar-item a .item-text .item-subtitle {
  font-size: 0.875rem;
  color: #6c757d;
}

.feed-compose {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.feed-compose .compose-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.feed-compose .compose-header .compose-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #e9ecef;
}
.feed-compose .compose-header .compose-input {
  flex: 1;
}
.feed-compose .compose-header .compose-input textarea {
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.75rem;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}
.feed-compose .compose-header .compose-input textarea:focus {
  outline: none;
  border-color: #0F75BD;
}
.feed-compose .compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feed-compose .compose-footer .compose-actions {
  display: flex;
  gap: 1rem;
}
.feed-compose .compose-footer .compose-actions .compose-action {
  background: none;
  border: none;
  color: #6c757d;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s;
}
.feed-compose .compose-footer .compose-actions .compose-action:hover {
  background: #f8f9fa;
  color: #0F75BD;
}
.feed-compose .compose-footer .compose-actions .compose-action i {
  margin-right: 0.5rem;
}
.feed-compose .compose-footer .compose-submit .btn-primary {
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}
.feed-compose .compose-footer .compose-submit .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(15, 117, 189, 0.3);
}

@media (max-width: 991.98px) {
  .feed-sidebar {
    margin-top: 2rem;
  }
}
@media (max-width: 575.98px) {
  .feed-container {
    padding: 1rem 0.5rem;
  }
  .feed-card {
    border-radius: 0;
    margin-bottom: 1rem;
  }
  .feed-card .feed-card-header {
    padding: 1rem;
  }
  .feed-card .feed-card-body {
    padding: 1rem;
  }
  .feed-card .feed-card-body .feed-media {
    margin: 1rem -1rem;
  }
  .feed-card .feed-card-footer {
    padding: 0.75rem 1rem;
  }
  .feed-card .feed-card-footer .feed-stats {
    gap: 1rem;
  }
  .feed-card .feed-card-footer .feed-stats .feed-stat-item {
    font-size: 0.8125rem;
  }
  .feed-compose {
    padding: 1rem;
  }
  .feed-compose .compose-footer {
    flex-direction: column;
    gap: 1rem;
  }
  .feed-compose .compose-footer .compose-actions {
    width: 100%;
    justify-content: space-between;
  }
  .feed-compose .compose-footer .compose-submit {
    width: 100%;
  }
  .feed-compose .compose-footer .compose-submit .btn-primary {
    width: 100%;
  }
}
.panel {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.17);
  border-radius: 30px;
  box-shadow: none;
  margin-bottom: 15px;
}
.panel.panel-primary {
  border-color: #0F75BD;
}
.panel.panel-primary .panel-heading {
  background: #0F75BD;
  color: #fff;
}
.panel.panel-success {
  border-color: #28a745;
}
.panel.panel-success .panel-heading {
  background: #28a745;
  color: #fff;
}
.panel.panel-info {
  border-color: #17a2b8;
}
.panel.panel-info .panel-heading {
  background: #17a2b8;
  color: #fff;
}
.panel.panel-warning {
  border-color: #ffc107;
}
.panel.panel-warning .panel-heading {
  background: #ffc107;
  color: #212529;
}
.panel.panel-danger {
  border-color: #dc3545;
}
.panel.panel-danger .panel-heading {
  background: #dc3545;
  color: #fff;
}

.panel-heading {
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 30px 30px 0 0;
  font-weight: 600;
  color: #16202b;
}
.panel-heading .panel-title {
  margin: 0;
  font-size: 1.125rem;
}

.panel-body {
  padding: 15px;
  color: #758697;
}

.panel-footer {
  padding: 15px;
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 30px 30px;
}

.form-control {
  border: 1px solid #e7ecf3;
  border-radius: 3px;
  padding: 7px 12px;
  font-size: 13px;
  color: #758697;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: #42a5f5;
  box-shadow: 0 0 0 2px rgba(66, 165, 245, 0.2);
  outline: none;
}
.form-control::-webkit-input-placeholder {
  color: #adb5bd;
}
.form-control::-moz-placeholder {
  color: #adb5bd;
}
.form-control:-ms-input-placeholder {
  color: #adb5bd;
}
.form-control:-moz-placeholder {
  color: #adb5bd;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
}

.btn {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  transition: all 0.2s ease;
}
.btn.btn-primary {
  background-color: #42a5f5;
  border-color: #42a5f5;
}
.btn.btn-primary:hover {
  background-color: #2196f3;
  border-color: #2196f3;
}

.btn-rounded {
  border-radius: 50px;
}

.btn-lg {
  padding: 10px 20px;
  font-size: 15px;
}

.btn-sm {
  padding: 4px 10px;
  font-size: 11px;
}

.btn-xs {
  padding: 2px 6px;
  font-size: 10px;
}

.btn-labeled {
  position: relative;
  padding-left: 3rem;
}
.btn-labeled .btn-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem 0 0 0.375rem;
}

.widget-box {
  background: #fff;
  border-radius: 30px;
  border: 1px solid #e7ecf3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.17);
  padding: 20px;
  margin-bottom: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.widget-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.widget-box .widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.widget-box .widget-header .widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
}
.widget-box .widget-header .widget-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}
.widget-box .widget-body .widget-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0F75BD;
  margin-bottom: 0.5rem;
}
.widget-box .widget-body .widget-desc {
  color: #6c757d;
  font-size: 0.875rem;
}

.list-group-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 1.25rem;
}
.list-group-item:last-child {
  border-bottom: none;
}
.list-group-item:hover {
  background: #f8f9fa;
}
.list-group-item.active {
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  color: #fff;
  border-color: transparent;
}

.media-object {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.media-object .media-left,
.media-object .media-right {
  flex-shrink: 0;
}
.media-object .media-body {
  flex: 1;
}
.media-object .media-body .media-heading {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}
.media-object .media-body .media-text {
  color: #6c757d;
  font-size: 0.875rem;
}

.alert {
  border: none;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.alert.alert-primary {
  background: rgba(15, 117, 189, 0.1);
  color: rgb(11.25, 87.75, 141.75);
}
.alert.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: rgb(30.1449275362, 125.8550724638, 52);
}
.alert.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  color: rgb(211, 158.25, 0);
}
.alert.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}

.match-panel {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.match-panel:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.match-panel .match-panel-body {
  padding: 24px;
}
.match-panel .match-panel-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .match-panel .match-panel-container {
    flex-direction: column;
    text-align: center;
  }
}
.match-panel .match-panel-left {
  flex: 0 0 auto;
}
.match-panel .match-panel-right {
  flex: 1;
  text-align: left;
}
@media (max-width: 768px) {
  .match-panel .match-panel-right {
    text-align: center;
  }
}

.match-profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #0F75BD;
  transition: all 0.3s ease;
}
.match-profile-image:hover {
  border-color: #F72C93;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .match-profile-image {
    width: 150px;
    height: 150px;
  }
}
@media (max-width: 480px) {
  .match-profile-image {
    width: 120px;
    height: 120px;
  }
}

.match-info {
  color: #212529;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.match-location {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.match-data {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.data-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  padding: 8px 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.data-pill:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.data-pill img {
  width: 20px;
  height: 20px;
}
.data-pill .score {
  font-weight: 600;
  font-size: 0.9rem;
}
.data-pill .score.dna-score {
  color: #F72C93;
}
.data-pill .score.personality-score {
  color: #0F75BD;
}
.data-pill .score.personality-type {
  color: #A466ED;
  text-transform: uppercase;
}

.match-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .match-actions {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .match-actions {
    gap: 12px;
  }
}

.match-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.match-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.match-action a i {
  pointer-events: none;
  font-size: 20px;
}
.match-action:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.match-action.match-action-dislike {
  border-color: #dc3545;
}
.match-action.match-action-dislike a {
  color: #dc3545;
}
.match-action.match-action-dislike:hover {
  background: #dc3545;
  border-color: #dc3545;
}
.match-action.match-action-dislike:hover a {
  color: #fff;
}
.match-action.match-action-maybe {
  border-color: #ffc107;
}
.match-action.match-action-maybe a {
  color: #ffc107;
}
.match-action.match-action-maybe:hover {
  background: #ffc107;
  border-color: #ffc107;
}
.match-action.match-action-maybe:hover a {
  color: #fff;
}
.match-action.match-action-like {
  border-color: #28a745;
}
.match-action.match-action-like a {
  color: #28a745;
}
.match-action.match-action-like:hover {
  background: #28a745;
  border-color: #28a745;
}
.match-action.match-action-like:hover a {
  color: #fff;
}
.match-action.match-action-message {
  border-color: #0F75BD;
}
.match-action.match-action-message a {
  color: #0F75BD;
}
.match-action.match-action-message:hover {
  background: #0F75BD;
  border-color: #0F75BD;
}
.match-action.match-action-message:hover a {
  color: #fff;
}
.match-action img {
  width: 24px;
  height: 24px;
  transition: filter 0.3s ease;
}
.match-action:hover img {
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  .match-action {
    width: 52px;
    height: 52px;
  }
}
@media (max-width: 480px) {
  .match-action {
    width: 44px;
    height: 44px;
  }
  .match-action img {
    width: 20px;
    height: 20px;
  }
}

.match-action .tooltiptext {
  visibility: hidden;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #212529;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.match-action .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #212529;
}

.match-action:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.show-more-matches {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 30px auto;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}
.show-more-matches:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 117, 189, 0.3);
  color: #fff;
}

.safety-compliance-container {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 32px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.safety-compliance-container h2 {
  color: #212529;
  margin-bottom: 24px;
}
.safety-compliance-container p {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 16px;
}
.safety-compliance-container .btn-primary {
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.safety-compliance-container .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 117, 189, 0.3);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}
.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.panel-overlay-wrap {
  position: relative;
  overflow: hidden;
}
.panel-overlay-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 98;
}

.panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: opacity 0.3s ease;
}
.panel-overlay .panel-overlay-content {
  text-align: center;
  padding: 20px;
}
.panel-overlay .panel-overlay-content .panel-overlay-icon {
  display: block;
  margin-bottom: 15px;
}
.panel-overlay .panel-overlay-content .panel-overlay-icon i {
  font-size: 2rem;
}
.panel-overlay .panel-overlay-content .panel-overlay-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #16202b;
  margin-bottom: 10px;
}
.panel-overlay .panel-overlay-content p {
  color: #758697;
  margin: 0;
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.panel.remove {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease-out;
}

.mega-dropdown {
  position: relative;
}
.mega-dropdown .mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}
.mega-dropdown.open .mega-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-dropdown.open .mega-dropdown-toggle {
  color: #0F75BD;
}

.toast {
  min-width: 300px;
}
.toast.bg-success {
  background: #28a745 !important;
}
.toast.bg-info {
  background: #17a2b8 !important;
}
.toast.bg-warning {
  background: #ffc107 !important;
  color: #212529 !important;
}
.toast.bg-warning .btn-close {
  filter: invert(1);
}
.toast.bg-danger {
  background: #dc3545 !important;
}

.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}
.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #0F75BD;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-color-scheme: dark) {
  .feed-card,
  .feed-sidebar .sidebar-section,
  .feed-compose,
  .panel,
  .widget-box {
    background: #343a40;
    color: #f8f9fa;
  }
  .feed-card .feed-card-header,
  .feed-card .feed-card-footer,
  .feed-sidebar .sidebar-section .feed-card-header,
  .feed-sidebar .sidebar-section .feed-card-footer,
  .feed-compose .feed-card-header,
  .feed-compose .feed-card-footer,
  .panel .feed-card-header,
  .panel .feed-card-footer,
  .widget-box .feed-card-header,
  .widget-box .feed-card-footer {
    border-color: #495057;
  }
  .feed-card .feed-user-details .feed-username,
  .feed-card .sidebar-title,
  .feed-sidebar .sidebar-section .feed-user-details .feed-username,
  .feed-sidebar .sidebar-section .sidebar-title,
  .feed-compose .feed-user-details .feed-username,
  .feed-compose .sidebar-title,
  .panel .feed-user-details .feed-username,
  .panel .sidebar-title,
  .widget-box .feed-user-details .feed-username,
  .widget-box .sidebar-title {
    color: #f8f9fa;
  }
  .feed-card .feed-timestamp,
  .feed-card .feed-stat-item,
  .feed-card .sidebar-item a,
  .feed-sidebar .sidebar-section .feed-timestamp,
  .feed-sidebar .sidebar-section .feed-stat-item,
  .feed-sidebar .sidebar-section .sidebar-item a,
  .feed-compose .feed-timestamp,
  .feed-compose .feed-stat-item,
  .feed-compose .sidebar-item a,
  .panel .feed-timestamp,
  .panel .feed-stat-item,
  .panel .sidebar-item a,
  .widget-box .feed-timestamp,
  .widget-box .feed-stat-item,
  .widget-box .sidebar-item a {
    color: #ced4da;
  }
  .feed-card .compose-input textarea,
  .feed-sidebar .sidebar-section .compose-input textarea,
  .feed-compose .compose-input textarea,
  .panel .compose-input textarea,
  .widget-box .compose-input textarea {
    background: #495057;
    border-color: #6c757d;
    color: #f8f9fa;
  }
  .feed-card .compose-input textarea:focus,
  .feed-sidebar .sidebar-section .compose-input textarea:focus,
  .feed-compose .compose-input textarea:focus,
  .panel .compose-input textarea:focus,
  .widget-box .compose-input textarea:focus {
    border-color: #0F75BD;
  }
}