* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0b0e1a;
    color: #e8edf5;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.highlight {
    color: #FF6B00;
}

section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-header p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 0.4rem;
}

/* ========== THEME VARIABLES ========== */
:root {
    --primary: #0b0e1a;
    --primary-dark: #1a1f36;
    --primary-light: #2a3050;
    --secondary: #6C757D;
    --orange: #FF6B00;
    --orange-dark: #E05F00;
    --orange-light: #FF8533;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;
    --bg-gradient-start: #f8f9fa;
    --bg-gradient-end: #e9ecef;
    --card-bg: #FFFFFF;
    --text-primary: #0b0e1a;
    --text-secondary: #4a5568;
    --border: #DEE2E6;
    --table-header: #F8F9FA;
    --hover-bg: #F1F3F5;
    --shadow: rgba(0, 0, 0, 0.1);
    --input-bg: #FFFFFF;
    --sidebar-bg: #0b0e1a;
    --sidebar-text: #94a3b8;
    --sidebar-hover: #1a1f36;
    --sidebar-active: #FF6B00;
}

body.dark-theme {
    --primary: #e8edf5;
    --primary-dark: #c8d0dc;
    --primary-light: #94a3b8;
    --secondary: #ADB5BD;
    --bg-gradient-start: #0b0e1a;
    --bg-gradient-end: #1a1f36;
    --card-bg: #1a1f36;
    --text-primary: #e8edf5;
    --text-secondary: #94a3b8;
    --border: #2a3050;
    --table-header: #1a1f36;
    --hover-bg: #2a3050;
    --shadow: rgba(0, 0, 0, 0.4);
    --input-bg: #0b0e1a;
}

/* ========== LIGHT MODE CONTRAST FIXES ========== */
body:not(.dark-theme) {
    --text-secondary: #4a5568;
    --border: #cbd5e0;
    --table-header: #edf2f7;
    --hover-bg: #e2e8f0;
}

body:not(.dark-theme) .sidebar {
    background: linear-gradient(180deg, #0b0e1a 0%, #1a1f36 100%);
}

body:not(.dark-theme) .stat-card-label,
body:not(.dark-theme) .landlord-stat-card .stat-label,
body:not(.dark-theme) .admin-stat-card .stat-label {
    color: #4a5568;
}

body:not(.dark-theme) .tenant-property-card .property-body .location,
body:not(.dark-theme) .tenant-property-card .property-features span,
body:not(.dark-theme) .history-item .history-info p,
body:not(.dark-theme) .saved-item-info p,
body:not(.dark-theme) .landlord-property-item .property-info p,
body:not(.dark-theme) .viewing-request-item .request-info p,
body:not(.dark-theme) .message-item .message-content p,
body:not(.dark-theme) .review-item .review-text,
body:not(.dark-theme) .booking-calendar .calendar-header span,
body:not(.dark-theme) .booking-calendar .calendar-grid .day,
body:not(.dark-theme) .pref-q-help,
body:not(.dark-theme) .pref-input-hint,
body:not(.dark-theme) .pref-progress-meta {
    color: #4a5568;
}

body:not(.dark-theme) .pref-q-title {
    color: #0b0e1a;
}

body:not(.dark-theme) .main-content {
    background: var(--bg-gradient-start);
}

body:not(.dark-theme) .admin-table td,
body:not(.dark-theme) .admin-table th {
    color: #1a202c;
}

body:not(.dark-theme) .form-group label {
    color: #1a202c;
}

/* ========== SCROLL PROGRESS BAR ========== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, #FF8533);
    z-index: 10000;
    transition: width 0.1s;
}

/* ========== GLASS ========== */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

/* ========== BUTTONS ========== */
.btn-primary,
.btn-secondary,
.btn-nav-login,
.btn-nav-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 44px;
}

.btn-primary {
    background: #FF6B00;
    color: #0b0e1a;
}

.btn-primary:hover {
    background: #E05F00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #e8edf5;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #FF6B00;
}

.btn-nav-login {
    background: transparent;
    color: #e8edf5;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-nav-signup {
    background: #FF6B00;
    color: #0b0e1a;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-nav-signup:hover {
    background: #E05F00;
    transform: translateY(-2px);
}

/* ========== DASHBOARD BUTTONS ========== */
.btn-delete {
    background: var(--danger);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-edit {
    background: var(--orange);
    color: #0b0e1a;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
}

.btn-edit:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-view {
    background: var(--info);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
}

.btn-view:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-accept {
    background: var(--success);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 10px;
}

.btn-accept:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-reject {
    background: var(--danger);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 10px;
}

.btn-reject:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-suspend {
    background: var(--warning);
    color: #0b0e1a;
    border: none;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 9px;
}

.btn-suspend:hover {
    opacity: 0.9;
}

.btn-verify {
    background: var(--success);
    color: white;
    border: none;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 9px;
}

.btn-verify:hover {
    opacity: 0.9;
}

/* ========== STATUS BADGES ========== */
.status-badge {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 600;
    display: inline-block;
}

.status-badge.active,
.status-badge.approved,
.status-badge.verified {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.status-badge.suspended,
.status-badge.rejected,
.status-badge.inactive {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

.status-badge.completed {
    background: rgba(23, 162, 184, 0.15);
    color: var(--info);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.6rem 0;
    background: rgba(11, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo span {
    color: #FF6B00;
}

.logo img {
    height: 32px;
    width: auto;
    border-radius: 6px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #e8edf5;
    border-radius: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e8edf5;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FF6B00;
    border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: 5.5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(11, 14, 26, 0.92) 0%, rgba(11, 14, 26, 0.7) 50%, rgba(11, 14, 26, 0.85) 100%),
        url('b5.jpg') center/cover no-repeat;
    z-index: 0;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    width: 100%;
    text-align: left;
    animation: slideFromLeft 0.8s ease-out forwards;
}

@keyframes slideFromLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-image {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    animation: slideFromRight 0.8s ease-out forwards;
}

@keyframes slideFromRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-house-img {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
    mix-blend-mode: screen;
    opacity: 0.92;
}

.typing-text {
    font-size: 0.95rem;
    color: #94a3b8;
    min-height: 2rem;
    margin-bottom: 1rem;
}

.hero-content .badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(255, 107, 0, 0.12);
    color: #FF6B00;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 107, 0, 0.15);
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.hero-content p {
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 100%;
    margin-bottom: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
}

.hero-stats div {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: left;
}

.hero-stats span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8edf5;
}

.hero-card-glass {
    display: block;
    padding: 1rem 1.2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 300px;
    margin-top: 1.5rem;
    margin-left: auto;
}

.hero-card-glass:hover {
    transform: scale(1.02) translateY(-3px);
    border-color: rgba(255, 107, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.hero-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-card-icon {
    font-size: 1.3rem;
    color: #FF6B00;
}

.hero-card-title {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

.hero-card-cta {
    display: inline-block;
    margin-top: 0.2rem;
    color: #FF6B00;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.hero-card-glass:hover .hero-card-cta {
    background: #FF6B00;
    color: #0b0e1a;
}

/* ========== PROPERTIES (LANDING PAGE) ========== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.property-card {
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

.property-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: var(--border);
}

.property-card:hover .property-image {
    transform: scale(1.02);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: #FF6B00;
    color: #0b0e1a;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 2;
}

.property-details {
    padding: 1rem;
}

.property-details h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.property-location {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.property-location i {
    color: #FF6B00;
    margin-right: 0.3rem;
}

.property-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FF6B00;
    margin-bottom: 0.5rem;
}

.property-price span {
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
}

.property-features {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.property-features span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: #94a3b8;
}

.property-features i {
    margin-right: 0.2rem;
}

.property-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.6rem;
}

.view-more-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.8rem;
    background: transparent;
    border: 2px solid #FF6B00;
    color: #FF6B00;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-view-more:hover {
    background: #FF6B00;
    color: #0b0e1a;
    transform: translateX(4px);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(11, 14, 26, 0.92) 0%, rgba(11, 14, 26, 0.75) 50%, rgba(11, 14, 26, 0.9) 100%),
        url('b2.jpg') center/cover no-repeat fixed;
    z-index: 0;
}

.about-container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text {
    text-align: left;
}

.about-section-header {
    margin-bottom: 1.8rem;
}

.about-section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.about-section-header p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.about-text h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FF6B00;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #FF6B00;
}

.about-text > p {
    color: #c8d0dc;
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.about-text > p strong {
    color: #FF6B00;
    font-weight: 600;
}

.about-mission {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.2rem 1.4rem;
    background: rgba(255, 107, 0, 0.05);
    border-radius: 14px;
    border-left: 4px solid #FF6B00;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-item:hover {
    background: rgba(255, 107, 0, 0.1);
    transform: translateX(6px);
    border-left-color: #FF8533;
}

.mission-item:hover::before {
    opacity: 1;
}

.mission-label {
    font-weight: 800;
    color: #FF6B00;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    position: relative;
    z-index: 1;
}

.mission-text {
    color: #e8edf5;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.about-stats-card {
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
    border-radius: 20px;
}

.stat-item {
    transition: all 0.3s ease;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 0, 0.2);
}

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.3rem;
    color: #FF6B00;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    background: rgba(255, 107, 0, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.about-stats-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.about-stats-card p {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* ============================================
   FEATURES
   ============================================ */
.features-slideshow {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    max-width: 720px;
    margin: 0 auto;
}

.features-slide {
    display: none;
    animation: slideIn 0.4s ease;
}

.features-slide.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.feature-card {
    padding: 2rem 1.8rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.feature-card h3 i {
    color: #FF6B00;
    margin-right: 0.4rem;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.feature-learn-more {
    background: transparent;
    border: 1.5px solid #FF6B00;
    color: #FF6B00;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.feature-learn-more:hover {
    background: #FF6B00;
    color: #0b0e1a;
    transform: translateY(-2px);
}

.feature-detail-panel {
    display: none;
    max-width: 650px;
    margin: 1.2rem auto 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-detail-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-detail-panel h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #FF6B00;
}

.landlord-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.landlord-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.landlord-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.landlord-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FF6B00;
    color: #0b0e1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.landlord-item h5 {
    font-weight: 600;
    font-size: 0.85rem;
}

.landlord-item p {
    color: #94a3b8;
    font-size: 0.75rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.payment-method {
    text-align: center;
    padding: 1rem 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.payment-method i {
    font-size: 1.6rem;
    color: #FF6B00;
    display: block;
    margin-bottom: 0.4rem;
}

.payment-method span {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
}

.payment-method small {
    color: #94a3b8;
    font-size: 0.7rem;
}

.protection-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.protection-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.protection-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.protection-item i {
    font-size: 1.2rem;
    color: #FF6B00;
    width: 32px;
    text-align: center;
}

.protection-item h5 {
    font-weight: 600;
    font-size: 0.85rem;
}

.protection-item p {
    color: #94a3b8;
    font-size: 0.75rem;
}

.features-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8edf5;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.slider-btn:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: #FF6B00;
    color: #FF6B00;
}

.slider-dots {
    display: flex;
    gap: 0.4rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #FF6B00;
    width: 22px;
    border-radius: 4px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.how-it-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(11, 14, 26, 0.92) 0%, rgba(11, 14, 26, 0.75) 50%, rgba(11, 14, 26, 0.9) 100%),
        url('b3.jpg') center/cover no-repeat fixed;
    z-index: 0;
}

.how-it-works-container {
    position: relative;
    z-index: 1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.step {
    padding: 2rem 1.2rem;
    transition: all 0.3s ease;
    border-radius: 20px;
    max-width: 100%;
}

.step:hover {
    transform: translateY(-6px);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: rgba(255, 107, 0, 0.1);
    border: 1.5px solid rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FF6B00;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.step p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(11, 14, 26, 0.92) 0%, rgba(11, 14, 26, 0.75) 50%, rgba(11, 14, 26, 0.9) 100%),
        url('b4.jpg') center/cover no-repeat fixed;
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1050px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    padding: 1.2rem 1.4rem;
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateX(4px);
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #FF6B00;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-icon-wrapper {
    background: rgba(255, 107, 0, 0.2);
    transform: scale(1.08);
}

.contact-card h4 {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.contact-card p {
    color: #e8edf5;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-map {
    padding: 0;
    overflow: hidden;
    height: 240px;
    border-radius: 16px;
    max-width: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    border: 1px solid rgba(255, 107, 0, 0.08);
    backdrop-filter: blur(16px);
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #e8edf5;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #FF6B00;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #4a5568;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
    font-size: 0.9rem;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    padding: 5rem 0;
}

.newsletter-box {
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
    border-radius: 24px;
}

.newsletter-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-box p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-box form {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    max-width: 100%;
    margin: 0 auto;
}

.newsletter-box input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: #e8edf5;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    min-height: 48px;
}

.newsletter-box input:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.newsletter-box .btn-primary {
    padding: 0.8rem 1.6rem;
    justify-content: center;
    flex-shrink: 0;
    min-height: 48px;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    background: #FF6B00;
    color: #0b0e1a;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 0, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #080b14;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-col {
    text-align: left;
}

.footer-col .logo {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: #e8edf5;
    font-weight: 700;
}

.footer-col .logo span {
    color: #FF6B00;
}

.footer-col .logo img {
    height: 32px;
    border-radius: 6px;
}

.footer-col > p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.footer-col p i {
    margin-right: 0.5rem;
    color: #FF6B00;
    width: 18px;
    display: inline-block;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #e8edf5;
    position: relative;
    padding-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #FF6B00;
    border-radius: 2px;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-col a:hover {
    color: #FF6B00;
    padding-left: 8px;
}

.footer-col a:hover::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF6B00;
}

.socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: all 0.3s ease;
    margin-bottom: 0;
    padding-left: 0;
}

.socials a:hover {
    background: #FF6B00;
    color: #0b0e1a;
    border-color: #FF6B00;
    transform: translateY(-4px);
    padding-left: 0;
}

.socials a:hover::before {
    content: none;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: #64748b;
    font-size: 0.8rem;
}

.footer-bottom p {
    color: #64748b;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

.login-box {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px 18px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px var(--shadow);
    transition: background 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.06);
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.login-logo span {
    color: var(--orange);
}

.login-header h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0 2px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 13px;
}

.role-selector {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.role-btn {
    flex: 1;
    padding: 8px 6px;
    background: var(--table-header);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 40px;
}

.role-btn i {
    font-size: 13px;
}

.role-btn:hover {
    background: var(--hover-bg);
    border-color: var(--orange);
}

.role-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #0b0e1a;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 12px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 36px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-height: 44px;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.toggle-password {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 8px;
    transition: all 0.3s ease;
    z-index: 2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password i {
    font-size: 15px;
}

.toggle-password:hover {
    color: var(--orange);
    background: rgba(255, 107, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 16px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--orange);
    border-color: var(--orange);
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0b0e1a;
    font-size: 9px;
}

.forgot-link {
    color: var(--orange);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    text-decoration: underline;
    color: var(--orange-dark);
}

.terms-link {
    color: var(--orange);
    transition: all 0.3s ease;
}

.terms-link:hover {
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 13px;
}

.auth-switch a {
    color: var(--orange);
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-switch a:hover {
    text-decoration: underline;
    color: var(--orange-dark);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    color: var(--text-secondary);
    font-size: 11px;
    white-space: nowrap;
}

.auth-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-3px);
    background: rgba(255, 107, 0, 0.05);
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.strength-bar.weak::after {
    width: 33%;
    background: var(--danger);
}

.strength-bar.medium::after {
    width: 66%;
    background: var(--orange);
}

.strength-bar.strong::after {
    width: 100%;
    background: var(--success);
}

.strength-text {
    font-size: 11px;
    color: var(--text-secondary);
    min-width: 36px;
}

.auth-success {
    text-align: center;
    padding: 14px 0;
}

.success-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: var(--success);
}

.auth-success h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.auth-success p {
    color: var(--text-secondary);
    font-size: 13px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--orange);
    color: #0b0e1a;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-btn:not(:disabled):hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-gradient-start);
    transition: background 0.3s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #0b0e1a 0%, #1a1f36 100%);
    padding: 0;
    overflow-y: auto;
    z-index: 1100;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255, 107, 0, 0.08);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
}

.sidebar.open {
    left: 0;
}

body.showing-questions .sidebar {
    display: none !important;
}

body.showing-questions .sidebar-overlay {
    display: none !important;
}

body.showing-questions .dashboard-toggle {
    display: none !important;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 4px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.sidebar-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: none;
}

.sidebar-close:hover {
    color: #e8edf5;
    transform: rotate(90deg);
}

.sidebar-logo {
    padding: 20px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.sidebar-logo a {
    font-size: 20px;
    font-weight: 800;
    color: #e8edf5;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sidebar-logo a span {
    color: var(--orange);
}

.sidebar-logo a img {
    height: 30px;
    width: auto;
    border-radius: 6px;
}

.sidebar-user {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 107, 0, 0.03);
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #0b0e1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.25);
}

.sidebar-user-info h4 {
    color: #e8edf5;
    font-size: 14px;
    margin-bottom: 1px;
    font-weight: 600;
}

.sidebar-user-info p {
    color: var(--sidebar-text);
    font-size: 11px;
    opacity: 0.7;
}

.sidebar-nav {
    list-style: none;
    padding: 10px 14px;
}

.sidebar-nav li {
    margin-bottom: 2px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

.sidebar-nav a i {
    width: 20px;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: var(--sidebar-hover);
    color: #e8edf5;
    transform: translateX(4px);
}

.sidebar-nav a.active {
    background: rgba(255, 107, 0, 0.12);
    color: var(--orange);
}

.sidebar-nav a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--orange);
    border-radius: 0 4px 4px 0;
}

.sidebar-nav a.active i {
    color: var(--orange);
}

.sidebar-nav .logout-link {
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.sidebar-nav .logout-link a {
    color: var(--danger);
}

.sidebar-nav .logout-link a:hover {
    background: rgba(220, 53, 69, 0.1);
}

.dashboard-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 38px;
    height: 38px;
}

.dashboard-toggle:hover {
    color: var(--orange);
    background: rgba(255, 107, 0, 0.08);
}

.main-content {
    flex: 1;
    margin-left: 0;
    padding: 70px 12px 20px;
    min-height: 100vh;
    background: var(--bg-gradient-start);
    transition: all 0.3s ease;
    width: 100%;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.top-header .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-header h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.top-header h1 span {
    color: var(--orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.notification-btn {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.notification-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.15);
}

.notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--danger);
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.dashboard-stats,
.landlord-stats,
.admin-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.stat-card,
.landlord-stat-card,
.admin-stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before,
.landlord-stat-card::before,
.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before,
.landlord-stat-card:hover::before,
.admin-stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover,
.landlord-stat-card:hover,
.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
    border-color: rgba(255, 107, 0, 0.15);
}

.stat-card .stat-icon,
.landlord-stat-card .stat-icon,
.admin-stat-card .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 107, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 14px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon,
.landlord-stat-card:hover .stat-icon,
.admin-stat-card:hover .stat-icon {
    background: rgba(255, 107, 0, 0.2);
    transform: scale(1.05) rotate(-5deg);
}

.stat-card .stat-value,
.landlord-stat-card .stat-value,
.admin-stat-card .stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-card .stat-label,
.landlord-stat-card .stat-label,
.admin-stat-card .stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
    font-weight: 500;
}

.search-section {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow);
}

.search-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.search-section h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.search-grid .form-group {
    margin-bottom: 0;
}

.search-grid .form-group label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.search-grid .form-group input,
.search-grid .form-group select {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    min-height: 40px;
}

.search-grid .form-group input:focus,
.search-grid .form-group select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.search-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.search-actions .btn-primary {
    padding: 8px 16px;
    font-size: 12px;
    flex: 1;
}

.search-actions .btn-secondary {
    padding: 8px 16px;
    background: var(--border);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    min-height: 40px;
    flex: 1;
}

.search-actions .btn-secondary:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
}

.tenant-properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
}

.tenant-property-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 15px var(--shadow);
    display: flex;
    flex-direction: column;
}

.tenant-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px var(--shadow);
    border-color: rgba(255, 107, 0, 0.15);
}

.tenant-property-card .property-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: var(--border);
}

.tenant-property-card .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tenant-property-card:hover .property-image img {
    transform: scale(1.05);
}

.tenant-property-card .property-image .property-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--orange);
    color: #0b0e1a;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 2;
}

.tenant-property-card .property-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tenant-property-card .property-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.tenant-property-card .property-body .location {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 4px;
}

.tenant-property-card .property-body .location i {
    color: var(--orange);
    margin-right: 4px;
}

.tenant-property-card .property-body .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 6px;
}

.tenant-property-card .property-body .price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
}

.tenant-property-card .property-features {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tenant-property-card .property-features span {
    font-size: 12px;
    color: var(--text-secondary);
}

.tenant-property-card .property-features i {
    margin-right: 4px;
    color: var(--orange);
}

.tenant-property-card .property-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.tenant-property-card .property-actions .btn-primary {
    flex: 1;
    padding: 8px;
    font-size: 12px;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
}

.tenant-property-card .property-actions .btn-save {
    padding: 8px 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tenant-property-card .property-actions .btn-save:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: scale(1.05);
}

.tenant-property-card .property-actions .btn-save.saved {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 107, 0, 0.1);
}

/* Rental card special styling */
.tenant-property-card.rental-card {
    border: 2px solid var(--success);
}

.tenant-property-card.rental-card .property-image .property-badge {
    background: var(--success);
    color: white;
}

.property-detail-view {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-top: 14px;
    box-shadow: 0 2px 30px var(--shadow);
}

.property-detail-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.property-detail-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.property-detail-header .price-large {
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
}

.property-detail-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.property-detail-gallery .main-img {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--border);
}

.property-detail-gallery .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail-gallery .thumb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.property-detail-gallery .thumb-grid .thumb {
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-detail-gallery .thumb-grid .thumb:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.property-detail-gallery .thumb-grid .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.property-detail-info .description h4 {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 700;
}

.property-detail-info .description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 13px;
}

.detail-feature {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 0, 0.08);
    border-radius: 20px;
    margin: 2px;
    font-size: 11px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.detail-feature:hover {
    background: rgba(255, 107, 0, 0.15);
    transform: translateY(-2px);
}

.details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 8px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    padding: 4px 8px;
    background: var(--table-header);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 107, 0, 0.05);
}

.detail-item i {
    color: var(--orange);
    width: 16px;
}

.landlord-card {
    background: var(--table-header);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255, 107, 0, 0.06);
    transition: all 0.3s ease;
}

.landlord-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow);
}

.landlord-card .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #0b0e1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 8px;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.25);
}

.landlord-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.landlord-card p {
    color: var(--text-secondary);
    font-size: 12px;
}

.landlord-card .contact-btns {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.landlord-card .contact-btns button {
    flex: 1;
    padding: 6px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
}

.landlord-card .contact-btns .btn-chat {
    background: var(--orange);
    color: #0b0e1a;
}

.landlord-card .contact-btns .btn-chat:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.landlord-card .contact-btns .btn-call {
    background: var(--success);
    color: white;
}

.landlord-card .contact-btns .btn-call:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.booking-section {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-top: 14px;
    box-shadow: 0 2px 30px var(--shadow);
}

.booking-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.booking-section h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.booking-calendar {
    background: var(--table-header);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 107, 0, 0.06);
}

.booking-calendar .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.booking-calendar .calendar-header button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.booking-calendar .calendar-header button:hover {
    color: var(--orange);
    background: rgba(255, 107, 0, 0.08);
}

.booking-calendar .calendar-header span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.booking-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.booking-calendar .calendar-grid .day-name {
    text-align: center;
    font-size: 8px;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.booking-calendar .calendar-grid .day {
    text-align: center;
    padding: 6px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.booking-calendar .calendar-grid .day:hover {
    background: rgba(255, 107, 0, 0.15);
    transform: scale(1.05);
}

.booking-calendar .calendar-grid .day.selected {
    background: var(--orange);
    color: #0b0e1a;
    font-weight: 700;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.booking-calendar .calendar-grid .day.disabled {
    color: var(--text-secondary);
    opacity: 0.3;
    cursor: not-allowed;
}

.booking-calendar .calendar-grid .day.today {
    border: 2px solid var(--orange);
}

.booking-calendar .calendar-hint {
    text-align: center;
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 10px;
}

.booking-calendar .calendar-hint span {
    color: var(--orange);
    font-weight: 700;
}

.booking-form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-form-container .form-group {
    margin-bottom: 0;
}

.booking-form-container .form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.booking-form-container .form-group input,
.booking-form-container .form-group select,
.booking-form-container .form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    min-height: 40px;
}

.booking-form-container .form-group input:focus,
.booking-form-container .form-group select:focus,
.booking-form-container .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.booking-form-container .form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.booking-form-container .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 13px;
}

.saved-section {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-top: 14px;
    box-shadow: 0 2px 30px var(--shadow);
}

.saved-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.saved-section h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.saved-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    border-radius: 8px;
    text-align: center;
}

.saved-item:last-child {
    border-bottom: none;
}

.saved-item:hover {
    background: var(--hover-bg);
}

.saved-item img {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--border);
}

.saved-item-info {
    flex: 1;
}

.saved-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.saved-item-info p {
    color: var(--text-secondary);
    font-size: 12px;
}

.saved-item-info .saved-price {
    color: var(--orange);
    font-weight: 700;
}

.saved-item-actions {
    display: flex;
    gap: 6px;
    width: 100%;
    justify-content: center;
}

.saved-item-actions button {
    padding: 4px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.saved-item-actions .btn-view {
    background: var(--orange);
    color: #0b0e1a;
}

.saved-item-actions .btn-view:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.saved-item-actions .btn-remove {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
}

.saved-item-actions .btn-remove:hover {
    background: var(--danger);
    color: white;
}

.compare-section {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-top: 14px;
    box-shadow: 0 2px 30px var(--shadow);
}

.compare-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.compare-section h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.compare-item {
    background: var(--table-header);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 107, 0, 0.06);
}

.compare-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 35px var(--shadow);
    border-color: rgba(255, 107, 0, 0.15);
}

.compare-item .remove-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 16px;
    float: right;
    transition: all 0.3s ease;
}

.compare-item .remove-btn:hover {
    transform: scale(1.2);
}

.compare-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 6px 0 4px;
}

.compare-item .compare-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
}

.compare-item .compare-features {
    list-style: none;
    margin-top: 8px;
    text-align: left;
}

.compare-item .compare-features li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 12px;
    border-bottom: 1px solid var(--border);
}

.compare-item .compare-features li:last-child {
    border-bottom: none;
}

.compare-item .compare-features li i {
    color: var(--orange);
    margin-right: 6px;
}

.history-section {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-top: 14px;
    box-shadow: 0 2px 30px var(--shadow);
}

.history-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.history-section h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.history-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    gap: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: var(--hover-bg);
}

.history-item .history-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.history-item .history-info p {
    color: var(--text-secondary);
    font-size: 12px;
}

.history-item .history-status {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.history-item .history-status.confirmed {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.history-item .history-status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.history-item .history-status.cancelled {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

.history-item .history-status.completed {
    background: rgba(23, 162, 184, 0.15);
    color: var(--info);
}

/* History status badges on cards (top-right of property image) */
.tenant-property-card .property-image .history-status {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 2;
    border: 2px solid var(--card-bg);
}

.tenant-property-card .property-image .history-status.confirmed {
    background: var(--success);
    color: white;
}

.tenant-property-card .property-image .history-status.pending {
    background: var(--warning);
    color: #0b0e1a;
}

.tenant-property-card .property-image .history-status.cancelled {
    background: var(--danger);
    color: white;
}

.tenant-property-card .property-image .history-status.completed {
    background: var(--info);
    color: white;
}

.property-management {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.property-management .header-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.property-management .header-actions h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.property-management .header-actions h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.add-property-form {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
    display: none;
    animation: slideDown 0.3s ease;
}

.add-property-form.show {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.add-property-form h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.add-property-form h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.add-property-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.add-property-form .form-grid .full-width {
    grid-column: span 1;
}

.add-property-form .form-group {
    margin-bottom: 0;
}

.add-property-form .form-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.add-property-form .form-group input,
.add-property-form .form-group select,
.add-property-form .form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.add-property-form .form-group input:focus,
.add-property-form .form-group select:focus,
.add-property-form .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.add-property-form .form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.add-property-form .upload-area {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.add-property-form .upload-area:hover {
    border-color: var(--orange);
    background: rgba(255, 107, 0, 0.03);
}

.add-property-form .upload-area i {
    font-size: 28px;
    color: var(--orange);
    margin-bottom: 6px;
}

.add-property-form .upload-area p {
    color: var(--text-secondary);
    font-size: 13px;
}

.add-property-form .upload-area .upload-hint {
    font-size: 10px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.add-property-form .form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.add-property-form .form-actions .btn-primary,
.add-property-form .form-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 10px;
}

/* ============================================
   LANDLORD PROPERTY CARDS (VERTICAL — PIC ON TOP)
   ============================================ */
#landlordPropertiesList {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 8px;
}

.landlord-property-item {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 15px var(--shadow);
    padding: 0;
    gap: 0;
}

.landlord-property-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px var(--shadow);
    border-color: rgba(255, 107, 0, 0.18);
}

.landlord-property-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--border);
    display: block;
    transition: transform 0.5s ease;
}

.landlord-property-item:hover img {
    transform: scale(1.04);
}

.landlord-property-item .property-info {
    padding: 16px 18px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landlord-property-item .property-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.landlord-property-item .property-info > p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.landlord-property-item .property-info > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.landlord-property-item .property-info > div > span:first-child {
    color: var(--orange);
    font-weight: 700;
    font-size: 15px;
}

.landlord-property-item .property-info .property-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landlord-property-item .property-info .property-status.active {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.landlord-property-item .property-info .property-status.inactive {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

.landlord-property-item .property-info .property-status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.landlord-property-item .property-actions {
    display: flex;
    gap: 6px;
    padding: 12px 18px 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
    background: var(--card-bg);
}

.landlord-property-item .property-actions button {
    flex: 1;
    padding: 9px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
}

.landlord-property-item .property-actions .btn-view {
    background: var(--info);
    color: white;
}

.landlord-property-item .property-actions .btn-view:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23, 162, 184, 0.3);
}

.landlord-property-item .property-actions .btn-edit {
    background: var(--orange);
    color: #0b0e1a;
}

.landlord-property-item .property-actions .btn-edit:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
}

.landlord-property-item .property-actions .btn-delete {
    background: var(--danger);
    color: white;
}

.landlord-property-item .property-actions .btn-delete:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220, 53, 69, 0.3);
}

.viewing-requests {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.viewing-requests h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.viewing-requests h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.viewing-request-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    gap: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.viewing-request-item:last-child {
    border-bottom: none;
}

.viewing-request-item:hover {
    background: var(--hover-bg);
}

.viewing-request-item .request-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.viewing-request-item .request-info p {
    color: var(--text-secondary);
    font-size: 12px;
}

.viewing-request-item .request-info .tenant-name {
    color: var(--orange);
    font-weight: 600;
}

.viewing-request-item .request-actions {
    display: flex;
    gap: 4px;
    width: 100%;
    justify-content: center;
}

.viewing-request-item .request-actions button {
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.viewing-request-item .request-actions .btn-accept {
    background: var(--success);
    color: white;
}

.viewing-request-item .request-actions .btn-accept:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.viewing-request-item .request-actions .btn-reject {
    background: var(--danger);
    color: white;
}

.viewing-request-item .request-actions .btn-reject:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.landlord-messages {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.landlord-messages h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.landlord-messages h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item:hover {
    background: var(--hover-bg);
}

.message-item .message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange);
    color: #0b0e1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.message-item .message-content {
    flex: 1;
}

.message-item .message-content h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1px;
}

.message-item .message-content p {
    color: var(--text-secondary);
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.message-item .message-time {
    color: var(--text-secondary);
    font-size: 10px;
    white-space: nowrap;
}

.message-item .message-badge {
    background: var(--danger);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
}

.landlord-reviews {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.landlord-reviews h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.landlord-reviews h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.review-item {
    padding: 10px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item:hover {
    background: var(--hover-bg);
}

.review-item .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    flex-wrap: wrap;
    gap: 4px;
}

.review-item .review-header h4 {
    font-size: 13px;
    font-weight: 600;
}

.review-item .review-header .review-rating {
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
}

.review-item .review-header .review-rating i {
    color: var(--orange);
    margin-right: 4px;
}

.review-item .review-text {
    color: var(--text-secondary);
    font-size: 12px;
}

.review-item .review-date {
    color: var(--text-secondary);
    font-size: 10px;
    margin-top: 3px;
}

.landlord-statistics {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.landlord-statistics h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.landlord-statistics h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.stat-chart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-chart-item {
    text-align: center;
    padding: 14px;
    background: var(--table-header);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-chart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

.stat-chart-item .chart-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
}

.stat-chart-item .chart-label {
    color: var(--text-secondary);
    font-size: 11px;
    margin-top: 3px;
}

.stat-chart-item .chart-icon {
    font-size: 22px;
    color: var(--orange);
    margin-bottom: 4px;
}

.admin-table-section {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.admin-table-section .header-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.admin-table-section .header-actions h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.admin-table-section .header-actions h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.admin-table-section .search-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.admin-table-section .search-box input {
    padding: 8px 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    width: 100%;
    font-family: 'Inter', sans-serif;
    min-height: 40px;
}

.admin-table-section .search-box input:focus {
    outline: none;
    border-color: var(--orange);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.pagination-controls label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.per-page-select {
    padding: 4px 8px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 36px;
}

.per-page-select:focus {
    outline: none;
    border-color: var(--orange);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    overflow-x: auto;
    display: block;
    min-width: 600px;
}

.admin-table th {
    text-align: left;
    padding: 8px 10px;
    background: var(--table-header);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 11px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.admin-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 11px;
    white-space: nowrap;
}

.admin-table tr:hover td {
    background: var(--hover-bg);
}

.admin-table .status-badge {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 600;
}

.admin-table .status-badge.verified {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.admin-table .status-badge.pending {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.admin-table .status-badge.suspended {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

.admin-table .status-badge.active {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.admin-table .admin-actions {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
}

.admin-table .admin-actions button {
    padding: 3px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 9px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 28px;
}

.admin-table .admin-actions .btn-verify {
    background: var(--success);
    color: white;
}

.admin-table .admin-actions .btn-verify:hover {
    opacity: 0.9;
}

.admin-table .admin-actions .btn-suspend {
    background: var(--warning);
    color: #0b0e1a;
}

.admin-table .admin-actions .btn-suspend:hover {
    opacity: 0.9;
}

.admin-table .admin-actions .btn-delete {
    background: var(--danger);
    color: white;
}

.admin-table .admin-actions .btn-delete:hover {
    opacity: 0.9;
}

.admin-reports {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.admin-reports h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.admin-reports h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.admin-reports .report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-reports .report-card {
    background: var(--table-header);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.admin-reports .report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

.admin-reports .report-card .report-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
}

.admin-reports .report-card .report-label {
    color: var(--text-secondary);
    font-size: 11px;
    margin-top: 3px;
}

.admin-reports .report-card .report-icon {
    font-size: 22px;
    color: var(--orange);
    margin-bottom: 4px;
}

.backup-section {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 107, 0, 0.06);
    margin-bottom: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

.backup-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.backup-section h3 i {
    color: var(--orange);
    margin-right: 6px;
}

.backup-section .backup-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--table-header);
    border-radius: 10px;
    text-align: center;
}

.backup-section .backup-info p {
    color: var(--text-secondary);
    font-size: 13px;
}

.backup-section .backup-info .last-backup {
    color: var(--text-primary);
    font-weight: 600;
}

#notificationDropdown {
    display: none;
    position: fixed;
    top: 60px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 380px;
    overflow-y: auto;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 20px 60px var(--shadow);
    z-index: 9999;
    border: 1px solid rgba(255, 107, 0, 0.06);
}

#notificationDropdown .notification-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

#notificationDropdown .notification-item:hover {
    background: var(--hover-bg);
}

#notificationDropdown .notification-item .notif-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
}

#notificationDropdown .notification-item .notif-icon.success {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

#notificationDropdown .notification-item .notif-icon.warning {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

#notificationDropdown .notification-item .notif-icon.info {
    background: rgba(23, 162, 184, 0.15);
    color: var(--info);
}

#notificationDropdown .notification-item .notif-icon.error {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

#notificationDropdown .notification-item .notif-content {
    flex: 1;
}

#notificationDropdown .notification-item .notif-content h5 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1px;
}

#notificationDropdown .notification-item .notif-content p {
    font-size: 11px;
    color: var(--text-secondary);
}

#notificationDropdown .notification-item .notif-time {
    font-size: 9px;
    color: var(--text-secondary);
    white-space: nowrap;
}

#notificationDropdown .notification-item.unread {
    background: rgba(255, 107, 0, 0.03);
    border-left: 3px solid var(--orange);
}

#notificationDropdown .notification-item.unread:hover {
    background: rgba(255, 107, 0, 0.06);
}

.toast-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: 16px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
}

.toast {
    padding: 10px 14px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: toastSlideIn 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.toast.success {
    background: rgba(40, 167, 69, 0.95);
}

.toast.error {
    background: rgba(220, 53, 69, 0.95);
}

.toast.info {
    background: rgba(23, 162, 184, 0.95);
}

.toast.warning {
    background: rgba(255, 193, 7, 0.95);
    color: #0b0e1a;
}

.toast i {
    font-size: 16px;
    flex-shrink: 0;
}

.toast .toast-content {
    flex: 1;
}

.toast .toast-content .toast-title {
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 1px;
}

.toast .toast-content .toast-message {
    font-size: 11px;
    opacity: 0.9;
}

.toast .toast-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 0 4px;
}

.toast .toast-close:hover {
    opacity: 1;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.toast.removing {
    animation: toastSlideOut 0.3s ease forwards;
}

#propertyDetailModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 14px;
}

#propertyDetailModal .modal-content {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px;
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

#propertyDetailModal .modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

#propertyDetailModal .modal-close:hover {
    color: var(--orange);
    transform: rotate(90deg);
}

#propertyDetailModal .modal-property-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--border);
    margin-bottom: 14px;
}

#propertyDetailModal .modal-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#propertyDetailModal .modal-property-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

#propertyDetailModal .modal-property-location {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 4px;
}

#propertyDetailModal .modal-property-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 10px;
}

#propertyDetailModal .modal-property-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 13px;
}

#propertyDetailModal .modal-property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

#propertyDetailModal .modal-property-features .feature-tag {
    padding: 3px 10px;
    background: rgba(255, 107, 0, 0.08);
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-primary);
}

#propertyDetailModal .modal-property-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 14px;
}

#propertyDetailModal .modal-property-details .detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 12px;
    padding: 4px 8px;
    background: var(--table-header);
    border-radius: 6px;
}

#propertyDetailModal .modal-property-details .detail-item i {
    color: var(--orange);
    width: 16px;
}

#propertyDetailModal .modal-landlord-info {
    background: var(--table-header);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

#propertyDetailModal .modal-landlord-info .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: #0b0e1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 6px;
}

#propertyDetailModal .modal-landlord-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

#propertyDetailModal .modal-landlord-info p {
    color: var(--text-secondary);
    font-size: 12px;
}

#propertyDetailModal .modal-landlord-info .contact-btns {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

#propertyDetailModal .modal-landlord-info .contact-btns button {
    flex: 1;
    padding: 6px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
}

#propertyDetailModal .modal-landlord-info .contact-btns .btn-chat {
    background: var(--orange);
    color: #0b0e1a;
}

#propertyDetailModal .modal-landlord-info .contact-btns .btn-chat:hover {
    background: var(--orange-dark);
}

#propertyDetailModal .modal-landlord-info .contact-btns .btn-call {
    background: var(--success);
    color: white;
}

#propertyDetailModal .modal-landlord-info .contact-btns .btn-call:hover {
    opacity: 0.9;
}

/* ============================================
   PREFERENCES QUESTIONNAIRE (TENANT)
   ============================================ */
.preferences-container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px 20px;
    border: 1px solid rgba(255, 107, 0, 0.08);
    box-shadow: 0 10px 40px var(--shadow);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.pref-header {
    text-align: center;
    margin-bottom: 28px;
}

.pref-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.pref-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.pref-progress-wrap {
    margin-bottom: 28px;
}

.pref-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.pref-progress-track {
    height: 6px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

#prefProgressBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pref-question {
    display: none;
    animation: fadeInQuestion 0.4s ease;
}

.pref-question[data-step="1"] {
    display: block;
}

@keyframes fadeInQuestion {
    0% { opacity: 0; transform: translateX(12px); }
    100% { opacity: 1; transform: translateX(0); }
}

.pref-q-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.pref-q-help {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.pref-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    min-height: 50px;
}

.pref-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.pref-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.pref-input-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.pref-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
}

.pref-option {
    padding: 16px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    min-height: 54px;
}

.pref-option:hover {
    border-color: var(--orange);
    background: rgba(255, 107, 0, 0.05);
    transform: translateY(-2px);
}

.pref-option.active {
    border-color: var(--orange);
    background: var(--orange);
    color: #0b0e1a;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.25);
}

.pref-nav {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.pref-btn-back,
.pref-btn-next,
.pref-btn-submit {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
}

.pref-btn-back {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
    display: none;
    flex: 0 0 auto;
}

.pref-btn-back:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 107, 0, 0.05);
}

.pref-btn-next {
    background: var(--orange);
    color: #0b0e1a;
    margin-left: auto;
    flex: 1;
}

.pref-btn-next:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.pref-btn-submit {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #0b0e1a;
    display: none;
    flex: 1;
}

.pref-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ===== SMALL MOBILE: 0 - 479px ===== */
@media (max-width: 479px) {
    .container {
        padding: 0 0.8rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 0.8rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo img {
        height: 28px;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: rgba(11, 14, 26, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
        padding: 2rem !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 999 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
    }
    
    .nav-links.open {
        right: 0 !important;
    }
    
    .nav-links a {
        font-size: 1.05rem !important;
    }
    
    .nav-links .btn-nav-login,
    .nav-links .btn-nav-signup {
        font-size: 0.95rem !important;
        padding: 0.7rem 2rem !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .hero {
        padding-top: 4.5rem;
        min-height: auto;
        padding-bottom: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0.8rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .typing-text {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero-stats div {
        font-size: 0.7rem;
        text-align: center;
    }
    
    .hero-stats span {
        font-size: 1.2rem;
    }
    
    .hero-image {
        align-items: center;
    }
    
    .hero-house-img {
        max-width: 250px;
    }
    
    .hero-card-glass {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .property-image {
        height: 160px;
    }
    
    .about {
        padding: 3rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text h3 {
        display: inline-block;
        font-size: 0.8rem;
    }
    
    .about-section-header h2 {
        font-size: 1.6rem;
    }
    
    .about-text > p {
        font-size: 0.88rem;
        padding: 0;
    }
    
    .about-mission {
        align-items: stretch;
    }
    
    .mission-item {
        padding: 1rem 1.1rem;
        text-align: left;
    }
    
    .mission-label {
        font-size: 0.65rem;
    }
    
    .mission-text {
        font-size: 0.85rem;
    }
    
    .about-stats-card {
        padding: 1.2rem 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.8rem;
    }
    
    .features-slideshow {
        min-height: auto;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 1.5rem 1.1rem;
    }
    
    .feature-card h3 {
        font-size: 1.05rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .feature-detail-panel {
        padding: 1.1rem;
        margin-top: 1rem;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .protection-item {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }
    
    .protection-item i {
        width: auto;
    }
    
    .how-it-works {
        padding: 3rem 0;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .step h3 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.82rem;
    }
    
    .contact {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1rem 1.1rem;
        gap: 0.8rem;
    }
    
    .contact-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .contact-card h4 {
        font-size: 0.7rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    .contact-map {
        height: 180px;
    }
    
    .contact-form {
        padding: 1.2rem 1rem;
    }
    
    .contact-form .form-group input,
    .contact-form .form-group textarea {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .newsletter {
        padding: 3rem 0;
    }
    
    .newsletter-box {
        padding: 1.8rem 1.2rem;
        border-radius: 18px;
    }
    
    .newsletter-box h3 {
        font-size: 1.2rem;
    }
    
    .newsletter-box p {
        font-size: 0.85rem;
    }
    
    .newsletter-box form {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .newsletter-box input,
    .newsletter-box .btn-primary {
        width: 100%;
        border-radius: 12px;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .login-wrapper {
        padding: 12px;
    }
    
    .login-box {
        padding: 20px 14px;
        border-radius: 14px;
    }
    
    .login-logo {
        font-size: 19px;
    }
    
    .login-header h1 {
        font-size: 16px;
    }
    
    .login-header p {
        font-size: 12px;
    }
    
    .role-btn {
        font-size: 10px;
        padding: 7px 4px;
        min-height: 38px;
    }
    
    .role-btn i {
        font-size: 12px;
    }
    
    .input-wrapper input {
        font-size: 12px;
        padding: 9px 36px 9px 32px;
        min-height: 42px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-btn {
        padding: 11px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .main-content {
        padding: 66px 10px 16px;
    }
    
    .top-header h1 {
        font-size: 15px;
    }
    
    .dashboard-toggle {
        display: flex !important;
    }
    
    .notification-btn,
    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    
    .dashboard-stats,
    .landlord-stats,
    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .stat-card,
    .landlord-stat-card,
    .admin-stat-card {
        padding: 10px 12px;
    }
    
    .stat-card .stat-value,
    .landlord-stat-card .stat-value,
    .admin-stat-card .stat-value {
        font-size: 17px;
    }
    
    .stat-card .stat-label,
    .landlord-stat-card .stat-label,
    .admin-stat-card .stat-label {
        font-size: 10px;
    }
    
    .stat-card .stat-icon,
    .landlord-stat-card .stat-icon,
    .admin-stat-card .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .tenant-properties-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tenant-property-card .property-body h4 {
        font-size: 14px;
    }
    
    .tenant-property-card .property-body .price {
        font-size: 16px;
    }
    
    .sidebar {
        left: -100% !important;
        max-width: 280px;
    }
    
    .sidebar.open {
        left: 0 !important;
    }
    
    .sidebar-close {
        display: block !important;
    }
    
    .sidebar-overlay {
        display: block !important;
    }
    
    .saved-item {
        flex-direction: column;
        text-align: center;
    }
    
    .history-item {
        flex-direction: column;
        text-align: center;
    }
    
    .viewing-request-item {
        flex-direction: column;
        text-align: center;
    }
    
    .landlord-property-item img {
        height: 160px;
    }
    
    .landlord-property-item .property-info {
        padding: 14px 14px 10px;
    }
    
    .landlord-property-item .property-info h4 {
        font-size: 15px;
    }
    
    .landlord-property-item .property-actions {
        padding: 10px 14px 14px;
        gap: 5px;
    }
    
    .landlord-property-item .property-actions button {
        font-size: 11px;
        padding: 8px 6px;
        min-height: 36px;
    }
    
    .preferences-container {
        padding: 22px 14px;
        border-radius: 16px;
    }
    
    .pref-title {
        font-size: 20px;
    }
    
    .pref-subtitle {
        font-size: 13px;
    }
    
    .pref-q-title {
        font-size: 16px;
    }
    
    .pref-q-help {
        font-size: 12px;
    }
    
    .pref-input {
        padding: 12px 14px;
        font-size: 14px;
        min-height: 46px;
    }
    
    .pref-option {
        padding: 14px 16px;
        font-size: 13px;
        min-height: 50px;
    }
    
    .pref-btn-back,
    .pref-btn-next,
    .pref-btn-submit {
        padding: 12px 18px;
        font-size: 13px;
        min-height: 46px;
    }
    
    .toast-container {
        bottom: 12px;
        right: 12px;
        left: 12px;
    }
    
    .toast {
        padding: 9px 12px;
        font-size: 12px;
    }
    
    .toast i {
        font-size: 14px;
    }
    
    .toast .toast-content .toast-title {
        font-size: 11px;
    }
    
    .toast .toast-content .toast-message {
        font-size: 10px;
    }
    
    #notificationDropdown {
        top: 56px;
        right: 8px;
        left: 8px;
        border-radius: 10px;
    }
    
    #notificationDropdown .notification-item {
        padding: 9px 12px;
    }
    
    #notificationDropdown .notification-item .notif-content h5 {
        font-size: 11px;
    }
    
    #notificationDropdown .notification-item .notif-content p {
        font-size: 10px;
    }
    
    footer {
        padding: 3rem 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col .logo {
        justify-content: center;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col a {
        text-align: center;
    }
    
    .footer-col a:hover {
        padding-left: 0;
    }
    
    .footer-col a:hover::before {
        content: none;
    }
    
    .socials {
        justify-content: center;
    }
    
    .footer-col p {
        text-align: center;
    }
    
    .footer-bottom {
        padding: 1.2rem 1rem;
        font-size: 0.75rem;
    }
}

/* ===== REGULAR MOBILE: 480px - 767px ===== */
@media (min-width: 480px) and (max-width: 767px) {
    .navbar {
        padding: 0.55rem 0;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: rgba(11, 14, 26, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
        padding: 2rem !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 999 !important;
    }
    
    .nav-links.open {
        right: 0 !important;
    }
    
    .nav-links a {
        font-size: 1.1rem !important;
    }
    
    .nav-links .btn-nav-login,
    .nav-links .btn-nav-signup {
        font-size: 1rem !important;
        padding: 0.7rem 2rem !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .hero {
        padding-top: 5rem;
        min-height: auto;
        padding-bottom: 3.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-stats div {
        text-align: center;
    }
    
    .hero-image {
        align-items: center;
    }
    
    .hero-house-img {
        max-width: 320px;
    }
    
    .hero-card-glass {
        margin-left: auto;
        margin-right: auto;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-mission {
        align-items: center;
    }
    
    .mission-item {
        text-align: left;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-box form {
        flex-direction: column;
    }
    
    .newsletter-box input,
    .newsletter-box .btn-primary {
        width: 100%;
    }
    
    .dashboard-toggle {
        display: flex !important;
    }
    
    .sidebar {
        left: -100% !important;
        max-width: 280px;
    }
    
    .sidebar.open {
        left: 0 !important;
    }
    
    .sidebar-close {
        display: block !important;
    }
    
    .sidebar-overlay {
        display: block !important;
    }
    
    #notificationDropdown {
        top: 60px;
        right: 10px;
        left: 10px;
    }
    
    footer {
        padding: 3rem 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
        padding-bottom: 2rem;
        align-items: start;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col:nth-child(1) {
        grid-column: 1;
    }
    
    .footer-col:nth-child(2) {
        grid-column: 2;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .footer-col:nth-child(2) .logo {
        justify-content: center;
        flex-direction: column;
        gap: 0.4rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-col:nth-child(2) .logo img {
        height: 40px;
    }
    
    .footer-col:nth-child(2) .logo span {
        font-size: 1rem;
    }
    
    .footer-col:nth-child(2) p {
        text-align: center;
        font-size: 0.7rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }
    
    .footer-col:nth-child(2) .socials {
        justify-content: center;
        gap: 0.4rem;
    }
    
    .footer-col:nth-child(2) .socials a {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    
    .footer-col:nth-child(3) {
        grid-column: 3;
    }
    
    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        margin-top: 0.5rem;
    }
    
    .footer-col:nth-child(4) h4 {
        text-align: center;
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-col:nth-child(4) h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col:nth-child(4) p {
        text-align: center;
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-col h4 {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
        letter-spacing: 0.05em;
    }
    
    .footer-col h4::after {
        width: 24px;
    }
    
    .footer-col a {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-col a:hover {
        padding-left: 5px;
    }
    
    .footer-col > p {
        font-size: 0.7rem;
    }
    
    .footer-bottom {
        padding: 1.2rem 1rem;
        font-size: 0.72rem;
    }
}

/* ===== TABLET: 768px - 1023px ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 6rem;
        min-height: auto;
        padding-bottom: 4rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        text-align: left;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
    
    .hero-image {
        align-items: flex-end;
    }
    
    .hero-house-img {
        max-width: 100%;
        width: 100%;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: left;
    }
    
    .about-mission {
        align-items: flex-start;
    }
    
    .about-stats-card {
        padding: 1.5rem 1.2rem;
    }
    
    .features-slideshow {
        max-width: 650px;
    }
    
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-map {
        height: 200px;
    }
    
    .newsletter-box form {
        flex-direction: row;
    }
    
    .newsletter-box input {
        width: auto;
    }
    
    .newsletter-box .btn-primary {
        width: auto;
        flex-shrink: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .login-box {
        padding: 28px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: rgba(11, 14, 26, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
        padding: 2rem !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 999 !important;
    }
    
    .nav-links.open {
        right: 0 !important;
    }
    
    .dashboard-toggle {
        display: flex !important;
    }
    
    .sidebar {
        left: -100% !important;
        max-width: 280px;
    }
    
    .sidebar.open {
        left: 0 !important;
    }
    
    .sidebar-close {
        display: block !important;
    }
    
    .sidebar-overlay {
        display: block !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .dashboard-stats,
    .landlord-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tenant-properties-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    #landlordPropertiesList {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .landlord-property-item img {
        height: 190px;
    }
    
    #notificationDropdown {
        top: 70px;
        right: 24px;
        left: auto;
        width: 360px;
    }
}

/* ===== DESKTOP: 1024px+ ===== */
@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .hero-stats {
        gap: 2.5rem;
    }
    
    .hero-stats span {
        font-size: 1.6rem;
    }
    
    .properties-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 4rem;
    }
    
    .steps {
        grid-template-columns: repeat(3, 1fr);
        max-width: 850px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
        gap: 3rem;
    }
    
    .hamburger {
        display: none !important;
    }
    
    .nav-links {
        position: static !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 1.2rem !important;
        padding: 0 !important;
        transition: none !important;
        z-index: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .nav-links a {
        font-size: 0.85rem !important;
        padding: 0.2rem 0 !important;
    }
    
    .nav-links .btn-nav-login,
    .nav-links .btn-nav-signup {
        font-size: 0.8rem !important;
        padding: 0.3rem 0.8rem !important;
        width: auto !important;
    }
    
    .sidebar {
        left: 0 !important;
        max-width: 280px;
        height: 100vh;
        position: fixed;
        top: 0;
        z-index: 100;
    }
    
    .sidebar-close {
        display: none !important;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
    
    .dashboard-toggle {
        display: none !important;
    }
    
    .main-content {
        margin-left: 280px !important;
        padding: 30px 35px !important;
        width: auto !important;
    }
    
    .dashboard-stats,
    .landlord-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .admin-stats {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .tenant-properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #landlordPropertiesList {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .landlord-property-item img {
        height: 220px;
    }
    
    .landlord-property-item .property-info {
        padding: 18px 20px 14px;
    }
    
    .landlord-property-item .property-info h4 {
        font-size: 17px;
    }
    
    .landlord-property-item .property-actions {
        padding: 14px 20px 18px;
        gap: 8px;
    }
    
    .landlord-property-item .property-actions button {
        font-size: 12.5px;
        min-height: 40px;
    }
    
    #notificationDropdown {
        top: 70px;
        right: 30px;
        left: auto;
        width: 380px;
    }
    
    .toast-container {
        bottom: 24px;
        right: 24px;
        left: auto;
        max-width: 400px;
    }
}