/* Dashboard Styles */
:root {
    --sidebar-width: 240px;
    --sidebar-collapsed-width: 70px;
    --header-height: 70px;
    --primary-dark: #1b2a49;
    --primary-darker: #162139;
}

/* Base styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: #f8f9fa;
    font-family: var(--font-body);
}

/* Layout */
.dashboard-layout {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Blur effect for login modal */
.dashboard-layout.blur-background .dashboard-main,
.dashboard-layout.blur-background .dashboard-sidebar {
    filter: blur(4px);
    pointer-events: none;
}

/* Sidebar */
.dashboard-sidebar {
    background-color: var(--primary-dark);
    color: #fff;
    height: 100vh;
    position: fixed;
    width: var(--sidebar-width);
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: hidden;
}

.sidebar-header {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px;
    min-height: 70px;
    flex-shrink: 0;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
}

.sidebar-header .logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.mobile-close {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.mobile-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scrollbar-width: thin;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-nav li {
    margin-bottom: 5px;
    width: 100%;
    display: block;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    width: 100%;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sidebar-nav li.active a {
    background-color: var(--primary-darker);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
}

.sidebar-nav i {
    font-size: 1.2rem;
    width: 25px;
    margin-right: 15px;
    text-align: center;
}

.sidebar-nav span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.logout-button {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--primary-darker);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.logout-button:hover {
    background-color: var(--secondary-color);
}

.logout-button i {
    margin-right: 10px;
}

/* Main Content */
.dashboard-main {
    min-height: 100vh;
    position: relative;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
}

/* Header */
.dashboard-header {
    height: var(--header-height);
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    z-index: 900;
    transition: left 0.3s ease;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-left h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
}

.dashboard-header .logo {
    height: 40px;
    width: auto;
    margin-right: 20px;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.mobile-menu:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.user-dropdown-btn:hover {
    background-color: var(--light-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.2rem;
}

.user-dropdown-btn span {
    margin-right: 10px;
    font-weight: 500;
}

.user-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.user-dropdown.active .user-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-content a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--dark-color);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.user-dropdown-content a:hover {
    background-color: var(--light-color);
}

.user-dropdown-content a i {
    margin-right: 10px;
    width: 20px;
}

/* Dashboard Content */
.dashboard-content {
    padding: 30px;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

.welcome-section {
    margin-bottom: 30px;
}

.welcome-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 5px 0;
}

.welcome-section p {
    color: #666;
    font-size: 1rem;
}

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

.stat-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    color: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.stat-details h3 {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.recent-properties {
    grid-column: span 6;
}

.activity-feed {
    grid-column: span 6;
}

.upcoming-events {
    grid-column: span 6;
}

.quick-actions {
    grid-column: span 6;
}

/* Dashboard Cards */
.dashboard-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.card-link {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

.card-content {
    padding: 20px;
    min-height: 150px;
}

/* Property List */
.property-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.property-item {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.property-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.property-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
}

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

.property-details {
    flex: 1;
}

.property-details h4 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
    color: var(--dark-color);
}

.property-location {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 5px 0;
}

.property-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.property-actions {
    display: flex;
    gap: 10px;
}

.property-actions .btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.property-actions .btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-details {
    flex: 1;
}

.activity-text {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin: 0 0 5px 0;
}

.activity-time {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-date {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.event-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
    color: var(--dark-color);
}

.event-location {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.quick-action-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.2s ease;
}

.quick-action-card:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.quick-action-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.quick-action-card span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* No Data or Loading States */
.no-data {
    text-align: center;
    padding: 30px;
    color: #888;
    font-style: italic;
}

.error {
    text-align: center;
    padding: 30px;
    color: #e74c3c;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #888;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Login Modal */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.login-modal.active {
    opacity: 1;
    visibility: visible;
}

.login-modal-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    padding: 30px;
    position: relative;
}

.login-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 10px 0;
}

.login-modal-header p {
    color: #666;
    margin: 0;
}

.login-alternative {
    margin-top: 30px;
    text-align: center;
}

.login-alternative p {
    color: #666;
    margin-bottom: 15px;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.overlay-instruction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

/* Hide mobile overlay on desktop */
@media (min-width: 769px) {
    .mobile-overlay,
    .overlay-instruction {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-properties, 
    .activity-feed, 
    .upcoming-events, 
    .quick-actions {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9999;
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-menu, 
    .mobile-close {
        display: block;
    }
    
    .dashboard-main {
        margin-left: 0;
        width: 100%;
    }
    
    .dashboard-header {
        left: 0;
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        padding: 20px 15px;
    }
    
    /* Make sure the menu is shown vertically */
    .sidebar-nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .sidebar-nav li {
        width: 100%;
        display: block;
    }
    
    /* Ensure mobile close button is visible */
    .mobile-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        padding: 0 15px;
    }
    
    .user-dropdown-btn span {
        display: none;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Admin redirect message */
.admin-redirect-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.redirect-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

.redirect-content h3 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 15px;
}

.redirect-content p {
    margin-bottom: 20px;
    color: #2c3e50;
}

.redirect-loading {
    font-size: 24px;
    color: #3498db;
}

/* Make sure main content never hides behind the modal */
.modal {
    backdrop-filter: blur(2px);
} 

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #10b981;
    color: white;
}

.notification.error {
    background: #ef4444;
    color: white;
}

.notification i {
    font-size: 18px;
}

/* Enhanced Property Card Styles */
.property-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--background-color);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.spec-item i {
    color: var(--primary-color);
}

.image-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Property Details Modal Styles */
.property-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.property-images h3,
.property-info-section h3,
.property-description h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.image-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.more-images {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
}

.no-images {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
    background: var(--background-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-grid .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-grid .info-item:last-child {
    border-bottom: none;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.status-active,
.status-badge.status-available {
    background: #10b981;
    color: white;
}

.status-badge.status-under-offer {
    background: #f59e0b;
    color: white;
}

.status-badge.status-sold {
    background: #ef4444;
    color: white;
}

.status-badge.status-withdrawn {
    background: #6b7280;
    color: white;
}

.property-description {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.property-description p {
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: var(--card-background);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn:disabled:hover {
    background: var(--card-background);
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Button Variants */
.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline-secondary:hover {
    background: var(--text-secondary);
    color: white;
}

.btn-outline-info {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-outline-info:hover {
    background: #3b82f6;
    color: white;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: 1px solid #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

/* Enhanced Modal Styles */
.modal {
    backdrop-filter: blur(4px);
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Image Upload Styles */
.image-upload-section.dragover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.image-preview {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.image-preview:hover {
    border-color: var(--primary-color);
}

.image-preview .remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .property-details-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .property-specs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .spec-item {
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
} 

/* Navigation Loading State */
.nav-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.nav-loading i {
    margin-right: 10px;
    font-size: 16px;
}

.nav-loading span {
    white-space: nowrap;
}

/* Hide loading state when navigation is loaded */
.sidebar-nav:not(:has(.nav-loading)) .nav-loading {
    display: none;
} 