/**
 * Gacha system styles
 */

/* Confirm dialog */
.confirm-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.confirm-dialog-content {
  background-color: #F5F5DC; /* Cream color */
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  width: 80%;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); /* Gold shadow */
  text-align: center;
}

.confirm-dialog h3 {
  margin-top: 0;
  color: #8B4513; /* Brown text */
  font-size: 24px;
}

.confirm-dialog p {
  margin-bottom: 20px;
  color: #000; /* Black text */
  font-size: 16px;
  line-height: 1.5;
}

.confirm-dialog-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.confirm-dialog button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

#confirm-roll-until-cancel {
  background-color: #CD853F; /* Peru color */
  color: white;
}

#confirm-roll-until-cancel:hover {
  background-color: #A0522D; /* Sienna color */
}

#confirm-roll-until-confirm {
  background-color: #4CAF50; /* Green color */
  color: white;
}

#confirm-roll-until-confirm:hover {
  background-color: #388E3C; /* Darker green */
}

/* Variant badge for tower options */
.variant-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  padding: 2px 5px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: bold;
  color: white;
  z-index: 1;
}

.variant-badge.common {
  background-color: #78909C;
}

.variant-badge.rare {
  background-color: #2196F3;
}

.variant-badge.epic {
  background-color: #9C27B0;
}

.variant-badge.legendary {
  background-color: #FFC107;
}

.variant-badge.mythic {
  background-color: #FF5722;
}

.variant-badge.divine {
  background-color: #E91E63;
}
