* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  min-height: 100svh;
  background: url("/Frame.png") no-repeat center center;
  background-size: cover;
}
.main-wrapper {
  display: flex;
  width: 100%;
  min-height: 100svh;
}
.left-side,
.right-side {
  flex: 1;
  position: relative;
}

.left-side {
  overflow: hidden;
}

.left-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.right-form {
  width: 450px;
  max-width: 100%;
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.right-form h2 {
  text-align: center;
  color: #2563eb;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.upload-box {
  border: 2px dashed #93c5fd;
  background: #f5f9ff;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  margin-top: 12px;
}

.upload-box button {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.submit-btn {
  margin-top: 18px;
  padding: 12px;
  width: 100%;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover {
  background: #4270d3;
}

.hidden {
  display: none;
}

.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  min-width: 260px;
  max-width: 360px;
  padding: 14px 18px;
  background: #cf2d2d;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  overflow: hidden;
}


.toast.show {
  opacity: 1;
  transform: translateX(0);
}


.toast.error {
  background: linear-gradient(135deg, #ff4d4f, #d9363e);
}

.toast.success {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.toast.info {
  background: linear-gradient(135deg, #2196f3, #1565c0);
}


.toast::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  animation: toastProgress 3s linear forwards;
}
/* Card selection UI */
.card-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20%;
  width: 100%;
  max-width: 520px;
  animation: fadeUp 0.5s ease;
}

.select-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.select-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.25);
}

.select-card img {
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 14px;
}

.select-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2563eb;
}

.select-card p {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 15px;
  font-size: 15px;
  color: #333;
}

.back-btn:hover {
  color: #007bff;
}

@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

@keyframes toastBounce {
  0% {
    transform: translateX(120%);
  }
  70% {
    transform: translateX(-8px);
  }
  100% {
    transform: translateX(0);
  }
}

.toast.show {
  animation: toastBounce 0.6s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


