* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

:root {
  --brand: #039fc8;
  --brand-strong: #028bb0;
  --accent: #71b247;
  --text: #0a0a0a;
  --muted: rgba(10, 10, 10, 0.7);
  --border: rgba(137, 137, 137, 0.65);
  --surface: #ffffff;
  --soft: #f4fbfe;
}

body {
  background: linear-gradient(140deg, #eff9ff 0%, #ffffff 45%, #f7fbff 100%);
  color: var(--text);
}

/* ===== HEADER ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.logo img {
  width: 130px;
  height: auto;
}

.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.menu a:hover {
  color: var(--accent);
}

.buttons {
  display: flex;
  gap: 0.8rem;
}

.btn {
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.signup {
  background: var(--accent);
  color: #fff;
}

.signin {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* ===== SIGN UP FORM ===== */
.signup-container {
  display: flex;
  justify-content: center;
  padding: 3.5rem 1rem 4rem;
  position: relative;
  overflow: hidden;
}

.signup-container::before,
.signup-container::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(3, 159, 200, 0.18), transparent 60%);
  pointer-events: none;
}

.signup-container::before {
  top: -160px;
  left: -120px;
}

.signup-container::after {
  bottom: -200px;
  right: -140px;
}

.signup-box {
  background: var(--surface);
  width: 90%;
  max-width: 900px;
  border-radius: 18px;
  border: 1px solid rgba(3, 159, 200, 0.1);
  box-shadow: 0 18px 45px rgba(3, 159, 200, 0.18);
  padding: 2.4rem 3rem 2.8rem;
  position: relative;
  z-index: 1;
}

.add-icon {
  display: block;
  margin: 0 auto 1rem auto;
  width: 100px;
  filter: drop-shadow(0 8px 16px rgba(3, 159, 200, 0.18));
}

.title {
  font-size: 28px;
  text-align: center;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1rem;
  width: 100%;
}

label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: #000;
}

.req {
  color: #e53935;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input[type="file"].file-input__field {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.file-input {
  position: relative;
}

.file-input__label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(3, 159, 200, 0.35);
  background: linear-gradient(135deg, rgba(3, 159, 200, 0.08), rgba(113, 178, 71, 0.08));
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.file-input__label:hover {
  border-color: rgba(3, 159, 200, 0.6);
  box-shadow: 0 10px 24px rgba(3, 159, 200, 0.18);
  transform: translateY(-1px);
}

.file-input__cta {
  background: linear-gradient(135deg, #08b3dd, #039fc8);
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(3, 159, 200, 0.25);
  white-space: nowrap;
}

.file-input__name {
  font-size: 14px;
  color: rgba(10, 10, 10, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(3, 159, 200, 0.8);
  box-shadow: 0 0 0 3px rgba(3, 159, 200, 0.2), 0 10px 24px rgba(3, 159, 200, 0.18);
  outline: none;
  transform: translateY(-1px);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
  min-width: 250px;
}

.small {
  flex: 0.5;
}

.wide {
  flex: 1.5;
}

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  margin-bottom: 1rem;
  color: rgba(10, 10, 10, 0.8);
}

.checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.section-title {
  font-family: "VesperLibre-Bold", sans-serif;
  font-size: 20px;
  margin: 2rem 0 1rem 0;
}

.colored-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.color-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
}

.blue {
  background: rgba(3, 159, 200, 0.5);
}

.green {
  background: rgba(100, 255, 0, 0.5);
}

.orange {
  background: rgba(255, 149, 0, 0.5);
}

/* Add-ons */
.addons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addons-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.addons-inline label {
  font-weight: 700;
}

.addons-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.addons-field input {
  flex: 1;
}

.add-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 16px rgba(3, 159, 200, 0.2);
}

.add-btn:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.tag {
  color: #0a0a0a;
  font-weight: 600;
  border-radius: 8px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6f7fb;
  border: 1px solid rgba(3, 159, 200, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  animation: fadeIn 0.2s ease;
}

.tag:nth-child(3n + 1) {
  background: #e6f7fb;
  border-color: rgba(3, 159, 200, 0.35);
}

.tag:nth-child(3n + 2) {
  background: #e7f6ea;
  border-color: rgba(113, 178, 71, 0.35);
}

.tag:nth-child(3n) {
  background: #fff3e4;
  border-color: rgba(255, 149, 0, 0.35);
}

.tag-close {
  font-size: 14px;
  cursor: pointer;
  color: var(--brand);
  font-weight: bold;
}

/* Buttons */
.btn-submit {
  background: linear-gradient(135deg, #08b3dd 0%, #039fc8 50%, #038bb1 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 15px;
  width: 100%;
  font-size: 18px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 28px rgba(3, 159, 200, 0.28);
}

.btn-submit[disabled] {
  background: linear-gradient(135deg, #89d9ef 0%, #66c7e4 50%, #5fb7d3 100%);
  color: #ffffff;
  cursor: not-allowed;
  box-shadow: none;
  filter: saturate(0.75);
  transform: none;
}

.btn-submit[disabled]:hover {
  filter: saturate(0.75);
  transform: none;
}

.btn-submit:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

.checkbox-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
}

.checkbox-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.login-text {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

.login-text a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

/* Password toggle */
.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  color: var(--brand);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.toggle-password:hover {
  color: var(--brand-strong);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .signup-box {
    width: 95%;
    max-width: 95%;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(3, 159, 200, 0.2);
  }

  .form-row {
    flex-direction: column;
  }

  .small,
  .wide {
    flex: 1;
  }

  .add-icon {
    width: 80px;
  }

  .btn-submit {
    font-size: 16px;
    padding: 12px;
  }

  .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-left: 6px;
  }

  .addons-field {
    flex-direction: column;
    align-items: stretch;
  }

  .add-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 22px;
  }

  .subtitle {
    font-size: 14px;
  }

  label {
    font-size: 14px;
  }
}
