
* {
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  color: rgba(#000, 0.7);
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-container {
  display: flex;
  width: 500px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

.modal-left {
  padding: 20px;
  flex: 1;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.input-block {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.input-button {
  width: 100%;
  padding: 10px;
  background-color: #8c7569;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.input-button:hover {
  background-color: #55311c;
}

.modal-right {
  flex: 1;
  background-color: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-right img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .modal-container {
    flex-direction: column;
    width: 90%;
    height: auto;
  }

  .modal-left {
    padding: 15px;
    text-align: center;
  }

  .modal-right {
    display: none;
  }
}

/* Desktop-specific styles */
@media (min-width: 769px) {
  .modal-container {
    width: 600px;
  }
}
