* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
   background-color: #fafafa;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
}

.page-content {
   flex: 1;
}

a {
   text-decoration: none;
   color: inherit;
}

/* Header */
.header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 12px 24px;
   background-color: #181a20;
   border-bottom: 1px solid #2b2f36;
}

.header-left {
   display: flex;
   align-items: center;
   gap: 24px;
}

.logo {
   display: flex;
   align-items: center;
   gap: 4px;
   transition: opacity 0.2s;
}

.logo:hover {
   opacity: 0.8;
}

.logo svg {
   width: 24px;
   height: 24px;
}

.logo span {
   color: #f0b90b;
   font-weight: bold;
   font-size: 20px;
}

.nav {
   display: flex;
   align-items: center;
   gap: 20px;
   font-size: 14px;
   color: #848e9c;
}

.nav a {
   display: flex;
   align-items: center;
   gap: 4px;
   transition: color 0.2s;
}

.nav a:hover {
   color: #f0b90b;
}

.header-right {
   display: flex;
   align-items: center;
   gap: 16px;
}

.header-icon {
   color: #848e9c;
   transition: color 0.2s;
   display: flex;
   align-items: center;
}

.header-icon:hover {
   color: #f0b90b;
}

.header-icon svg {
   width: 20px;
   height: 20px;
}

.btn-reposicion {
   background-color: #f0b90b;
   color: #181a20;
   padding: 6px 16px;
   border-radius: 6px;
   font-size: 14px;
   font-weight: 500;
   display: flex;
   align-items: center;
   gap: 8px;
   transition: background-color 0.2s;
}

.btn-reposicion:hover {
   background-color: #d4a50a;
}

.btn-reposicion svg {
   width: 16px;
   height: 16px;
}

/* Main Content */
.main {
   max-width: 1200px;
   margin: 0 auto;
   padding: 24px 16px;
   width: 100%;
}

.title-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 24px;
}

.title-left {
   display: flex;
   align-items: center;
   gap: 8px;
}

.title-left h1 {
   font-size: 20px;
   font-weight: 600;
   color: #1e2329;
}

.title-dot {
   width: 8px;
   height: 8px;
   background-color: #f0b90b;
   border-radius: 50%;
}

.help-link {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 14px;
   color: #707a8a;
   transition: color 0.2s;
}

.help-link:hover {
   color: #1e2329;
}

.help-link svg {
   width: 16px;
   height: 16px;
}

/* Merchant Card */
.merchant-card {
   background-color: #1e2026;
   border-radius: 8px;
   padding: 24px;
   margin-bottom: 24px;
}

.merchant-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   margin-bottom: 24px;
}

.merchant-info {
   display: flex;
   gap: 16px;
}

.avatar {
   position: relative;
}

.avatar-circle {
   width: 64px;
   height: 64px;
   border-radius: 50%;
   overflow: hidden;
   background: linear-gradient(135deg, #f0b90b, #d4a50a);
   display: flex;
   align-items: center;
   justify-content: center;
}

.avatar-circle img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center 15%;
}

.online-indicator {
   position: absolute;
   bottom: -2px;
   right: -2px;
   width: 18px;
   height: 18px;
   background-color: #2ebd85;
   border-radius: 50%;
   border: 3px solid #1e2026;
}

.user-details h2 {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 18px;
   font-weight: 600;
   color: white;
   margin-bottom: 8px;
}

.verified-badge {
   width: 20px;
   height: 20px;
}

.user-meta {
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 14px;
   color: #848e9c;
   margin-bottom: 12px;
}

.online-status {
   display: flex;
   align-items: center;
   gap: 6px;
}

.online-dot {
   width: 10px;
   height: 10px;
   background-color: #2ebd85;
   border-radius: 50%;
}

.online-text {
   color: #2ebd85;
}

.separator {
   color: #474d57;
}

.info-icon {
   width: 12px;
   height: 12px;
   color: #474d57;
}

.verifications {
   display: flex;
   align-items: center;
   gap: 16px;
   font-size: 14px;
}

.actor-title-highlight {
   margin-top: 12px;
   font-size: 14px;
   font-weight: 500;
   color: #f0b90b;
}

.verification-item {
   display: flex;
   align-items: center;
   gap: 4px;
   color: #eaecef;
   font-weight: 500;
}

.verification-item svg {
   width: 16px;
   height: 16px;
   color: #2ebd85;
}

.comments-section {
   text-align: right;
}

.volver-link {
   font-size: 14px;
   color: #848e9c;
   transition: color 0.2s;
}

.volver-link:hover {
   color: #f0b90b;
}

.comments-box {
   background-color: #2b2f36;
   border-radius: 8px;
   padding: 16px;
   margin-top: 8px;
}

.comments-title {
   font-size: 14px;
   color: #848e9c;
   margin-bottom: 8px;
   text-align: right;
}

.comments-stats {
   display: flex;
   align-items: center;
   gap: 12px;
}

.percentage {
   font-size: 20px;
   font-weight: bold;
   color: #2ebd85;
}

.stat-label {
   font-size: 14px;
   color: #eaecef;
}

.stat-badge {
   padding: 2px 8px;
   border-radius: 4px;
   font-size: 12px;
   font-weight: 500;
   color: white;
}

.stat-badge.positive {
   background-color: #2ebd85;
}

.stat-badge.negative {
   background-color: #f6465d;
}

/* Stats Grid */
.stats-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 16px;
}

.stat-card {
   background-color: #181a20;
   border-radius: 8px;
   padding: 16px;
   border: 1px solid #2b2f36;
   text-align: center;
   transition: border-color 0.2s;
   cursor: pointer;
}

.stat-card:hover {
   border-color: #f0b90b;
}

.stat-card.no-hover:hover {
   border-color: #2b2f36;
   cursor: default;
}

.stat-label-header {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 4px;
   font-size: 14px;
   color: #848e9c;
   margin-bottom: 8px;
}

.stat-label-header svg {
   width: 12px;
   height: 12px;
}

.stat-value {
   font-weight: bold;
   color: white;
   font-size: 18px;
}

.stat-value.small {
   font-size: 14px;
}

.stat-subtext {
   font-size: 12px;
   margin-top: 4px;
}

.stat-subtext .buy {
   color: #2ebd85;
}

.stat-subtext .sell {
   color: #f0b90b;
}

.stat-subtext .divider {
   color: #474d57;
}

.more-btn {
   display: flex;
   align-items: center;
   justify-content: center;
}

.more-circle {
   width: 40px;
   height: 40px;
   background-color: #2b2f36;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background-color 0.2s;
}

.more-circle:hover {
   background-color: #3b3f46;
}

.more-circle svg {
   width: 20px;
   height: 20px;
   color: #848e9c;
}

/* Payment Section */
.payment-section {
   background-color: white;
   border-radius: 8px;
   padding: 24px;
   border: 1px solid #e5e7eb;
}

.payment-title {
   font-size: 20px;
   font-weight: 600;
   color: #1e2329;
   margin-bottom: 24px;
   text-align: center;
}

.payment-pretitle {
   font-size: 30px;
   font-weight: 600;
   color: #707a8a;
   margin-bottom: 12px;
   text-align: center;
}

.payment-content {
   display: flex;
   align-items: center;
   gap: 32px;
}

.card-image {
   width: 160px;
   height: 100px;
   background: linear-gradient(135deg, #f0b90b, #d4a50a);
   border-radius: 12px;
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 12px;
   position: relative;
}

.card-chip {
   position: absolute;
   top: 16px;
   left: 16px;
   width: 8px;
   height: 8px;
   background-color: rgba(255, 255, 255, 0.5);
   border-radius: 50%;
}

.card-lines {
   display: flex;
   flex-direction: column;
   gap: 4px;
}

.card-line {
   height: 8px;
   background-color: rgba(0, 0, 0, 0.2);
   border-radius: 4px;
}

.card-line:first-child {
   width: 60%;
}

.card-line:last-child {
   width: 40%;
}

.account-details {
   flex: 1;
}

.qr-section {
   margin: 16px 0 8px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 8px;
}

.qr-box {
   width: 160px;
   height: 160px;
   background: #ffffff;
   border: 1px solid #e5e7eb;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.qr-label {
   font-size: 14px;
   color: #707a8a;
}

.qr-image {
   max-width: 140px;
   max-height: 140px;
   width: 100%;
   height: 100%;
   object-fit: contain;
}

.form-group {
   margin-bottom: 16px;
}

.form-label {
   font-size: 14px;
   color: #707a8a;
   margin-bottom: 8px;
   display: block;
}

.form-input {
   border: 1px solid #e5e7eb;
   border-radius: 8px;
   padding: 12px 16px;
   font-size: 18px;
   color: #1e2329;
   background-color: white;
   width: 100%;
   max-width: 520px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   cursor: pointer;
   transition: border-color 0.2s;
}

.form-input:hover {
   border-color: #f0b90b;
}

.form-input-text {
   flex: 1;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

.copy-icon {
   width: 20px;
   height: 20px;
   color: #848e9c;
   flex-shrink: 0;
   transition: color 0.2s;
}

.copy-meta {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   flex-shrink: 0;
   margin-left: 12px;
}

.copy-label {
   font-size: 7px;
   font-weight: 600;
   color: #848e9c;
   letter-spacing: 0.5px;
}

.form-input:hover .copy-icon {
   color: #f0b90b;
}

.form-input:hover .copy-label {
   color: #f0b90b;
}

.timer-section {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 16px;
}

.timer-box {
   border: 2px solid #f0b90b;
   border-radius: 12px;
   padding: 16px 32px;
}

.timer-value {
   font-size: 36px;
   font-weight: bold;
   color: #f0b90b;
   font-variant-numeric: tabular-nums;
   font-feature-settings: "tnum";
}

.timer-text {
   font-size: 14px;
   color: #707a8a;
}

.timer-warning {
   display: flex;
   align-items: flex-start;
   gap: 8px;
   font-size: 12px;
   color: #f0b90b;
   max-width: 200px;
}

.timer-warning-icon {
   color: #f6465d;
   font-size: 18px;
   font-weight: bold;
}

.btn-accept {
   background-color: #f0b90b;
   color: #1e2329;
   padding: 12px 32px;
   border-radius: 8px;
   font-weight: 600;
   transition: background-color 0.2s;
   display: inline-block;
}

.btn-accept:hover {
   background-color: #d4a50a;
}

/* Floating Chat Button */
.chat-btn {
   position: fixed;
   bottom: 24px;
   right: 24px;
   width: 56px;
   height: 56px;
   background-color: #f0b90b;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
   transition: all 0.2s;
}

.chat-btn:hover {
   background-color: #d4a50a;
   transform: scale(1.1);
}

.chat-btn svg {
   width: 28px;
   height: 28px;
   color: #181a20;
}

/* Toast notification */
.toast {
   position: fixed;
   bottom: 100px;
   left: 50%;
   transform: translateX(-50%);
   background-color: #1e2329;
   color: white;
   padding: 12px 24px;
   border-radius: 8px;
   font-size: 14px;
   display: none;
   z-index: 1000;
}

.toast.show {
   display: block;
   animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
   0% {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
   }

   15% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
   }

   85% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
   }

   100% {
      opacity: 0;
      transform: translateX(-50%) translateY(-20px);
   }
}

/* Chevron icon */
.chevron {
   width: 12px;
   height: 12px;
}

/* Footer */
.footer {
   background-color: #181a20;
   border-top: 1px solid #2b2f36;
   padding: 30px 24px;
   margin-top: auto;
}

.footer-content {
   max-width: 1200px;
   margin: 0 auto;
}

.footer-top {
   display: flex;
   flex-wrap: wrap;
   gap: 32px;
   padding-bottom: 20px;
   border-bottom: 1px solid #2b2f36;
}

.footer-column {
   flex: 1;
   min-width: 150px;
}

.footer-column-title {
   color: #eaecef;
   font-size: 13px;
   font-weight: 600;
   margin-bottom: 10px;
}

.footer-links {
   list-style: none;
   padding: 0;
   margin: 0;
}

.footer-links li {
   margin-bottom: 6px;
}

.footer-links a {
   color: #848e9c;
   font-size: 12px;
   text-decoration: none;
   transition: color 0.2s;
}

.footer-links a:hover {
   color: #f0b90b;
}

.footer-bottom {
   padding-top: 16px;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;
   gap: 12px;
}

.footer-logo {
   display: flex;
   align-items: center;
   gap: 6px;
}

.footer-logo svg {
   width: 20px;
   height: 20px;
}

.footer-logo span {
   color: #f0b90b;
   font-weight: bold;
   font-size: 16px;
}

.footer-legal {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
}

.footer-legal a {
   color: #848e9c;
   font-size: 11px;
   text-decoration: none;
   transition: color 0.2s;
}

.footer-legal a:hover {
   color: #f0b90b;
}

.footer-copyright {
   color: #5e6673;
   font-size: 11px;
   width: 100%;
   text-align: center;
   margin-top: 16px;
}

.footer-social {
   display: flex;
   gap: 12px;
}

.footer-social a {
   color: #848e9c;
   transition: color 0.2s;
}

.footer-social a:hover {
   color: #f0b90b;
}

.footer-social svg {
   width: 18px;
   height: 18px;
}

/* Mobile Responsive */
@media (max-width: 1280px) {
   .main {
      padding: 24px 24px;
   }
}

@media (max-width: 1024px) {
   .main {
      padding: 20px 16px;
   }

   .merchant-card {
      padding: 20px;
   }

   .payment-section {
      padding: 20px;
   }
}

@media (max-width: 768px) {
   .header {
      padding: 12px 16px;
   }

   .nav {
      display: none;
   }

   .header-right {
      gap: 12px;
   }

   .header-right .header-icon:nth-child(n + 4) {
      display: none;
   }

   .main {
      padding: 16px 12px;
   }

   .title-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
   }

   .merchant-card {
      padding: 16px;
   }

   .merchant-header {
      flex-direction: column;
      gap: 16px;
   }

   .merchant-info {
      flex-direction: column;
      align-items: center;
      text-align: center;
   }

   .user-meta {
      flex-wrap: wrap;
      justify-content: center;
   }

   .verifications {
      flex-wrap: wrap;
      justify-content: center;
   }

   .comments-section {
      width: 100%;
      text-align: center;
   }

   .comments-box {
      text-align: center;
   }

   .comments-title {
      text-align: center;
   }

   .comments-stats {
      flex-wrap: wrap;
      justify-content: center;
   }

   .payment-section {
      padding: 16px;
   }

   .payment-content {
      flex-direction: column;
      align-items: stretch;
   }

   .card-image {
      width: 100%;
      max-width: 200px;
      margin: 0 auto;
   }

   .account-details {
      width: 100%;
   }

   .form-input {
      max-width: 100%;
   }

   .timer-section {
      width: 100%;
   }

   .btn-accept {
      width: 100%;
      text-align: center;
   }
}

@media (max-width: 480px) {
   .logo span {
      font-size: 16px;
   }

   .footer {
      padding: 24px 16px;
   }

   .footer-top {
      flex-direction: column;
      gap: 24px;
   }

   .footer-column {
      min-width: 100%;
   }

   .footer-bottom {
      flex-direction: column;
      text-align: center;
   }

   .footer-legal {
      flex-direction: column;
      gap: 12px;
   }

   .btn-reposicion {
      padding: 6px 12px;
      font-size: 12px;
   }

   .btn-reposicion span {
      display: none;
   }

   .title-left h1 {
      font-size: 18px;
   }

   .user-details h2 {
      font-size: 16px;
      flex-wrap: wrap;
      justify-content: center;
   }

   .user-meta {
      font-size: 12px;
   }

   .verifications {
      font-size: 12px;
      gap: 8px;
   }

   .stat-value {
      font-size: 14px;
   }

   .stat-value.small {
      font-size: 12px;
   }

   .percentage {
      font-size: 18px;
   }

   .form-input {
      font-size: 14px;
      padding: 10px 12px;
   }

   .timer-value {
      font-size: 28px;
   }

   .timer-box {
      padding: 12px 24px;
   }
}
