/* ============================================
   CIL PROPERTY & TENANT MANAGEMENT
   MASTER STYLESHEET
   Consolidated from all HTML files
   ============================================ */

/* --------------------------------------------
   GLOBAL RESET & BASE STYLES
-------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    color: #0f2b5e;
}

h2 {
    font-size: 2.5rem;
    color: #0f2b5e;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: #0f2b5e;
}

.section-intro {
    max-width: 800px;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #64748b;
}

/* Links */
a {
    text-decoration: none;
    color: #f18f01;
    transition: all 0.3s;
}

a:hover {
    color: #e07d00;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f18f01 0%, #f59e0b 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(241, 143, 1, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid #f18f01;
    color: #f18f01;
}

.btn-outline:hover {
    background: #f18f01;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(15, 43, 94, 0.1);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #ffedd5;
    color: #92400e;
}

.badge-featured {
    background: #f18f01;
    color: white;
}

/* --------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------- */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f2b5e;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links > a {
    color: #475569;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: #f18f01;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0f2b5e;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown > a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown > a i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown:hover > a {
    color: #f18f01;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: #475569;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.dropdown-menu a i {
    width: 20px;
    color: #94a3b8;
}

.dropdown-menu a:hover {
    background: #fef3c7;
    color: #f18f01;
}

.dropdown-menu a:hover i {
    color: #f18f01;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

.dropdown-section {
    padding: 0.5rem 0;
}

.dropdown-title {
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

/* --------------------------------------------
   HERO SECTION
-------------------------------------------- */
.hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --------------------------------------------
   CTA SECTION
-------------------------------------------- */
.cta {
    background: linear-gradient(135deg, #f18f01 0%, #f59e0b 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta .btn-outline {
    background: transparent;
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: #f18f01;
}

/* --------------------------------------------
   FOOTER
-------------------------------------------- */
.footer {
    background: #0f2b5e;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-about p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #f18f01;
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: #f18f01;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.contact-item i {
    color: #f18f01;
    width: 20px;
}

.partners-heading {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: #94a3b8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #94a3b8;
}

.footer-bottom a:hover {
    color: #f18f01;
}

/* --------------------------------------------
   ABOUT PAGE
-------------------------------------------- */
.about-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card,
.vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.mission-card h2,
.vision-card h2 {
    color: #0f2b5e;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission-card p,
.vision-card p {
    color: #475569;
    line-height: 1.8;
    font-size: 1.1rem;
}

.story-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    color: #0f2b5e;
    margin-bottom: 2rem;
}

.story-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-item h4 {
    font-size: 1.3rem;
    color: #0f2b5e;
    margin-bottom: 1rem;
}

.value-item p {
    color: #64748b;
    line-height: 1.6;
}

.stats-section {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --------------------------------------------
   TENANT PAGE
-------------------------------------------- */
.tenants-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.tenants-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tenants-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #0f2b5e;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

.process-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: #f18f01;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h4 {
    font-size: 1.25rem;
    color: #0f2b5e;
    margin-bottom: 1rem;
}

.process-step p {
    color: #64748b;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 20px;
    right: -20px;
    font-size: 2rem;
    color: #f18f01;
    font-weight: 300;
}

/* --------------------------------------------
   LANDLORD PAGE
-------------------------------------------- */
.landlords-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.landlords-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.landlords-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.pain-points {
    background: #fef2f2;
    padding: 3rem 0;
    border-bottom: 1px solid #fee2e2;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pain-item {
    text-align: center;
    padding: 1.5rem;
}

.pain-icon {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.pain-item h4 {
    color: #991b1b;
    margin-bottom: 0.5rem;
}

.solution-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #0f2b5e;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* --------------------------------------------
   CONTACT PAGE
-------------------------------------------- */
.contact-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
}

.contact-info-card,
.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-info-card h2,
.contact-form-card h2 {
    color: #0f2b5e;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: #0f2b5e;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.info-content a {
    color: #f18f01;
    text-decoration: none;
    font-weight: 500;
}

.info-content a:hover {
    text-decoration: underline;
}

.business-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    color: #475569;
}

.hours-day {
    font-weight: 600;
    color: #0f2b5e;
}

/* --------------------------------------------
   BLOG PAGE
-------------------------------------------- */
.blog-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.blog-wrapper {
    display: flex;
    gap: 3rem;
    padding: 4rem 0;
    background: #f8fafc;
}

.blog-main {
    flex: 3;
}

.blog-sidebar {
    flex: 1;
}

.featured-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(15, 43, 94, 0.1);
}

.featured-image {
    height: 400px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f18f01;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.post-meta span i {
    margin-right: 0.3rem;
    color: #f18f01;
}

.post-title {
    font-size: 1.8rem;
    color: #0f2b5e;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #f18f01;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: #e07d00;
    gap: 0.75rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(15, 43, 94, 0.1);
}

.post-card-image {
    height: 200px;
    background: #e2e8f0;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-title {
    font-size: 1.2rem;
    color: #0f2b5e;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.post-card-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.widget-title {
    font-size: 1.2rem;
    color: #0f2b5e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f18f01;
    display: inline-block;
}

/* Search Widget */
.search-widget form {
    display: flex;
    gap: 0.5rem;
}

.search-widget input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.search-widget button {
    background: #f18f01;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

/* Categories Widget */
.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.75rem;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    color: #475569;
    text-decoration: none;
    transition: color 0.3s;
}

.categories-list a:hover {
    color: #f18f01;
}

.category-count {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-image {
    width: 70px;
    height: 70px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content h4 {
    font-size: 0.9rem;
    color: #0f2b5e;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.recent-post-content p {
    font-size: 0.7rem;
    color: #64748b;
}

/* Newsletter Widget */
.newsletter-widget p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-widget input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.newsletter-widget button {
    width: 100%;
    background: #f18f01;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: #f18f01;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.page-item:hover {
    border-color: #f18f01;
    color: #f18f01;
}

.page-item.active {
    background: #0f2b5e;
    color: white;
    border-color: #0f2b5e;
}

/* --------------------------------------------
   LOGIN & REGISTRATION PAGES
-------------------------------------------- */
.login-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

.login-hero h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.login-hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.login-container {
    max-width: 450px;
    margin: -2rem auto 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.login-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.login-header {
    background: #0f2b5e;
    padding: 1.5rem 2rem;
    color: white;
    text-align: center;
}

.login-header h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.login-header p {
    color: #94a3b8;
    font-size: 0.85rem;
}

.login-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.form-label i {
    color: #f18f01;
    margin-right: 0.3rem;
}

.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #f18f01;
    box-shadow: 0 0 0 3px rgba(241, 143, 1, 0.1);
}

.input-group {
    position: relative;
    display: flex;
    align-items: stretch;
}

.input-group-prepend {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: #475569;
    font-weight: 500;
}

.input-group .form-control {
    border-radius: 0 12px 12px 0;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    background: none;
    border: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #475569;
}

.checkbox-label input {
    width: 1rem;
    height: 1rem;
    accent-color: #f18f01;
}

.forgot-link {
    color: #f18f01;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #f18f01 0%, #f59e0b 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(241, 143, 1, 0.3);
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.demo-login {
    text-align: center;
}

.demo-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.demo-btn:hover {
    background: #e2e8f0;
}

.register-prompt,
.signup-prompt {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
}

.register-prompt a,
.signup-prompt a {
    color: #f18f01;
    text-decoration: none;
    font-weight: 600;
}

.register-prompt a:hover,
.signup-prompt a:hover {
    text-decoration: underline;
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: none;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    padding: 2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal h3 {
    color: #0f2b5e;
    margin-bottom: 1rem;
}

.modal p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-modal {
    width: 100%;
    background: #f18f01;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Dashboard Preview */
.dashboard-preview {
    background: #0f2b5e;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    color: white;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-family: monospace;
    font-size: 0.8rem;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.preview-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
    text-align: center;
}

.preview-stat .number {
    font-size: 1.2rem;
    font-weight: 700;
}

.preview-stat .label {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Registration Container */
.register-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.register-hero h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.register-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.registration-container {
    max-width: 800px;
    margin: -3rem auto 4rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.progress-bar {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.progress-step {
    flex: 1;
    padding: 1.5rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #94a3b8;
    position: relative;
    font-size: 0.9rem;
}

.progress-step.active {
    color: #0f2b5e;
}

.progress-step.completed {
    color: #10b981;
}

.progress-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e2e8f0;
}

.progress-step.active::after {
    background: #f18f01;
}

.progress-step.completed::after {
    background: #10b981;
}

.form-step {
    padding: 2.5rem;
    display: none;
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: 1.5rem;
    color: #0f2b5e;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-title i {
    color: #f18f01;
    font-size: 1.8rem;
}

.form-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.form-section h3 {
    color: #0f2b5e;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: #f18f01;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.file-upload {
    border: 2px dashed #cbd5e1;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: #f18f01;
    background: #fff7ed;
}

.file-upload i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.file-upload p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.file-upload small {
    color: #94a3b8;
    font-size: 0.8rem;
}

.file-info {
    display: none;
    background: #f0fdf4;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #86efac;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.checkbox-item input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #f18f01;
}

.fee-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.fee-item:last-child {
    border-bottom: none;
}

.fee-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2b5e;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.payment-method {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #f18f01;
}

.payment-method.selected {
    border-color: #f18f01;
    background: #fff7ed;
}

.payment-method i {
    font-size: 1.5rem;
    color: #0f2b5e;
    margin-bottom: 0.5rem;
}

.bank-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: none;
}

.bank-details.show {
    display: block;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #475569;
}

.detail-value {
    color: #0f2b5e;
    font-weight: 500;
}

.copy-btn {
    background: none;
    border: none;
    color: #f18f01;
    cursor: pointer;
    margin-left: 0.5rem;
}

.copy-btn:hover {
    color: #0f2b5e;
}

.terms {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-prev {
    background: white;
    border: 1px solid #0f2b5e;
    color: #0f2b5e;
}

.btn-prev:hover {
    background: #f8fafc;
}

.btn-next {
    background: #f18f01;
    color: white;
    border: none;
}

.btn-next:hover {
    background: #e07d00;
}

.verification-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #fef9c3;
    color: #854d0e;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
}

.info-box {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: #1e40af;
    font-size: 0.9rem;
    border: 1px solid #bfdbfe;
}

.info-box i {
    margin-right: 0.5rem;
}

/* Property Cards for Landlord Registration */
.property-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.property-card h4 {
    color: #0f2b5e;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-property {
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
}

.remove-property:hover {
    text-decoration: underline;
}

.add-property {
    background: #f8fafc;
    border: 2px dashed #f18f01;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.add-property:hover {
    background: #fff7ed;
}

.add-property i {
    color: #f18f01;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #f18f01;
}

.service-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-option {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.service-option:hover {
    border-color: #f18f01;
}

.service-option.selected {
    border-color: #f18f01;
    background: #fff7ed;
}

.service-option i {
    font-size: 2rem;
    color: #0f2b5e;
    margin-bottom: 0.5rem;
}

/* Agent Signup Page Specific */
.signup-hero {
    background: linear-gradient(135deg, #b45309 0%, #f18f01 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.signup-hero h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.signup-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.signup-container {
    max-width: 800px;
    margin: -2rem auto 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.form-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.form-header {
    background: #0f2b5e;
    padding: 1.5rem 2rem;
    color: white;
}

.form-header h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.form-header p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.form-body {
    padding: 2rem;
}

.free-tier-info {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #86efac;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.free-tier-icon {
    width: 50px;
    height: 50px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.free-tier-text h4 {
    color: #065f46;
    margin-bottom: 0.25rem;
}

.free-tier-text p {
    color: #166534;
    font-size: 0.85rem;
    margin: 0;
}

.upgrade-info-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #fed7aa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.upgrade-text h4 {
    color: #b45309;
    margin-bottom: 0.25rem;
}

.upgrade-text p {
    color: #92400e;
    font-size: 0.85rem;
    margin: 0;
}

.upgrade-link {
    background: #b45309;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.85rem;
}

.upgrade-link:hover {
    background: #9a3e07;
}

.commission-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.commission-preview h3 {
    color: #0f2b5e;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.commission-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.commission-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.commission-item span:first-child {
    color: #475569;
}

.commission-item span:last-child {
    color: #b45309;
    font-weight: 700;
}

.limit-badge {
    background: #fef3c7;
    color: #b45309;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Loan Calculator */
.loan-calculator {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 24px;
    padding: 2rem;
    color: white;
}

.loan-calculator input,
.loan-calculator select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 12px;
    border: none;
    font-family: 'Inter', sans-serif;
    margin-top: 0.25rem;
}

.loan-result {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
}

/* Price Tag */
.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f18f01;
    margin: 0.5rem 0;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #ffedd5;
    color: #92400e;
}

.status-featured {
    background: #f18f01;
    color: white;
}

/* Feature Badges */
.feature-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.media-badge {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: white;
}

/* --------------------------------------------
   RESPONSIVE DESIGN
-------------------------------------------- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .values-grid,
    .benefits-grid,
    .services-grid,
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-contact-grid,
    .faq-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
        margin-top: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .values-grid,
    .benefits-grid,
    .services-grid,
    .pain-grid,
    .stats-grid,
    .testimonial-grid,
    .faq-grid,
    .comparison-grid,
    .mission-vision,
    .contact-grid,
    .footer-grid,
    .team-contact-grid,
    .faq-contact-grid {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .blog-wrapper {
        flex-direction: column;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .post-title {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .checkbox-group,
    .payment-methods,
    .service-selection {
        grid-template-columns: 1fr;
    }

    .fee-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .fee-row.header {
        display: none;
    }

    .rent-diagram {
        grid-template-columns: 1fr;
    }

    .rent-arrow {
        transform: rotate(90deg);
    }

    .progress-step span {
        display: none;
    }

    .form-step {
        padding: 1.5rem;
    }

    .login-body {
        padding: 1.5rem;
    }

    .login-hero h1 {
        font-size: 1.75rem;
    }

    .register-hero h1 {
        font-size: 2rem;
    }

    .signup-hero h1 {
        font-size: 2rem;
    }
}

/* ============================================
   ADD THESE STYLES TO YOUR EXISTING style.css
   LOANS MODULE - New Styles
   ============================================ */

/* --------------------------------------------
   LOANS HERO SECTION
-------------------------------------------- */
.loans-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.loans-hero::before {
    content: '💰';
    position: absolute;
    bottom: -50px;
    right: -50px;
    font-size: 15rem;
    opacity: 0.05;
    pointer-events: none;
}

.loans-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.loans-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.loan-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-top: 1.5rem;
    font-weight: 600;
}

/* Loan Features Grid */
.loan-features {
    padding: 4rem 0;
    background: #f8fafc;
}

.loan-features .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #f18f01;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: #0f2b5e;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.85rem;
}

/* Loan Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(15, 43, 94, 0.1);
    border-color: #f18f01;
}

.product-icon {
    width: 70px;
    height: 70px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #f18f01;
    font-size: 1.8rem;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #0f2b5e;
}

.product-card p {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-rate {
    display: inline-block;
    background: #fef3c7;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b45309;
    margin-bottom: 1rem;
}

.product-link {
    color: #f18f01;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Steps Section */
.steps-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
}

.step-card .step-number {
    width: 50px;
    height: 50px;
    background: #f18f01;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    color: #0f2b5e;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-card p {
    color: #64748b;
    font-size: 0.85rem;
}

/* Calculator Preview */
.calculator-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
}

.calc-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.calc-input-group input,
.calc-input-group select {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

.calc-result {
    background: #0f2b5e;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.calc-result .amount {
    font-size: 1.8rem;
    font-weight: 800;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    padding: 3rem;
    text-align: center;
    border-radius: 24px;
    margin: 2rem 0 4rem;
}

.cta-banner h3 {
    color: #b45309;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: #92400e;
    margin-bottom: 2rem;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* Eligibility List */
.eligibility-list {
    list-style: none;
    margin: 1rem 0;
}

.eligibility-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.eligibility-list i {
    color: #10b981;
}

/* Investment Calculator */
.investment-calc {
    background: #f8fafc;
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
}

/* Form Container for Loans */
.form-container {
    max-width: 800px;
    margin: 3rem auto;
}

/* Progress Steps for Multi-step Forms */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.progress-steps .step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-steps .step-number {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
    color: #64748b;
}

.progress-steps .step.active .step-number {
    background: #f18f01;
    color: white;
}

.progress-steps .step.completed .step-number {
    background: #10b981;
    color: white;
}

.progress-steps .step-label {
    font-size: 0.8rem;
    color: #64748b;
}

.progress-steps .step.active .step-label {
    color: #0f2b5e;
    font-weight: 600;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #cbd5e1;
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #f18f01;
    background: #fff7ed;
}

.upload-area i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Loan Result Box */
.result-box {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    margin-top: 2rem;
}

.result-number {
    font-size: 2rem;
    font-weight: 800;
}

/* Amortization Table */
.amortization-table {
    margin-top: 2rem;
    overflow-x: auto;
}

.amortization-table table {
    width: 100%;
    border-collapse: collapse;
}

.amortization-table th,
.amortization-table td {
    padding: 0.75rem;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.amortization-table th:first-child,
.amortization-table td:first-child {
    text-align: left;
}

/* Status Card for Loan Status */
.status-container {
    max-width: 600px;
    margin: 3rem auto;
}

.status-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.status-badge-large {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-pending {
    background: #ffedd5;
    color: #92400e;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

/* Timeline for Status */
.timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-top: 0.3rem;
}

.timeline-dot.completed {
    background: #10b981;
}

.timeline-dot.active {
    background: #f18f01;
    box-shadow: 0 0 0 3px rgba(241, 143, 1, 0.2);
}

/* FAQ Toggle */
.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    color: #f18f01;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #475569;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* Loan Details Page */
.loan-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.loan-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.renovation-ideas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Responsive for Loans Pages */
@media (max-width: 1024px) {
    .products-grid,
    .loan-features .features-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .renovation-ideas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .loans-hero h1,
    .loan-hero h1 {
        font-size: 2rem;
    }
    
    .products-grid,
    .loan-features .features-grid,
    .steps-grid,
    .renovation-ideas {
        grid-template-columns: 1fr;
    }
    
    .calc-input-group {
        flex-direction: column;
    }
    
    .progress-steps .step-label {
        font-size: 0.7rem;
    }
}

/* ============================================
   ADD THESE STYLES TO YOUR EXISTING style.css
   TENANT PORTAL MODULE - New Styles
   ============================================ */

/* --------------------------------------------
   PORTAL WRAPPER (Dashboard Layout)
-------------------------------------------- */
.portal-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
    background: #f8fafc;
}

.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
    background: #f8fafc;
}

/* Sidebar */
.portal-sidebar,
.dashboard-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.tenant-info,
.user-info {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.tenant-avatar,
.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.tenant-name,
.user-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2b5e;
    margin-bottom: 0.25rem;
}

.tenant-badge,
.user-badge {
    font-size: 0.7rem;
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    color: #475569;
    display: inline-block;
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.sidebar-menu li a i {
    width: 20px;
    color: #94a3b8;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: #fef3c7;
    color: #f18f01;
}

.sidebar-menu li a:hover i,
.sidebar-menu li a.active i {
    color: #f18f01;
}

/* Portal Content */
.portal-content,
.dashboard-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 1.8rem;
    color: #0f2b5e;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #64748b;
}

.tenant-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
    font-size: 1.2rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f2b5e;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.85rem;
}

.stat-change {
    font-size: 0.7rem;
    color: #f18f01;
    margin-top: 0.25rem;
}

/* Current Home Card */
.current-home-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.current-home-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.home-detail {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 12px;
}

.home-detail-label {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.home-detail-value {
    font-weight: 600;
    color: #0f2b5e;
}

.home-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-home {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-home:hover {
    background: #e2e8f0;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Dashboard Card */
.dashboard-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.dashboard-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fafbfc;
}

.dashboard-card .card-header h3 {
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-card .card-header a {
    color: #f18f01;
    font-size: 0.85rem;
    text-decoration: none;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

/* Next Payment */
.next-payment {
    text-align: center;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.next-payment .amount {
    font-size: 2rem;
    font-weight: 800;
    color: #b45309;
}

.payment-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 12px;
}

.payment-label {
    font-size: 0.7rem;
    color: #64748b;
}

.payment-date {
    font-size: 0.85rem;
    font-weight: 500;
}

.payment-amount {
    font-weight: 600;
    color: #10b981;
}

/* Maintenance Status */
.maintenance-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.maintenance-status:last-child {
    border-bottom: none;
}

.maintenance-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.maintenance-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
}

.badge-pending {
    background: #ffedd5;
    color: #92400e;
}

.badge-processing {
    background: #dbeafe;
    color: #1e40af;
}

.badge-completed {
    background: #d1fae5;
    color: #065f46;
}

/* Benefit Grid */
.benefit-grid {
    display: grid;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
}

.benefit-item:hover {
    background: #fef3c7;
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
    font-size: 1.2rem;
}

.benefit-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #0f2b5e;
}

.benefit-info p {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
}

/* Activity Item */
.activity-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.7rem;
    color: #64748b;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.quick-action {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-action:hover {
    background: #fef3c7;
    transform: translateY(-2px);
}

.quick-action i {
    font-size: 1.5rem;
    color: #f18f01;
    margin-bottom: 0.5rem;
}

.quick-action span {
    font-size: 0.75rem;
    color: #475569;
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.filter-title {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.filter-title h3 {
    margin: 0;
    font-size: 1rem;
}

#filterContent {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: block;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.filter-select {
    padding: 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.price-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-filter {
    padding: 0.6rem 1.5rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-clear {
    padding: 0.6rem 1.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
}

/* Results Stats */
.results-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-count {
    font-size: 0.85rem;
    color: #64748b;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.sort-select {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f18f01;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.property-details {
    padding: 1rem;
}

.property-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.property-title h3 {
    font-size: 1rem;
    margin: 0;
}

.property-price {
    font-weight: 700;
    color: #f18f01;
    font-size: 0.9rem;
}

.property-location {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.property-features span {
    font-size: 0.7rem;
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

.property-type {
    font-size: 0.7rem;
    color: #64748b;
}

.btn-view {
    font-size: 0.75rem;
    color: #f18f01;
    font-weight: 600;
}

/* Property Modal */
.property-gallery {
    margin-bottom: 1.5rem;
}

.gallery-main {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-section {
    margin-bottom: 1.5rem;
}

.info-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #0f2b5e;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.feature-item i {
    color: #10b981;
}

.sidebar-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.85rem;
    color: #64748b;
}

.info-value {
    font-weight: 600;
    color: #0f2b5e;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-request {
    flex: 2;
    padding: 0.75rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-save {
    flex: 1;
    padding: 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
}

/* Relocation Form */
.relocation-form {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    cursor: pointer;
}

.checkbox-item input {
    width: 1rem;
    height: 1rem;
    accent-color: #f18f01;
}

.checkbox-item label {
    font-size: 0.85rem;
    color: #475569;
}

.fee-summary {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.fee-item:last-child {
    border-bottom: none;
}

.fee-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f2b5e;
}

.fee-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-cancel {
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
}

.btn-submit {
    padding: 0.75rem 1.5rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Timeline Steps */
.timeline {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    background: #f8fafc;
}

.timeline-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.timeline-number {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.timeline-step.active .timeline-number {
    background: #f18f01;
    color: white;
}

.timeline-step.completed .timeline-number {
    background: #10b981;
    color: white;
}

.timeline-label {
    font-size: 0.7rem;
    color: #64748b;
}

.timeline-step.active .timeline-label {
    color: #0f2b5e;
    font-weight: 600;
}

/* Current Property Card */
.current-property {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.current-property .section-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tenure-badge {
    font-size: 0.7rem;
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.property-detail {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
}

.property-detail-icon {
    width: 50px;
    height: 50px;
    background: #fef3c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
    font-size: 1.5rem;
}

.property-detail-info h4 {
    margin-bottom: 0.5rem;
}

.property-detail-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

/* Applications List */
.applications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.application-header {
    padding: 1rem 1.5rem;
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.application-property {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.property-image {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
}

.application-status {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-viewing {
    background: #dbeafe;
    color: #1e40af;
}

.status-reviewing {
    background: #ffedd5;
    color: #92400e;
}

.application-body {
    padding: 1.5rem;
}

.application-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
}

.detail-label {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-weight: 600;
    color: #0f2b5e;
}

.application-timeline {
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0f2b5e;
}

.application-timeline .timeline-steps {
    padding: 0;
    background: transparent;
}

.application-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-action {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-action {
    background: #f18f01;
    color: white;
}

.btn-secondary-action {
    background: #f1f5f9;
    color: #475569;
}

.btn-danger-action {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.filter-tab.active {
    background: #f18f01;
    color: white;
}

/* Category Tabs for Benefits */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.category-tab.active {
    background: #f18f01;
    color: white;
}

/* Benefits Hero */
.benefits-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-hero h2 {
    color: white;
    margin-bottom: 1rem;
}

.benefits-hero p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.benefits-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.benefits-stats .stat-item {
    text-align: center;
}

.benefits-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f18f01;
}

.benefits-stats .stat-label {
    color: white;
    font-size: 0.8rem;
}

/* Active Requests */
.active-requests {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.active-requests .section-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.requests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.request-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.request-icon {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
}

.request-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.request-status {
    font-size: 0.7rem;
}

.status-pending {
    color: #f59e0b;
}

.status-approved {
    color: #10b981;
}

.status-scheduled {
    color: #3b82f6;
}

/* Partner Spotlight */
.partner-spotlight {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.partner-card {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.partner-logo {
    width: 50px;
    height: 50px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: #f18f01;
    font-size: 1.2rem;
}

.partner-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.partner-card p {
    font-size: 0.7rem;
    color: #64748b;
}

/* Offers Section */
.offers-section {
    margin-bottom: 2rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.offer-card {
    display: flex;
    gap: 1rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    align-items: center;
}

.offer-image {
    width: 60px;
    height: 60px;
    background: #fef3c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
    font-size: 1.5rem;
}

.offer-content {
    flex: 1;
}

.offer-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.offer-content p {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.offer-code {
    font-size: 0.7rem;
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
}

/* Profile Page */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
}

.profile-sidebar-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    text-align: center;
}

.profile-avatar-section {
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2.5rem;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2b5e;
}

.profile-email {
    font-size: 0.85rem;
    color: #64748b;
}

.profile-stats {
    text-align: left;
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.profile-stats .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.profile-stats .stat-item:last-child {
    border-bottom: none;
}

.profile-actions {
    margin-top: 1rem;
}

.btn-logout {
    width: 100%;
    padding: 0.75rem;
    background: #fee2e2;
    color: #991b1b;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.profile-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.profile-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.profile-card .card-header h3 {
    margin: 0;
    font-size: 1rem;
}

.btn-edit {
    padding: 0.4rem 1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

.profile-card .card-body {
    padding: 1.5rem;
}

/* Document Item */
.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.document-item:last-child {
    border-bottom: none;
}

.document-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.document-icon {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
}

.document-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.document-date {
    font-size: 0.7rem;
    color: #64748b;
}

.btn-download {
    background: none;
    border: none;
    color: #f18f01;
    cursor: pointer;
    font-size: 1rem;
}

/* Notification Item */
.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.notification-info p {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #f18f01;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Security Item */
.security-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.security-item:last-child {
    border-bottom: none;
}

.security-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.security-title {
    font-weight: 600;
}

.security-desc {
    font-size: 0.7rem;
    color: #64748b;
}

.btn-change {
    padding: 0.3rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    text-align: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #f18f01;
    font-size: 1.2rem;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.contact-link {
    color: #f18f01;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Ticket Form */
.ticket-form {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.ticket-form .form-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ticket-form .form-body {
    padding: 1.5rem;
}

/* Ticket History */
.ticket-history {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.history-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.ticket-item:last-child {
    border-bottom: none;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.ticket-id {
    font-weight: 600;
    color: #0f2b5e;
}

.ticket-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

.status-resolved {
    background: #d1fae5;
    color: #065f46;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-open {
    background: #ffedd5;
    color: #92400e;
}

.ticket-subject {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.ticket-date {
    font-size: 0.7rem;
    color: #64748b;
}

/* Emergency Banner */
.emergency-banner {
    background: #fee2e2;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.emergency-info h3 {
    color: #991b1b;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.emergency-info p {
    font-size: 0.8rem;
    color: #991b1b;
    margin: 0;
}

.emergency-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #991b1b;
}

/* Improvement Card */
.improvement-card {
    background: #fffbeb;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #fed7aa;
}

/* Maintenance Item */
.maintenance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.maintenance-item:last-child {
    border-bottom: none;
}

.maintenance-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

/* Payment Table */
.payment-table {
    width: 100%;
    border-collapse: collapse;
}

.payment-table th,
.payment-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.payment-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
}

.payment-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
}

.payment-paid {
    background: #d1fae5;
    color: #065f46;
}

.payment-pending {
    background: #ffedd5;
    color: #92400e;
}

/* Next Payment Card */
.next-payment-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.next-payment-info h3 {
    margin-bottom: 0.5rem;
}

.next-payment-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f18f01;
}

.next-payment-date {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-pay {
    padding: 0.75rem 1.5rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

/* Payment Method Tabs */
.payment-method-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.method-tab {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.method-tab.active {
    background: #f18f01;
    color: white;
}

.payment-form-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.payment-form-card .form-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.payment-form-card .form-body {
    padding: 1.5rem;
}

.btn-submit-payment {
    width: 100%;
    padding: 0.75rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
}

/* Payment History */
.payment-history {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.payment-history .history-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
}

.filter-btn.active {
    background: #f18f01;
    color: white;
}

/* Payment Summary */
.payment-summary {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.summary-item {
    text-align: center;
}

.summary-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2b5e;
}

.chart-container {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 1024px) {
    .portal-sidebar,
    .dashboard-sidebar {
        width: 240px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-stats {
        gap: 1.5rem;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .home-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portal-wrapper,
    .dashboard-wrapper {
        flex-direction: column;
    }

    .portal-sidebar,
    .dashboard-sidebar {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .portal-content,
    .dashboard-content {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .results-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .property-info-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .benefits-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .home-details {
        grid-template-columns: 1fr;
    }

    .application-details {
        grid-template-columns: 1fr;
    }

    .application-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .requests-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ============================================
   ADD THESE STYLES TO YOUR EXISTING style.css
   LANDLORD PORTAL MODULE - New Styles
   ============================================ */

/* --------------------------------------------
   LANDLORD PORTAL SPECIFIC
-------------------------------------------- */
.landlord-info {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.landlord-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.landlord-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2b5e;
    margin-bottom: 0.25rem;
}

.landlord-badge {
    font-size: 0.7rem;
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    color: #475569;
    display: inline-block;
}

/* Properties Section */
.properties-section {
    margin-bottom: 1.5rem;
}

.properties-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.property-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
}

.property-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.property-header h3 {
    font-size: 1rem;
    margin: 0;
}

.property-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.status-occupied {
    background: #d1fae5;
    color: #065f46;
}

.status-vacant {
    background: #ffedd5;
    color: #92400e;
}

.status-maintenance {
    background: #fee2e2;
    color: #991b1b;
}

.property-body {
    padding: 1rem 1.5rem;
}

.property-address {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tenant-info-section {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.tenant-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tenant-contact {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.rent-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.rent-amount {
    font-weight: 600;
    color: #0f2b5e;
}

.rent-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

.rent-paid {
    background: #d1fae5;
    color: #065f46;
}

.rent-pending {
    background: #ffedd5;
    color: #92400e;
}

.rent-overdue {
    background: #fee2e2;
    color: #991b1b;
}

.property-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-property {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-property:hover {
    background: #fef3c7;
    color: #f18f01;
}

/* Camera Feeds */
.camera-feed {
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.camera-header {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    font-size: 0.8rem;
}

.camera-name {
    font-weight: 500;
}

.camera-status {
    font-size: 0.7rem;
    color: #10b981;
}

.camera-placeholder {
    padding: 2rem;
    text-align: center;
    background: #1e293b;
    color: white;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rent Items */
.rent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.rent-item:last-child {
    border-bottom: none;
}

.rent-property {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* Filter Bar */
.filter-bar {
    background: white;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.date-input {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Summary Card */
.summary-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f18f01;
}

.summary-breakdown {
    margin-top: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #e2e8f0;
}

.summary-item-label {
    color: #475569;
}

.summary-item-value {
    font-weight: 600;
    color: #0f2b5e;
}

/* Payment Table Container */
.payment-table-container {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.table-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h3 {
    margin: 0;
    font-size: 1rem;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
}

.payment-table th,
.payment-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.payment-table th {
    background: #fafbfc;
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
}

.payment-table td {
    font-size: 0.85rem;
}

/* Upcoming Card */
.upcoming-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.upcoming-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.upcoming-item:last-child {
    border-bottom: none;
}

.upcoming-property {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.upcoming-date {
    font-size: 0.75rem;
    color: #64748b;
}

.upcoming-amount {
    font-weight: 700;
    color: #f18f01;
}

/* Maintenance Table */
.requests-container {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.maintenance-table {
    width: 100%;
    border-collapse: collapse;
}

.maintenance-table th,
.maintenance-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.maintenance-table th {
    background: #fafbfc;
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
}

/* Urgency Badges */
.urgency-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

.urgency-emergency {
    background: #fee2e2;
    color: #991b1b;
}

.urgency-urgent {
    background: #ffedd5;
    color: #92400e;
}

.urgency-normal {
    background: #e2e8f0;
    color: #475569;
}

/* Request Status */
.request-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

.status-pending {
    background: #ffedd5;
    color: #92400e;
}

.status-in-progress {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-declined {
    background: #fee2e2;
    color: #991b1b;
}

/* Action Buttons */
.btn-approve {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.btn-decline {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.btn-action {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    margin-right: 0.25rem;
    text-decoration: none;
    display: inline-block;
}

.btn-action:hover {
    background: #e2e8f0;
}

/* Inspections Grid */
.inspections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.inspection-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.inspection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.inspection-date {
    font-weight: 600;
    color: #0f2b5e;
}

.inspection-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.status-scheduled {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.inspection-body {
    padding: 1rem 1.5rem;
}

.inspection-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.inspection-notes {
    background: #fef3c7;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #92400e;
    margin-bottom: 1rem;
}

.inspection-actions {
    display: flex;
    gap: 0.5rem;
}

.schedule-btn {
    background: #f18f01;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tenants Grid */
.tenants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tenant-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.tenant-header {
    padding: 1rem 1.5rem;
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
}

.tenant-header h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tenant-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.tenant-body {
    padding: 1rem 1.5rem;
}

.tenant-info-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tenant-avatar-sm {
    width: 50px;
    height: 50px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
    font-size: 1.5rem;
}

.tenant-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.tenant-details p {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.property-badge {
    font-size: 0.7rem;
    background: #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    display: inline-block;
}

.lease-details {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.lease-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.8rem;
}

.lease-label {
    color: #64748b;
}

.lease-value {
    font-weight: 500;
}

.payment-history {
    margin-bottom: 1rem;
}

.payment-history .payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

.payment-history .payment-item:last-child {
    border-bottom: none;
}

.payment-date {
    font-weight: 500;
}

.payment-amount {
    font-weight: 600;
    color: #0f2b5e;
}

.tenant-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Bank Card */
.bank-card {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.bank-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bank-details {
    font-size: 0.85rem;
    color: #475569;
}

/* Document Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.document-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s;
}

.document-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.document-icon {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f18f01;
    font-size: 1.2rem;
}

.document-info {
    flex: 1;
}

.document-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.document-meta {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.document-property {
    font-size: 0.7rem;
    color: #f18f01;
    margin-bottom: 0.5rem;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}

.doc-action {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}

.doc-action:hover {
    color: #f18f01;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #cbd5e1;
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-area:hover {
    border-color: #f18f01;
    background: #fff7ed;
}

.file-upload-area i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .property-grid,
    .inspections-grid,
    .tenants-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: space-between;
    }

    .payment-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .property-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .property-details {
        grid-template-columns: 1fr;
    }

    .inspection-details {
        grid-template-columns: 1fr;
    }

    .document-actions {
        flex-direction: column;
    }

    .tenant-info-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lease-row {
        flex-direction: column;
        align-items: center;
    }

    .payment-table th,
    .payment-table td {
        padding: 0.5rem;
    }
}
/* ============================================
   ADD THESE STYLES TO YOUR EXISTING style.css
   BUY & SELL MARKETPLACE MODULE - New Styles
   ============================================ */

/* --------------------------------------------
   BUY PAGE HERO
-------------------------------------------- */
.buy-hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.buy-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.buy-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* SELL PAGE HERO */
.sell-hero {
    background: linear-gradient(135deg, #b45309 0%, #f18f01 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.sell-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.sell-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* SEARCH SECTION */
.search-section {
    padding: 2rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.search-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-bar .search-input {
    flex: 2;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.search-bar .filter-select {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

.search-bar .search-btn {
    padding: 0.75rem 1.5rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

/* STATS BAR */
.stats-bar {
    padding: 1rem 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.stats-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-count {
    font-size: 0.85rem;
    color: #64748b;
}

.sort-select {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

/* PROPERTY BADGES */
.badge-featured {
    background: #f18f01;
    color: white;
}

.badge-new {
    background: #10b981;
    color: white;
}

.badge-reduced {
    background: #ef4444;
    color: white;
}

/* MEDIA ICONS */
.media-icons {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.media-icon {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: white;
}

/* PROPERTY ACTIONS */
.property-actions {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
}

.btn-buy {
    flex: 2;
    padding: 0.6rem;
    background: #f18f01;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-buy:hover {
    background: #e07d00;
    transform: translateY(-2px);
}

.btn-save {
    flex: 1;
    padding: 0.6rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-save:hover {
    background: #fef3c7;
    border-color: #f18f01;
}

.btn-save.saved {
    background: #fef3c7;
    border-color: #f18f01;
    color: #f18f01;
}

.btn-save.saved i {
    color: #f18f01;
    font-weight: 900;
}

/* CIL PACKAGE SECTION */
.cil-package {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.cil-package h4 {
    font-size: 0.8rem;
    color: #0f2b5e;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cil-package p {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.cil-package a {
    font-size: 0.7rem;
    color: #f18f01;
    text-decoration: none;
}

.cil-package a:hover {
    text-decoration: underline;
}

/* SERVICE OPTIONS */
.service-options {
    padding: 4rem 0;
    background: #f8fafc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #f18f01;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.85rem;
    color: #64748b;
}

/* HOW IT WORKS SECTION (SELL PAGE) */
.how-it-works {
    padding: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
}

.step-card .step-number {
    width: 50px;
    height: 50px;
    background: #f18f01;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: #64748b;
}

/* SELLING OPTIONS */
.selling-options {
    padding: 4rem 0;
    background: #f8fafc;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.option-header {
    background: #0f2b5e;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.option-header h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.option-price {
    font-size: 0.85rem;
    opacity: 0.9;
}

.option-body {
    padding: 1.5rem;
}

.option-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.option-body ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #475569;
}

.option-body ul li i {
    color: #10b981;
    width: 18px;
}

.option-btn {
    width: 100%;
    padding: 0.75rem;
    background: #f18f01;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.option-btn:hover {
    background: #e07d00;
}

/* WHY CIL SECTION */
.why-cil {
    padding: 4rem 0;
}

.why-cil .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.why-cil .benefit-item {
    text-align: center;
    padding: 1rem;
}

.why-cil .benefit-icon {
    width: 60px;
    height: 60px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #f18f01;
    font-size: 1.5rem;
}

.why-cil .benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.why-cil .benefit-item p {
    font-size: 0.8rem;
    color: #64748b;
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: 4rem 0;
    background: #f8fafc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.testimonial-card i.fa-quote-left {
    font-size: 2rem;
    color: #f18f01;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
}

.author-info h5 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.7rem;
    color: #64748b;
}

/* FAQ SECTION */
.faq-section {
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #0f2b5e;
}

.faq-item p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0 4rem;
}

.cta-banner h3 {
    color: #b45309;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: #92400e;
    margin-bottom: 2rem;
}

/* RESPONSIVE FOR BUY/SELL PAGES */
@media (max-width: 1024px) {
    .service-grid,
    .options-grid,
    .why-cil .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar .search-input,
    .search-bar .filter-select,
    .search-bar .search-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .buy-hero h1,
    .sell-hero h1 {
        font-size: 2rem;
    }

    .service-grid,
    .options-grid,
    .why-cil .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-actions {
        flex-direction: column;
    }

    .btn-buy,
    .btn-save {
        width: 100%;
        text-align: center;
    }

    .cil-package {
        text-align: center;
    }

    .cil-package h4 {
        justify-content: center;
    }
}

/* Hero with Sign In */
.hero {
    background: linear-gradient(135deg, #0f2b5e 0%, #1e4a7a 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🏠';
    position: absolute;
    bottom: -50px;
    right: -50px;
    font-size: 20rem;
    opacity: 0.05;
    pointer-events: none;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.5;
    max-width: 600px;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-signin {
    flex: 1;
    max-width: 400px;
}

.signin-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
}

.signin-card h3 {
    font-size: 1.5rem;
    color: #0f2b5e;
    margin-bottom: 0.25rem;
    text-align: center;
}

.signin-card p {
    color: #64748b;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.signin-card .form-group {
    margin-bottom: 1rem;
}

.signin-card .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.signin-card .form-control:focus {
    outline: none;
    border-color: #f18f01;
    box-shadow: 0 0 0 3px rgba(241, 143, 1, 0.1);
}

.signin-card .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.8rem;
}

.signin-card .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #475569;
}

.signin-card .checkbox-label input {
    width: 1rem;
    height: 1rem;
    accent-color: #f18f01;
}

.signin-card .forgot-link {
    color: #f18f01;
    text-decoration: none;
}

.signin-card .forgot-link:hover {
    text-decoration: underline;
}

.btn-signin {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f18f01 0%, #f59e0b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(241, 143, 1, 0.3);
}

.signin-card .divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.signin-card .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.signin-card .divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #94a3b8;
    font-size: 0.8rem;
}

.btn-create {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    background: transparent;
    border: 2px solid #f18f01;
    color: #f18f01;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.btn-create:hover {
    background: #f18f01;
    color: white;
}

.partner-link {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.partner-link a {
    display: inline-block;
    color: #64748b;
    font-size: 0.8rem;
    text-decoration: none;
    margin: 0.25rem 0;
}

.partner-link a:hover {
    color: #f18f01;
}

/* Alert */
.hero-alert {
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: none;
    font-size: 0.85rem;
}

.hero-alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-signin {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .signin-card {
        padding: 1.5rem;
    }
}