* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
} */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  padding: 40px 20px;
  border-radius: 20px;
  color: white !important;
}

header h1 {
  font-size:45px !important;
  font-weight: 700 !important;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	color:white !important;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.calculator-wrapper {
  background: linear-gradient(135deg, #e91e63, #dc3545);
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e91e63;
}

.calculator-form {
  background: #ffffff;
  padding: 40px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1e1b1c;
  font-size: 1rem;
}

.required {
  color: #dc3545;
  font-weight: 700;
}

input {
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
  padding: 5px !important;
  font-size: 1rem !important;
  color: #000000 !important;
  border-radius: 4px !important;
  outline: none !important;
}

input:focus {
  border-color: #e91e63 !important;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.3) !important;
}

input::placeholder {
  color: #888888 !important;
}

select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e91e63;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #ffffff !important;
  color: #333;
}

select:focus {
  outline: none !important;
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

.field-description {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #ad1457;
  font-style: italic;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 8px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #ad1457;
  gap: 8px;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-button {
  width: 20px;
  height: 20px;
  border: 2px solid #e91e63 !important;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  background: white;
  padding: 3px 8px;
}

.radio-label:hover .radio-button {
  border-color: #dc3545;
  transform: scale(1.1);
}

.radio-label input[type="radio"]:checked + .radio-button {
  background: linear-gradient(135deg, #e91e63, #dc3545);
  border-color: #dc3545;
}

.radio-label input[type="radio"]:checked + .radio-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white ;
  border-radius: 50%;
}

.competition-slider {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-container {
  position: relative;
  margin: 20px 0;
}

#competition {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(135deg, #e91e63, #dc3545);
  outline: none;
  opacity: 0.8;
  transition: opacity 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

#competition:hover {
  opacity: 1;
}

#competition::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dc3545;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#competition::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dc3545;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ad1457;
  font-weight: 600;
}

.competition-value {
  text-align: center;
  font-weight: 700;
  color: #dc3545;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
}

.form-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
}

.btn {
  padding: 14px 30px;
  border: none !important;
  border-radius: 10px !important;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) ;
  color: white !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: white !important;
  color: #e91e63 !important;
  border: 2px solid #e91e63 !important;
}

.btn-secondary:hover {
  background: #e91e63;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.results-section {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) ;
  color: white;
  padding: 40px;
  text-align: center;
  position: relative;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.results-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none !important;
  color: white;
  padding: 10px !important;
  border-radius: 8px !important;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.results-amount {
  font-size: 3rem;
  font-weight: 700 !important;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.results-subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.results-subtitle span {
  font-size: 1rem;
  opacity: 0.8;
}

.results-breakdown {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 20px;
  margin-top: 20px;
  text-align: left;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 5px 0;
}

.breakdown-item:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

@media (max-width: 768px) {
  .container {
    padding: 4px !important;
  }

  header h1 {
    font-size: 35px;
  }

  .calculator-form {
    padding: 25px;
  }

  .form-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding: 16px;
  }

  .results-section {
    padding: 25px;
  }

  .results-amount {
    font-size: 2.2rem;
  }

  .results-header {
    flex-direction: column;
    gap: 10px;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 35px !important;
  }

  .calculator-form {
    padding: 20px;
  }

  .results-amount {
    font-size: 1.8rem;
  }

  .form-group {
    margin-bottom: 25px;
  }
}

.calculating {
  opacity: 0.7;
  pointer-events: none;
}
.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
    font-size: 14px;
}

.calculating .btn-primary {
  background: #ccc;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-section.show {
  animation: slideIn 0.5s ease-out;
}
