/* Rules Page Styles */
.rules-section {
  width: 100%;
  max-width: 900px;
  margin-top: 8px;
  margin-bottom: 24px;
}

/* Rules Header */
.rules-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background-color: #0e0e0e;
  border-radius: 12px;
  border: 1px solid #ffffff14;
}

.rules-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rules-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-color);
}

.rules-header-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.rules-header-text p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff80;
  margin: 0;
  line-height: 1.6;
}

/* Quick Navigation */
.rules-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  overflow-x: auto;
}

.rules-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff60;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rules-nav-item svg {
  width: 16px;
  height: 16px;
}

.rules-nav-item:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.rules-nav-item.active {
  color: var(--accent-text);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Mobile Dropdown - Hidden by default */
.rules-nav-dropdown {
  display: none;
  position: relative;
  margin-bottom: 24px;
}

.rules-nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background-color: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rules-nav-dropdown-trigger:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.rules-nav-dropdown-trigger.open {
  border-color: var(--accent-color);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.rules-nav-dropdown-trigger .dropdown-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
}

.rules-nav-dropdown-trigger .dropdown-text {
  flex: 1;
  text-align: left;
}

.rules-nav-dropdown-trigger .dropdown-chevron {
  width: 16px;
  height: 16px;
  color: #ffffff60;
  transition: transform 0.2s ease;
}

.rules-nav-dropdown-trigger.open .dropdown-chevron {
  transform: rotate(180deg);
}

.rules-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #0e0e0e;
  border: 1px solid var(--accent-color);
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.rules-nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rules-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff80;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.15s ease;
}

.rules-dropdown-item:last-child {
  border-bottom: none;
}

.rules-dropdown-item svg {
  width: 18px;
  height: 18px;
}

.rules-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.rules-dropdown-item.active {
  color: var(--accent-color);
  background-color: var(--accent-15);
}

.rules-dropdown-item.active svg {
  color: var(--accent-color);
}

/* Rules Cards */
.rules-card {
  background: #0f0f0f;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  display: none;
}

.rules-card.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rules-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #ffffff14;
}

.rules-card-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.rules-badge {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #ea555520;
  color: #ea5555;
}

.rules-badge.blue {
  background-color: var(--accent-15);
  color: var(--accent-color);
}

.rules-badge.green {
  background-color: #55eaae20;
  color: #55eaae;
}

.rules-badge.red {
  background-color: #ea555520;
  color: #ea5555;
}

.rules-card-content {
  padding: 24px;
}

/* Rule Items */
.rule-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff0a;
}

.rule-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rule-item:first-child {
  padding-top: 0;
}

.rule-number {
  width: 32px;
  height: 32px;
  background: var(--accent-15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  flex-shrink: 0;
}

.rule-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.rule-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff80;
  margin: 0;
  line-height: 1.6;
}

/* Guideline Items */
.guideline-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff0a;
}

.guideline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guideline-item:first-child {
  padding-top: 0;
}

.guideline-icon {
  width: 40px;
  height: 40px;
  background: #ffffff0a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guideline-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff60;
}

.guideline-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.guideline-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff80;
  margin: 0;
  line-height: 1.6;
}

/* Marketplace Rules */
.marketplace-rule {
  padding: 16px 0;
  border-bottom: 1px solid #ffffff0a;
}

.marketplace-rule:last-of-type {
  border-bottom: none;
}

.marketplace-rule:first-child {
  padding-top: 0;
}

.marketplace-rule-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.marketplace-rule-header svg {
  width: 18px;
  height: 18px;
  color: #55eaae;
}

.marketplace-rule-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.marketplace-rule p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff80;
  margin: 0;
  line-height: 1.6;
  padding-left: 28px;
}

.marketplace-warning {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.marketplace-warning svg {
  width: 24px;
  height: 24px;
  color: #ea5555;
  flex-shrink: 0;
}

.marketplace-warning strong {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ea5555;
  display: block;
  margin-bottom: 4px;
}

.marketplace-warning p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffff80;
  margin: 0;
  line-height: 1.5;
}

/* Enforcement Section */
.enforcement-section {
  margin-bottom: 28px;
}

.enforcement-section:last-child {
  margin-bottom: 0;
}

.enforcement-section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.enforcement-section > p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff80;
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.enforcement-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enforcement-level {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background-color: #ffffff05;
  border-radius: 8px;
}

.level-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.level-indicator.warning {
  background-color: #eae055;
}

.level-indicator.ban {
  background-color: #ea5555;
}

.level-indicator.permaban {
  background-color: #8b0000;
}

.level-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.level-content p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffff60;
  margin: 0;
  line-height: 1.5;
}

.appeal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.appeal-list li {
  position: relative;
  padding-left: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff80;
  line-height: 1.8;
}

.appeal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.appeal-note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffff50;
  font-style: italic;
  margin: 0;
}

/* Agreement Section */
.rules-agreement {
  text-align: center;
  padding: 24px;
  margin-top: 8px;
}

.rules-agreement p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffff50;
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.rules-agreement .last-updated {
  font-size: 12px;
  color: #ffffff30;
  margin: 0;
}

/* Tablet breakpoint */
@media (max-width: 1919px) {
  .rules-section {
    max-width: calc(100% - 40px);
  }

  .rules-header {
    padding: 20px;
  }

  .rules-card-header {
    padding: 18px 20px;
  }

  .rules-card-content {
    padding: 20px;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .main-content {
    padding-top: 62px;
  }

  .rules-section {
    max-width: 100%;
  }

  .rules-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .rules-header-text h1 {
    font-size: 20px;
  }

  /* Hide horizontal tabs, show dropdown */
  .rules-nav {
    display: none;
  }

  .rules-nav-dropdown {
    display: block;
  }

  .rules-card-header {
    padding: 16px;
  }

  .rules-card-header h2 {
    font-size: 16px;
  }

  .rules-card-content {
    padding: 16px;
  }

  .rule-item {
    flex-direction: column;
    gap: 12px;
  }

  .rule-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .guideline-item {
    flex-direction: column;
    gap: 12px;
  }

  .guideline-icon {
    width: 36px;
    height: 36px;
  }

  .marketplace-rule p {
    padding-left: 0;
  }

  .marketplace-warning {
    flex-direction: column;
    gap: 12px;
  }

  .enforcement-level {
    padding: 12px;
  }

  .rules-agreement {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .rules-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* Search Button */
.rules-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rules-search-btn svg {
  width: 18px;
  height: 18px;
  color: #ffffff60;
  transition: color 0.2s ease;
}

.rules-search-btn:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.rules-search-btn:hover svg {
  color: var(--accent-color);
}

.rules-search-btn.mobile {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  z-index: 10;
  margin-left: 12px;
}

/* Search Overlay */
.rules-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.rules-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Search Modal */
.rules-search-modal {
  width: 100%;
  max-width: 600px;
  background: #0e0e0e;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.2s ease;
}

.rules-search-overlay.active .rules-search-modal {
  transform: translateY(0) scale(1);
}

/* Search Header */
.rules-search-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rules-search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
}

.rules-search-input-wrapper:focus-within {
  border-color: var(--accent-color);
}

.rules-search-input-wrapper .search-icon {
  width: 20px;
  height: 20px;
  color: #ffffff40;
  flex-shrink: 0;
}

.rules-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #ffffff;
}

.rules-search-input::placeholder {
  color: #ffffff40;
}

/* Search Body */
.rules-search-body {
  max-height: 400px;
  overflow-y: auto;
}

.rules-search-body::-webkit-scrollbar {
  width: 6px;
}

.rules-search-body::-webkit-scrollbar-track {
  background: transparent;
}

.rules-search-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.rules-search-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Search Results */
.rules-search-results {
  padding: 8px;
}

.rules-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.rules-search-empty svg {
  width: 48px;
  height: 48px;
  color: #ffffff20;
  margin-bottom: 16px;
}

.rules-search-empty p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff60;
  margin: 0 0 8px;
}

.rules-search-hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #ffffff30;
}

/* Search Result Item */
.rules-search-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rules-search-result:hover,
.rules-search-result.selected {
  background: rgba(255, 255, 255, 0.04);
}

.rules-search-result.selected {
  background: var(--accent-15);
}

.rules-search-result-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rules-search-result.selected .rules-search-result-icon {
  background: var(--accent-color);
}

.rules-search-result-icon svg {
  width: 18px;
  height: 18px;
  color: #ffffff60;
}

.rules-search-result.selected .rules-search-result-icon svg {
  color: var(--accent-text);
}

.rules-search-result-content {
  flex: 1;
  min-width: 0;
}

.rules-search-result-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-search-result-title mark {
  background: var(--accent-color);
  color: var(--accent-text);
  padding: 0 2px;
  border-radius: 2px;
}

.rules-search-result-category {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-color);
  background: var(--accent-15);
  padding: 2px 6px;
  border-radius: 4px;
}

.rules-search-result-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffff60;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rules-search-result-desc mark {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0 2px;
  border-radius: 2px;
}

/* No Results */
.rules-search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.rules-search-no-results svg {
  width: 48px;
  height: 48px;
  color: #ffffff20;
  margin-bottom: 16px;
}

.rules-search-no-results p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff60;
  margin: 0;
}

/* Search Footer */
.rules-search-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #090909;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rules-search-footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rules-search-footer-item kbd {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff50;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 18px;
  text-align: center;
}

.rules-search-footer-item span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #ffffff40;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .rules-search-btn {
    display: none;
  }

  .rules-search-btn.mobile {
    display: flex;
  }

  .rules-nav-dropdown {
    position: relative;
    padding-right: 60px;
  }

  .rules-nav-dropdown-trigger {
    width: 100%;
  }

  .rules-nav-dropdown-menu {
    right: 60px;
  }

  .rules-search-overlay {
    padding: 20px 16px;
    align-items: flex-start;
  }

  .rules-search-modal {
    max-width: 100%;
    border-radius: 14px;
  }

  .rules-search-body {
    max-height: 50vh;
  }

  .rules-search-footer {
    display: none;
  }

  .rules-search-result {
    padding: 10px 12px;
  }

  .rules-search-result-icon {
    width: 32px;
    height: 32px;
  }

  .rules-search-result-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Report Button */
.report-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-text);
  background: var(--accent-color);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--accent-25);
}

.report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-35);
}

.report-btn:active {
  transform: translateY(0);
}

.report-btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .report-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* Report Chat Widget */
.report-chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 380px;
  max-height: 520px;
  background: #0e0e0e;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.report-chat-widget.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.report-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--accent-color);
  border-radius: 16px 16px 0 0;
}

.report-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
}

.report-chat-title svg {
  width: 20px;
  height: 20px;
}

.report-chat-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.report-chat-close svg {
  width: 16px;
  height: 16px;
  color: var(--accent-text);
}

.report-chat-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Chat Messages Area */
.report-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  max-height: 360px;
}

.report-chat-messages::-webkit-scrollbar {
  width: 5px;
}

.report-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.report-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Chat Message */
.chat-message {
  display: flex;
  gap: 10px;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  background: var(--accent-15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar svg {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
}

.chat-message.user .chat-avatar {
  background: rgba(255, 255, 255, 0.08);
}

.chat-message.user .chat-avatar svg {
  color: #ffffff60;
}

.chat-bubble {
  max-width: 260px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border-top-left-radius: 4px;
}

.chat-message.user .chat-bubble {
  background: var(--accent-15);
  border-radius: 12px;
  border-top-right-radius: 4px;
}

.chat-bubble p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffffcc;
  margin: 0;
  line-height: 1.5;
}

/* Chat Options */
.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.chat-option {
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-color);
  background: var(--accent-15);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.chat-option:hover {
  background: var(--accent-25);
  border-color: var(--accent-color);
}

/* Chat Input */
.report-chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.report-chat-input input {
  flex: 1;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease;
}

.report-chat-input input::placeholder {
  color: #ffffff40;
}

.report-chat-input input:focus {
  border-color: var(--accent-color);
}

.report-chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent-color);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.report-chat-send svg {
  width: 18px;
  height: 18px;
  color: var(--accent-text);
}

.report-chat-send:hover {
  transform: scale(1.05);
}

.report-chat-send:active {
  transform: scale(0.98);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .report-chat-widget {
    right: 12px;
    bottom: 80px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 160px);
  }

  .report-chat-messages {
    min-height: 250px;
    max-height: calc(100vh - 280px);
  }
}

@media (max-width: 480px) {
  .report-chat-widget {
    right: 8px;
    left: 8px;
    bottom: 72px;
    border-radius: 14px;
  }

  .report-chat-header {
    padding: 14px 16px;
    border-radius: 14px 14px 0 0;
  }

  .report-chat-messages {
    padding: 16px;
  }

  .chat-bubble {
    max-width: 220px;
  }
}
