.acct-type-btn {
  background: white;
  border: 2px solid #c4cdd6;
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
  min-height: 112px;
  box-sizing: border-box;
}
.acct-type-btn:hover {
  border-color: rgba(0, 79, 77, 0.35);
  background: #f0fdf4;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.acct-type-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 79, 77, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #004f4d;
  margin-bottom: 0.5rem;
}
.acct-type-label {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.acct-type-desc {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}
/* Tighter spacing overrides */
#accountTypeModal .auth-modal-body > p:first-child {
  margin-bottom: 0.7rem !important;
}
#accountTypeModal .auth-modal-body > div:nth-child(2) {
  margin-bottom: 0.9rem !important;
}
/* Softer close button */
#accountTypeModal .auth-modal-close {
  top: 18px;
  opacity: 0.7;
}
.badge--status {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  color: white;
}
.badge--status-sold {
  background: rgba(245, 158, 11, 0.9);
}
.badge--status-rented {
  background: #6b7280;
}
.badge--status-off_market {
  background: #6b7280;
}
.badge--status-withdrawn {
  background: #6b7280;
}

/* Auth Modal Styles */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-modal-header {
  padding: 20px 20px 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.auth-modal-header h3,
.auth-modal-header h2 {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
  color: #004f4d;
  font-size: 1.5rem;
  pointer-events: none;
}

.auth-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal-close:hover {
  color: #333;
}

.auth-modal-body {
  padding: 20px;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #1a1a1a;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #004f4d;
}

.form-group select {
  cursor: pointer;
}

/* Highlight Account Type field */
.form-group:has(#register-user-type) {
  background: linear-gradient(135deg, #f8fdfc, #e8f7f5);
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 79, 77, 0.1);
}

.form-group:has(#register-user-type) label {
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #004f4d !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group:has(#register-user-type) select {
  border: 2px solid #004f4d !important;
  background: white;
  font-weight: 600;
  font-size: 16px;
  color: #004f4d;
}

/* More Filters Menu Styling */
.more-filters-container {
  position: relative;
}

.more-filters-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 660px;
  max-width: calc(100vw - 20px);
  background: white;
  border: 2px solid #004f4d;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 20px;
  margin-top: 5px;
}

.more-filters-container.active .more-filters-menu {
  display: block;
}

.filters-grid {
  width: 100%;
}

.filter-section {
  width: 100%;
}

.filter-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.filter-group {
  flex: 1;
}

.filter-group label {
  display: block;
  font-weight: 600;
  color: #004f4d;
  margin-bottom: 5px;
  font-size: 14px;
}

.more-filters-btn .fa-chevron-down {
  transition: transform 0.2s ease;
}

.more-filters-container.active .more-filters-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.auth-btn-primary {
  width: 100%;
  padding: 12px;
  background: #004f4d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 15px;
}

.auth-btn-primary:hover {
  background: #90be6d;
}

.auth-btn-secondary {
  width: 100%;
  padding: 12px;
  background: #f8f9fa;
  color: #004f4d;
  border: 2px solid #004f4d;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-btn-secondary:hover {
  background: #004f4d;
  color: white;
}

.auth-divider {
  text-align: center;
  margin: 15px 0;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.auth-divider span {
  background: white;
  padding: 0 15px;
  color: #666;
  font-size: 14px;
}
