/* ==========================================================================
   Malaene – app.css
   Clean, deduplicated, fully styled for the welcome page.
   ========================================================================== */

/* ───── Custom Properties ───── */
:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-light: #dcfce7;
  --green-ultra-light: #f0fdf4;
  --text: #1a1a2e;
  --text-secondary: #4a4a5e;
  --text-muted: #6b6b80;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --card-bg: #ffffff;
  --border: #e8ecf1;
  --border-light: #f0f2f5;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.05);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --badge-available: #22c55e;
  --badge-taken: #9ca3af;
  --hot-badge: #ef4444;
}

/* ───── Reset & Base ───── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

/* ───── Navbar ───── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
@media (min-width: 768px) {
  .navbar .container { height: 64px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: var(--transition);
}
.nav-logo:hover { color: var(--green-dark); }

.nav-logo .logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--green-light);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--green-light); }
  50% { box-shadow: 0 0 0 10px rgba(34,197,94,0.08); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.nav-btn-primary {
  background: var(--green);
  color: #fff;
}
.nav-btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

.nav-btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.nav-btn-outline:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

/* ───── Hero Section ───── */
.hero {
  padding: 48px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--green-ultra-light) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 72px 0 56px; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.hero h1 .highlight {
  color: var(--green);
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--green-light);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.7;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* Optional hero search – kept for legacy but currently not used */
.hero-search {
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.search-box {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
@media (min-width: 480px) {
  .search-box { flex-direction: row; gap: 8px; }
}
.search-input {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 0 14px;
}
.search-input i {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-right: 8px;
}
.search-input input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 12px 0;
  font-size: 0.9rem;
  outline: none;
  color: var(--text);
}
.search-btn {
  background: var(--green);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  white-space: nowrap;
}
.search-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
}
.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ───── Generic Sections ───── */
.section {
  padding: 48px 0;
}
@media (min-width: 768px) {
  .section { padding: 64px 0; }
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-label {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}

/* ───── How It Works ───── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition-slow);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step-card:hover .step-number {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

.step-icon {
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ───── Filter Bar (above listings) ───── */
.filter-bar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-input {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 0 12px;
}
.filter-input i {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-right: 6px;
}
.filter-input input,
.filter-input select {
  border: none;
  background: transparent;
  width: 100%;
  padding: 10px 0;
  font-size: 0.85rem;
  outline: none;
  color: var(--text);
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.filter-toggle input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}

.filter-btn {
  background: var(--green);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

/* ───── Room Grid & Cards ───── */
.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 520px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 800px) {
  .rooms-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .rooms-grid { grid-template-columns: repeat(4, 1fr); }
}

.room-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.room-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.room-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f4f6;
}
.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.room-card:hover .room-image img {
  transform: scale(1.05);
}

.room-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}
.status-available {
  background: rgba(220,252,231,0.9);
  color: #166534;
}
.status-taken {
  background: rgba(243,244,246,0.9);
  color: #4b5563;
}

.hot-badge {
  background: rgba(239,68,68,0.9);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.room-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.room-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.room-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Fee pills */
.room-fees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.fee-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.2s;
}
.fee-pill i {
  font-size: 0.75rem;
  color: var(--green-dark);
}
.fee-pill:hover {
  background: #f1f5f9;
  border-color: var(--green);
}

/* Owner info */
.room-owner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.room-owner i {
  color: var(--green);
  font-size: 0.9rem;
}

/* Status toggle button (agent, landlord, admin only) */
.status-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.status-toggle-btn:hover {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green-dark);
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.room-views {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.room-contact-icons {
  display: flex;
  gap: 14px;
}
.room-contact-icons a {
  color: var(--text-secondary);
  font-size: 1.3rem;
  transition: color 0.2s;
  text-decoration: none;
}
.room-contact-icons a:hover {
  color: var(--green);
}

/* ───── Trust Section ───── */
.trust-section {
  background: var(--green-ultra-light);
  border-radius: var(--radius-xl);
  margin: 0 20px;
  padding: 40px 24px;
}
@media (min-width: 768px) {
  .trust-section { margin: 0 32px; padding: 52px 40px; }
}
@media (min-width: 1024px) {
  .trust-section { max-width: 880px; margin: 0 auto; padding: 60px 56px; }
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
@media (min-width: 600px) {
  .trust-item { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-item h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ───── CTA Section ───── */
.cta-section {
  background: var(--green-ultra-light);
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius-xl);
  margin: 0 20px;
}
@media (min-width: 768px) {
  .cta-section { padding: 64px 32px; margin: 0 32px; }
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 16px;
  transition: var(--transition);
}
.cta-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

/* ───── Footer ───── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  padding: 32px 0;
  margin-top: auto;
}
@media (min-width: 768px) {
  .footer { padding: 40px 0; }
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
@media (min-width: 600px) {
  .footer .container { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.footer-brand .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--green); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ───── Floating WhatsApp Button ───── */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  animation: float-bob 3s ease-in-out infinite;
  font-size: 1.6rem;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
  animation: none;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ───── Animations ───── */
.fade-in {
  animation: fadeIn 0.6s ease-out both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ───── Payment Modal ───── */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeInOverlay 0.2s ease;
}

.modal-dialog {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close-btn:hover { color: var(--text); }

.modal-icon {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}

.modal-dialog h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.modal-dialog p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.modal-price {
  font-size: 1rem;
  margin: 12px 0 20px;
  color: var(--text);
}
.modal-price strong {
  color: var(--green-dark);
  font-weight: 700;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cancel {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.btn-cancel:hover { background: #f3f4f6; }

.btn-pay {
  padding: 10px 20px;
  border-radius: 50px;
  background: #25D366;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.btn-pay:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ───── Responsive Tweaks ───── */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .room-price { font-size: 1.3rem; }
  .search-btn { padding: 12px 20px; }
  .nav-actions { gap: 8px; }
  .nav-btn { padding: 8px 12px; font-size: 0.8rem; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-input { flex: 1 1 auto; }
}


/* ───── Post Room Modal (for agents/landlords) ───── */


.post-modal .modal-dialog {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: left;
}
.post-modal .form-section {
    margin-bottom: 20px;
}
.post-modal .form-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-modal .form-group {
    margin-bottom: 14px;
}
.post-modal label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.post-modal input,
.post-modal textarea,
.post-modal select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: border-color 0.2s;
}
.post-modal input:focus,
.post-modal textarea:focus,
.post-modal select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}
.post-modal .fee-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.post-modal .fee-row input {
    flex: 1;
}
.post-modal .add-fee-btn {
    background: var(--green-light);
    border: none;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-modal .add-fee-btn:hover {
    background: var(--green);
    color: white;
}
.post-modal .amenities-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
.post-modal .amenities-checkboxes label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    cursor: pointer;
}
.post-modal .image-upload-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.post-modal .image-upload-label:hover {
    border-color: var(--green);
    background: var(--green-ultra-light);
}
.post-modal .submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.post-modal .submit-btn:hover {
    background: var(--green-dark);
}
.success-message {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-weight: 500;
    display: none;
}



/* ───── Premium Wallet Card (brand‑green) ───── */
.wallet-card {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Deep green gradient – rich and expensive */
    background: linear-gradient(135deg, #14532d 0%, #166534 100%);
    border-radius: 50px;
    padding: 6px 16px 6px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2),
                inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.wallet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ───── Clean Wallet Badge ───── */
.wallet-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid var(--green);
    border-radius: 50px;
    padding: 5px 14px 5px 6px;
    transition: all 0.2s ease;
    cursor: default;
}
.wallet-card:hover {
    border-color: var(--green-dark);
    box-shadow: 0 2px 8px rgba(34,197,94,0.12);
}

/* Circle icon */
.wallet-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Text area */
.wallet-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.wallet-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.wallet-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

/* Withdraw button */
.wallet-withdraw-btn {
    margin-left: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-light);
    border: 1px solid var(--green);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.wallet-withdraw-btn:hover {
    background: var(--green);
    color: #fff;
}


/* Action Buttons */

.room-contact-icons {
    display: flex;
    align-items: center;
    gap: 8px;                  /* space between icons */
    flex-wrap: wrap;           /* allow buttons to drop to next line */
}

.room-contact-icons a,
.room-contact-icons button {
    flex-shrink: 0;            /* prevent icons from shrinking */
}
