/* =======================================================
   LUDO — Global Stylesheet (style.css)
   Brand-aligned, responsive, and organized top→bottom
   ======================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* ---------- Brand Palette ---------- */
:root {
  --brand-dark:      #1b2a33; /* header/footer charcoal */
  --brand-dark-2:    #16222a; /* header/nav hover */
  --brand-teal:      #11b5c7; /* primary accent */
  --brand-teal-2:    #0ea1b0; /* primary hover */
  --text-light:      #ecf2f4; /* on dark bg */
  --text-dark:       #122027; /* on light bg */
  --surface:         #ffffff; /* card/container */
  --surface-alt:     #f5f8fa; /* table head / subtle bg */
  --muted:           #7f8c8d; /* secondary button */
  --muted-2:         #5f6a6a; /* secondary hover */
  --stroke:          #dde3e8; /* light borders */
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: #f7f7f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
    text-align:center;
}

body { display: flex; flex-direction: column; }

/* ---------- Header & Navigation ---------- */

/* Header: now white (to match the logo background) */
#header {
  background: #ffffff;               /* CHANGED from dark to white */
  color: var(--text-dark);
  padding: 20px 0 12px;   /* was 20px 15px 12px */           /* extra top padding for logo */
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,.1); /* slightly lighter on white */
}

#header .brand {
  display: block;
  margin: 0 auto 12px;
  padding: 0 15px;        /* add side padding for the logo */
}

#header .brand .logo {
  width: clamp(420px, 72vw, 640px);  /* responsive width cap - Previous setting 640px) */
  height: auto;                      /* keep aspect ratio */
  display: block;
  margin: 0 auto;
}

/* Navigation bar: dark background band under the white header */
/* ---------- Navigation ---------- */
/* NAV container: flex, wraps, centered */
#nav {
  display: flex;
  flex-wrap: wrap;            /* ✅ allow wrapping */
  justify-content: center;    /* keep rows centered */
  align-items: center;
  gap: 8px 12px;              /* spacing between items */
  padding: 8px 10px;
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Standard nav buttons — keep your original look */
#nav a {
  flex: 0 0 auto;             /* don’t stretch; natural width */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;               /* consistent button height */
  padding: 0 14px;            /* side padding for text buttons */
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0); /* reserve border space */
  border-radius: 8px;
  transition: background .25s ease, border-color .25s ease, color .2s ease;
}

#nav a:hover {
  background: #22333b;
  color: var(--brand-teal);
  border-color: var(--brand-teal);   /* ✅ only color changes */
  box-shadow: 0 0 6px rgba(17, 181, 199, 0.6);
}

/* Active: solid teal background */
#nav a.active {
  background: var(--brand-teal);
  color: #fff;
  border-color: var(--brand-teal-2);
}


/* =======================================================
   Social Link Buttons (Image-based, not background)
   ======================================================= */

/* Social button wrapper */
#nav .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;                  /* same as nav button height */
  width: 45px;                   /* square shape */

  border: 1px solid transparent;
  border-radius: 6px;
  overflow: hidden;              /* ensure image stays inside */
  background-color: transparent; /* default */
  transition: background-color 0.25s ease, border-color 0.25s ease;
  margin: 0 10px;
}

/* Image inside button */
#nav .social-link img {
               /* fills width */
  height: 100%;                  /* fills height */
           /* crops if not square */
  display: block;
  border-radius: 6px;
}

/* Hover / focus highlight */
#nav .social-link:hover,
#nav .social-link:focus {
  border-color: var(--brand-teal);
  background-color: var(--brand-dark-2);
}

/* Force social links onto a new line in mobile view */
@media (max-width: 768px) {
  #nav {
    gap: 3px 3px;   /* smaller row & column spacing */
    padding: 8px 4px; /* tighten container padding too */
  }

  #nav a {
    height: 40px;   /* slightly smaller button height */
    padding: 0 6px;
    font-size: 0.95rem; /* optional: reduce text size a bit */
  }
  #nav .social-links {
    flex-basis: 100%;       /* take full row width */
    display: flex;
    justify-content: center; /* center the icons */
    margin-top: 4px;        /* spacing above */

    gap: 2px;
  }


  #nav .social-link img {
               /* fills width */
  height: 100%;                  /* fills height */
           /* crops if not square */
  display: block;
  border-radius: 6px;
}
}


/* ---------- Container & Footer ---------- */
#container {
  flex: 1;
  max-width: 1300px;
  width: 95%;
  margin: 30px auto;
  padding: 25px;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

#container h2 {

margin-bottom: 10px;
margin-top:2px;
}


#footer {
  background: var(--brand-dark);
  color: #cfd8dc;
  text-align: center;
  padding: 15px 0;
}

/* ---------- Buttons ---------- */
.btn, .btn a {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--brand-teal);
  color: #fff !important;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .25s ease, transform .05s ease;
  text-align: center;
  text-decoration: none;
  margin-top: 20px; /* default breathing room in forms */

}
.btn:hover, .btn a:hover { background: var(--brand-teal-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-secondary {
  background: var(--muted);
  color: #fff !important;
  text-decoration: none;
}
.btn-secondary:hover {
 color: #fff !important;
  text-decoration: none;
  background: var(--muted-2);
}

/* Utility row for two buttons side-by-side on desktop */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0;
}
@media (max-width: 600px) {
  .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-row .btn,
  .btn-row .btn-secondary {
    width: 100%;
    margin: 0; /* remove default top margin in stacked mode */
  }
}

/* ---------- Forms (global) ---------- */
.form-container {
  max-width: 450px;
  margin: 0 auto 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.form-container-2 {
  max-width: 800px;
  width: 95%;
  margin: 0 auto 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

input[type="submit"] {
  width: 100%;
  padding: 12px;
  background: var(--brand-teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .25s ease;
}
input[type="submit"]:hover { background: var(--brand-teal-2); }

select option:disabled { background: #eee; color: #888; }

.mandatory { color: #d72020; margin-left: 2px; font-weight: 600; }

.info-box {
  margin-top: 12px;
  font-size: .9rem;
  line-height: 1.4;
  display: block;
  color: #4a5a63;
}


/* Style for bulleted and numbered lists */
ul, ol {
  margin: 0 0 1em 1.5em;   /* extra left margin for indentation */
  padding-left: 1.2em;     /* space between bullet/number and text */
}

/* Optional: make the bullets stand out more */
ul li, ol li {
  margin-bottom: 6px;      /* spacing between list items */
  line-height: 1.5;        /* better readability */
}


/* ---------- Flash & Info Messages ---------- */
.return-error {
  color: #8a0b0b;
  background: #fdeaea;
  border: 1px solid #f2bdbd;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 10px 0;
}
.return-error ul { margin: 6px 0 0 18px; padding: 0; }
.return-error li { margin: 4px 0; }

.return-success {
  color: #0a5d2a;
  background: #e9f7ee;
  border: 1px solid #bfe6cd;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 10px 0;
}

.return-info {
  color: #0a5160;
  background: #e6f8fb;
  border: 1px solid #bdeaf1;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 10px 0;
}
.return-info ul { margin: 6px 0 0 18px; padding: 0; }
.return-info li { margin: 4px 0; }

/* ---------- Tables (stacked on mobile) ---------- */
.table-stacked {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}
.table-stacked th,
.table-stacked td {
  border: 1px solid var(--stroke);
  padding: 12px;
  text-align: left;
}
.table-stacked thead th {
  background: var(--surface-alt);
  font-weight: 600;
}
.table-stacked tr:nth-child(even) { background: #fafcfe; }

/* Table action buttons: snug inside cells */
.table-stacked td .btn {
  width: auto;
  min-width: 96px;
  margin-top: 0;
}

/* Mobile stacking → card-like rows */
@media (max-width: 700px) {
  .table-stacked thead { display: none; }

  .table-stacked,
  .table-stacked tbody,
  .table-stacked tr,
  .table-stacked td {
    display: block;
    width: 100%;
  }

  .table-stacked tr {
    margin: 0 0 14px;
    border: 1px solid var(--stroke);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
  }

  .table-stacked td {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .table-stacked td:last-child { border-bottom: none; }

  .table-stacked td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
  }

  .table-stacked td .btn {
    width: auto;
    min-width: 96px;
    margin-top: 0;
  }
}

/* ---------- QR Code Card ---------- */
.qr-card {
  margin-top: 16px;
  padding: 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.qr-head { font-weight: 600; color: #2c3e50; margin-bottom: 8px; }
.qr-body { display: grid; justify-items: center; gap: 8px; }
.qr-img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}
.qr-caption { font-size: 12px; line-height: 1.3; word-break: break-all; text-align: center; }
.qr-caption a { color: var(--brand-teal); text-decoration: none; }
.qr-caption a:hover { text-decoration: underline; }

@media (max-width: 600px) { .qr-card { display: none; } }
@media print {
  .hero, .thumbs, .hero-nav, .hero-zoom { display: none !important; }
  .qr-card { background:#fff; border:0; box-shadow:none; margin-top:0; padding:0; }
  .qr-img { width: 320px !important; height: 320px !important; }
  .qr-caption { font-size: 11px; }
}

/* ---------- Description Card Bullet List ---------- */
.desc-card ul { list-style: disc outside; padding-left: 1.25rem; margin: 8px 0 0; }
.desc-card li { margin: 6px 0; line-height: 1.5; }
.desc-card li a { color: var(--brand-teal); text-decoration: none; }
.desc-card li a:hover { text-decoration: underline; }
.desc-card li .qr-body { margin-top: 8px; }
@media (max-width: 560px) { .desc-card ul { padding-left: 1rem; } }

/* ---------- Property Index Grid ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.property-card {
  border: 1px solid var(--stroke);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.property-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.property-body { padding: 12px; }
.property-body h3 { margin: 0 0 6px; font-size: 1.05rem; }
.property-body p { margin: 4px 0; color: #555; }
.property-price { margin-top: 6px; font-weight: 600; color: #2c3e50; }

/* Property card links: brand colored */
.property-body h3 a,
.property-body h3 a:visited,
.property-body h3 a:hover,
.property-body h3 a:active {
  color: var(--brand-teal);
  text-decoration: none;
}
.property-body h3 a:hover { text-decoration: underline; }

/* ---------- Pagination ---------- */
.pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.page-link,
.page-link.current,
.page-link.disabled {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--stroke);
  text-decoration: none;
}
.page-link { background: #fff; color: var(--brand-teal); }
.page-link:hover { background: #f3f8fa; }
.page-link.current {
  background: var(--brand-teal);
  color: #fff;
  border-color: var(--brand-teal);
}
.page-link.disabled { background: #f2f2f2; color: #aaa; cursor: default; }
.page-ellipsis { padding: 0 6px; color: #888; }

/* ---------- Browse (Search) Form ---------- */
:root { --control-h: 44px; }

.browse-form {
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  background: var(--surface);
}

.browse-form .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.filter-row.full-width { width: 100%; box-sizing: border-box; }

.browse-form .filter-group {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
}

.browse-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.9em;
}

.browse-form select {
  width: 100%;
  height: var(--control-h);
  padding: 0 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
}

/* Bottom actions (Apply + Reset) */
.filter-actions-bottom {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.filter-actions-bottom .btn,
.filter-actions-bottom .btn.btn-secondary {
  width: 160px;
  height: var(--control-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  margin-top: 0; /* override global .btn top margin inside this row */
}

/* Results table used on browse page */
.prop-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.prop-table th, .prop-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
}
.prop-table thead th { background: var(--surface-alt); }
.prop-table tbody tr:nth-child(even) { background: #fafafa; }
.prop-thumb { width: 90px; height: auto; border-radius: 6px; }
.no-image { opacity: .6; }
.property-counter { margin: 10px 0; font-size: 14px; text-align: center; }

/* Mobile: stack the selects into a column */
@media (max-width: 768px) {
  .filter-row.full-width { flex-direction: column; }
}

/* --- Mobile-only tightening for the search box --- */
@media (max-width: 768px) {
  .browse-form { padding: 10px; }
  :root { --control-h: 38px; }        /* shorter controls on phones */

  .browse-form .filter-group { margin-bottom: 3px; }  /* tiny breathing room */
  .browse-form label { margin-bottom: 2px; font-size: 0.85em; }

  .browse-form select,
  .browse-form input[type="text"],
  .browse-form input[type="email"],
  .browse-form input[type="tel"],
  .browse-form textarea {
    margin: 2px 0;
    padding: 6px 8px;
    height: auto;
    line-height: 1.25;
  }

  .filter-actions-bottom { margin-top: 8px; }
  .filter-actions-bottom .btn,
  .filter-actions-bottom .btn-secondary {
    padding: 8px 12px;
    font-size: 0.9em;
    width: 48%; /* two buttons side-by-side */
  }
}

/* ---------- Footer ---------- */
#footer {
  background: var(--brand-dark);   /* same dark tone as nav */
  color: #cfd8dc;                  /* soft light text */
  text-align: center;
  padding: 16px 0;
  box-shadow: 0 -2px 6px rgba(0,0,0,.06);
}

#footer .footer-inner {
  max-width: 1300px;               /* align with main container width */
  width: 95%;
  margin: 0 auto;
  padding: 0 12px;                  /* a little side breathing room */
}

#footer a {
  color: var(--brand-teal);
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

/* ---------- Global Anchor Links ---------- */
/* ---------- Global Anchor Links (content only) ---------- */
/* ---------- Global Anchor Links (content only) ---------- */


/* ---------- Utilities ---------- */
.hide {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- Small responsive tweaks ---------- */
@media (max-width: 600px) {
  #container { padding: 15px; margin: 15px; }
  #nav a { margin: 0 6px; padding: 6px 8px; }
}

/* ---------- Mobile Logo Sizing (90% width) ---------- */
@media (max-width: 768px) {
  #header .brand .logo {
    width: 90%;          /* ~90% of screen/container on mobile */
    max-width: none;     /* remove any clamp cap */
    height: auto;        /* keep proportions */
  }
}

.mobile-search-hint + hr {
  margin-top: 20px;   /* space above line */
  margin-bottom: 15px; /* optional space below line */
  border: 0;
  border-top: 1px solid #ccc;  /* subtle line */
}

/* ---------- Accent Button (brand complement: coral/orange) ---------- */
/* ---------- Accent Button (scheme-respecting blue) ---------- */
.btn-accent {
  background: #1e88e5;       /* medium azure blue */
  color: #fff;
  border-color: transparent;
}

.btn-accent:hover {
  background: #1565c0;       /* darker blue for hover */
  color: #fff;
  text-decoration: none;
}

.btn-accent:active {
  transform: translateY(1px);
}

/* Icon inside button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;     /* white background */
  color: #ff4b2b;             /* emoji/text color */
  font-size: 1.2em;           /* emoji size */
  border-radius: 50%;         /* circle */
  padding: 3px;               /* more white space around emoji */
  margin-right: 10px;         /* spacing before text */
  box-shadow: 0 0 3px rgba(0,0,0,0.15); /* subtle outline */
}



.prop-wrap h1{
    font-size: xx-large;
}

/* ---------- Global Anchor Links (content only) ---------- */
#container a {
  color: var(--brand-teal);
  text-decoration: none;
  font-weight: 500;
}

#container a:hover {
  color: var(--brand-teal);
  text-decoration: none;
}


/* ---------- 404 Page ---------- */
.error-404 {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.error-404 h1 {
  margin-top: 6px;
  margin-bottom: 2px;
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.2rem);
}

.error-404 .lead {
  color: #4a5a63;
  margin-bottom: 6px;
}

.error-404-copy {
  max-width: 720px;
  color: #4a5a63;
  line-height: 1.5;
}

.error-404-img {
  max-width: 400px;           /* desktop cap */
  width: min(92%, 760px);     /* responsive */
  height: auto;
  display: block;
  margin: 6px auto 8px;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.08));
}

.footer-link {
  display: inline-block;   /* treat each as a unit */
  white-space: nowrap;     /* keep label (e.g. "Cookie Policy") together */
  margin: 0 2px;           /* optional spacing tweak */
}

.footer-link a {
  color: var(--brand-teal);
  text-decoration: none;
}

.footer-link a:hover {
  text-decoration: underline;
}
/* ---------- Dashboard Hero ---------- */
.dash-hero {
  background: linear-gradient(135deg, #f5fafe 0%, #ffffff 70%);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 18px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.dash-hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-teal);
  background: #e6f8fb;
  border: 1px solid #bdeaf1;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.dash-hero-title {
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2rem);
  margin: 2px 0 6px;
}
.dash-hero-sub {
  color: #4a5a63;
}
.dash-hero-actions {
  margin-top: 12px;
  justify-content: center;
}

/* ---------- Dashboard Grid ---------- */

/* --- Dashboard Grid Layout (Admin + Property) --- */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 25px;
  align-items: stretch;
}

/* Ensure each card has enough breathing room */
.dash-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dash-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dash-card-icon {
  font-size: 1.5rem;
}

.dash-card h2 {
  font-size: 1.2rem;
  margin: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}



/* ---------- Tips ---------- */
.dash-tips {
  margin-top: 18px;
  padding: 14px 16px;
  background: #fbfdff;
  border: 1px solid var(--stroke);
  border-radius: 10px;
}
.dash-tips h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.dash-tips ul { margin-top: 4px; }
/* Default (mobile-first) stays the same */

/* Center grid on larger screens (desktop) */
@media (min-width: 992px) {
  .dash-grid {
    display: grid; /* keep grid layout instead of flex */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    justify-content: center;
  }

  .dash-grid .dash-card {
    max-width: none; /* allow equal sizing */
  }
}


/* Tertiary button (orange accent) */
.btn-tertiary {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;

  background-color: #f97316;   /* orange (visible by default) */
  color: #fff;                 /* white text for contrast */
  border: 2px solid #f97316;   /* orange border */
}

.btn-tertiary:hover {
  background-color: #ea580c;   /* darker orange on hover */
  border-color: #ea580c;
}

.btn-tertiary:active {
  background-color: #c2410c;   /* pressed state */
  border-color: #c2410c;
}
/* Button 4 (red) */
.btn-4 {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;

  background-color: #dc2626;   /* red */
  color: #fff !important;      /* ✅ force white text */
  border: 2px solid #dc2626;
}
.btn-4:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: #fff !important;      /* ensure stays white on hover */
}


.btn-4:active {
  background-color: #991b1b;   /* even darker red */
  border-color: #991b1b;
}


/* ------------------------------
   STATUS BADGES (Websites List)
   ------------------------------ */
.state-badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-transform: capitalize;
  color: #fff;
  white-space: nowrap;
}




.state-badge.pending {
  background-color: #e5e7eb;  /* soft light grey */
  color: #374151;              /* dark grey text for contrast */
  border: 1px solid #d1d5db;   /* subtle outline */
}

.state-badge.done {
  background-color: #dcfce7;   /* pale green */
  color: #166534;              /* dark green text */
  border: 1px solid #86efac;   /* soft green border */
}

.state-badge.running {
  background-color: #fef3c7;   /* warm pale amber */
  color: #92400e;              /* deep amber text */
  border: 1px solid #fcd34d;   /* subtle yellow border */
}


/* ---------- Normalize Action Buttons (View + Delete) ---------- */
.table-stacked td .btn-tertiary,
.table-stacked td .btn-4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;       /* consistent width */
  height: 42px;           /* equal height */
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  margin-top: 0;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
}

/* spacing between buttons on desktop */
.table-stacked td .btn-tertiary {
  margin-right: 8px;
}

/* ---------- Mobile layout: stack View + Delete vertically ---------- */
@media (max-width: 700px) {
  .table-stacked td .filter-actions-bottom {
    flex-direction: column;
    align-items: flex-start;   /* keep them left-aligned */
    gap: 6px;                  /* space between stacked buttons */
  }

  .table-stacked td .btn-tertiary,
  .table-stacked td .btn-4 {
    width: auto;               /* keep their original button width */
    min-width: 110px;          /* ensure consistent size */
    margin-right: 0;
  }
}

.landing-wrapper {
  text-align: center;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  padding: 0 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.landing-wrapper h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #0a0a0a;
}
.landing-wrapper .lead {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
  font-weight: 400;
}
.landing-wrapper p {
  color: #555;
}
.landing-cta {
  margin: 1.8rem 0;
}

/* 🌈 Highlight Button (contrast + glow) */
.landing-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0072ff 0%, #00b3ff 100%);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 6px 15px rgba(0, 115, 255, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}
.landing-btn:hover {
  background: linear-gradient(135deg, #0059d6 0%, #00a1ff 100%);
  box-shadow: 0 8px 22px rgba(0, 115, 255, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}
.landing-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 115, 255, 0.3);
}

/* 🎯 Features row */
.features-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #333;
}
.features-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: #f5f8fa;
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.features-row span:hover {
  background: #eaf8ff;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .features-row {
    gap: 8px 12px;
    font-size: 0.95rem;
  }
  .features-row span {
    padding: 6px 10px;
  }
}

.landing-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  cursor: pointer;
}
.landing-wrapper img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ───────────────────────────────
   Login / Account Intro Block
   ─────────────────────────────── */
.login-intro {
  max-width: 600px;
  margin: 0 auto 1.8rem auto;
  text-align: center;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
}


@media (max-width: 600px) {
  .login-intro {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
  }
}
