/* index.css - كامل مع التعديلات المطلوبة */

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

:root {
    font-size: clamp(15px, 2.2vw, 17px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #1c1e21;
    overflow-x: hidden;
    padding-top: 3.75rem;
    padding-bottom: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* ========== الوضع الليلي ========== */
body.dark-mode {
    background-color: #1e1e2f;
    color: #eee;
}
body.dark-mode .top-header,
body.dark-mode .requests-action-bar,
body.dark-mode .map-action-bar,
body.dark-mode .bottom-nav,
body.dark-mode .auth-modal-content,
body.dark-mode .account-modal-content,
body.dark-mode .admin-panel-content,
body.dark-mode .pending-properties-content,
body.dark-mode .contact-content,
body.dark-mode .saved-content,
body.dark-mode .add-property-content,
body.dark-mode .property-card,
body.dark-mode .estimate-content,
body.dark-mode .filters-panel,
body.dark-mode .sidebar {
    background-color: #2d2d3a;
    color: #eee;
    border-color: #444;
}
body.dark-mode .option-btn,
body.dark-mode .filter-select,
body.dark-mode .icon-btn,
body.dark-mode .auth-btn,
body.dark-mode .account-btn,
body.dark-mode .close-btn,
body.dark-mode .action-btn,
body.dark-mode .btn-outline {
    background-color: #3a3a4a;
    color: #eee;
    border-color: #555;
}
body.dark-mode .nav-item {
    color: #aaa;
}
body.dark-mode .nav-item.active {
    color: #1877f2;
}

/* ========== تحسين مظهر نافذة تفاصيل العقار ========== */
.property-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    margin-bottom: 0.9375rem;
}

.detail-item {
    background: #f0f2f5;
    padding: 0.625rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 0.8125rem;
    color: #65676b;
}

.detail-value {
    font-weight: 600;
    color: #1c1e21;
}

.property-actions {
    display: flex;
    gap: 0.3125rem;
    padding: 0.625rem 0.9375rem;
    border-top: 1px solid #dddfe2;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    padding: 12px;
    background: #f0f2f5;
    border-radius: 8px;
    font-size: 16px;
}

.rating-section i {
    font-size: 1.25rem;
}

.rating-number {
    color: #65676b;
    font-size: 1.25rem;
    margin-right: 5px;
}

.property-description {
    background: #f0f2f5;
    padding: 16px;
    border-radius: 8px;
    margin: 15px 0;
    line-height: 1.6;
    font-size: 14px;
    color: #1c1e21;
    white-space: pre-wrap;
}

.property-media {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #000;
}

.property-media img,
.property-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.property-media-swiper {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.property-media-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.dark-mode .property-details-grid {
    background: #3a3a4a;
}
body.dark-mode .detail-item {
    background: #2d2d3a;
}
body.dark-mode .detail-label {
    color: #aaa;
}
body.dark-mode .detail-value {
    color: #eee;
}
body.dark-mode .rating-section,
body.dark-mode .property-description {
    background: #3a3a4a;
    color: #eee;
}
body.dark-mode .rating-number {
    color: #aaa;
}

/* ========== الشريط العلوي (الهيدر) ========== */
.top-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 3.75rem;
    background: #fff;
    border-bottom: 1px solid #dddfe2;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-left: 0;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo {
    color: #1877f2;
    font-size: clamp(1.5rem, 5vw, 1.75rem);
}

.app-name {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
    font-weight: bold;
    color: #1877f2;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.header-search {
    flex: 1;
    max-width: 31.25rem;
    margin: 0 1.25rem;
}

.search-box {
    width: 100%;
    padding: 0.625rem 0.9375rem;
    border: none;
    background: #f0f2f5;
    border-radius: 50px;
    font-size: 0.875rem;
    outline: none;
}

.header-icons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #65676b;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.icon-btn:hover {
    background-color: #f0f2f5;
    color: #1877f2;
}

#toggleSidebarBtn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #65676b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
}

#toggleSidebarBtn:hover {
    background-color: #f0f2f5;
    color: #1877f2;
}

/* ========== القائمة الجانبية ========== */
.sidebar {
    position: fixed;
    top: 3.75rem;
    right: 0;
    width: 280px;
    height: calc(70vh - 3.75rem);
    background: #fff;
    border-left: 1px solid #dddfe2;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #dddfe2;
}

.sidebar-header h3 {
    font-size: 1.125rem;
    color: #1877f2;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #65676b;
}

.sidebar-menu {
    list-style: none;
    padding: 16px 0;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #1c1e21;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9375rem;
}

.sidebar-menu a i {
    width: 20px;
    color: #1877f2;
    font-size: 1.125rem;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #f0f2f5;
}

.sidebar-actions {
    padding: 16px 20px;
    border-top: 1px solid #dddfe2;
}

.sidebar-actions h4 {
    margin-bottom: 10px;
    color: #1877f2;
    font-size: 0.95rem;
}

.sidebar-action-btn {
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 8px;
    border: none;
    border-radius: 5px;
    background: #f0f2f5;
    color: #1c1e21;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.sidebar-action-btn:hover {
    background: #e4e6eb;
}

.auth-sidebar-buttons {
    padding: 16px 20px;
    border-top: 1px solid #dddfe2;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-sidebar-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    width: 100%;
}

.auth-sidebar-btn.login {
    background: #1877f2;
    color: white;
}

.auth-sidebar-btn.register {
    background: #42b72a;
    color: white;
}

.auth-sidebar-btn.logout {
    background: #e74c3c;
    color: white;
}

.auth-sidebar-btn.admin {
    background: #9b59b6;
    color: white;
}

/* ========== أشرطة الإجراءات ========== */
.requests-action-bar,
.map-action-bar {
    position: fixed;
    right: 0;
    left: 0;
    background: white;
    border-bottom: 1px solid #dddfe2;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    z-index: 999;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.requests-action-bar {
    top: 4.75rem;
    min-height: 3.125rem;
    display: flex;
    justify-content: space-between;
}

.map-action-bar {
    top: calc(3.75rem + 3.125rem);
    min-height: 3.125rem;
}

.requests-action-bar .action-btn,
.map-action-bar .action-btn {
    background: #f0f2f5;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #65676b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.requests-action-bar .action-btn {
    flex: 1 1 50%;
    max-width: calc(50% - 1.25rem);
    justify-content: center;
    text-align: center;
}

#addRequestBtn {
    background-color: #2196F3;
    color: white;
}

#viewRequestsBtn {
    background-color: #4CAF50;
    color: white;
}

.requests-action-bar .action-btn:hover,
.map-action-bar .action-btn:hover {
    background: #e4e6eb;
}

.requests-action-bar .action-btn:active,
.map-action-bar .action-btn:active {
    transform: scale(0.95);
}

/* ========== الخريطة ========== */
#map {
    position: fixed;
    top: calc(3.75rem + 6.25rem);
    right: 0;
    left: 0;
    bottom: 4.375rem;
    width: auto;
    height: auto;
    margin: 0 1.25rem 1.25rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddfe2;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-interactive {
    will-change: transform;
}

.leaflet-tile {
    filter: blur(0);
    image-rendering: optimizeQuality;
}

.slow-network .leaflet-tile {
    filter: blur(2px);
    transition: filter 0.3s;
}

/* ========== ماركر السعر ========== */
.price-marker {
    background: white !important;
    border: 2px solid #4CAF50;
    border-radius: 90px 90px 1px 90px;
    padding: 0.375rem 0;
    font-weight: bold;
    font-size: 0.75rem;
    color: #333;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    cursor: pointer;
    min-width: 100%;
    position: relative;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.price-marker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 90px 90px 1px 90px;
    z-index: -1;
}

.price-marker:hover {
    background: #f8f9fa !important;
    border-color: #2196F3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.price-marker:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-marker.for-sale {
    border-color: #2ecc71;
    color: #2ecc71;
}

.price-marker.for-rent-below {
    border-color: #e74c3c;
    color: #e74c3c;
}

.price-marker.ready {
    border-width: 3px;
    font-weight: 800;
}

.price-marker .price-tag {
    font-size: 0.875rem;
    font-weight: bold;
}

.price-marker .currency {
    font-size: 0.625rem;
    margin-right: 2px;
}

/* ========== الشريط السفلي ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4.375rem;
    background: white;
    border-top: 1px solid #dddfe2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #65676b;
    padding: 0.625rem 0.9375rem;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
}

.nav-item.active {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.nav-icon {
    font-size: 1.25rem;
    margin-bottom: 0.3125rem;
}

.nav-text {
    font-size: 0.75rem;
    font-weight: 500;
}

/* ========== عناصر التحميل ========== */
.loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
}

.spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1877f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.9375rem 1.25rem;
    border-radius: 10px;
    z-index: 1002;
    display: none;
    text-align: center;
}

/* ========== نافذة البوب أب للعقار ========== */
.leaflet-popup-content-wrapper {
    border-radius: 10px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #dddfe2;
    pointer-events: auto;
}

.leaflet-popup-content {
    max-height: 300px;
    overflow-y: auto;
    pointer-events: auto;
    margin: 10px;
    padding-left: 5px;
}

.leaflet-popup-content::-webkit-scrollbar {
    width: 6px;
}
.leaflet-popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.leaflet-popup-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}
.leaflet-popup-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.property-popup {
    min-width: 250px;
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.popup-avatar {
    width: 1.875rem;
    height: 1.875rem;
    background: linear-gradient(45deg, #1877f2, #00a400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
}

.popup-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1c1e21;
}

.popup-price {
    color: #1877f2;
    font-weight: bold;
    font-size: 1rem;
    margin: 5px 0;
}

.popup-description {
    white-space: pre-wrap;
    font-size: 0.75rem;
    color: #65676b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.popup-actions {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.popup-btn {
    flex: 1;
    padding: 0.5rem 0.625rem;
    border: none;
    border-radius: 5px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
}

.popup-btn.details {
    background: #f0f2f5;
    color: #65676b;
}

.popup-btn.whatsapp {
    background: #25D366;
    color: white;
}

.popup-btn.save {
    background: #f0f2f5;
    color: #e74c3c;
}

.popup-btn.save.saved {
    background: #e74c3c;
    color: white;
}

.popup-btn.delete {
    background: #e74c3c;
    color: white;
}

.popup-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ========== لوحة الفلاتر الجانبية ========== */
.filters-panel {
    position: fixed;
    top: 3.75rem;
    right: 0;
    width: 320px;
    max-width: calc(100% - 20px);
    max-height: calc(100vh - 4rem);
    background: #fff;
    border: 1px solid #dddfe2;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #dddfe2;
    background: inherit;
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.filters-content {
    padding: 16px;
    flex: 1;
}

.filters-panel.open {
    transform: translateX(0);
}

.close-filters {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #65676b;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}
.close-filters:hover {
    background: rgba(0,0,0,0.05);
}

.filters-panel::-webkit-scrollbar {
    width: 6px;
}
.filters-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.filters-panel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
.filters-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========== أنماط النموذج متعدد الخطوات وشريط السعر ========== */
.wizard-steps {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f0f2f5;
    border-radius: 30px;
    margin: 0 5px;
    font-size: 12px;
    color: #65676b;
}

.step.active {
    background: #1877f2;
    color: white;
}

.step.completed {
    background: #00a400;
    color: white;
}

.wizard-pane {
    display: none;
}

.wizard-pane.active {
    display: block;
}

.wizard-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#priceSlider {
    margin: 10px 0;
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-inputs input {
    width: 100px;
    padding: 5px;
    border: 1px solid #dddfe2;
    border-radius: 5px;
}

.multiple-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

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

.remove-image {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255,0,0,0.7);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

/* ========== باقي المودالات ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content,
.auth-modal-content,
.account-modal-content,
.admin-panel-content,
.pending-properties-content,
.contact-content,
.saved-content,
.add-property-content,
.property-card,
.estimate-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
}

.modal-title {
    font-size: 20px;
    color: #1877f2;
    margin-bottom: 20px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.1);
    color: #65676b;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    transform: rotate(90deg);
}

/* ========== أزرار عامة ========== */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: #1877f2;
    color: white;
}

.btn-primary:hover {
    background: #166fe5;
}

.btn-success {
    background: #00a400;
    color: white;
}

.btn-success:hover {
    background: #009900;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-outline {
    background: #f0f2f5;
    color: #65676b;
    border: 1px solid #dddfe2;
}

.btn-block {
    width: 100%;
}

/* ========== الإشعارات المنبثقة ========== */
.notification {
    position: fixed;
    top: 6.25rem;
    right: 0.25rem;
    padding: 0.9375rem 1.25rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1003;
    box-shadow: 10px 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
    max-width: 18.75rem;
    font-size: 1.2375rem;
}

.notification.success { background: #10b981; }
.notification.error { background: #ef4444; }
.notification.info { background: #1877f2; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ========== تحسينات للأجهزة اللوحية والصغيرة ========== */
@media (max-width: 768px) {
    .header-search { display: none; }
    #map {
        top: calc(3.125rem + 6.25rem);
        bottom: 3.75rem;
        margin: 0 0.625rem 0.625rem;
    }
    .top-header {
        padding: 0 0.625rem;
        height: 3.125rem;
    }
    .logo-container {
        gap: 0.3125rem;
    }
    .logo {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }
    .app-name {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }
    .icon-btn {
        font-size: 1.125rem;
        padding: 0.375rem;
    }
    #toggleSidebarBtn {
        font-size: 1.125rem;
        padding: 0.375rem;
    }
    .requests-action-bar {
        top: 3.125rem;
        min-height: 2.8rem;
    }
    .map-action-bar {
        top: calc(3.125rem + 3.8rem);
        min-height: 2.8rem;
    }
    .filters-panel {
        top: 3.125rem;
        max-height: calc(100vh - 3.125rem);
    }
    .bottom-nav {
        height: 3.75rem;
    }
    .nav-icon {
        font-size: 1.125rem;
    }
    .nav-text {
        font-size: 0.6875rem;
    }
    .property-card {
        width: 95%;
    }
    .property-video {
        height: 12.5rem;
    }
    .swiper {
        height: 12.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.125rem;
        padding-bottom: 3.75rem;
    }
    .requests-action-bar .action-btn,
    .map-action-bar .action-btn {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
    .app-name {
        font-size: 1.3rem;
    }
    .nav-icon {
        font-size: 1.3rem;
    }
    .nav-text {
        font-size: 0.8rem;
    }
    .action-btn {
        font-size: 1.1rem;
    }
    .auth-btn, .account-btn, .form-btn, .popup-btn {
        font-size: 0.4rem;
    }
}

@media (max-width: 360px) {
    .requests-action-bar .action-btn,
    .map-action-bar .action-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.5rem;
    }
    .app-name {
        font-size: 0.1rem;
    }
}