/* =====================================================
   LandTrader Auth Plugin — Styles
   ===================================================== */

:root {
  --lt-primary:       #1a6b3c;
  --lt-primary-dark:  #134f2d;
  --lt-primary-light: #2a9d5c;
  --lt-accent:        #e8a020;
  --lt-accent-dark:   #c47d10;
  --lt-bg:            #f7f9f7;
  --lt-bg-alt:        #ffffff;
  --lt-text:          #1a2e1a;
  --lt-text-muted:    #5a7060;
  --lt-border:        #d4e0d4;
  --lt-danger:        #c0392b;
  --lt-success:       #27ae60;
  --lt-warning:       #e8a020;
  --lt-info:          #2980b9;
  --lt-shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --lt-shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --lt-shadow-lg:     0 8px 32px rgba(0,0,0,0.13);
  --lt-radius-sm:     6px;
  --lt-radius-md:     10px;
  --lt-radius-lg:     16px;
  --lt-radius-xl:     24px;
  --lt-font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lt-font-display:  'Playfair Display', Georgia, serif;
}

/* =====================================================
   AUTH WRAP (centers the card)
   ===================================================== */
.ltauth-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem 4rem;
  min-height: 60vh;
}

/* =====================================================
   AUTH CARD
   ===================================================== */
.ltauth-card {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-xl);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--lt-shadow-md);
}

.ltauth-card-wide {
  max-width: 600px;
}

.ltauth-card-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.ltauth-logo-mark {
  width: 48px;
  height: 48px;
  background: var(--lt-primary);
  color: #fff;
  border-radius: var(--lt-radius-md);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ltauth-title {
  font-family: var(--lt-font-display);
  font-size: 1.6rem;
  color: var(--lt-text);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.ltauth-subtitle {
  font-size: 0.9rem;
  color: var(--lt-text-muted);
  margin: 0;
}

/* =====================================================
   NOTICES
   ===================================================== */
.ltauth-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--lt-radius-md);
  border-left: 4px solid;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ltauth-notice-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ltauth-notice-success {
  background: #eafaf1;
  border-color: var(--lt-success);
  color: #1a6335;
}

.ltauth-notice-error {
  background: #fdedec;
  border-color: var(--lt-danger);
  color: #78281f;
}

.ltauth-notice-warning {
  background: #fef9e7;
  border-color: var(--lt-warning);
  color: #7d6608;
}

.ltauth-notice-info {
  background: #e8f4fd;
  border-color: var(--lt-info);
  color: #1a5276;
}

/* =====================================================
   FORM ELEMENTS
   ===================================================== */
.ltauth-form-group {
  margin-bottom: 1.1rem;
}

.ltauth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ltauth-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lt-text);
  margin-bottom: 0.4rem;
}

.ltauth-required { color: var(--lt-danger); margin-left: 2px; }
.ltauth-optional { color: var(--lt-text-muted); font-weight: 400; font-size: 0.78rem; }
.ltauth-hint     { font-size: 0.78rem; color: var(--lt-text-muted); margin-top: 0.3rem; }

.ltauth-field-error {
  font-size: 0.78rem;
  color: var(--lt-danger);
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ltauth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ltauth-input-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--lt-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ltauth-input {
  width: 100%;
  padding: 0.65rem 0.9rem 0.65rem 2.4rem;
  border: 1.5px solid var(--lt-border);
  border-radius: var(--lt-radius-md);
  background: #fff;
  color: var(--lt-text);
  font-family: var(--lt-font);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.ltauth-input:focus {
  border-color: var(--lt-primary);
  box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.12);
}

.ltauth-input.ltauth-input-error {
  border-color: var(--lt-danger);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.ltauth-input::placeholder { color: #a0b4a0; }

.ltauth-textarea {
  min-height: 100px;
  resize: vertical;
  padding-left: 0.9rem;
}

.ltauth-toggle-pw {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--lt-text-muted);
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: var(--lt-radius-sm);
  transition: color 0.2s;
}

.ltauth-toggle-pw:hover { color: var(--lt-primary); }

/* No icon inputs (profile form) */
.ltauth-form-group > .ltauth-input {
  padding-left: 0.9rem;
}

/* Forgot link */
.ltauth-forgot-link {
  font-size: 0.82rem;
  color: var(--lt-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.ltauth-forgot-link:hover { color: var(--lt-primary); }

/* =====================================================
   CHECKBOX
   ===================================================== */
.ltauth-checkbox-group { margin-bottom: 1.25rem; }

.ltauth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--lt-text);
  line-height: 1.4;
}

.ltauth-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ltauth-checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--lt-border);
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 1px;
}

.ltauth-checkbox:checked + .ltauth-checkbox-custom {
  background: var(--lt-primary);
  border-color: var(--lt-primary);
}

.ltauth-checkbox:checked + .ltauth-checkbox-custom::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

/* =====================================================
   PASSWORD STRENGTH
   ===================================================== */
.ltauth-pw-strength {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.ltauth-pw-strength-bar {
  flex: 1;
  height: 4px;
  background: var(--lt-border);
  border-radius: 99px;
  overflow: hidden;
}

.ltauth-pw-strength-fill {
  height: 100%;
  border-radius: 99px;
  width: 0;
  transition: width 0.3s, background 0.3s;
}

.ltauth-pw-strength-label {
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 50px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.ltauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--lt-radius-md);
  font-family: var(--lt-font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.ltauth-btn:disabled,
.ltauth-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.ltauth-btn-primary {
  background: var(--lt-primary);
  color: #fff;
  border-color: var(--lt-primary);
}
.ltauth-btn-primary:hover:not(:disabled) {
  background: var(--lt-primary-dark);
  border-color: var(--lt-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--lt-shadow-md);
}

.ltauth-btn-accent {
  background: var(--lt-accent);
  color: #fff;
  border-color: var(--lt-accent);
}
.ltauth-btn-accent:hover:not(:disabled) {
  background: var(--lt-accent-dark);
  border-color: var(--lt-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--lt-shadow-md);
}

.ltauth-btn-outline {
  background: transparent;
  color: var(--lt-primary);
  border-color: var(--lt-primary);
}
.ltauth-btn-outline:hover:not(:disabled) {
  background: var(--lt-primary);
  color: #fff;
}

.ltauth-btn-ghost {
  background: transparent;
  color: var(--lt-text-muted);
  border-color: transparent;
}
.ltauth-btn-ghost:hover { background: var(--lt-border); color: var(--lt-text); }

.ltauth-btn-full { width: 100%; }
.ltauth-btn-sm   { padding: 0.45rem 1rem; font-size: 0.82rem; border-radius: var(--lt-radius-sm); }

/* Loading spinner inside button */
.ltauth-btn-loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ltauth-spin 0.6s linear infinite;
}

@keyframes ltauth-spin {
  to { transform: rotate(360deg); }
}

/* =====================================================
   DIVIDER
   ===================================================== */
.ltauth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--lt-text-muted);
  font-size: 0.82rem;
}
.ltauth-divider::before,
.ltauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--lt-border);
}

/* =====================================================
   BACK LINK
   ===================================================== */
.ltauth-back-link {
  text-align: center;
  margin-top: 1.25rem;
}
.ltauth-back-link a {
  font-size: 0.85rem;
  color: var(--lt-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.ltauth-back-link a:hover { color: var(--lt-primary); }

/* =====================================================
   FOOTER NOTE
   ===================================================== */
.ltauth-footer-note {
  font-size: 0.78rem;
  color: var(--lt-text-muted);
  text-align: center;
  margin-top: 1rem;
  max-width: 440px;
}
.ltauth-footer-note a { color: var(--lt-primary); }

/* =====================================================
   PROFILE LAYOUT
   ===================================================== */
.ltauth-profile-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.ltauth-profile-sidebar {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-lg);
  padding: 1.75rem 1.25rem;
  position: sticky;
  top: 90px;
  text-align: center;
}

.ltauth-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.ltauth-profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lt-border);
  display: block;
}

.ltauth-avatar-change-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: var(--lt-primary);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ltauth-avatar-change-btn:hover { background: var(--lt-primary-dark); }

.ltauth-profile-name {
  font-family: var(--lt-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.ltauth-profile-email {
  font-size: 0.82rem;
  color: var(--lt-text-muted);
  word-break: break-all;
  margin: 0 0 0.35rem;
}

.ltauth-profile-location {
  font-size: 0.8rem;
  color: var(--lt-text-muted);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.ltauth-profile-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.ltauth-profile-stat {
  flex: 1;
  padding: 0.75rem 0.25rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  border-right: 1px solid var(--lt-border);
}
.ltauth-profile-stat:last-child { border-right: none; }
.ltauth-profile-stat:hover { background: var(--lt-bg); }

.ltauth-profile-stat-val {
  font-family: var(--lt-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lt-primary);
  display: block;
  line-height: 1.2;
}

.ltauth-profile-stat-label {
  font-size: 0.7rem;
  color: var(--lt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ltauth-profile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.ltauth-profile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--lt-radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lt-text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.ltauth-profile-nav-item:hover,
.ltauth-profile-nav-item.active {
  background: rgba(26, 107, 60, 0.08);
  color: var(--lt-primary);
}

.ltauth-nav-logout {
  margin-top: 0.5rem;
  border-top: 1px solid var(--lt-border);
  padding-top: 0.85rem;
}
.ltauth-nav-logout:hover {
  background: rgba(192, 57, 43, 0.07);
  color: var(--lt-danger);
}

/* =====================================================
   PROFILE MAIN CONTENT
   ===================================================== */
.ltauth-profile-main {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-lg);
  padding: 2rem;
}

.ltauth-tab-content { display: none; }
.ltauth-tab-content.active { display: block; }

.ltauth-section-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--lt-border);
}
.ltauth-section-header h2 {
  font-family: var(--lt-font);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.ltauth-section-header p {
  font-size: 0.87rem;
  color: var(--lt-text-muted);
  margin: 0;
}

/* =====================================================
   MY LISTINGS DASHBOARD
   ===================================================== */
.ltauth-dashboard-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.ltauth-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.ltauth-dashboard-header h1 {
  font-family: var(--lt-font-display);
  font-size: 1.6rem;
  margin: 0 0 0.2rem;
}

.ltauth-dashboard-header p {
  font-size: 0.88rem;
  color: var(--lt-text-muted);
  margin: 0;
}

.ltauth-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.ltauth-stat-card {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-md);
  padding: 1.25rem;
  text-align: center;
}

.ltauth-stat-value {
  font-family: var(--lt-font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lt-primary);
  line-height: 1.1;
}

.ltauth-stat-label {
  font-size: 0.78rem;
  color: var(--lt-text-muted);
  margin-top: 0.3rem;
}

/* Filter tab bar */
.ltauth-tab-bar {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--lt-border);
  padding-bottom: 0;
}

.ltauth-tab-btn {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  background: none;
  border: none;
  color: var(--lt-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  border-radius: var(--lt-radius-sm) var(--lt-radius-sm) 0 0;
}

.ltauth-tab-btn:hover { color: var(--lt-primary); }
.ltauth-tab-btn.active { color: var(--lt-primary); border-bottom-color: var(--lt-primary); font-weight: 700; }

/* Listings Table */
.ltauth-listings-table-wrap {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-lg);
  overflow: hidden;
  overflow-x: auto;
}

.ltauth-listings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ltauth-listings-table th {
  background: var(--lt-bg);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lt-text-muted);
  border-bottom: 1px solid var(--lt-border);
  white-space: nowrap;
}

.ltauth-listings-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--lt-border);
  vertical-align: middle;
}

.ltauth-listings-table tr:last-child td { border-bottom: none; }

.ltauth-listings-table tr:hover td { background: rgba(26, 107, 60, 0.025); }

.ltauth-listing-row[style*="display:none"] { display: none !important; }

.ltauth-listing-thumb-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ltauth-listing-thumb {
  width: 60px;
  height: 50px;
  border-radius: var(--lt-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.ltauth-thumb-placeholder {
  background: var(--lt-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border-radius: var(--lt-radius-sm);
}

.ltauth-listing-row-title {
  font-weight: 600;
  color: var(--lt-text);
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ltauth-listing-row-title a { color: inherit; text-decoration: none; }
.ltauth-listing-row-title a:hover { color: var(--lt-primary); }

.ltauth-listing-row-meta { font-size: 0.78rem; color: var(--lt-text-muted); margin-top: 0.15rem; }

.ltauth-date-cell { color: var(--lt-text-muted); white-space: nowrap; }

/* Status Badges */
.ltauth-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ltauth-status-live    { background: rgba(39, 174, 96, 0.12);  color: #1a6335; }
.ltauth-status-pending { background: rgba(232, 160, 32, 0.15); color: #7d6608; }
.ltauth-status-draft   { background: rgba(0,0,0,0.06);          color: #555; }
.ltauth-status-trash   { background: rgba(192, 57, 43, 0.1);    color: var(--lt-danger); }

/* Row Action Buttons */
.ltauth-row-actions { display: flex; gap: 0.4rem; }

.ltauth-action-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--lt-radius-sm);
  border: 1px solid var(--lt-border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lt-text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.ltauth-action-view:hover   { border-color: var(--lt-primary); color: var(--lt-primary); background: rgba(26,107,60,0.06); }
.ltauth-action-delete:hover { border-color: var(--lt-danger);  color: var(--lt-danger);  background: rgba(192,57,43,0.06); }

/* Empty state */
.ltauth-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-lg);
}
.ltauth-empty-icon  { font-size: 3.5rem; opacity: 0.3; margin-bottom: 1rem; }
.ltauth-empty-state h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.ltauth-empty-state p  { font-size: 0.9rem; color: var(--lt-text-muted); margin-bottom: 1.5rem; }

/* =====================================================
   SUBMIT LISTING FORM
   ===================================================== */
.ltauth-submit-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.ltauth-submit-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--lt-border);
}

.ltauth-submit-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--lt-green-dark);
  margin: 0 0 0.35rem;
}

.ltauth-submit-subtitle {
  font-size: 0.95rem;
  color: var(--lt-text-muted);
  margin: 0;
}

/* Section cards */
.ltauth-submit-section {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.ltauth-submit-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ltauth-submit-step {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--lt-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.ltauth-submit-section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lt-text);
  margin: 0 0 0.2rem;
}

.ltauth-submit-section-header p {
  font-size: 0.85rem;
  color: var(--lt-text-muted);
  margin: 0;
}

/* Row with 3 columns */
.ltauth-form-row-3 {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Select */
.ltauth-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

/* Radio group */
.ltauth-radio-group {
  display: flex;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.ltauth-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
}

.ltauth-radio-label input[type="radio"] { display: none; }

.ltauth-radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--lt-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.ltauth-radio-label input[type="radio"]:checked + .ltauth-radio-custom {
  border-color: var(--lt-green);
  background: var(--lt-green);
  box-shadow: inset 0 0 0 3px #fff;
}

/* Price/acreage prefix/suffix */
.ltauth-input-prefix {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lt-text-muted);
  font-weight: 600;
  pointer-events: none;
  font-size: 0.9rem;
}

.ltauth-input-suffix {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lt-text-muted);
  font-size: 0.82rem;
  pointer-events: none;
}

.ltauth-input-prefix-pad { padding-left: 1.75rem !important; }
.ltauth-input-suffix-pad { padding-right: 3.25rem !important; }

/* Character count */
.ltauth-char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--lt-text-muted);
  margin-top: 0.25rem;
}

/* Textarea large */
.ltauth-textarea-lg { min-height: 160px; }

/* Features grid */
.ltauth-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.ltauth-feature-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-md);
  transition: border-color 0.2s, background 0.2s;
}

.ltauth-feature-check:hover { border-color: var(--lt-green); background: #f7fbf8; }

.ltauth-feature-check input[type="checkbox"] { display: none; }

.ltauth-feature-check input[type="checkbox"]:checked ~ * { color: var(--lt-green-dark); }

.ltauth-feature-check:has(input:checked) {
  border-color: var(--lt-green);
  background: #eafaf1;
}

/* Photo drop zone */
.ltauth-photo-drop {
  border: 2px dashed var(--lt-border);
  border-radius: var(--lt-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  background: var(--lt-bg);
}

.ltauth-photo-drop.ltauth-drag-over {
  border-color: var(--lt-green);
  background: #f0faf4;
}

.ltauth-photo-drop-inner p { margin: 0.5rem 0; font-size: 0.9rem; color: var(--lt-text-muted); }

.ltauth-photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.ltauth-photo-thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--lt-radius-md);
  overflow: hidden;
  border: 1px solid var(--lt-border);
}

.ltauth-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ltauth-photo-thumb .ltauth-remove-photo {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ltauth-photo-thumb:first-child::after {
  content: 'Cover';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26,107,60,0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 2px 0;
}

/* Existing photos */
.ltauth-existing-photos { margin-top: 1.25rem; }
.ltauth-existing-photos h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.65rem; }
.ltauth-photo-grid { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.ltauth-existing-photo {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--lt-radius-md);
  overflow: hidden;
  border: 1px solid var(--lt-border);
}

.ltauth-existing-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltauth-existing-photo.ltauth-photo-removed { opacity: 0.3; }
.ltauth-existing-photo.ltauth-photo-removed .ltauth-remove-photo { background: rgba(200,0,0,0.7); }

/* Submit actions */
.ltauth-submit-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.ltauth-btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  gap: 0.5rem;
}

.ltauth-submit-notice {
  font-size: 0.8rem;
  color: var(--lt-text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Hint */
.ltauth-hint {
  font-size: 0.78rem;
  color: var(--lt-text-muted);
  margin-top: 0.3rem;
}

/* =====================================================
   SOCIAL-ONLY LOGIN CARD EXTRAS
   ===================================================== */
.ltauth-social-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--lt-text-muted);
  margin-top: 1.25rem;
  text-align: center;
}

.ltauth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  background: var(--lt-bg);
  border-radius: var(--lt-radius-md);
  border: 1px solid var(--lt-border);
}

.ltauth-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--lt-text);
}

.ltauth-feature-icon {
  color: var(--lt-success);
  font-weight: 700;
  flex-shrink: 0;
}

/* =====================================================
   SOCIAL LOGIN BUTTONS
   ===================================================== */
.ltauth-social-btns {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.ltauth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--lt-radius-md);
  font-family: var(--lt-font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
  position: relative;
}

.ltauth-social-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ltauth-social-btn svg {
  flex-shrink: 0;
}

/* Google — white with border, dark text */
.ltauth-social-google {
  background: #fff;
  border-color: #d9dce1;
  color: #3c4043;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.ltauth-social-google:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #bbbfc5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Facebook — brand blue */
.ltauth-social-facebook {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
  box-shadow: 0 1px 3px rgba(24,119,242,0.25);
}
.ltauth-social-facebook:hover:not(:disabled) {
  background: #1464d4;
  border-color: #1464d4;
  box-shadow: 0 3px 8px rgba(24,119,242,0.35);
  transform: translateY(-1px);
}

/* Loading state for social buttons */
.ltauth-social-btn.ltauth-loading::after {
  content: '';
  position: absolute;
  right: 1rem;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0,0,0,0.15);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: ltauth-spin 0.6s linear infinite;
}

.ltauth-social-facebook.ltauth-loading::after {
  border-color: rgba(255,255,255,0.3);
  border-top-color: #fff;
}

/* Connected provider badge (shown on profile) */
.ltauth-connected-providers {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.ltauth-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--lt-border);
  background: #fff;
  color: var(--lt-text);
}

.ltauth-provider-badge.google   { border-color: #d9dce1; }
.ltauth-provider-badge.facebook { border-color: #1877F2; color: #1877F2; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .ltauth-profile-wrap {
    grid-template-columns: 1fr;
  }
  .ltauth-profile-sidebar {
    position: static;
  }
  .ltauth-dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ltauth-form-row {
    grid-template-columns: 1fr;
  }
  .ltauth-card {
    border-radius: var(--lt-radius-lg);
    padding: 1.75rem 1.25rem;
  }
  .ltauth-dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ltauth-dashboard-stats {
    grid-template-columns: 1fr 1fr;
  }
  .ltauth-wrap {
    padding: 1.5rem 0.75rem 3rem;
  }
}
