/* General Reset and Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.container, form {
  max-width: 800px;
  margin: 50px auto;
  background:rgba(240, 240, 240, 0.95);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.container h1, form h1, h2, h3, h4 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
    text-align: center;
  font-size: 2.5rem;
  padding-bottom: 10px;
  position: relative;
}

h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  border-radius: 2px;
  margin: 8px auto 0;
  box-shadow: 0 2px 8px rgba(255, 65, 108, 0.5);
}

h2, h3, h4 {
  font-size: 1.4rem;
  border-bottom: 2px solid rgba(52, 152, 219, 0.3);
  padding-bottom: 6px;
  margin-top: 40px;
}

p {
  margin-top: 20px;
  font-weight: 500;
  color: #555;
}

#termsContainer {
  max-height: 300px;
  overflow-y: auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #3498db;
  border-radius: 12px;
  margin-bottom: 30px;
}

button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
  padding: 18px;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 35px;
}

button:hover {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 65, 108, 0.5);
}

#acceptBtn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

#acceptBtn.enabled:hover {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 65, 108, 0.5);
}

label {
  display: block;
  margin-top: 20px;
  font-weight: 600;
  color: #34495e;
  transition: color 0.3s;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select {
  width: 100%;
  padding: 14px 16px;
  margin-top: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: all 0.4s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus {
  border-color: #3498db;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
  outline: none;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
  accent-color: #3498db;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  display: inline-block;
  margin-right: 20px;
  font-weight: 500;
  color: #555;
}

#termsCheck + label {
  font-weight: 600;
  transition: color 0.3s;
}

#termsCheck:checked + label {
  color: #27ae60;
}

#termsCheck + label a {
  color: #ff416c;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

#termsCheck + label a:hover {
  color: #ff4b2b;
  text-decoration: underline;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}

@media (max-width: 768px) {
  .container, form {
    padding: 30px 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2, h3, h4 {
    font-size: 1.2rem;
  }
}

.warning {
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1rem;
  max-width: 600px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #34495e;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  transform: scale(1.3);
  accent-color: #3498db;
  cursor: pointer;
}

