@font-face {
    font-family: 'Vazirmatn';
    src: url('/static/Vazirmatn[wght].woff2') format('woff2');
    font-style: normal;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  background: #ffffff;
  color: #444444;
  padding-top: 160px; /* فاصله برای هدر دسکتاپ */
  font-family: "Vazirmatn", sans-serif;
  font-weight: normal;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HEADER STYLES ===== */
.main-header {
  background: #0b132b;
  color: #d4af37;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #d4af37;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 80px;
}

.site-title {
  font-size: 28px;
  color: #d4af37;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  flex: 1;
  text-align: center;
  order: 2;
  white-space: nowrap;
}

.logo {
  width: 60px;
  height: 65px;
  border-radius: 10%;
  object-fit: fill;
}


.header-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  order: 3;
  text-align: left;
  flex: 1.5;
  min-width: 300px;
}

.header-call,
.header-location {
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-call i,
.header-location i {
  color: #d4af37;
  font-size: 16px;
  flex-shrink: 0;
}

/* اصلاح اطلاعات تماس در یک خط */
.header-call {
  display: inlineflex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.header-call br {
  display: none;
}

.header-call span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.header-location {
  font-size: 13px;
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
/* ===== DESKTOP NAVIGATION ===== */
.desktop-nav {
  display: block;
  background: rgba(11, 19, 43, 0.95);
  padding: 10px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.desktop-nav ul li a {
  color: #d4af37;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav ul li a:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.desktop-nav ul li a i {
  font-size: 18px;
}

/* ===== MOBILE NAVIGATION (تب‌بار) ===== */
.mobile-nav {
  display: none;
  position: relative;
  background: #0b132b;
  border-top: 2px solid #d4af37;
  padding: 0;
}

.mobile-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 5px;
}

.mobile-tab,
.mobile-more-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
  text-decoration: none;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 60px;
}

.mobile-tab i,
.mobile-more-btn i {
  font-size: 22px;
  margin-bottom: 4px;
  color: #d4af37;
}

.mobile-tab span,
.mobile-more-btn span {
  font-size: 12px;
  font-weight: 500;
}

.mobile-tab.active {
  background: rgba(212, 175, 55, 0.15);
  border-top: 3px solid #d4af37;
  color: #d4af37;
}

.mobile-tab.active i {
  color: #d4af37;
}

.mobile-tab:hover,
.mobile-more-btn:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* منوی کشویی بیشتر */
.mobile-dropdown {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 100%;
  background: #0b132b;
  border-bottom: 2px solid #d4af37;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  padding: 15px;
}

.mobile-dropdown.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mobile-dropdown a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-dropdown a i {
  margin-left: 10px;
  color: #d4af37;
  width: 20px;
  text-align: center;
}

.mobile-dropdown a:hover {
  background: rgba(212, 175, 55, 0.15);
  padding-right: 20px;
}

.mobile-dropdown a.dropdown-close {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  justify-content: center;
  margin-top: 10px;
  border-radius: 8px;
}

/* ===== VIDEO SLIDER ===== */
.video-slider {
  width: 100%;
  height: 650px;
  overflow: hidden;
  position: relative;
}

.video-slider video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-text {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #d4af37;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  width: 90%;
  max-width: 800px;
}

.video-text h1 {
  font-size: 36px;
  margin: 0 0 15px 0;
}

.video-text p {
  font-size: 20px;
  margin-top: 10px;
}

.cards-container {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.card {
  width: 180px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 4px solid rgba(212, 175, 55, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-content h3 {
  color: #d4af37;
  font-size: 20px;
  text-align: center;
  margin: 0;
}

/* ===== DIVIDER ===== */
.gold-divider {
  width: 100%;
  height: 8px;
  background-color: #d4af37;
}

/* ===== ABOUT SECTION ===== */
.text-about {
  text-align: right;
  margin: 30px 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text-about h2 {
  color: #0b132b;
  margin-bottom: 15px;
  font-size: 24px;
  border-right: 4px solid #d4af37;
  padding-right: 15px;
}

.text-about h3 {
  line-height: 1.8;
  font-size: 16px;
  color: #444;
  margin-bottom: 0;
}

.about-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px;
  text-align: right;
  flex-wrap: wrap;
}

.about-box {
  flex: 1;
  min-width: 300px;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.about-box h2 {
  color: #0b132b;
  margin-bottom: 15px;
  font-size: 22px;
  border-right: 4px solid #d4af37;
  padding-right: 10px;
}

.about-box h3 {
  line-height: 1.8;
  font-size: 15px;
  color: #444;
}

/* ===== PROPERTIES GRID ===== */
.page-container {
  width: 95%;
  max-width: 1300px;
  margin: 30px auto;
  padding: 0 15px;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
  color: #2f4788;
  padding-bottom: 15px;
  border-bottom: 2px solid #d4af37;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.property-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.property-info {
  padding: 20px;
}

.price {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2f4788;
}

.details {
  display: flex;
  gap: 20px;
  color: #555;
  margin-bottom: 15px;
  font-size: 14px;
}

.details i {
  color: #2f4788;
  margin-left: 5px;
}

.title {
  font-size: 18px;
  margin: 10px 0;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

.location {
  color: #777;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location i {
  color: #d4af37;
}

.more-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #d4af37;
  color: #0b132b;
  border: none;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Vazirmatn";
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0);
}

.more-btn:hover {
  background: #edc651;
  box-shadow: 0 7px 19px #0b132b27;
}


/* ===== DETAIL PAGE ===== */
.detail-container {
  max-width: 1200px;
  margin: 180px auto 50px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gallery {
  width: 100%;
}

#more-link {
  text-decoration: none;
}

.main-img {
  width: 100%;
  height: 400px;
  object-fit: fill;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumb:hover {
  border-color: #d4af37;
  transform: scale(1.05);
}

.detail-info {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.property-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2f4788;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 10px;
}

.property-category,
.property-price,
.property-contact,
.property-desc {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #444;
}

.property-price {
  font-weight: bold;
  color: #d4af37;
  font-size: 18px;
}

.property-contact i {
  color: #2f4788;
  margin-left: 8px;
}

.features h3 {
  margin: 25px 0 15px;
  font-size: 20px;
  font-weight: 600;
  color: #0b132b;
  border-right: 4px solid #d4af37;
  padding-right: 10px;
}

.features ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.features ul li {
  background: #0b132b;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.features ul li:hover {
  transform: translateY(-3px);
  background: #1a2548;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cta-btn {
  flex: 1;
  min-width: 200px;
  padding: 15px 25px;
  background: #d4af37;
  color: #0b132b;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  background: #e6c14e;
}

.cta-btn.outline {
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
  box-shadow: none;
}

.cta-btn.outline:hover {
  background: rgba(212, 175, 55, 0.1);
}


/* ===== CONTACT PAGE ===== */
.picandbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 50px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.picture-call {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.my-box {
  background: #f9f9f9;
  border: 3px solid #d4af37;
  color: #0b132b;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  font-size: 18px;
  font-weight: bold;
  line-height: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.my-box br {
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.main-footer {
  background: #0b132b;
  color: #d4af37;
  padding: 40px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo {
  width: 100px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #d4af37;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  padding-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: #d4af37;
  transform: translateX(-5px);
}

.footer-contact p {
  margin: 12px 0;
  color: #e9e6db;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-icons a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #d4af37;
  transform: translateX(-5px);
}

.social-icons a i {
  font-size: 20px;
  color: #d4af37;
}

.footer-cta {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-cta .cta-btn {
  flex: 1;
  min-width: 150px;
  padding: 12px 20px;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  color: #cfc9b8;
  font-size: 14px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* تبلت و موبایل بزرگ */
@media (max-width: 992px) {
  body {
    padding-top: 140px;
  }
  
  .video-slider {
    height: 500px;
  }
  
  .video-text h1 {
    font-size: 30px;
  }
  
  .cards-container {
    top: 65%;
    flex-wrap: wrap;
  }
  
  .card {
    width: 160px;
    height: 90px;
  }
  
  .detail-container {
    margin-top: 150px;
  }
  
  .main-img {
    height: 300px;
  }
}

/* موبایل */
@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }
  
  .header-content {
    flex-direction: row; /* تغییر از column به row */
    flex-wrap: wrap; /* امکان شکستن خط */
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
  }
  
  .site-title {
    order: 2; /* تایتل بعد از لوگو */
    font-size: 22px;
    text-align: right;
    flex: 1;
    margin: 0;
  }
  
  .logo {
    order: 1; /* لوگو اول */
    width: 50px;
    height: 50px;
    margin: 0;
  }
  
  .header-contact {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  
  .header-call,
  .header-location {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;

  }
  .header-location {
    font-size: 11px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .video-slider {
    height: 400px;
  }
  
  .video-text {
    top: 32%;
    width: 95%;
  }
  
  .video-text h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .video-text p {
    font-size: 16px;
  }
  
  .cards-container {
    top: 70%;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
    gap: 15px;
  }
  
  .card {
    width: 90%;
    max-width: 250px;
    height: 80px;
  }
  
  .card-content h3 {
    font-size: 18px;
  }
  
  .text-about {
    margin: 20px 15px;
    padding: 15px;
  }
  
  .about-box {
    min-width: 100%;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .detail-container {
    margin-top: 120px;
    padding: 0 15px;
  }
  
  .main-img {
    height: 250px;
  }
  
  .thumb {
    width: 80px;
    height: 60px;
  }
  
  .detail-info {
    padding: 20px;
  }
  
  .property-title {
    font-size: 24px;
  }
  
  .features ul li {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .contact-buttons {
    flex-direction: column;
  }
  
  .cta-btn {
    width: 100%;
  }
  
  .picandbox {
    flex-direction: column;
    margin: 30px 15px;
    gap: 30px;
  }
  
  .picture-call {
    max-width: 100%;
  }
  
  .my-box {
    padding: 20px;
    font-size: 16px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto 20px;
  }
  
  .footer-links a,
  .footer-contact p,
  .social-icons a {
    justify-content: center;
  }
  
  .footer-cta {
    justify-content: center;
  }
}

/* موبایل کوچک */
@media (max-width: 480px) {
  body {
    padding-top: 140px;
  }
  
  .mobile-tabs {
    height: 55px;
  }
  
  .mobile-tab,
  .mobile-more-btn {
    min-height: 55px;
    padding: 6px 3px;
  }
  
  .mobile-tab i,
  .mobile-more-btn i {
    font-size: 20px;
  }
  
  .mobile-tab span,
  .mobile-more-btn span {
    font-size: 11px;
  }
  
  .video-slider {
    height: 350px;
  }
  
  .video-text h1 {
    font-size: 20px;
  }
  
  .video-text p {
    font-size: 14px;
  }
  
  .page-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .property-img {
    height: 180px;
  }
  
  .price {
    font-size: 16px;
  }
  
  .details {
    font-size: 13px;
    gap: 15px;
  }
  
  .title {
    font-size: 16px;
  }
  
  .more-btn {
    padding: 10px;
    font-size: 14px;
  }
  
  .main-img {
    height: 200px;
  }
  
  .thumb {
    width: 70px;
    height: 50px;
  }
  
  .property-title {
    font-size: 22px;
  }
  
  .features ul {
    justify-content: center;
  }
  
  .cta-btn {
    font-size: 14px;
    padding: 12px 15px;
  }
  
  .my-box {
    padding: 15px;
    font-size: 14px;
    line-height: 1.8;
  }
  .cards-container {
    margin-top: 15px;
  }
}

/* حالت لمسی */
@media (hover: none) and (pointer: coarse) {
  .property-card:hover {
    transform: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .mobile-tab:hover,
  .mobile-more-btn:hover {
    background: none;
  }
  
  .mobile-tab.active {
    background: rgba(212, 175, 55, 0.15);
  }
  
  .cta-btn,
  .more-btn,
  .mobile-tab,
  .mobile-more-btn {
    min-height: 44px;
  }


  
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* حالت افقی (Landscape) */
@media (max-height: 600px) and (orientation: landscape) {
  .video-slider {
    height: 300px;
  }
  
  .video-text {
    top: 45%;
  }
  
  .cards-container {
    top: 75%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .mobile-nav {
    height: 50px;
  }
  
  .mobile-tabs {
    height: 50px;
  }
}

/* ===== AUTH PAGES ===== */

body.auth-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #0b132b 0%,
        #000000 40%,
        #1a1a1a 65%,
        #d4af37 100%
    );
}

.auth-container {
    max-width: 440px;
    margin: 10px auto 50px;
    padding: 0 20px;
    text-align: center;
}

.auth-box {
    background: #0b132b;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgb(0, 0, 0);
    border: 1px solid #d4af37;
}

.auth-title {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.865);
    margin-bottom: 30px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4af37;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.auth-input {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    border: solid 1px #d4af3775;
    font-family: "Vazirmatn", sans-serif;
    background: rgba(255, 255, 255, 0.985);
    color: #444;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-input:focus {
    outline: none;
    border-color: #d4af37;
    border-radius: 3px;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.auth-input::placeholder {
    color: #888;
    text-align: right;
}

.auth-btn {
    padding: 11px;
    background: #d4af37;
    color: #0b132b;
    border: none;
    border-radius: 8px;
    font-family: "Vazirmatn", sans-serif;
    font-size: 17px;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.auth-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.auth-btn:disabled:hover {
    background: #ccc;
    transform: none;
    cursor: not-allowed;
}

.auth-btn:hover {
    background: #edc651;
    transform: translateY(-0.5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.auth-btn:active {
    transform: translateY(-1px);
    background-color: rgba(245, 245, 245, 0.901);
}

.auth-message {
    margin-top: 25px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(43, 255, 0, 0.1);
    color: #2f6000;
    border: 1px solid #4CAF50;
}

.auth-error {
    background: rgba(255, 0, 0, 0.1);
    color: #b00020;
    border: 1px solid #ff5252;
}

.auth-back {
    display: inline-block;
    margin-top: 20px;
    color: #2f4788;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-back:hover {
    color: #d4af37;
}

.auth-back i {
    margin-right: 8px;
}

/* ریسپانسیو صفحات احراز هویت */
@media (max-width: 768px) {
    .auth-container {
        margin: 140px auto 30px;
        padding: 0 15px;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .auth-input {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .auth-btn {
        padding: 14px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 120px auto 20px;
    }
    
    .auth-box {
        padding: 25px 15px;
    }
    
    .auth-title {
        font-size: 22px;
    }
    
    .auth-input {
        font-size: 14px;
    }
}

.main-filter-bar {
    background: #ffffff; 
    border: 2px solid #d4af37; 
    padding: 20px;
    margin: 40px auto 30px; 
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#property-filter-form {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 40px;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    flex-direction: column; 
    min-width: 180px; 
    flex: 1; 
}

.filter-group label {
    font-size: 14px;
    color: #0b132b;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: right;
}

.search-input,
.search-select {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s;
}

.search-input:focus,
.search-select:focus {
    border-color: #d4af37; 
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    outline: none;
}

.price-range {
    flex-direction: row; 
    align-items: center; 
    gap: 8px; 
    flex: 1.5; 
    min-width: 300px; 
}

.price-range label {
    flex-basis: 100%; 
    text-align: right;
    margin-bottom: 5px; 
}

.price-input {
    z-index: 10; 
    position: relative; 
}

.price-separator {
    color: #444444;
    font-weight: 500;
    white-space: nowrap; 
    margin: 0; 
    padding: 0;
}

.search-button {
    padding: 12px 25px;
    background-color: #0b132b; 
    color: #d4af37; 
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end; 
    min-width: 150px;
    height: 44px; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-button:hover {
    background-color: #d4af37;
    color: #0b132b;
    transform: translateY(-2px);
}