<style>
    body {
        font-family: Arial, sans-serif;
        background: #f0f2f5;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
    }

    .container {
        background: #ffffff;
        padding: 35px;
        border-radius: 12px;
        width: 380px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
    }

    h2 {
        margin-top: 0;
        text-align: center;
    }

    input, textarea {
        width: 100%;
        padding: 12px;
        margin-top: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 16px;
        outline: none;
    }

    input:focus, textarea:focus {
        border-color: #007bff;
    }

    button {
        width: 100%;
        padding: 12px;
        margin-top: 15px;
        background: #007bff;
        border: none;
        border-radius: 6px;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        transition: 0.3s;
    }

    button:hover {
        background: #0056b3;
    }
    
.messagebox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
}

.messagebox-overlay.active {
  display: flex;
}

.messagebox {
  background: #ffffff;
  width: 90%;
  max-width: 420px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  font-family: system-ui, -apple-system, sans-serif;
}

.messagebox h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.messagebox p {
  margin: 0 0 20px;
  color: #555;
  line-height: 1.5;
}

.messagebox-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #e5e7eb;
  color: #111;
  font-size: 0.9rem;
}

.btn.primary {
  background: #2563eb;
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
}
</style>