:root {
  /* MDZ Paleta */
  --mdz-bg-light: #fff0f5; /* Lavender Blush */
  --mdz-gradient-start: #ffe4e8;
  --mdz-gradient-end: #fff5f7;
  --mdz-primary: #d6336c; /* Elegantná sýta ružová */
  --mdz-accent: #ff87ab; /* Svetlá kvetinová ružová */
  --mdz-dark: #5a1931; /* Tmavá bordová pre výbornú čitateľnosť textu */
  --lego-red: #e3000b;
  --white: #ffffff;
  --shadow-soft: 0 25px 50px rgba(214, 51, 108, 0.12);
  --shadow-glow: 0 10px 25px rgba(214, 51, 108, 0.25);
}

body {
  font-family: 'Outfit', sans-serif !important;
  background: linear-gradient(135deg, var(--mdz-gradient-start) 0%, var(--mdz-gradient-end) 100%) !important;
  color: var(--mdz-dark) !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
}

.lego-wrapper {
  background: var(--white);
  border-radius: 40px; /* Zaoblenejšie rohy pre organickejší vzhľad */
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: row;
  min-height: 720px;
  position: relative;
}

/* ĽAVÁ STRANA - VIZUÁL */
.visual-side {
  flex: 0 0 45%;
  background: linear-gradient(160deg, #ffd1dc 0%, #fff0f5 100%);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Jemné dekoračné prvky na pozadí pre MDZ feel */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  opacity: 0.6;
}
.shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 135, 171, 0.3);
  top: -50px;
  left: -50px;
}
.shape-2 {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.5);
  bottom: 50px;
  right: -50px;
}

.logos-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  z-index: 2;
}

.logo-lego {
  max-width: 170px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.logo-planeo {
  max-width: 140px;
  height: auto;
}

.hero-image {
  max-width: 110%; /* Trochu zväčšené kvety */
  margin-right: 0;
  margin-top: 20px;
  filter: drop-shadow(0 20px 30px rgba(90, 25, 49, 0.15));
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.visual-text {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 25px;
  z-index: 2;
  color: var(--mdz-dark);
}

.mdz-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--white);
  color: var(--mdz-primary);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(214, 51, 108, 0.1);
}

/* PRAVÁ STRANA - FORMULÁR */
.form-side {
  flex: 1;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  background: var(--white);
}

.form-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--mdz-primary);
  letter-spacing: -0.5px;
}

.form-subtitle {
  font-size: 1.05rem;
  margin-bottom: 35px;
  color: #885b6b;
  font-weight: 400;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mdz-primary);
  border-bottom: 2px solid var(--mdz-gradient-start);
  padding-bottom: 10px;
  margin: 30px 0 20px 0;
  display: block;
  width: 100%;
}

/* Vylepšené Inputy */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
  color: var(--mdz-dark);
}

.form-custom {
  width: 100%;
  background: #fffcfd;
  border: 2px solid #f2e1e5;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 1rem;
  color: var(--mdz-dark);
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
}

.form-custom::placeholder {
  color: #c9b1b8;
}

.form-custom:focus {
  background: #fff;
  border-color: var(--mdz-accent);
  box-shadow: 0 0 0 5px rgba(255, 135, 171, 0.15);
  outline: none;
  transform: translateY(-2px);
}

/* Checkboxy */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 12px;
  margin-left: 24px;
}

.custom-control-input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--mdz-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.custom-control-label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--mdz-dark);
  cursor: pointer;
}

.odkaz a, a, .odkaz {
  color: var(--mdz-primary);
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.odkaz a::after, .odkaz::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--mdz-primary);
  transition: width .3s ease;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.odkaz a:hover::after, .odkaz:hover::after {
  width: 100%;
}

/* Tlačidlo */
.btn-submit {
  background: linear-gradient(135deg, var(--mdz-primary) 0%, #ba2056 100%);
  color: white;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 50px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Pružný efekt */
  width: 100%;
  margin-top: 25px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #e63e79 0%, #d6336c 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(214, 51, 108, 0.35);
}

.required { color: var(--mdz-primary); font-weight: bold; margin-left: 3px; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

/* Responzivita */
@media (max-width: 992px) {
  .lego-wrapper {
    flex-direction: column;
    height: auto;
    max-width: 600px;
    border-radius: 30px;
  }

  .visual-side {
    padding: 40px 20px;
    flex: none;
    height: auto;
    min-height: 400px;
  }

  .hero-image {
    max-width: 280px;
    margin-top: 30px;
  }

  .form-side {
    padding: 40px 30px;
  }

  .form-title { font-size: 2rem; }
}

.modal {
  top: 0 !important
}

@media (max-width: 576px) {
  .form-side { padding: 30px 20px; }
  .row { display: flex; flex-direction: column; }
  .col-md-6 { width: 100%; }
}
