/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #292f45;
  background: #f0f0f0;
  line-height: 1.6;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

header {
  /* background: linear-gradient(to bottom, #517fa4, #3b5998); */
  /* background: linear-gradient(to bottom, #123e62,#1e5373); */
  background: linear-gradient(to bottom, #3c6e97, #3b5998);
  padding: 1rem 0;
  text-align: center;
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  height: 300px;
}

header h1 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
}

.hero {
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.hero .container {
  text-align: left;
  max-width: 800px;
}

.hero h3 {
  font-size: 2rem;
  color: #27496d;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.cta-button {
  background-color: #3897f0;
  color: white;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  border: none;
}

.features, section {
  background: white;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 8px;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.features li::before {
  content: "✔";
  color: #3897f0;
  position: absolute;
  left: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: center;
}

details summary {
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

input[type="email"] {
  padding: 0.5rem;
  width: 60%;
  max-width: 300px;
  margin-right: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"] {
  padding: 0.5rem 1rem;
  background: #3897f0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

.footer-text > p{
  text-align: center;
  padding: 2rem 1rem;
  font-size: 14px;
  color: #666;
}


.hero.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: transparent;
  position: relative;
  top: -300px;
}
.ipad-preview {
  flex: 1 1 300px;
  text-align: center;
}

.ipad-preview img {
  width: 415px;
  height: auto;
  border-radius: 20px;
  margin-right: 30px;
}

@media (max-width: 768px) {
  .ipad-preview img {
    margin-right: 0;
    margin-bottom: 30px;
  }
}
.hero-content {
  flex: 1 1 400px;
}

.hero-content h3 {
  font-size: 1.5rem;
  color: #27496d;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-content p {
  font-size: 14px;
  margin-bottom: 0px;
}
.hero-content-container {
  padding: 25px 35px;
  background: linear-gradient(to bottom, #ffffff, #f0f0f0) !important;
  max-width: 500px;
  margin: auto;
}

.hero-content-container > img {
  display: block;
  margin: 10px auto;
}

.shadow-box {
  box-shadow: 0px -6px 6px rgba(0,0,0,0.05);
}


/* FOOTER STYLES */
.footer-links {
  text-align: center;
  padding: 20px 0 0;
  margin-top: 40px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #999;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}

.footer-links li {
  display: inline-block;
  margin: 0 10px;
  margin-bottom: 12px; /* optional spacing */
}

.footer-links a {
  color: #3b5998;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  display: inline-block;
  padding-bottom: 4px; /* space for underline */
}

/* Animated underline */
.footer-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px; /* thickness of underline */
  background-color: #ffbb1a; /* matches text color */
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Hover effect */
.footer-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.footer-links p {
  margin-top: 5px;
  font-size: 12px;
  color: #aaa;
}

/* ===========================================================
   PROPERTY LISTING PAGE
   Scoped styles for /www/property/index.html
   =========================================================== */

body.property-page {
  background-color: #fafafa;
  color: #111;
  font-family: 'Inter', sans-serif;
}

/* Header */
.property-header-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid #eaeaea;
  background: #fff;
  height: auto;
}

.property-header-section h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #5a57e8;
  margin: 0 auto;
}

.property-header-section .back-link {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
}

.property-header-section .back-link:hover {
  text-decoration: underline;
}

/* Container */
.property-container {
  max-width: 1100px;
  margin: 24px auto;
  background: #fff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  padding: 16px;
}

.photo-grid > img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.side-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.side-photos img{
  height: 200px;
  width: 250px;
}

/* Property Info */
.property-info {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  /*! gap: 16px; */
}

.property-info .price {
  font-size: 2rem;
  font-weight: 700;
  gap: 0px;
}

.property-info .address {
  color: #555;
  font-size: 1rem;
}

/* Summary */
.summary {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 1.1rem;
  margin-top: 16px;
}

.summary div {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
}

/* Detail Cards */
.details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.detail-card {
  flex: 1 1 250px;
  background: #f9fafc;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-card i {
  color: #5a57e8;
}

/* Claim Button */
.claim-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #5a57e8;
  color: white;
  text-align: center;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
}

.claim-btn:hover {
  background-color: #4845d3;
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 32px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 32px;
}

.section h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* Home Value Cards */
.home-value {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.value-card {
  flex: 1 1 30%;
  background: #f9fafc;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
}

.value-card h4 {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 8px;
}

.value-card p {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.divider {
  border-top: 1px solid #e5e5e5;
  margin: 32px 0;
}

/* Comparable Homes */
.comparable-homes p {
  color: #555;
  margin-top: -12px;
  margin-bottom: 24px;
}

.home-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.home-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  width: 32%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.home-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.home-card .info {
  padding: 12px 16px;
}

.home-card .name {
  font-weight: 600;
  margin-bottom: 4px;
}

.home-card .price {
  font-weight: 700;
}

/* Comparative Chart */
.comparative-chart {
  position: relative;
  margin-top: 40px;
  height: 90px;
}

.chart-line {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
}

.marker {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
}

.dot {
  background-color: #5a57e8;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dot.home {
  width: 34px;
  height: 34px;
}

.dot.home i {
  font-size: 0.95rem;
}

.label {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

/* Owner & Selling Options */
.owner-options {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.option .icon {
  flex: 0 0 36px;
  font-size: 1.4rem;
  color: #5a57e8;
}

.option .text {
  flex: 1;
}

.option h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.option p {
  margin: 0 0 8px;
  color: #444;
  font-size: 0.95rem;
}

.option .link {
  color: #5a57e8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.option .link:hover {
  text-decoration: underline;
}

.option .side {
  text-align: right;
  min-width: 100px;
}

.option .price {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
}

.option .price span {
  font-weight: 500;
  font-size: 0.95rem;
}

.option .label {
  color: #666;
  font-size: 0.85rem;
  margin: 4px 0 0;
}

/* Facts & Features */
.facts-header {
  background: #f7f7fb;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.facts-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.facts-col {
  flex: 1 1 45%;
}

.fact-group {
  margin-bottom: 20px;
}

.fact-group h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.fact-group ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.fact-group li {
  margin-bottom: 4px;
  color: #444;
  font-size: 0.95rem;
}

.faded {
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .home-cards {
    flex-direction: column;
  }

  .home-card {
    width: 100%;
  }

  .option {
    flex-direction: column;
    align-items: flex-start;
  }

  .option .side {
    text-align: left;
    margin-top: 8px;
  }

  .facts-grid {
    flex-direction: column;
    gap: 20px;
  }
}


/* ==== AUTH & PORTAL STYLES ==== */
.form-container {
  max-width: 420px;
  margin: 80px auto;
  padding: 0 1rem;
  text-align: center;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2rem;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 1rem;
}

label span {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--text-muted, #555);
}

input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

input:focus {
  border-color: var(--brand-color, #0078ff);
  outline: none;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  background: var(--brand-color, #0078ff);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-color-hover, #0060d1);
}

.btn-secondary {
  background: #f3f3f3;
  color: #333;
}

.btn-secondary:hover {
  background: #e5e5e5;
}

.btn-secondary.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.form-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.form-footer a {
  color: var(--brand-color, #0078ff);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* === Portal === */
.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 1rem;
}

.balance-card {
  text-align: center;
}

.balance-card h2 {
  margin-bottom: 0.5rem;
}

#balance-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-color, #0078ff);
  margin-bottom: 1rem;
}

.payment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  color: #444;
}


ul.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
ul.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
ul.feature-list .icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
ul.feature-list .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
}
ul.feature-list .text strong {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.25rem;
}
ul.feature-list .caption {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Maintenance: radio group layout fix */
.access-group { margin-top: 1rem; margin-bottom: 1.5rem; }
.access-group .form-label { font-weight: 600; margin-bottom: .5rem; }

.access-group .radio-option {
  display: flex;           /* keep circle + text on one line */
  align-items: center;
  gap: .5rem;
  margin: .75rem 0;
}

.access-group .radio-option input[type="radio"] {
  /* keeps native look, bumps size a touch */
  transform: scale(1.1);
  margin: 0;               /* neutralize any global label spacing */
}

.access-group .radio-option label {
  display: inline;         /* override any global label { display:block } */
  margin: 0;
  font-weight: 500;
}

/* Do NOT stretch radios/checkboxes */
input[type="radio"],
input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: 0;
}

/* In the pay form specifically */
.pay-form-container input[type="radio"],
.pay-form-container input[type="checkbox"] {
  width: auto;
}
.maintenance-illustration img {
  max-width: 100%;
  height: 500px;
  max-height: 500px;
  border-radius: 16px;
}