* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', sans-serif;
  height: 100%;
  background-color: #e3f2fd;
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
}

.left-side {
  width: 50%;
  background-color: #0d47a1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-side img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.right-side {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

.form-wrapper {
  background: white;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

h1 {
  color: #0d47a1;
  margin-bottom: 10px;
}

p {
  color: #1976d2;
  font-size: 15px;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #bbdefb;
  border-radius: 5px;
}

button {
  background: #0d47a1;
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #1565c0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-side, .right-side {
    width: 100%;
    height: 50vh;
  }

  .form-wrapper {
    padding: 20px;
  }
}


/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background-color: #ffffff;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  animation: popUp 0.3s ease-out;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.modal-content .emoji {
  font-size: 48px;
  color: #0d47a1;
  margin-bottom: 10px;
}

.modal-content h2 {
  margin: 10px 0;
  color: #0d47a1;
}

.modal-content p {
  color: #333;
  margin-bottom: 20px;
}

.modal-content button {
  background-color: #0d47a1;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.modal-content button:hover {
  background-color: #1565c0;
}

/* Animation */
@keyframes popUp {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
