 * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

/* ================= HOME SECTION ================= */

/* NAV LINK STYLE */
.menu li a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 5px 2px;
  transition: color 0.3s ease;
}

/* underline animation */
.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 10px;
  transition: width 0.3s ease;
}

/* hover effect */
.menu li a:hover {
  color: #0ea5e9;
}

.menu li a:hover::after {
  width: 100%;
}
.menu li a.active {
  color: #0ea5e9;
}

.menu li a.active::after {
  width: 100%;
}
.menu li a:hover {
  transform: translateY(-2px);
}
/* ======================================================== */
.home-part {
  width: 100%;
}


.home-img {
  background: url('../img/property-1.jpg') center center / cover no-repeat;
  width: 100%;
  min-height: 650px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 60px 20px;
}

.home-img img {
  width: 120px;
  background-color: #f8f8f8;
  border-radius: 50%;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

.home-img h2 {
  color: #fff;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 25px;
  border-radius: 40px;
  margin: 20px 0;
}

.home-img a {
  background-color: #0567A5;
  border-radius: 10px;
  /* padding: 14px 30px; */
  padding: 9px 15px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 25px;
}


@media (max-width: 768px) {

  .home-img {
    min-height: 450px;
    padding: 40px 15px;
  }

  .home-img img {
    width: 90px;
  }

  .home-img h2 {
    font-size: 22px;
    padding: 8px 18px;
  }

  .home-img a {
    padding: 12px 24px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {

  .home-img h2 {
    font-size: 18px;
  }
}
/* ================= SEARCH BAR ================= */

.property-search {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.search-box {
  display: flex;
  width: 700px;
  max-width: 90%;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.search-box input {
  flex: 1;
  padding: 18px 22px;
  border: none;
  outline: none;
  font-size: 16px;
}

.search-box button {
  padding: 0 35px;
  border: none;
  background: #0567A5;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.search-box button:hover {
  background: #0567A5;
}

/* ================= MOBILE ================= */

@media (max-width: 576px) {

  .search-box {
    flex-direction: column;
    border-radius: 12px;
  }

  .search-box input {
    padding: 15px;
    font-size: 15px;
  }

  .search-box button {
    width: 100%;
    padding: 14px;
    border-radius: 0;
  }
}

/* ================= NAVBAR ================= */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f8fbff7d, #eaf6ff71);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  height: 65px;
}
a{
    text-decoration: none;
}
.top-nav span,
.home-img span,
.add-property span,
.property-tile span {
    font-size: 20px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* ================= MOBILE NAV ================= */

.nav-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* Mobile view */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }


  .menu {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }

  .menu li {
    border-bottom: 1px solid #eee;
  }

  .menu li a {
    display: block;
    padding: 15px;
  }

  .menu.active {
    display: flex;
  }
}

/* ================= PROFILE ================= */

.profile {
  position: relative;
  cursor: pointer;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
  right: 2px;
  border: 2px solid #fff;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: 50px;
  background: #fff;
  width: 180px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  display: none;
}

.profile-dropdown a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.profile-dropdown a:hover {
  background: #f2f2f2;
}

/* ================= MOBILE NAV ================= */

.nav-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {

  .menu {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    display: none;
    padding: 15px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }

  .menu.show {
    display: flex;
  }

  .menu li {
    text-align: center;
    padding: 10px 0;
  }

  .nav-toggle {
    display: block;
  }
}
.profile-dropdown .welcome {
  padding: 12px 15px;
  font-size: 14px;
  background: #f8f8f8;
  border-bottom: 1px solid #ddd;
}

          
/* ===== SECTION HEADING ===== */
.about-top {
  text-align: center;
  padding: 20px 20px 20px;
}

.about-top h1 {
  color: #000000;
  font-weight: 700;
}

.about-top p {
  color: #666;
}

.about-top img {
  width: 100px;
  opacity: 0.7;
}
/* Footer */
/* =========================
   FOOTER - MODERN UI
========================= */
.footer-img {
  background: linear-gradient(135deg, #f8fbff, #eaf6ff);
  padding: 60px 20px 35px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-img::before,
.footer-img::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(5, 103, 165, 0.08);
  filter: blur(30px);
  z-index: 0;
}

.footer-img::before {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -60px;
}

.footer-img::after {
  width: 280px;
  height: 280px;
  bottom: -90px;
  right: -80px;
}

.footer-img h2 {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(135deg, #0567A5, #0ea5e9);
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  padding: 12px 34px;
  border-radius: 50px;
  margin: 0 0 35px;
  box-shadow: 0 12px 28px rgba(5, 103, 165, 0.2);
  letter-spacing: 0.5px;
}

.footer-overlay {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
  align-items: center;
  justify-items: center;
}

/* footer image buttons */
.footer-btn-img {
  width: 170px;
  height: 72px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(5, 103, 165, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.35s ease;
}

.footer-container a {
  display: inline-block;
}

.footer-container a:hover .footer-btn-img {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 18px 34px rgba(5, 103, 165, 0.18);
  border-color: rgba(14, 165, 233, 0.25);
  background: #ffffff;
}

/* last two icons centered */
.last-icon {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* footer bottom */
.footer-bottom {
  margin-top: 38px;
}

.footer-bottom hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.18), transparent);
  margin-bottom: 16px;
}

.footer-bottom p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

.footer-bottom span {
  color: #0567A5;
  font-weight: 600;
  font-size: 14px;
}

/* tablet */
@media (max-width: 768px) {
  .footer-img {
    padding: 50px 16px 30px;
  }

  .footer-img h2 {
    font-size: 24px;
    padding: 10px 26px;
  }

  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }

  .footer-btn-img {
    width: 145px;
    height: 64px;
    padding: 8px 12px;
  }
}

/* mobile */
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-btn-img {
    width: 125px;
    height: 58px;
    border-radius: 14px;
  }

  .footer-img h2 {
    font-size: 20px;
    padding: 9px 22px;
  }

  .last-icon {
    gap: 16px;
  }

  .footer-bottom p {
    font-size: 13px;
  }
}
/* Footer Box */
/* .footer-box {
  flex: 1 1 220px;
  min-width: 220px;
} */

/* Logo */


/* Paragraph + Links */


/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.3rem;
  color: #fff;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #0567A5;
  transform: scale(1.15);
}


/* Remove all anchor underline */
a {
  text-decoration: none;
}

/* ============================
   RESPONSIVE FIXES
============================ */

/* Register */
/* ================= REGISTER FORM ================= */

.register-form {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    padding: 20px;
}

.register-form form {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.register-form h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
}

.register-form .form-control {
    height: 48px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
}

.register-form button {
    width: 100%;
    padding: 12px;
    background: #0567A5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.register-form button:hover {
    background: #0567A5;
}
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    background-image: url("../img/builing-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for text readability */
/* .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.25)
    );
} */

/* Text content */
.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    text-shadow:
  0 2px 4px rgba(0,0,0,0.6),
  0 6px 12px rgba(0,0,0,0.8);

    max-width: 700px;
    padding: 20px;
    animation: fadeUp 1.2s ease;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* Button */
.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #ff6b35;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #ff4b10;
    transform: translateY(-3px);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}


/* ================= RESPONSIVE ================= */

@media (max-width: 576px) {
    .register-form form {
        padding: 20px;
    }

    .register-form h1 {
        font-size: 22px;
    }
}

/* login */

 .login-container {
            max-width: 400px;
            margin: 80px auto;
            background: #fff;
            padding: 30px 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .login-container h2 {
            text-align: center;
            margin-bottom: 25px;
        }

        .login-container .btn-primary {
            width: 100%;
            padding: 10px;
        }

        .login-container .text-center a {
            text-decoration: none;
        }
        .login-container span {
            font-size: 15px;
        }

        .error {
            color: red;
            margin-bottom: 15px;
            text-align: center;
        }

        /* buttons */

        .property-tile-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
    max-width: 1300px;
    margin: 50px auto;
    padding: 10px;
}

.property-tile {
    position: relative;
    height: 140px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* Dark overlay */
.property-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.55)
    );
    transition: all 0.3s ease;
}

/* Text */
.property-tile span {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    z-index: 2;
}

/* Hover effect */
.property-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.property-tile:hover::before {
    background: linear-gradient(
        rgba(255, 255, 255, 0.25),
        rgba(0, 90, 146, 0.535)
    );
}

/* Active */
/* .property-tile.active::before {
    background: linear-gradient(
        rgba(255,107,53,0.4),
        rgba(255,107,53,0.85)
    );
} */

/* Mobile */
@media (max-width: 600px) {
    .property-tile {
        height: 120px;
    }

    .property-tile span {
        font-size: 14px;
    }
}
.add-property{
  text-align: center;
  justify-content: center;
margin: 30px;
}
/* .add-property h2{
margin-top: 30px;
text-align: center;
color:black;  
font-weight: 600;
background-color: rgb(215, 215, 215);
display: inline; padding:10px;

} */
/*  
.add-property h2 {
  color: #fff;
font-weight: 600;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px !important;
  border-radius: 40px;
  margin: 20px 0;
}

@media (max-width: 768px) {

  .add-property h2 {
    font-size: 22px;
    padding: 8px 18px;
  }
}

@media (max-width: 480px) {

  .add-property h2 {
    font-size: 18px;
  }
} */
 .add-property {
  text-align: center;
  margin: 20px 0;
}

.add-property h2 {
  display: inline-block;        /* Important */
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 50px;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .add-property h2 {
    font-size: 20px;
    padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .add-property h2 {
    font-size: 16px;
  }
}
/* Properties */
.property-horizontal{
  display:flex;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:22px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.property-image{
  width:40%;
  position:relative;
}

.property-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.price{
  position:absolute;
  bottom:15px;
  left:15px;
  background:#0567A5;
  color:#fff;
  padding:6px 14px;
  border-radius:20px;
}

.property-info{
  width:60%;
  padding:18px;
}

.meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  font-size:14px;
  margin:12px 0;
}

.view-btn{
  display:inline-block;
  background:#0567A5;
  color:#fff;
  padding:8px 18px;
  border-radius:25px;
  text-decoration:none;
}
@media(max-width:768px){
  .property-horizontal{flex-direction:column;}
  .property-image,.property-info{width:100%;}
  .meta{grid-template-columns:1fr;}
}
.profile-card {
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      margin-bottom: 30px;
      transition: transform .2s ease-in-out;
    }

    .profile-card:hover {
      transform: scale(1.02);
    }


    .profile-img-horizontal {
      width: 180px;
      height: 180px;
      border-radius: 12px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .profile-info {
      flex: 1;
    }

    .info-list li {
      border: none !important;
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
      .profile-card {
        flex-direction: column;
        text-align: center;
      }

      .profile-img-horizontal {
        width: 100%;
        height: 250px;
        border-radius: 12px 12px 0 0;
      }

      .profile-info {
        padding-top: 15px;
      }
    }

    .profile-info {
      padding: 6px 8px;
    }

    .profile-info h5 {
      font-weight: 600;
      font-size: 12px;
      color: #0d0d0d;
      margin-bottom: 8px;
    }

    .info-list {
      list-style: none;
      padding: 0;
      margin: 0 0 10px 0;
    }

    .info-list li {
      font-size: 13px;
      padding: 3px 0;
      color: #181818;
    }

    .btn-view {
      background-color: #0567A5;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 8px 16px;
      text-decoration: none;
      display: none;
    }

    .btn-view:hover {
      background-color: #0567A5;
    }/* image container */
.img-wrap {
    position: relative;
    width: 180px;          /* match your image width */
    height: 150px;         /* match your image height */
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    
}

/* image */
.profile-img-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* bottom dark overlay (30%) */
.img-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.587)
    );
    pointer-events: none;
}
.property-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.property-gallery img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.property-gallery img:hover {
    transform: scale(1.05);
}

.image-placeholder {
    width: 250px;
    height: 180px;
    background-color: #333; 
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
}
/* Container must be relative */
.img-wrap {
    position: relative;
    display: inline-block;
}

/* Base style for both badges */
.type-badge, .status-badge {
    position: absolute;
    padding: 1px 10px;
    font-size: 11px;
    font-weight: 400;
    border-radius: 4px;
    color: #fff;
    z-index: 2;
}

/* Position Type Badge at bottom (as in your current style) */
.type-badge {
    bottom: 5px;
    left: 5px;
    background: rgba(0,0,0,0.7);
}

/* Position Availability Badge at TOP right to avoid overlapping */
.status-badge {
    top: 5px;
    right: 5px;
    /* text-transform: uppercase; */
}

/* Dynamic Colors */
.bg-available { background-color: #0a36c6ff; } /* Green */
.bg-booked { background-color: #1bd046; }    /* Orange */
.bg-sold { background-color: #d5071c; }      /* Red */

/* Responsive Fix */
@media (max-width: 768px) {
    .type-badge, .status-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}
/* View.php */

.view-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* -------------------------
   PROPERTY LAYOUT
---------------------------*/
.property-layout {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.property-left {
    flex: 1 1 65%;
    min-width: 300px;
}

.property-right {
    flex: 1 1 30%;
    min-width: 280px;
    background: #f7f9fc;
    padding: 20px;
    border-radius: 10px;
}

/* -------------------------
   PROPERTY SLIDER
---------------------------*/
.property-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.property-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 12px;
    transition: opacity 0.5s ease;
}

.property-slider img.active {
    display: block;
    opacity: 1;
}

.property-slider .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 26px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
}

.property-slider .nav:hover {
    background: rgba(0,0,0,0.8);
}

.property-slider .prev { left: 10px; }
.property-slider .next { right: 10px; }

/* -------------------------
   PROPERTY DETAILS
---------------------------*/
.top-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.top-details h1.title {
    font-size: 28px;
    color: #0567A5;
}

.top-details .location {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.view-price {
    font-size: 28px;
    font-weight: bold;
    color: #0567A5;
    margin: 15px 0;
}

.details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.details div {
    background: #3636361a;
    font-size: 13px;
    padding: 12px;
    border-radius: 8px;
}

.details strong {
    /* display: block; */
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* -------------------------
   DESCRIPTION & BUTTONS
---------------------------*/
.description h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0567A5;
}

.description p {
    font-size: 15px;
    color: #444;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    margin: 10px 8px 0 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
}

.download {
    background: #28a745;
    color: #fff;
}

.download:hover {
    background: #218838;
}

.edit {
    background: #ffc107;
    color: #000;
}

.edit:hover {
    background: #e0a800;
}

/* -------------------------
   MEDIA QUERIES
---------------------------*/
@media (max-width: 1024px) {
    .property-left, .property-right {
        flex: 1 1 100%;
    }

    .property-slider {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .property-slider {
        height: 300px;
    }

    .details {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .top-details h1.title {
        font-size: 24px;
    }

    .view-price {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .property-slider {
        height: 220px;
    }

    .top-details {
        flex-direction: column;
        gap: 5px;
    }

    .details {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .btn {
        width: 100%;
    }
}

/* ===== FORM SECTION ===== */
.personal-details {
  background: #fff;
  margin: 40px auto;
  width: 90%;
  max-width: 1100px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.single-add-property h3 {
  color: #0567A5;
  margin-bottom: 25px;
  font-weight: 600;
  border-left: 4px solid #0567A5;
  padding-left: 10px;
}

.form-group {
  margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 10px 15px;
  border: 1.5px solid #dddddd;
  border-radius: 8px;
  transition: 0.3s;
  background: #f9f9f9;
}

input:focus,
select:focus {
  border-color: #0567A5;
  background: #fff;
  box-shadow: 0 0 8px #0568a54f(255, 0, 0, 0.203);
  outline: none;
}

.single-add-property label {
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
  display: block;
  font-size: 13px;
  
}

/* ===== IMAGE UPLOAD ===== */
.img-card input[type="file"] {
  border: 2px dashed #0567A5;
  border-radius: 10px;
  padding: 25px;
  width: 100%;
  cursor: pointer;
  background: #0568a555;
  transition: 0.3s;
}

.img-card input[type="file"]:hover {
  background: #0568a555;
}

.preview-area {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 10px;
}

.preview-box {
  width: 120px;
  height: 120px;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #0568a555;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

/* ---------------------------------------------- */
/* ===== SUBMIT BUTTON ===== */
.prperty-submit-button {
  text-align: center;
}

.prperty-submit-button button {
  background: #0567A5;
  color: #fff;
  font-weight: 600;
  padding: 12px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.4s ease;
  box-shadow: 0 5px 15px #0568a555;
}

.prperty-submit-button button:hover {
  background: #0567A5;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .personal-details {
    width: 95%;
    padding: 25px;
  }

  .about-top h1 {
    font-size: 1.6rem;
  }

  .profile-dropdown {
    right: -10px;
  }
}
/* location input */
 /* Lacation input */
    .autocomplete-box {
    border: 1px solid #ccc;
    max-width: 350px;
    margin-top: 5px;
    display: none;
    background: #fff;
    position: absolute;
    z-index: 10;
    border-radius: 5px;
    overflow: hidden;
}

.autocomplete-box div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.autocomplete-box div:last-child {
    border-bottom: none;
}

.autocomplete-box div:hover {
    background: #f7f7f7;
}
/* Plan preview */
.preview-area {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.preview-item {
  position: relative;
  width: 150px;
  height: 120px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  cursor: grab;
  background: #fff;
}

.preview-item.dragging {
  opacity: 0.5;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ❌ Remove button */
.remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #dc3545;
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}

/* Drag icon */
.drag-icon {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 6px;
}
/* image modal */
.img-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.img-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.img-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}
/* Pagination */

/* Normal page link */
.pagination .page-link {
  color: #fff;
  background-color: #222;
  border-color: #444;
}

/* Hover */
.pagination .page-link:hover {
  background-color: #444;
  color: #fff;
}

/* Active page */
.pagination .page-item.active .page-link {
  background-color: #0567A5;  /* your main color */
  border-color: #0567A5;
  color: #fff;
}

/* Disabled (optional) */
.pagination .page-item.disabled .page-link {
  background-color: #ccc;
  color: #777;
}
/* map */
.footer-map {
  width: 100%;
  height: 150px;          /* small size */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-text {
  margin-top: 8px;
  font-size: 14px;
  color: #ddd;
}

.map-text i {
  color: #0567A5;
  margin-right: 6px;
}
/* ===== Responsive Pagination ===== */

/* Small devices (mobile ≤576px) */
@media (max-width: 576px) {

  .pagination {
    flex-wrap: wrap;
    gap: 5px;
  }

  .pagination .page-link {
    padding: 6px 10px;
    font-size: 13px;
  }

  /* Hide extra page numbers if too many */
  .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
    display: none;
  }

  /* Always show Prev, Active, Next */
  .pagination .page-item.active,
  .pagination .page-item:first-child,
  .pagination .page-item:last-child {
    display: block;
  }
}

/* Tablets (≤768px) */
@media (max-width: 768px) {
  .pagination .page-link {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Large Screens (≥1200px) */
@media (min-width: 1200px) {
  .pagination .page-link {
    padding: 10px 16px;
    font-size: 16px;
  }
}
/* All Form Bg Edit */
.form_container{
  background: #f5f7fa;
}
/* Similer Property Card */
.property-meta {
  margin-top: 8px;
  font-size: 14px;
  color: #444;
}

.property-meta .meta-item {
  margin-bottom: 6px;
}
.card {
  border-radius: 10px;
}

.property-img {
  height: 180px;
  object-fit: cover;
border-radius: 10px;
}

.card-title {
  font-size: 16px;
}

.small {
  font-size: 13px;
}.span{
  font-size: 13px;
  color: black;
}
/* 🔹 Reduce input text size */
input,
select,
textarea {
    font-size: 14px !important;
}

/* 🔹 Reduce placeholder font size */
input::placeholder,
textarea::placeholder {
    font-size: 12px !important;
    color: #999;
}

/* 🔹 Reduce select dropdown option size */
select option {
    font-size: 13px;
   
}
select option {
    font-size: 13px;
   
}
/* 🔹 Optional: smaller labels */
/* label {
    font-size: 16px;
} */
/* ===== MOBILE FORM SPACING FIX ===== */
@media (max-width: 768px) {

  /* Give equal bottom space to ALL columns */
  .personal-details .row > div {
    margin-bottom: 18px;
  }

  /* Remove unwanted spacing from <p> wrapper */
  .personal-details p {
    margin-bottom: 0;
  }

  /* Equal space between label and input */
  .personal-details label {
    display: block;
    margin-bottom: 6px;
  }

  /* Make inputs consistent */
  .personal-details input,
  .personal-details select,
  .personal-details textarea {
    width: 100%;
  }

  /* Remove extra margin from rows */
  .personal-details .row {
    margin-bottom: 0 !important;
  }

}
.pdf-preview {
  width: 150px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}
.plan-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.plan-thumb {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* PDF same size as image */
.pdf-box {
    width: 200px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-btn {
    background: #0d6efd;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}
.one-row{
    display:grid;
    grid-template-rows: 1 fr 1fr;
}
/* Badge Availability */
/* Container to force equal line alignment */
.price-row-container {
    display: flex;
    align-items: center; /* Vertically centers the badge with the price text */
    gap: 12px;           /* Space between the price and the badge */
    margin-bottom: 15px; /* Space before the next section */
}

/* Ensure price doesn't have default bottom margins breaking the line */
.view-price {
    margin: 0 !important;
    font-size: 24px;
    font-weight: bold;
    color: #007bff; /* Matches your price color */
}

/* Pill badge styling */
.inline-status-pill {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 50px; /* High radius for the pill look */
    text-transform: uppercase;
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevents badge from breaking into two lines */
}

/* Dynamic Status Colors */
.badge-available { background-color: #0a36c6ff; }
.badge-booked    { background-color: #1bd046; }
.badge-sold      { background-color: #d5071c; }

.inline-status-pill i {
    font-size: 10px;
    margin-right: 5px;
}


.preview-item {
    position: relative;
    width: 130px; /* Adjust based on your layout */
    height: 130px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 10px;
    background: #fff;
}

/* PDF Card Container */
.pdf-preview-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Central Icon Area */
.pdf-icon-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

/* Red "OPEN PDF" Footer */
.pdf-red-footer {
    background-color: #e74c3c; /* Red color */
    color: white;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    padding: 6px 0;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* Remove button style */
.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff3b30;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}.required-label::after {
  content: "*";
  color: red;
  font-size: 18px;
  margin-left: 2px; /* control spacing */
}
.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
}

.sortable-ghost {
    opacity: 0.4;
}
.preview-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.preview-item {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
}.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px; /* set your navbar height */
    background: linear-gradient(135deg, #f8fbff99, #eaf6ff95);
    z-index: 9999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}body {
    padding-top: 70px; /* same as navbar height */
}

.sortable-ghost {
    opacity: 0.4;
}select:required:invalid {
    color: #888;   /* grey placeholder */
}

select {
    color: #000;   /* black selected value */
}
option[selected] {
    color: #888;
}
select.form-control {
    color: #888;   /* default grey */
}

select.form-control option {
    color: #000;   /* dropdown list text black */
}
/* Stick note */
/* Sticky Container */
.sticky-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

/* Floating Button */
.sticky-btn {
    width: 55px;
    height: 55px;
    background: #fff;
    color: rgb(30, 39, 80);
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);

    transition: transform 0.3s ease;
}

.sticky-btn:hover {
    transform: scale(1.1);
}

/* Popup Box */
.sticky-box {
    width: 260px;
    background: #fff;
    border-radius: 12px;
    position: absolute;
    bottom: 70px;
    right: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);

    transform: translateY(100px) scale(0.8);
    opacity: 0;
    pointer-events: none;

    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* ACTIVE STATE (ANIMATION 🔥) */
.sticky-box.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.sticky-header {
    background: rgb(30, 39, 80);;
    color: #fff;
    padding: 10px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Close Button */
.sticky-header span:last-child {
    cursor: pointer;
    font-size: 16px;
}

/* Textarea */
.sticky-box textarea {
    width: 100%;
    height: 90px;
    border: none;
    outline: none;
    padding: 10px;
    resize: none;
    font-size: 13px;
}

/* Optional Save Button */
.sticky-box button {
    width: 100%;
    border: none;
    padding: 8px;
    background: rgb(30, 39, 80);;
    color: #fff;
    cursor: pointer;
    border-radius: 0 0 12px 12px;
}
/* Login -  Show hide password */
.password-box {
  position: relative;
}

.password-box input {
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
  font-size: 16px;
}

.toggle-password:hover {
  color: #0567A5;
}
/* AllProperties */
:root{
  --ap-primary:#0567A5;
  --ap-primary-dark:#044d7c;
  --ap-success:#16a34a;
  --ap-danger:#dc2626;
  --ap-warning:#f59e0b;
  --ap-dark:#111827;
  --ap-gray:#6b7280;
  --ap-border:#e5e7eb;
  --ap-bg:#f4f7fb;
  --ap-white:#ffffff;
  --ap-shadow:0 10px 30px rgba(0,0,0,0.08);
  --ap-radius:18px;
}

.all-properties-page{
  font-family: "Segoe UI", sans-serif;
  color: var(--ap-dark);
}

.all-properties-page .page-wrap{
  max-width: 1450px;
  margin: 40px auto;
  padding: 0 16px;
  animation: fadeUp .6s ease;
}

.all-properties-page .page-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:22px;
}

.all-properties-page .page-title h2{
  font-size: clamp(18px, 2vw, 32px);
  font-weight:600;
  margin-bottom:8px;
  color:#0f172a;
}

.all-properties-page .page-title p{
  color: var(--ap-gray);
  font-size:15px;
  margin:0;
}

.all-properties-page .top-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.all-properties-page .top-btn{
  border:none;
  padding:8px 16px;
  border-radius:12px;
  font-weight:700;
  font-size:15px;
  color:#fff;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:.3s ease;
  box-shadow: var(--ap-shadow);
}

.all-properties-page .top-btn:hover{
  transform: translateY(-3px);
  color:#fff;
}

.all-properties-page .btn-add{
  background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-dark));
}

.all-properties-page .btn-bulk-delete{
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.all-properties-page .table-card{
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.7);
}

.all-properties-page .table-toolbar{
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  border-bottom:1px solid var(--ap-border);
  background:#fff;
}

.all-properties-page .toolbar-left{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.all-properties-page .toolbar-left h5{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#111827;
}

.all-properties-page .count-badge{
  background:#e0f2fe;
  color:#0369a1;
  padding:6px 12px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
}

.all-properties-page .ap-search-box{
  position:relative;
  min-width:260px;
  width: 420px;
  max-width: 100%;
}

.all-properties-page .ap-search-box input{
  width:100%;
  padding:12px 14px 12px 42px;
  border:1px solid var(--ap-border);
  border-radius:12px;
  outline:none;
  transition:.3s ease;
  font-size:15px !important;
  background:#fff;
}

.all-properties-page .ap-search-box input:focus{
  border-color: var(--ap-primary);
  box-shadow: 0 0 0 4px rgba(5,103,165,0.10);
}

.all-properties-page .ap-search-box i{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:#94a3b8;
}

.all-properties-page .table-responsive{
  overflow-x:auto;
}

.all-properties-page .property-table{
  width:100%;
  min-width:1200px;
  border-collapse:separate;
  border-spacing:0;
  margin:0;
}

.all-properties-page .property-table thead th{
  background: linear-gradient(135deg, #111827, #1f2937);
  color:#fff;
  padding:18px 14px;
  text-align:center;
  font-size:15px;
  font-weight:500;
  border-right:1px solid rgba(255,255,255,0.15);
  white-space:nowrap;
}

.all-properties-page .property-table thead th:last-child{
  border-right:none;
}

.all-properties-page .property-table tbody tr{
  background:#fff;
  transition:.3s ease;
}

.all-properties-page .property-table tbody tr:nth-child(even){
  background:#fbfdff;
}

.all-properties-page .property-table tbody tr:hover{
  background:#f8fbff;
}

.all-properties-page .property-table td{
  padding:13px 14px;
  text-align:center;
  vertical-align:middle !important;
  border-bottom:1px solid var(--ap-border);
  border-right:1px solid var(--ap-border);
  font-size:12px;
  font-weight:600;
}

.all-properties-page .property-table td:last-child{
  border-right:none;
}

.all-properties-page .property-table tbody tr:last-child td{
  border-bottom:none;
}

.all-properties-page .ap-property-img{
  width:95px !important;
  height:70px !important;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
  transition:.3s ease;
  border:2px solid #fff;
  display:block;
  margin:0 auto;
}

.all-properties-page .ap-property-img:hover{
  transform:scale(1.08);
}

.all-properties-page .ap-type-badge{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  position:static !important;
  /* background:#eff6ff; */
  color:#001550;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.all-properties-page .ap-id-badge{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  position:static !important;
  background:#eff6ff;
  color:#000000;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}


.all-properties-page .price-text{
  font-size:14px;
  font-weight:700;
  color:#111827;
}

.all-properties-page .location-text{
  color:#475569;
  font-weight:400;
  font-size:15px;
}

.all-properties-page .ap-status-badge{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  position:static !important;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.all-properties-page .ap-status-active{
  background:#dcfce7;
  color:#15803d;
}

.all-properties-page .ap-status-pending{
  background:#fef3c7;
  color:#b45309;
}

.all-properties-page .action-group{
  display:flex !important;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.all-properties-page .ap-action-btn{
  border:none;
  text-decoration:none;
  color:#fff;
  font-size:14px;
  font-weight:700;
  padding:10px 16px;
  border-radius:10px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  transition:.3s ease;
  min-width:92px;
  white-space:nowrap;
}

.all-properties-page .ap-action-btn:hover{
  transform:translateY(-2px);
  color:#fff;
}

.all-properties-page .btn-edit{
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow:0 8px 18px rgba(245,158,11,.22);
}

.all-properties-page .btn-delete{
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow:0 8px 18px rgba(239,68,68,.22);
}

.all-properties-page .checkbox-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
}

.all-properties-page input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color: var(--ap-primary);
  cursor:pointer;
  transform:scale(1.1);
}

.all-properties-page .mobile-cards{
  display:none;
  padding:18px;
  gap:16px;
  flex-direction:column;
  background:#f8fbff;
}

.all-properties-page .property-card{
  background:#fff;
  border:1px solid #edf2f7;
  border-radius:18px;
  box-shadow: var(--ap-shadow);
  padding:16px;
  animation:fadeUp .5s ease;
}

.all-properties-page .property-card-top{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:14px;
}

.all-properties-page .property-card img{
  width:95px;
  height:78px;
  object-fit:cover;
  border-radius:12px;
  flex-shrink:0;
}

.all-properties-page .property-card-content{
  flex:1;
}

.all-properties-page .property-card-content h4{
  margin:0 0 8px;
  font-size:18px;
  font-weight:800;
  color:#111827;
}

.all-properties-page .property-card-content p{
  margin:0 0 6px;
  color:#64748b;
  font-size:14px;
}

.all-properties-page .property-card-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:10px;
}

.all-properties-page .mobile-price{
  font-size:18px;
  font-weight:800;
  color:#111827;
}

.all-properties-page .mobile-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (max-width: 991px){
  .all-properties-page .property-table{
    min-width:1100px;
  }
}

@media (max-width: 767px){
  .all-properties-page .table-responsive{
    display:none;
  }

  .all-properties-page .mobile-cards{
    display:flex;
  }

  .all-properties-page .table-toolbar{
    flex-direction:column;
    align-items:stretch;
  }

  .all-properties-page .ap-search-box{
    min-width:100%;
    width:100%;
  }

  .all-properties-page .top-actions{
    width:100%;
  }

  .all-properties-page .top-btn{
    flex:1 1 100%;
    justify-content:center;
  }
}

@media (max-width: 576px){
  .all-properties-page .page-wrap{
    margin:24px auto;
  }

  .all-properties-page .property-card-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .all-properties-page .mobile-actions{
    width:100%;
  }

  .all-properties-page .mobile-actions .ap-action-btn{
    flex:1 1 calc(50% - 10px);
  }
}
.ap-availability {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* Colors */
.ap-available {
  background: #2563eb; /* Blue */
}

.ap-booked {
  background: #16a34a; /* Green */
}

.ap-sold {
  background: #dc2626; /* Red */
}
.load-more-wrap{
  text-align:center;
  padding: 22px 16px 28px;
  background:#fff;
}

.load-more-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  padding:12px 24px;
  border-radius:12px;
  background:linear-gradient(135deg, #0567A5, #044d7c);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  box-shadow:0 10px 24px rgba(5,103,165,0.18);
  transition:all .3s ease;
  border:none;
}

.load-more-btn:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(5,103,165,0.24);
}

.disabled-btn{
  background:#cbd5e1 !important;
  color:#475569 !important;
  cursor:not-allowed;
  box-shadow:none !important;
}.less-btn{
  background: linear-gradient(135deg, #6b7280, #374151);
}
.preview-item {
    position: relative;
}

.remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(40, 167, 69, 0.9); /* green */
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover effect */
.preview-item:hover .remove-btn {
    background: rgba(220, 53, 69, 0.95); /* red */
}

/* Change symbol on hover */
.preview-item:hover .remove-btn::before {
    content: "×";
}

.remove-btn::before {
    content: "✔";
}.preview-item:hover .remove-btn {
    transform: scale(1.2);
}
/* ===== GLOBAL SHINE EFFECT FOR ALL BUTTONS ===== */
button,
.hero-btn,
.view-btn,
.load-more-btn,
.all-properties-page .top-btn,
.prperty-submit-button button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* ================================== */
/* Shain  */
/* =============================== */
/* Shine layer */
button::before,
.hero-btn::before,
.view-btn::before,
.load-more-btn::before,
.all-properties-page .top-btn::before,
.prperty-submit-button button::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -60%;
  width: 35%;
  height: 400%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 35%,
    rgba(255,255,255,0.9) 50%,
    rgba(255,255,255,0.2) 65%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(25deg) translateX(-250%);
  pointer-events: none;
  z-index: 1;

  /* 🔥 Always running animation */
  animation: shineMove 2.5s linear infinite;
}

/* Smooth infinite shine */
@keyframes shineMove {
  0% {
    transform: rotate(25deg) translateX(-250%);
  }
  100% {
    transform: rotate(25deg) translateX(550%);
  }

}
