:root {
  --primary-blue: #0d6efd;
  --primary-blue-hover: #0a58ca;
  --bg-gray: #f8f9fa;
  --border-gray: #dee2e6;
  --dark-gray: #2b3035;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-gray);

  /* NEW: Flat SVG Dot Pattern */
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='3' cy='3' r='1.5' fill='%23dee2e6'/%3E%3C/svg%3E");

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

/* NEW: Flat Decorative Background Shapes */
body::before {
  content: "";
  position: fixed;
  top: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background-color: #1e88e5;
  /* Accent Blue */
  opacity: 0.04;
  border-radius: 50%;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  bottom: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background-color: #d81b60;
  /* Accent Pink */
  opacity: 0.04;
  border-radius: 50%;
  z-index: -1;
}

/* Enforce Flat Design: Absolutely no shades, no gradients */
* {
  box-shadow: none !important;
  text-shadow: none !important;
}

.card {
  border: 2px solid var(--border-gray);
  border-radius: 0;
  width: 100%;
  max-width: 900px;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
  /* Keep it above the background decor */
}

/* Accent strip from image */
.accent-strip {
  display: flex;
  height: 8px;
  width: 100%;
}

.accent-pink {
  background-color: #d81b60;
  width: 33.33%;
}

.accent-blue {
  background-color: #1e88e5;
  width: 33.33%;
}

.accent-green {
  background-color: #43a047;
  width: 33.33%;
}

/* Left Column Illustration Area */
.illustration-col {
  background-color: #f6fff7;
  border-right: 2px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

/* Form Controls */
.form-control,
.input-group-text {
  border-radius: 0;
  border: 2px solid var(--border-gray);
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.input-group-text {
  background-color: var(--bg-gray);
  color: #6c757d;
}

/* Interactive Focus States */
.form-control:focus {
  border-color: var(--primary-blue);
  background-color: #f0f7ff;
}

.form-control:focus + .input-group-text,
.input-group:focus-within .input-group-text {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* Flat Pill Styling */
.flat-pill {
  border: 2px solid var(--border-gray);
  color: #495057;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  text-align: center;
  min-width: 80px;
}

.flat-pill:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: #f0f7ff;
}

.btn-check:checked + .flat-pill {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.btn-check:active + .flat-pill {
  transform: scale(0.97);
}

/* Button Interactions */
.btn-primary {
  background-color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: 0;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
}

.btn-primary:active {
  transform: translateY(3px);
}

/* Smooth Reveal Animations */
.reveal-step {
  animation: slideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(-10px);
}

.illustration-bounce {
  animation: slightBounce 0.4s ease-out forwards;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slightBounce {
  0% {
    transform: scale(0.98) translateY(5px);
  }

  50% {
    transform: scale(1.02) translateY(-2px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

hr {
  border-color: var(--border-gray);
  opacity: 1;
  border-width: 2px;
}

.step-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .illustration-col {
    border-right: none;
    border-bottom: 2px solid var(--border-gray);
    padding: 2rem;
  }
}
