/* ===============================
   ZenoFusion Donation Styles V1.2
   განახლებულია: 2025-07-20
   =============================== */

.donation-box {
  background: #F4F4F4;
  color: #000;
  padding: 12px 16px;
  margin-top: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.donation-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.donation-message {
  flex: 1;
  font-weight: 500;
}

/* ========== Modal Popup ========== */
.donate-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}

.donate-modal-content {
  background: #fff;
  color: #111;
  max-width: 500px;
  height: 85vh;
  margin: 80px auto;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.donate-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 20px 30px 14px;
  border-bottom: 1px solid #eee;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.donate-header h2 {
  font-size: 20px;
  margin: 0;
  color: #033e4e;
}

.donate-close {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}
.donate-close:hover {
  color: #000;
}

.donate-scroll-area {
  overflow-y: auto;
  padding: 20px 30px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f2f2f2;
}

.donate-scroll-area::-webkit-scrollbar {
  width: 10px;
}
.donate-scroll-area::-webkit-scrollbar-track {
  background: #f2f2f2;
  border-radius: 20px;
}
.donate-scroll-area::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 20px;
  border: 2px solid #f2f2f2;
}

/* ========== Wallet Block ========== */
.wallet-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fefefe;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.wallet-box:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.wallet-qr {
  text-align: center;
}

.wallet-qr img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.qr-caption {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.wallet-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.wallet-info code {
  background: #f5f5f5;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-family: monospace;
  color: #cc0066;
  word-break: break-word;
}

.wallet-info button {
  background: #219653;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.wallet-info button:hover {
  background-color: #27ae60;
}

.wallet-info button.copied {
  background: #6fcf97;
}

/* ========== Copy Button (optional standalone) ========== */
.copy-button {
  background-color: #eee;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
.copy-button:hover {
  background-color: #ddd;
}
.copy-button.copied {
  background-color: #c3f7c3;
  color: #0a850a;
}

/* ========== Mobile ========== */
@media screen and (max-width: 480px) {
  .donation-box {
    flex-direction: row;
    align-items: flex-start;
    font-size: 16px;
    padding: 12px 14px;
  }

  .donation-avatar {
    width: 52px;
    height: 52px;
    border: 3px solid #f1f1f1;
  }

  .donate-modal-content {
    width: 90%;
    margin: 60px auto;
  }

  .donate-header {
    padding: 16px 20px 12px;
  }

  .donate-scroll-area {
    padding: 20px;
  }
}
