.vendor-login-hero {
  background-image: url("images/pexels-minan1398-752842.jpg");
  background-position: 50% 50%;
}

.vendor-alert {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.vendor-alert-error {
  background: #fee2e2;
  color: #7f1d1d;
}

.vendor-alert-success {
  background: #d1fae5;
  color: #065f46;
}

.vendor-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  color: #fff;
}

.vendor-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.vendor-link-button {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.vendor-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.vendor-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.vendor-modal-content {
  background: #fff;
  width: min(540px, 92vw);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vendor-modal-content h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #332929;
}

.vendor-modal-content p {
  margin-top: 0;
  color: #6b6b6b;
}

.vendor-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #f3f4f6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.vendor-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.vendor-modal-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #332929;
}

.vendor-modal-group input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-size: 1rem;
}

.vendor-modal-group input:focus {
  outline: none;
  border-bottom-color: #e68387;
}

.vendor-modal-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.vendor-modal-submit {
  background: #e68387;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 575px) {
  .vendor-links {
    flex-direction: column;
    gap: 6px;
  }
}
