:root {
  --primary-color: #eb5d1e;
  --primary-dark: #c94d17;
  --primary-light: #f7a278;
  --secondary-color: #2a3b8f;
  --dark-color: #222222;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --light-gray: #f1f3f5;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --border-radius: 12px;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #1f2d7a;
  border-color: #1f2d7a;
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color) !important;
}

.btn-outline-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-secondary:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-weight: 800;
  font-size: 2.2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Header */
.navbar {
  padding: 18px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: white;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-item {
  margin: 0 5px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-color) !important;
  position: relative;
  padding: 8px 12px !important;
  border-radius: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 24px);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-login,
.btn-register {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.btn-login {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-login:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(235, 93, 30, 0.9) 0%, rgba(42, 59, 143, 0.85) 100%), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, white, transparent);
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-stats {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Tabs Navigation */
.section-tabs {
  padding: 80px 0 50px;
  background-color: white;
}

.tabs-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  border-bottom: none;
  flex-wrap: wrap;
}

.tabs-navigation .nav-link {
  background-color: transparent;
  border: none;
  color: var(--gray-color);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 30px !important;
  margin: 0 5px;
  border-radius: 50px;
  position: relative;
}

.tabs-navigation .nav-link::after {
  display: none;
}

.tabs-navigation .nav-link:hover,
.tabs-navigation .nav-link.active {
  color: white !important;
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Projects Section */
.projects-section {
  padding: 50px 0 80px;
}

.project-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: var(--transition);
  background-color: white;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.project-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}

.project-info {
  padding: 25px;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  min-height: 3.2rem;
  line-height: 1.4;
}

.project-location {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.project-price {
  color: var(--secondary-color);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.project-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}

.project-feature {
  text-align: center;
}

.project-feature i {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

/* Post Listing Section */
.post-listing-section {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.post-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(235, 93, 30, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--primary-color);
}

.post-card h3 {
  text-align: center;
  margin-bottom: 20px;
}

.post-card p {
  text-align: center;
  margin-bottom: 25px;
  color: var(--gray-color);
  line-height: 1.6;
}

/* News Section */
.news-section {
  padding: 80px 0;
  background-color: white;
}

.news-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.news-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-img img {
  transform: scale(1.08);
}

.news-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.news-content {
  padding: 25px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--gray-color);
}

.news-date,
.news-author {
  display: flex;
  align-items: center;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  min-height: 3.6rem;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--gray-color);
  margin-bottom: 20px;
  min-height: 4.2rem;
  line-height: 1.6;
}

.news-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.news-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(235, 93, 30, 0.05);
  border-radius: 50%;
  transform: translate(150px, -150px);
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(42, 59, 143, 0.05);
  border-radius: 50%;
  transform: translate(-200px, 200px);
}

.about-img-wrapper {
  position: relative;
  padding-right: 30px;
}

.about-img-main {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 60%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 1;
}

.experience-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--primary-color);
  color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 3;
}

.experience-years {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-text {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 5px;
}

.feature-item {
  padding: 15px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  margin-bottom: 15px;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 3px;
}

.feature-item h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 0;
}

.stats-container {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary-color);
}

.stats-container .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-container .stat-label {
  font-size: 0.9rem;
  color: var(--gray-color);
  font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(235, 93, 30, 0.05) 0%, rgba(42, 59, 143, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(235, 93, 30, 0.1);
  border-radius: 50%;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(42, 59, 143, 0.1);
  border-radius: 50%;
}

.newsletter-section .section-title::after {
  background-color: var(--secondary-color);
}

.newsletter-form {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  /* max-width: 800px; */
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  border: 2px solid #e9ecef;
  padding: 15px 20px;
  font-size: 1rem;
  transition: var(--transition);
}

.newsletter-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(235, 93, 30, 0.25);
}

.newsletter-form .form-check-label {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Featured Listings */
.featured-listings {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.listing-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 30px;
  height: 100%;
}

.listing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px 0;
}

.listing-user {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-date {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.listing-content {
  padding: 20px 25px;
}

.listing-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.listing-type {
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(42, 59, 143, 0.1);
  color: var(--secondary-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.listing-description {
  margin-bottom: 20px;
  color: var(--gray-color);
  line-height: 1.6;
}

.listing-price {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.4rem;
}

.listing-footer {
  padding: 15px 25px 25px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modal Styles */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  overflow: hidden;
}

.modal-header {
  background-color: var(--primary-color);
  color: white;
  border-bottom: none;
  padding: 25px 30px;
}

.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
}

.form-control,
.form-select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(235, 93, 30, 0.25);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 30px;
}

.footer h5 {
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1199px) {
  .hero-content h1 {
      font-size: 2.8rem;
  }

  .section-title {
      font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .hero-content h1 {
      font-size: 2.4rem;
  }

  .hero-content p {
      font-size: 1.1rem;
  }

  .hero-stats .col-6 {
      width: 50%;
  }

  .tabs-navigation .nav-link {
      padding: 10px 20px !important;
      font-size: 1rem;
  }

  .section-tabs,
  .projects-section,
  .post-listing-section,
  .news-section,
  .about-section,
  .newsletter-section {
      padding: 60px 0;
  }

  .about-img-wrapper {
      margin-bottom: 60px;
      padding-right: 0;
  }

  .about-img-secondary {
      width: 50%;
      bottom: -40px;
      right: 20px;
  }

  .experience-badge {
      left: 20px;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
      font-size: 2rem;
  }

  .hero-section {
      padding: 140px 0 80px;
  }

  .navbar-brand {
      font-size: 1.7rem;
  }

  .user-actions {
      margin-top: 15px;
  }

  .tabs-navigation {
      flex-direction: column;
      align-items: center;
  }

  .tabs-navigation .nav-link {
      width: 100%;
      max-width: 300px;
      margin-bottom: 10px;
      text-align: center;
  }

  .newsletter-form {
      padding: 25px 20px;
  }

  .news-meta {
      flex-direction: column;
      gap: 8px;
  }

  .about-img-secondary {
      width: 45%;
      bottom: -30px;
  }

  .experience-badge {
      padding: 15px;
      left: 10px;
      top: 20px;
  }

  .experience-years {
      font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
      font-size: 1.8rem;
  }

  .hero-content p {
      font-size: 1rem;
  }

  .hero-stats .col-6 {
      width: 100%;
      margin-bottom: 20px;
  }

  .stat-number {
      font-size: 1.8rem;
  }

  .newsletter-form .form-control,
  .newsletter-form .btn {
      width: 100%;
      margin-bottom: 10px;
  }

  .newsletter-form .col-md-2 {
      width: 100%;
  }

  .newsletter-form .btn {
      margin-top: 10px;
  }

  .about-img-secondary {
      display: none;
  }

  .feature-item {
      padding: 12px;
  }

  .feature-item h5 {
      font-size: 1rem;
  }
}


/* CSS riêng cho trang chi tiết tin mua bán */
.breadcrumb-section {
  padding: 25px 0;
  background: linear-gradient(135deg, rgba(235, 93, 30, 0.05) 0%, rgba(42, 59, 143, 0.05) 100%);
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.breadcrumb-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(235, 93, 30, 0.08);
  border-radius: 50%;
}

.breadcrumb-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: rgba(42, 59, 143, 0.08);
  border-radius: 50%;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.breadcrumb-item {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
  background-color: rgba(235, 93, 30, 0.1);
  transform: translateY(-2px);
}

.breadcrumb-item a i {
  margin-right: 6px;
  font-size: 14px;
}

.breadcrumb-item.active {
  color: var(--gray-color);
  font-weight: 500;
  padding: 6px 12px;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--gray-color);
  font-weight: 600;
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  padding: 0 10px;
  font-size: 12px;
}

/* Responsive cho breadcrumb */
@media (max-width: 768px) {
  .breadcrumb-section {
      padding: 20px 0;
      margin-top: 70px;
  }
  
  .breadcrumb-item {
      font-size: 14px;
  }
  
  .breadcrumb-item a,
  .breadcrumb-item.active {
      padding: 4px 8px;
  }
  
  .breadcrumb-item a i {
      font-size: 13px;
      margin-right: 4px;
  }
  
  .breadcrumb-section::before,
  .breadcrumb-section::after {
      width: 100px;
      height: 100px;
  }
}

@media (max-width: 576px) {
  .breadcrumb-section {
      padding: 15px 0;
  }
  
  .breadcrumb-item {
      font-size: 13px;
  }
  
  .breadcrumb-item a,
  .breadcrumb-item.active {
      padding: 3px 6px;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
      padding: 0 6px;
      font-size: 10px;
  }
}

.listing-detail-page {
  padding: 40px 0;
}

.listing-images {
  margin-bottom: 30px;
}

.main-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.thumbnail-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail {
  width: calc(25% - 10px);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail:hover, .thumbnail.active {
  border-color: #eb5d1e;
}

.thumbnail img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.listing-info {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.listing-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.listing-price {
  font-size: 28px;
  font-weight: 800;
  color: #eb5d1e;
}

.listing-type {
  background: rgba(42, 59, 143, 0.1);
  color: #2a3b8f;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
}

.listing-date {
  color: #6c757d;
  font-size: 14px;
}

.listing-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(235, 93, 30, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eb5d1e;
}

.feature-text {
  font-size: 15px;
  color: #444;
}

.feature-value {
  font-weight: 700;
  color: #222;
}

.listing-description {
  margin-bottom: 30px;
}

.description-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.description-content {
  line-height: 1.8;
  color: #444;
}

.listing-location {
  margin-bottom: 30px;
}

.location-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.location-details {
  color: #444;
  margin-bottom: 15px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* Seller Info */
.seller-info {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.seller-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.seller-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-details h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.seller-rating {
  color: #ffc107;
  font-size: 14px;
}

.seller-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #eb5d1e;
}

.stat-label {
  font-size: 12px;
  color: #666;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Similar Listings */
.similar-listings {
  padding: 60px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  color: #222;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #eb5d1e;
  border-radius: 2px;
}

.similar-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.similar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

.similar-card-body {
  padding: 20px;
}

.similar-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.similar-card-price {
  font-size: 20px;
  font-weight: 800;
  color: #eb5d1e;
  margin-bottom: 10px;
}

.similar-card-location {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Modal Contact */
.modal-content {
  border-radius: 12px;
  border: none;
}

.modal-header {
  background: #eb5d1e;
  color: white;
  border-radius: 12px 12px 0 0;
}

.modal-body {
  padding: 30px;
}

@media (max-width: 768px) {
  .listing-title {
      font-size: 24px;
  }
  
  .listing-price {
      font-size: 24px;
  }
  
  .listing-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
  
  .listing-features {
      grid-template-columns: 1fr;
  }
  
  .main-image img {
      height: 300px;
  }
  
  .thumbnail {
      width: calc(50% - 10px);
  }
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 40px 0 60px;
  gap: 8px;
}

.page-item {
  margin: 0 2px;
  transition: var(--transition);
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-color);
  background-color: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.page-link:hover {
  color: var(--primary-color);
  background-color: rgba(235, 93, 30, 0.05);
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.page-link:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(235, 93, 30, 0.25);
}

.page-item.active .page-link {
  color: white !important;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(235, 93, 30, 0.3);
  position: relative;
  z-index: 1;
}

.page-item.active .page-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: shimmer 2s infinite;
  z-index: -1;
}

@keyframes shimmer {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(100%);
  }
}

.page-item.disabled .page-link {
  color: #adb5bd !important;
  background-color: #f8f9fa !important;
  border-color: #dee2e6 !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Các icon navigation (prev/next) */
.page-link[rel="prev"],
.page-link[rel="next"] {
  padding: 0 15px;
  font-weight: 700;
  position: relative;
}

.page-link[rel="prev"]:hover,
.page-link[rel="next"]:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-color: var(--primary-color);
}

/* Dots separator (nếu có) */
.page-item:not(.active):not(.disabled) .page-link.dots {
  background: transparent;
  border: none;
  min-width: 20px;
  color: var(--gray-color);
}

.page-item:not(.active):not(.disabled) .page-link.dots:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
  color: var(--dark-color);
}

/* Pagination with numbers only (compact) */
.pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.pagination-numbers .page-link {
  min-width: 40px;
  height: 40px;
  font-size: 14px;
}

/* Pagination info text */
.pagination-info {
  text-align: center;
  margin: 20px 0;
  color: var(--gray-color);
  font-size: 14px;
}

.pagination-info strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Responsive pagination */
@media (max-width: 768px) {
  .pagination {
      flex-wrap: wrap;
      gap: 5px;
      margin: 30px 0 40px;
  }
  
  .page-link {
      min-width: 40px;
      height: 40px;
      font-size: 14px;
  }
  
  .page-link[rel="prev"],
  .page-link[rel="next"] {
      padding: 0 12px;
      font-size: 13px;
  }
  
}

@media (max-width: 576px) {
  .pagination {
      gap: 3px;
  }
  
  .page-link {
      min-width: 35px;
      height: 35px;
      font-size: 13px;
      padding: 0 3px;
  }
  
  .page-link[rel="prev"],
  .page-link[rel="next"] {
      padding: 0 8px;
      font-size: 12px;
  }
}

/* Dark mode pagination (optional) */
.dark-mode .page-link {
  background-color: #2c3034;
  border-color: #3d4146;
  color: #e9ecef;
}

.dark-mode .page-link:hover {
  background-color: #3a3f44;
  border-color: var(--primary-color);
  color: white;
}

.dark-mode .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.dark-mode .page-item.disabled .page-link {
  background-color: #2c3034;
  color: #6c757d;
  border-color: #3d4146;
}

/* Pagination with background */
.pagination-bg {
  background: linear-gradient(135deg, rgba(235, 93, 30, 0.05) 0%, rgba(42, 59, 143, 0.05) 100%);
  padding: 25px;
  border-radius: var(--border-radius);
  margin: 40px 0;
}

/* Pagination centered with results info */
.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.pagination-wrapper .pagination {
  margin: 0;
}

.results-info {
  font-size: 15px;
  color: var(--gray-color);
  font-weight: 500;
}

.results-info strong {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .pagination-wrapper {
      flex-direction: column;
      text-align: center;
      gap: 15px;
  }
}

/* ========== USER PAGES STYLES ========== */

/* Fix margin top cho trang user (tránh bị header đè) */
.user-page-wrapper {
  padding-top: 100px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Page container */
.user-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page header - Modern design */
.page-header {
  margin-bottom: 40px;
  position: relative;
}

.page-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page-header-left h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--dark-color), #444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header-left p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 0;
}

.page-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats Grid - Modern */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(235, 93, 30, 0.1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.stat-card.border-success::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.stat-card.border-warning::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.stat-card.border-danger::before {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.stat-card .stat-label {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-card .stat-label i {
  font-size: 1rem;
}

.stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 15px 0;
}

.stat-card .stat-value.text-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main Content Card */
.content-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.content-card-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #f8fafc;
}

.content-card-header h3 {
  margin: 0;
  font-weight: 600;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-card-body {
  padding: 30px;
}

/* Forms - Modern */
.form-section {
  margin-bottom: 30px;
}

.form-label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.form-control-lg {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.form-control-lg:focus {
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(235, 93, 30, 0.1);
  outline: none;
}

.form-control-lg:disabled {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

/* Table - Modern */
.table-container {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-modern thead {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.table-modern thead th {
  padding: 20px 24px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.table-modern tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.table-modern tbody tr:hover {
  background: #f8fafc;
}

.table-modern tbody tr:last-child {
  border-bottom: none;
}

.table-modern tbody td {
  padding: 20px 24px;
  color: #475569;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* Listing Item */
.listing-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.listing-image {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-info h6 {
  margin: 0 0 5px 0;
  font-weight: 600;
  line-height: 1.4;
}

.listing-info .meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #64748b;
}

/* Badge Modern */
.badge-modern {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid transparent;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.btn-action {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-action.view { color: #3b82f6; border-color: #dbeafe; }
.btn-action.edit { color: #f59e0b; border-color: #fef3c7; }
.btn-action.delete { color: #ef4444; border-color: #fee2e2; }

.btn-action.view:hover { background: #dbeafe; }
.btn-action.edit:hover { background: #fef3c7; }
.btn-action.delete:hover { background: #fee2e2; }

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 30px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #94a3b8;
  font-size: 2rem;
}

.empty-state h4 {
  color: #334155;
  margin-bottom: 15px;
  font-weight: 600;
}

.empty-state p {
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Pagination Modern */
.pagination-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #64748b;
  font-weight: 500;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-links {
  display: flex;
  gap: 5px;
}

.pagination-links .page-link {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.pagination-links .page-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.pagination-links .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Alerts */
.alert-modern {
  border-radius: 12px;
  border: none;
  padding: 18px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.alert-modern i {
  font-size: 1.2rem;
  margin-top: 2px;
}

/* Tips Card */
.tips-card {
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 25px;
  margin-top: 30px;
}

.tips-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tips-card-header h6 {
  margin: 0;
  color: #92400e;
}

.tips-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-card-body li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: #92400e;
}

.tips-card-body li:before {
  content: '•';
  position: absolute;
  left: 12px;
  color: #f59e0b;
  font-size: 1.5rem;
  line-height: 1;
}

/* Modal */
.modal-modern .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-modern .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 24px 30px;
  background: #f8fafc;
}

.modal-modern .modal-body {
  padding: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .user-page-wrapper {
      padding-top: 80px;
  }
  
  .page-header-content {
      flex-direction: column;
      gap: 20px;
  }
  
  .page-header-left h1 {
      font-size: 2rem;
  }
  
  .stats-grid {
      grid-template-columns: 1fr;
  }
  
  .content-card-body {
      padding: 20px;
  }
  
  .table-container {
      border-radius: 12px;
  }
  
  .table-modern thead {
      display: none;
  }
  
  .table-modern tbody tr {
      display: block;
      margin-bottom: 20px;
      border: 1px solid rgba(0, 0, 0, 0.05);
      border-radius: 12px;
      padding: 15px;
  }
  
  .table-modern tbody td {
      display: block;
      padding: 10px 0;
      border: none;
      text-align: left;
  }
  
  .table-modern tbody td:before {
      content: attr(data-label);
      font-weight: 600;
      display: block;
      margin-bottom: 5px;
      color: #64748b;
      font-size: 0.9rem;
  }
  
  .action-buttons {
      justify-content: flex-start;
      margin-top: 15px;
  }
}