/* Ganesha Realtor – Developer Form Styles */

:root {
  --ganesha-primary: #0d6efd;
  --ganesha-dark: #0a58ca;
  --section-header-bg: #0d6efd;
}

body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
  max-width: 900px;
}

/* Logo area */
.ganesha-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.ganesha-logo .logo-img {
  max-height: 60px;
  width: auto;
}

.ganesha-logo .logo-text {
  display: none;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ganesha-primary);
  letter-spacing: 0.02em;
}

/* When image fails to load, onerror shows .logo-text */
.ganesha-logo .logo-text {
  display: none;
}

.form-desc {
  font-size: 0.95rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Section cards */
.form-section .card-header {
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.form-section .card-body {
  padding: 1.25rem;
}

/* Required asterisk */
.form-label .text-danger {
  font-weight: bold;
}

/* Property types & amenities grids */
.property-types .form-check,
.amenities-grid .form-check {
  margin-bottom: 0.35rem;
}

/* File inputs */
.form-section input[type="file"] {
  max-width: 100%;
}

/* Declaration box */
.card.border-warning .card-body {
  background-color: rgba(255, 193, 7, 0.08);
}

/* Buttons */
#btnSubmit .spinner-border {
  vertical-align: middle;
}

#btnSubmit:disabled {
  cursor: not-wait;
}

/* Message alert */
#formMessage.d-none {
  display: none !important;
}

#formMessage.show {
  display: block !important;
}

/* Validation */
.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid {
  border-color: #dc3545;
}

.form-check-input.is-invalid ~ .form-check-label {
  color: #dc3545;
}

/* Responsive */
@media (max-width: 576px) {
  .ganesha-logo .logo-text {
    font-size: 1.35rem;
  }
  .form-section .card-body {
    padding: 1rem;
  }
}
