 * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

/* .home-img {

    background: url('./assets/img/property-1.jpg') center/cover no-repeat;
  width: 100%;
  height: 650px;

  align-items: center;
  padding-right: 60px;

  justify-content: center;padding: 120px;
}
.home-img img{
width: 13%;
background-color: #f8f8f8;
border-radius: 50%;
box-shadow: 5px 5px 15px black;
}.home-img h2{
  color:white;
  font-weight: 900;
  margin-top: 80px;
  background-color: rgba(0, 0, 0, 0.488);
  padding: 5px;border-radius: 40px;
  width: 60%;margin: 70px auto;
}.home-img a{
  background-color: #f90000ff;
  border-radius: 10px;
  padding: 20px;color: #f8f8f8;
} */
/* ================= HOME SECTION ================= */

.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: 900;
  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: #fff;
  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;
}
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: 500;
}

.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-img {
  position: relative;
  background:white;
  width: 100%;
  color: #fff;
  padding:60px;
}

/* Dark Overlay */
/* .footer-overlay {
  background: rgba(0, 0, 0, 0.413);
  padding: 50px 5% 20px;
  width: 100%;
} */

/* Footer Layout */
/* .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
} */
.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  width: 100%;
  gap:50px;
}
/* Footer Box */
/* .footer-box {
  flex: 1 1 220px;
  min-width: 220px;
} */

/* Logo */
.footer-logo {
  width: 150px;
  margin-bottom: -10px;
}

/* Headings */
.footer-box h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Paragraph + Links */
.footer-box p,
.footer-box a {
  color: #dcdcdc;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

/* Hover Links */
.footer-box a:hover {
  color: #0567A5;
}

/* 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);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  color: #000000;
}

.footer-bottom span {
  color: rgb(163, 163, 163);
  font-size: 15px;
}

/* Remove all anchor underline */
a {
  text-decoration: none;
}

/* ============================
   RESPONSIVE FIXES
============================ */

/* Tablet + Mobile */
@media (max-width: 992px) {
  .footer-container {
    justify-content: center;
    text-align: center;
  }
  .footer-box {
    min-width: 250px;
  }
  .footer-logo {
    margin: 0 auto 15px;
  }
}

/* Small Mobile Screens */
@media (max-width: 576px) {
  .footer-overlay {
    padding: 40px 20px;
  }
  .footer-box {
    margin-bottom: 20px;
  }
  .social-icons a {
    margin-right: 8px;
  }
}

/* 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;
}
/* Footer Button */
.footer-btn-img {
    width: 160px;        /* button width */
    height: 50px;        /* button height */
    object-fit: contain;
    cursor: pointer;
    transition: 0.3s ease;
}

.footer-btn-img:hover {
    transform: scale(1.05);
}.footer-img {
  /* background: #111; */
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.footer-img 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;
}

.footer-img h2 {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 28px;
}

.footer-overlay {
  max-width: 1200px;
  margin: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
}
/* Center last two icons */
.last-icon {
  grid-column: 1 / -1;   /* span full grid width */
  display: flex;
  justify-content: center; /* center horizontally */
  gap: 40px;              /* space between icons */
  margin-top: 10px;
}
@media (max-width: 480px) {
  .last-icon {
    gap: 20px;
  }
}
.footer-btn-img {
  width: 170px;
  height: 70px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  transition: 0.3s ease;
  cursor: pointer;
}

.footer-btn-img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.footer-bottom {
  margin-top: 40px;
}

.footer-bottom hr {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
}

.footer-bottom p {
  font-size: 14px;
  color: #ccc;
}

/* Tablet */
@media (max-width: 768px) {
  .footer-btn-img {
    width: 95px;
    height: 55px;
  }

  .footer-img h2 {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-btn-img {
    width: 85px;
    height: 50px;
  }

  .footer-img h2 {
    font-size: 20px;
  }
}


.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: #ffffff;
    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 */
}
