/* Стилі лише для сторінок: stake-weekly-bonus-calculator */

.calculator-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  min-height: 100vh;
  margin-bottom: 20px;
}
.calculator-card {
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 
			0 20px 40px rgba(0, 0, 0, 0.5),
			inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.header-section {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}
.header-section p {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin: 20px 0 0 0;
  line-height: 1.4;
}
.gift-icon {
  font-size: 48px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}
.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.form-group {
  position: relative;
}
.calculator-input {
  width: 100%;
  padding: 16px 20px;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.calculator-input:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
  background: #222;
}
.calculator-input::placeholder {
  color: #666;
  font-weight: 400;
}
.calculator-select {
  width: 100%;
  padding: 16px 20px;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.calculator-select:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
  background: #222;
}
.calculator-select option {
  background: #1a1a1a;
  color: #ffffff;
  padding: 10px;
}
.toggle-group {
  display: flex;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 4px;
  border: 2px solid #333;
}
.toggle-btn {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.toggle-btn.active {
  background: linear-gradient(135deg, #4a9eff, #357abd);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}
.toggle-btn:hover:not(.active) {
  color: #999;
  background: rgba(255, 255, 255, 0.05);
}
.dynamic-label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: #1e1e1e;
  padding: 0 8px;
  color: #999;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
}
.calculate-btn {
  padding: 18px 40px;
  background: linear-gradient(135deg, #4a9eff, #357abd);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}
.calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(74, 158, 255, 0.4);
  background: linear-gradient(135deg, #5aa7ff, #4086c7);
}
.calculate-btn:active {
  transform: translateY(0);
}
.results-section {
  margin-top: 30px;
  padding: 25px;
  background: linear-gradient(145deg, #1a1a1a, #262626);
  border-radius: 12px;
  border: 1px solid #333;
}
.results-section.hidden {
  display: none;
}
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #333;
}
.result-item:last-of-type {
  border-bottom: none;
}
.result-label {
  color: #ccc;
  font-size: 16px;
  font-weight: 500;
}
.result-value {
  color: #4a9eff;
  font-size: 18px;
  font-weight: 700;
}
.disclaimer {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
  color: #ffc107;
  font-size: 14px;
  text-align: center;
}
.countdown-container {
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 
			0 20px 40px rgba(0, 0, 0, 0.5),
			inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.countdown-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}
.countdown-display {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.time-unit {
  background: linear-gradient(145deg, #1a1a1a, #262626);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px 15px;
  min-width: 80px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.time-value {
  color: #4a9eff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.time-label {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .calculator-container {
    padding: 15px;
  }
  .calculator-card, .countdown-container {
    padding: 25px;
  }
  .header-section h1 {
    font-size: 20px;
  }
  .countdown-display {
    gap: 15px;
  }
  .time-unit {
    min-width: 70px;
    padding: 15px 10px;
  }
  .time-value {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .toggle-group {
    flex-direction: column;
    gap: 4px;
  }
  .countdown-display {
    gap: 10px;
  }
  .time-unit {
    min-width: 60px;
    padding: 12px 8px;
  }
  .time-value {
    font-size: 24px;
  }
}
