.contener-depin {
  width: 100%;
  min-height: 100vh;
  background-image: url("https://about.fb.com/wp-content/uploads/2024/09/Connect-24_AI-Updates_Header.gif?fit=960%2C540");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.contener-depin .mining-box {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  max-width: 70%;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contener-depin .fans img {
  width: 200px;
  height: 200px;
}

.contener-depin h4 {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #252525;
}

.contener-depin #points {
  color: #00a2e8;
  font-weight: 600;
}

.contener-depin #timer {
  color: #00a2e8;
  font-weight: bold;
}

.contener-depin p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #000000;
}
.wrapper-depin {
  max-width: 100%;
  margin: 40px auto;
  padding: 30px;
  border-radius: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
}

.wrapper-depin .header {
  text-align: center;
  margin-bottom: 40px;
}

.wrapper-depin .header-depin h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #00a2e8;
}

.wrapper-depin .header-depin p {
  font-size: 17px;
  color: #475569;
}

.wrapper-depin .header-depin span {
  font-weight: 600;
  color: #0ea5e9;
}

.wrapper-depin .stats-box {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.wrapper-depin .stat-card {
  flex: 1 1 260px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #e2e8f0;
}

.wrapper-depin .stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.wrapper-depin .stat-card .label {
  display: block;
  font-size: 15px;
  color: #64748b;
  margin-bottom: 8px;
}

.wrapper-depin .stat-card .value {
  font-size: 28px;
  font-weight: 700;
  color: #03b1f0;
}

.wrapper-depin .chart-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  color: #00a2e8;
}

.wrapper-depin .chart-container h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

.wrapper-depin .chart-wrapper {
  position: relative;
  width: 100%;
  height: 300px; /* Giữ biểu đồ cao 300px và vẫn rõ */
}

#miningChart {
  width: 100% !important;
  height: 100% !important;
}

.main-coin {
  display: flex;
  justify-content: end;
  gap: 20px;
  align-items: center;
}
.img-coin img {
  width: 50px;
  height: 50px;
}

.fussion {
  width: 30%;
  padding: 10px;
  border-radius: 20px;
  background-color: #fff;
}

.fun {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.history-table {
  border: none;
}
.exchange-box {
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  max-width: 400px;
}
.exchange-wrapper {
  margin-top: 30px;
}
.exchange-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0ea5e9;
}

.exchange-box p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #1e293b;
}

.input-display {
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

.input-display:read-only {
  background: #f8fafc;
  cursor: not-allowed;
}

.btn-exchange {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  background-color: #00a2e8;
  color: white;
  border: none;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.btn-exchange:hover {
  background-color: #0284c7;
}

.exchange-result {
  margin-top: 15px;
  font-size: 14px;
}

.exchange-container {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.exchange-box,
.history-box {
  flex: 1 1 45%;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.history-scroll {
  max-height: 320px;
  overflow-y: auto;
  margin-top: 15px;
}

.history-scroll::-webkit-scrollbar {
  width: 8px;
}

.history-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.history-table th,
.history-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.history-table th {
  background-color: #f7f7f7;
  font-weight: 600;
}

.empty-history {
  font-style: italic;
  color: #999;
}

/* Mobile - width dưới 768px */
@media (max-width: 768px) {
  .exchange-wrapper {
    flex-direction: column;
  }
  .wrapper-depin {
    padding: 10px;
  }
  .contener-depin .mining-box {
    max-width: 90% !important;
  }
  .contener-depin {
    padding: 0;
  }
  .fussion {
    width: 80%;
  }
  .contener-depin .mining-box {
    padding: 0rem;}
}


