/* daily-reward.css */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: white;
  padding: 16px;
  max-width: 400px;
  margin: 0 auto;
}
i {
  color: rgb(95, 0, 0);
  font-size: 1rem;
  margin-right: 6px;
}

.modal {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.back-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: orange;
  cursor: pointer;
}

.modal-icon {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

.modal-icon img {
  width: 48px;
  height: 48px;
}

.modal-text {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 16px;
}

.next-claim {
  text-align: center;
  padding: 8px 0;
  border: 2px solid rgb(100, 0, 0);
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: rgb(149, 0, 0);
}

.streak-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
  margin-bottom: 4px;
}

.days {
  color: orange;
  font-size: 0.8rem;
}

.streak-bar {
  background: rgba(255, 255, 255, 0.1);
  height: 8px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}

.streak-progress {
  background: orange;
  height: 100%;
  width: 0%;
  transition: width 0.5s;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.day {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 6px;
  font-size: 0.75rem;
  text-align: center;
  color: white;
  position: relative;
}

.day img {
  width: 24px;
  height: 24px;
  margin: 4px auto;
}

.day strong {
  display: block;
  color: orange;
  margin-top: 2px;
}

.day.active {
  border: 2px solid rgb(255, 0, 0);
  background: rgba(255, 0, 0, 0.183);
}

.day .check {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.8rem;
  color: limegreen;
}

.close-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgb(149, 0, 0);
  border: 2px solid rgb(100, 0, 0);
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  cursor: default;
}
