/* =====================================
   COMPONENTS
===================================== */

/* Chip */
.balChip {
  padding: 6px 14px;
  background: var(--secondary);
  border: 3px solid #000;
  color: #000;
}

/* Footer */
.foot {
  margin-top: 32px;
  padding: 20px;
  background: #ffa500;
  border: 5px dotted #000;
  display: none;
}

/* Notification Popup */
.notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffa500;
  border: 4px solid #000;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 8px 8px 0 #000;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  z-index: 10000;
  max-width: 90%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.notification.show {
  opacity: 1;
  pointer-events: auto;
  animation: fadeOut 3s ease-in-out forwards;
}

.notification.notification-danger {
  background: #d7263d;
  color: #fff;
  border-color: #3f0009;
  box-shadow: 8px 8px 0 #3f0009;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.modal-content {
  background: var(--background);
  border: 6px solid var(--outline);
  padding: 18px;
  width: 90%;
  max-width: 520px;
  box-shadow: 10px 10px 0 #000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-title {
  font-size: 20px;
  color: var(--secondary);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Code Redeem Modal */
.code-redeem-modal-content {
  width: min(92vw, 560px);
  text-align: center;
  align-items: center;
  gap: 16px;
}

.code-redeem-modal-content .modal-title {
  font-size: 28px;
  line-height: 1.2;
  color: #000;
}

.code-redeem-modal-content.code-redeem-modal-danger {
  background: #d7263d;
  border-color: #3f0009;
  box-shadow: 10px 10px 0 #3f0009;
}

.code-redeem-modal-content.code-redeem-modal-danger .modal-title {
  color: #fff;
}

/* Admin Output */
.admin-output {
  margin-top: 12px;
  padding: 12px;
  min-height: 140px;
  background: #ffff00;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  white-space: pre-wrap;
}

/* Invest Status */
.invest-status {
  margin-top: 12px;
  padding: 10px 12px;
  background: #ff69b4;
  border: 3px solid #000;
}

.invest-list {
  margin-top: 12px;
}

/* Empty States */
.invest-empty {
  padding: 16px;
  background: #00ffff;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.gambling-empty {
  padding: 16px;
  background: #ffff00;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.streamer-empty {
  font-style: italic;
}
