:root {
  --brand-color: #252b91;
  --accent-color: #7eb229;
  --bg-soft: #f0f4f8;
  --text-main: #2d3436;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.main-wrapper {
  background: white;
  display: flex;
  max-width: 1000px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Left Side Branding */
.side-banner {
  background: var(--brand-color);
  color: white;
  width: 35%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: linear-gradient(
      rgba(37, 43, 145, 0.8),
      rgba(37, 43, 145, 0.8)
    ),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80");
  background-size: cover;
}

.side-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
.side-banner p {
  opacity: 0.8;
  line-height: 1.6;
}

/* Right Side Form */
.form-content {
  flex: 1;
  padding: 50px;
  max-height: 90vh;
  overflow-y: auto;
}

.form-section-title {
  color: var(--brand-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin: 30px 0 20px 0;
  display: flex;
  align-items: center;
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
  margin-left: 15px;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field-box {
  display: flex;
  flex-direction: column;
}
.field-box.full {
  grid-column: span 2;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #636e72;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  border: 2px solid #edf2f7;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

input:focus {
  outline: none;
  border-color: var(--brand-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 43, 145, 0.1);
}

/* Styled Selection Row */
.selection-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.chip-option {
  position: relative;
  cursor: pointer;
}

.chip-option input {
  position: absolute;
  opacity: 0;
}
.chip-option span {
  display: inline-block;
  padding: 8px 16px;
  background: #f1f3f5;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: 0.2s;
}

.chip-option input:checked + span {
  background: var(--accent-color);
  color: white;
}

.submit-area {
  margin-top: 40px;
}
.btn-grad {
  background: var(--brand-color);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}
.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 43, 145, 0.2);
}

/* Responsive */
@media (max-width: 850px) {
  .main-wrapper {
    flex-direction: column;
    border-radius: 0;
  }
  .side-banner {
    width: 100%;
    padding: 30px;
  }
  .form-content {
    padding: 30px;
  }
  .input-grid {
    grid-template-columns: 1fr;
  }
  .field-box.full {
    grid-column: span 1;
  }
}
