.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.headers {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 1px;
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;
  border-radius: 12px;
  color: #ffffff !important;
  box-shadow: 0 4px 6px rgba(233, 30, 99, 0.1) !important;
}

.title {
  font-size: 45px !important;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.calculator-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
  border: 2px solid #fce7f3;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

input[type="number"] {
  padding: 14px 18px !important;
  font-size: 1.1rem;
  border: 2px solid #fce7f3 !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

input[type="number"]:focus {
  outline: none !important;
  border-color: #ec4899 !important;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

input[type="number"]:hover {
  border-color: #f472b6;
}

input[type="number"]::placeholder {
  color: #d1d5db;
}

.calculate-btn {
  width: 100%;
  padding: 16px 32px !important;
  font-size: 1.1rem !important;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(236, 72, 153, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
  background: linear-gradient(135deg, #be185d 0%, #ec4899 100%);
}

.calculate-btn:active {
  transform: translateY(0);
}

.result-section {
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(135deg, #fce7f3 0%, rgba(252, 231, 243, 0.5) 100%);
  border-radius: 16px;
  text-align: center;
  border: 2px solid #f472b6 !important;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-number {
  font-size: 4rem;
  font-weight: 800;
  color: #ec4899;
  margin-bottom: 12px;
  line-height: 1;
}

.result-text {
  font-size: 1.2rem;
  color: #1f2937;
  font-weight: 500;
  line-height: 1.5;
}

.result-text span {
  font-weight: 700;
  color: #ec4899;
}

.error-message {
  margin-top: 24px;
  padding: 16px 20px;
  background-color: #fee2e2;
  border: 2px solid #ef4444;
  border-radius: 12px;
  color: #991b1b;
  font-weight: 500;
  animation: shake 0.3s ease;
  text-align: center;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .container {
    padding: 0px;
  }

  .title {
    font-size: 33px !important;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }
	.calculate-btn {
		font-size:14px !important
	}

  .calculator-card {
    padding: 28px 24px;
  }

  .result-number {
    font-size: 3rem;
  }

  .result-text {
    font-size: 1.05rem;
  }

  input[type="number"] {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .calculate-btn {
    font-size: 1rem;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 33px;
  }

  .calculator-card {
    padding: 24px 20px;
  }

  .result-number {
    font-size: 2.5rem;
  }

  .result-text {
    font-size: 1rem;
  }
}