/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #F3F4F6;
    color: #1E293B;
}


/* ================= NAVBAR ================= */

.navbar {
    background: white;
    padding: 18px 100px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
}

.logo-icon {
    background: #2563EB;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #1E293B;
    font-weight: 500;
    
}

.nav-buttons {
    display: flex;
    gap: 20px;
    margin-left: 30px; 
}


.btn-outline {
    padding: 8px 18px;
    border: 1px solid #2563EB;
    border-radius: 25px;
    text-decoration: none;
    color: #2563EB;
}

.btn-primary {
    padding: 10px 22px;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    color: white;
    border-radius: 25px;
    text-decoration: none;
}


/* ================= HERO ================= */

.hero {
    padding: 100px 20px 60px;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: auto;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
}

.hero span {
    color: #2563EB;
}

.hero p {
    margin-top: 25px;
    font-size: 18px;
    color: #6B7280;
}


/* ================= SEARCH BOX ================= */

.search-box {
    margin-top: 50px;
    background: white;
    padding: 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.search-item input,
.search-item select {
    padding: 14px 18px;
    border: none;
    background: #dee1e4;
    border-radius: 18px;
    outline: none;
}

.search-box input,
.search-box select {
    border: none !important;
    outline: none !important;
    background: #dee1e4;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 14px;
    width: 220px;
    appearance: none;
}

.search-box input:focus,
.search-box select:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


.divider {
    width: 1px;
    height: 45px;
    background: #E5E7EB;
    margin: 0 18px;
}

.search-btn {
    padding: 14px 30px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-left: 20px;
}


/* ================= CATEGORIES ================= */

.categories {
    padding: 70px 120px 100px;
}

.categories-container {
    display: flex;
    gap: 40px;
}

.category-card {
    flex: 1;
    padding: 85px 20px;
    text-align: center;
    border-radius: 32px;
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-12px);
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    font-weight: 600;
}

.pg { background: #EAF2FF; }
.pg p { color: #2563EB; }

.hostel { background: #EDEBFF; }
.hostel p { color: #6D28D9; }

.apartment { background: #E7F6EF; }
.apartment p { color: #059669; }

.shared { background: #F8EFE6; }
.shared p { color: #EA580C; }

.corporate { background: #F3E9FF; }
.corporate p { color: #9333EA; }


/* ================= FEATURED SECTION ================= */

.featured {
    padding: 100px 8%;
    background: #F8FAFC;
}

.featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.featured-top h2 {
    font-size: 34px;
    font-weight: 700;
}

.featured-top a {
    text-decoration: none;
    font-weight: 600;
    color: #2563EB;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.property-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
}

.property-img {
    position: relative;
}

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

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

.verified-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #16A34A;
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
}

.property-content {
    padding: 24px;
}

.title-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.title-rating h3 {
    font-size: 18px;
    font-weight: 600;
}

.rating {
    background: #FFF7ED;
    color: #F97316;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.location {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price .amount {
    font-size: 22px;
    font-weight: 700;
    color: #2563EB;
}

.price .month {
    font-size: 14px;
    color: #6B7280;
}

.view-btn {
    background: #0F172A;
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.view-btn:hover {
    background: #2563EB;
}

/* ================= WHY SECTION ================= */

.why {
    padding: 100px 8%;
    text-align: center;
}

.why-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.why-header p {
    color: #6B7280;
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    background: #F9FAFC;
    padding: 50px 30px;
    border-radius: 20px;
}

.why-icon {
    font-size: 40px;
    margin-bottom: 20px;
}


/* ================= TESTIMONIALS ================= */

.testimonials {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: white;
    padding: 100px 8%;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    text-align: left;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-user span {
    font-size: 14px;
    color: #94A3B8;
}


/* ================= CTA SECTION ================= */

.cta {
    margin: 120px 8% 120px 8%;   /* 👈 bottom margin added */
    padding: 100px 20px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    border-radius: 40px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}


.cta-content {
    max-width: 800px;
    margin: auto;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-light {
    background: white;
    color: #2563EB;
    padding: 15px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
}

.btn-dark {
    background: #1E40AF;
    color: white;
    padding: 15px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
}


/* ================= FOOTER ================= */

.footer {
    background: #0F172A;
    color: #CBD5E1;
    padding: 80px 8% 40px 8%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #CBD5E1;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-col a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: #2563EB;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons div {
    background: rgba(255,255,255,0.08);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

/* PERFECT FIGMA MATCH */

.auth-page {
    height: 100vh;              /* force full screen */
    overflow: hidden;           /* remove scroll */
    background: linear-gradient(180deg, #f9fafb 0%, #eef2ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
}

.auth-logo .logo-icon {
    background: #2563eb;
    color: white;
    padding: 8px 14px;
    border-radius: 12px;
}

.auth-card {
    width: 460px;               /* widened */
    background: white;
    padding: 48px;
    border-radius: 28px;
    border: 1px solid #e5e7eb;  /* subtle border added */
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 8px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 32px;
}

.row {
    display: flex;
    gap: 14px;
}

.field {
    width: 100%;
    margin-bottom: 22px;
}

.field label {
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
    color: #6b7280;
    display: block;
    margin-bottom: 8px;
}

.field input {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    border: none;
    background: #f3f4f6;
    font-size: 14px;
}

.field input:focus {
    outline: 2px solid #2563eb;
    background: white;
}

.terms {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 28px;
}

.create-btn {
    width: 100%;
    padding: 18px;              /* slightly bigger */
    border-radius: 18px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    color: white;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    transition: 0.2s ease;
}

.create-btn:hover {
    transform: translateY(-2px);
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 28px 0 20px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #9ca3af;
    white-space: nowrap;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}


.divider::before {
    margin-right: 15px;
}

.divider::after {
    margin-left: 15px;
}

.social {
    display: flex;
    gap: 14px;
}

.social-btn {
    flex: 1;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: white;
    font-weight: 500;
    cursor: pointer;
}

.login-link {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6fb;
}

/* Wrapper */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo */
.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
}

/* Card */
.auth-card {
    background: white;
    width: 400px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.auth-card h2 {
    margin: 0;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: gray;
    margin-bottom: 30px;
}

/* Fields */
.field {
    margin-bottom: 20px;
}

.field label {
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-row a {
    font-size: 12px;
    color: #2563eb;
    text-decoration: none;
}

/* Button */
.primary-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.primary-btn:hover {
    background: #1d4ed8;
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    font-size: 12px;
    color: gray;
}

/* Social Buttons */
.social-row {
    display: flex;
    gap: 10px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.social-btn:hover {
    background: #f3f4f6;
}

/* Bottom Text */
.bottom-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.bottom-text a {
    color: #2563eb;
    text-decoration: none;
}


.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 28px 0 20px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #9ca3af;
    white-space: nowrap;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}


.alert-success {
    background: #e6f4ea;
    color: #137333;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-error {
    background: #fdecea;
    color: #b3261e;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}


/* ===== Terms Checkbox Styling ===== */

.terms-row {
    margin-top: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.terms-row input[type="checkbox"] {
    margin-top: 4px;
    width: 15px;
    height: 15px;
    accent-color: #2563eb;
    cursor: pointer;
}

.terms-label {
    font-size: 13px;        /* 👈 thoda chhota */
    line-height: 1.4;
    color: #555;
    max-width: 100%;
}

.terms-label a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;    /* 👈 Policy break nahi hoga */
}

.terms-label a:hover {
    text-decoration: underline;
}


/* ===== Legal Pages ===== */
/* ===== Legal Pages - Enterprise Style ===== */

.legal-wrapper {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background: #f5f7fb;
}

.legal-card {
    background: #ffffff;
    width: 820px;
    max-height: 700px;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.legal-card h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.effective-date {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
}

.legal-content {
    overflow-y: auto;
    padding-right: 12px;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}

/* Section headings */
.legal-content h2 {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/* Paragraph spacing */
.legal-content p {
    margin-top: 10px;
}

/* Custom Scrollbar */
.legal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 6px;
}

.legal-content::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Button Section */
.legal-actions {
    margin-top: 25px;
    text-align: center;
}

.secondary-btn {
    padding: 12px 24px;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: #1e4ed8;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .legal-card {
        width: 100%;
        max-height: none;
        height: auto;
    }

    .legal-content {
        overflow: visible;
    }
}



/* ===== Dashboard Layout ===== */

.dashboard-layout {
    display: flex;
    height: 100vh;
    background: #f5f7fb;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #111827;
    color: white;
    padding: 30px 20px;
}

.sidebar .logo {
    margin-bottom: 40px;
}

.sidebar nav a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 15px;
    padding: 8px;
    border-radius: 6px;
}

.sidebar nav a:hover {
    background: #1f2937;
    color: white;
}

/* Main */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar {
    background: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Content */
.content-area {
    padding: 30px;
    overflow-y: auto;
}

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

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.stat-card h4 {
    font-size: 14px;
    color: #6b7280;
}

.stat-card p {
    font-size: 22px;
    font-weight: 600;
}

/* Table */
.dashboard-table {
    background: white;
    padding: 20px;
    border-radius: 12px;
}

.dashboard-table table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.dashboard-table th {
    background: #f8f9fb;
    font-weight: 600;
}

/* Section Spacing */
.dashboard-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #111827;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.page-header p {
    color: #6b7280;
}

/* Stats */
.stat-card span {
    font-size: 13px;
    color: #6b7280;
}

.stat-card h3 {
    font-size: 24px;
    margin-top: 8px;
}

/* Quick Actions */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Status */
.status {
    font-weight: 500;
}


/* Graph Grid */
.graph-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.graph-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Better Stat Cards */
.stat-card {
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

/* Status Badges */

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* ================= OWNER DASHBOARD ONLY ================= */

/* Improve content spacing */
.dashboard-layout .content-area {
    padding: 40px 50px;
}

/* Better stat cards */
.dashboard-layout .stat-card {
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.dashboard-layout .stat-card:hover {
    transform: translateY(-6px);
}

/* Clean section titles */
.dashboard-layout .section-title {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Quick actions spacing */
.dashboard-layout .action-buttons {
    margin-top: 10px;
}

/* Primary button full width look better */
.dashboard-layout .primary-btn {
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
}

/* Secondary buttons modern */
.dashboard-layout .secondary-btn {
    border-radius: 12px;
    background: white;
    border: 1px solid #e5e7eb;
}

.dashboard-layout .secondary-btn:hover {
    background: #f1f5f9;
}

/* Improve table look */
.dashboard-layout .dashboard-table {
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.dashboard-layout .dashboard-table th {
    font-size: 13px;
    color: #6b7280;
    padding-bottom: 14px;
}

.dashboard-layout .dashboard-table td {
    padding: 16px 0;
}

/* Cleaner status badges */
.dashboard-layout .status-badge {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
}
/* Fix secondary buttons on owner dashboard */

.dashboard-layout .secondary-btn {
    background: #e0ecff;
    color: #1e3a8a;
    border: none;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
}

.dashboard-layout .secondary-btn:hover {
    background: #c7dbff;
}
/* Owner Dashboard Premium Stat Cards */

.dashboard-layout .stat-card:nth-child(1) {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.dashboard-layout .stat-card:nth-child(2) {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
}

.dashboard-layout .stat-card:nth-child(3) {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.dashboard-layout .stat-card:nth-child(4) {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.dashboard-layout .stat-card h3 {
    font-size: 26px;
    font-weight: 700;
}
/* Sidebar Active State */

.sidebar nav a[href="/dashboard/"] {
    background: #1f2937;
    color: white;
    font-weight: 600;
}
.dashboard-layout .dashboard-table {
    border-radius: 18px;
    overflow: hidden;
}

.dashboard-layout table tr:hover {
    background: #f9fafb;
}
/* ===== Final Premium Touch - Owner Dashboard ===== */

.dashboard-layout {
    background: #eef2f7;
}

/* Stronger stat numbers */
.dashboard-layout .stat-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

/* Make stat labels clearer */
.dashboard-layout .stat-card span {
    font-weight: 500;
    color: #475569;
}

/* Strong Add Property Button */
.dashboard-layout .primary-btn {
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.dashboard-layout .primary-btn:hover {
    transform: translateY(-2px);
}

/* Improve table contrast */
.dashboard-layout .dashboard-table {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Softer row hover */
.dashboard-layout table tr:hover {
    background: #f1f5f9;
}
/* Better stat card alignment */

.dashboard-layout .stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
}

/* Tighten section spacing */
.dashboard-layout .dashboard-section {
    margin-bottom: 35px;
}

/* Improve heading spacing */
.dashboard-layout .section-title {
    margin-bottom: 18px;
}

/* Slightly reduce card corner roundness */
.dashboard-layout .stat-card {
    border-radius: 14px;
}
/* ===== Owner Dashboard Premium Polish ===== */

.dashboard-layout .content-area {
    padding: 40px 45px;
}

/* Section Titles Cleaner */
.dashboard-layout .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 22px;
}

/* Stat Cards More Premium */
.dashboard-layout .stat-card {
    padding: 28px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.dashboard-layout .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.06);
}

/* Quick Action Main Button Stronger */
.dashboard-layout .btn-primary,
.dashboard-layout .action-buttons a:first-child {
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

/* Secondary Buttons Softer */
.dashboard-layout .action-buttons a {
    background: #e8eefc;
    color: #1e3a8a;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 500;
    transition: 0.2s ease;
}

.dashboard-layout .action-buttons a:hover {
    background: #dbe5ff;
}

/* Table Card Improvement */
.dashboard-layout .dashboard-table {
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.04);
}

/* Table Header Cleaner */
.dashboard-layout th {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #6b7280;
}
/* ===== Fix Add Property Size ===== */

.dashboard-layout .content-area a[href*="add"] {
    display: inline-block;   /* block hata diya */
    width: auto;             /* full width nahi */
    padding: 12px 22px;
    border-radius: 12px;
}
/* ===== Topbar User Section ===== */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.topbar .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2563EB;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
/* ===== Quick Actions Layout Fix ===== */

.dashboard-layout .action-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 15px;
}

/* All action buttons same base style */
.dashboard-layout .action-buttons a {
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Primary Button */
.dashboard-layout .action-buttons a:first-child {
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Secondary Buttons */
.dashboard-layout .action-buttons a:not(:first-child) {
    background: #e8eefc;
    color: #1e3a8a;
}

/* Hover effect */
.dashboard-layout .action-buttons a:hover {
    transform: translateY(-2px);
}
.dashboard-layout .stat-card h3 {
    font-size: 28px;
    font-weight: 700;
}
.sidebar nav a.active {
    background: #1f2937;
    position: relative;
}

.sidebar nav a.active::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 4px;
    background: #2563EB;
    border-radius: 4px;
}
.dashboard-layout .stat-card {
    border-top: 4px solid rgba(0,0,0,0.05);
}
.dashboard-layout .stat-card:nth-child(1) { border-top: 4px solid #6366f1; }
.dashboard-layout .stat-card:nth-child(2) { border-top: 4px solid #06b6d4; }
.dashboard-layout .stat-card:nth-child(3) { border-top: 4px solid #f59e0b; }
.dashboard-layout .stat-card:nth-child(4) { border-top: 4px solid #22c55e; }
.dashboard-layout .dashboard-table table tr:hover {
    background: #f3f6ff;
}
.dashboard-layout {
    background: #eef2f7;
}
.dashboard-layout .stat-card h3 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.dashboard-layout .stat-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    transform: translateY(-6px);
}

/* ===== Topbar User + Logout ===== */

.user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
}

.logout-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

.logout-btn:hover {
    background: #fecaca;
}

.logout-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #ef4444;
    background: transparent;
    color: #ef4444;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.logout-btn:hover {
    background: #ef4444;
    color: white;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.user-section {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ================= DASHBOARD TOPBAR IMPROVED ================= */

.topbar {
    background: #ffffff;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eef0f4;
}

.topbar h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}


/* ===== User Section ===== */

.user-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Avatar */
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

/* Username */
.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Logout Button */
.logout-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #ef4444;
    background: transparent;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-1px);
}
.topbar {
    height: 70px;
}

.user-section {
    margin-right: 10px;
}
/* ===== Notification Bell ===== */

.notification-wrapper {
    position: relative;
    cursor: pointer;
    font-size: 18px;
    color: #374151;
}

.notification-bell {
    transition: 0.2s ease;
}

.notification-bell:hover {
    color: #2563eb;
}

/* Red dot */
.notification-dot {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}
/* ===== Notification Bell ===== */

.notification-wrapper {
    position: relative;
    cursor: pointer;
}

.notification-bell {
    font-size: 18px;
    color: #374151;
    position: relative;
    padding: 6px;
}

.notification-bell:hover {
    color: #2563eb;
}

/* Red dot */
.notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

/* Dropdown */
.notification-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    width: 240px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 12px 0;
    display: none;
    z-index: 1000;
}

.notification-dropdown.active {
    display: block;
}

.dropdown-title {
    font-size: 13px;
    font-weight: 600;
    padding: 0 16px 8px;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 8px;
}

.notification-item {
    padding: 8px 16px;
    font-size: 13px;
    transition: 0.2s;
}

.notification-item:hover {
    background: #f5f7fa;
}

.notification-wrapper {
    position: relative;
    margin-right: 8px;
}

.notification-bell {
    font-size: 18px;
    color: #374151;
    position: relative;
    padding: 6px;
    cursor: pointer;
}

.notification-bell:hover {
    color: #2563eb;
}

/* Red dot */
.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

/* Dropdown aligned properly */
.notification-dropdown {
    position: absolute;
    top: 42px;
    right: 0;
    width: 260px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    padding: 10px 0;
    display: none;
    z-index: 9999;
    animation: dropdownFade 0.15s ease;
}

.notification-dropdown.active {
    display: block;
}

/* Smooth animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-title {
    font-size: 13px;
    font-weight: 600;
    padding: 0 16px 8px;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 8px;
}

.notification-item {
    padding: 10px 16px;
    font-size: 13px;
    transition: 0.2s;
}

.notification-item:hover {
    background: #f5f7fa;
}
.notification-dropdown {
    position: absolute;
    top: 48px;              /* thoda aur niche */
    right: -10px;           /* thoda right adjust */
    width: 260px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    padding: 12px 0;
    display: none;
    z-index: 9999;
    border: 1px solid #f1f1f1;
}

/* small arrow effect */
.notification-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #f1f1f1;
    border-top: 1px solid #f1f1f1;
}
.notification-wrapper {
    position: relative;
    margin-right: 15px;
}

.notification-bell {
    position: relative;
    font-size: 18px;
    cursor: pointer;
}

/* Unread count badge */
.notification-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50px;
    font-weight: 600;
}

/* Dropdown */
.notification-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 270px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 10px 0;
    display: none;
    z-index: 9999;
}

.notification-dropdown.active {
    display: block;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px 10px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 13px;
    font-weight: 600;
}

.mark-read-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: #2563eb;
    cursor: pointer;
}

.notification-item {
    padding: 10px 15px;
    font-size: 13px;
}

.notification-item:hover {
    background: #f5f7fa;
}

.profile-card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.user-menu {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1000;
}

.user-dropdown.active {
    display: flex;
}

.dropdown-user-name {
    padding: 10px 15px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.user-dropdown a {
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.user-dropdown a:hover {
    background: #f5f5f5;
}

.dropdown-logout {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-logout:hover {
    background: #f5f5f5;
}

.profile-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.profile-card-modern {
    background: white;
    width: 650px;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.profile-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-avatar-modern {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-badge-modern {
    background: #eef2ff;
    color: #4f46e5;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 6px;
    display: inline-block;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.profile-item label {
    font-size: 13px;
    color: #777;
    display: block;
    margin-bottom: 5px;
}

.profile-item p {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    margin: 0;
}

.profile-action {
    text-align: right;
}

.edit-btn-modern {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.edit-btn-modern:hover {
    opacity: 0.9;
}
.dashboard-section {
    padding: 40px 60px;
}

.profile-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.profile-card-modern {
    background: #ffffff;
    width: 720px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
    transition: 0.3s ease;
}

.profile-card-modern:hover {
    transform: translateY(-3px);
}

.profile-header-modern {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.profile-avatar-modern {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    font-size: 30px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 35px;
}

.profile-item label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.profile-item p {
    font-size: 17px;
    font-weight: 600;
    color: #111;
}

.edit-btn-modern {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
}

.edit-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.3);
}

.profile-page-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.account-summary-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 350px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.account-summary-card h3 {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 15px;
}
.summary-item strong {
    color: #4f46e5;
}
.main-content {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.account-summary-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    width: 360px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.06);
    border: 1px solid #f1f1f1;
}

.profile-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.settings-wrapper {
    max-width: 850px;
    margin-top: 40px;
}

.settings-title {
    margin-bottom: 30px;
}

.settings-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.settings-card h3 {
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.photo-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.photo-preview {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-item a {
    color: #4f46e5;
    text-decoration: none;
}

.settings-action {
    text-align: right;
}

.save-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}
/* ================= SETTINGS WRAPPER ================= */

.settings-wrapper {
    max-width: 900px;
    margin-top: 50px;
}

.settings-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* ================= SETTINGS CARD ================= */

.settings-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.settings-card h3 {
    margin-bottom: 25px;
    font-size: 18px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
}

/* ================= FORM GRID ================= */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.2s ease;
}

.form-group input:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

/* ================= PROFILE PHOTO ================= */

.photo-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.photo-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-size: 26px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-btn {
    background: #f3f4f6;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: 0.2s ease;
}

.upload-btn:hover {
    background: #e5e7eb;
}

/* ================= SECURITY SECTION ================= */

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-desc {
    font-size: 12px;
    color: #777;
    margin: 4px 0 0 0;
}

.link-btn {
    color: #4f46e5;
    font-weight: 500;
    text-decoration: none;
}

.link-btn:hover {
    text-decoration: underline;
}

/* ================= DANGER ZONE ================= */

.danger-zone {
    border: 1px solid #fee2e2;
    background: #fff7f7;
}

.danger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.danger-btn {
    background: #ef4444;
    color: white;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

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

/* ================= SAVE BUTTON ================= */

.settings-action {
    text-align: right;
    margin-top: 20px;
}

.save-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.3);
}

/* Center content properly */
.settings-wrapper {
    max-width: 950px;
    margin: 60px auto;   /* center horizontally */
}

/* Improve card spacing */
.settings-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.06);
    margin-bottom: 35px;
}

/* Improve section spacing */
.settings-card h3 {
    margin-bottom: 30px;
    font-size: 19px;
    font-weight: 600;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 12px;
}

/* Improve form spacing */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Improve Save Button Position */
.settings-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Slight background improvement */
.main-content {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.photo-preview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

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

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #10b981;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-avatar-modern {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-letter-modern {
    color: white;
    font-size: 40px;
    font-weight: 600;
}
.profile-avatar-modern {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-letter-modern {
    color: white;
    font-size: 40px;
    font-weight: 600;
}

.avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-circle span {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.photo-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.view-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: #374151;
    border: 1px solid #d1d5db;
    transition: 0.2s;
}

.view-btn:hover {
    background: #e5e7eb;
}

.upload-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.upload-btn:hover {
    transform: translateY(-2px);
}
.photo-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.security-desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.disabled-btn {
    padding: 8px 16px;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    cursor: not-allowed;
}

.security-divider {
    border: none;
    height: 1px;
    background: #e5e7eb;
}
.security-btn {
    padding: 10px 18px;
    background: linear-gradient(135deg,#5b5cf0,#4338ca);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.security-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67,56,202,0.25);
}

.danger-zone {
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.danger-zone h3 {
    color: #b91c1c;
}

.danger-btn {
    background: #ef4444;
    color: white;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

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

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.cancel-btn {
    padding: 8px 16px;
    background: #e5e7eb;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.confirm-danger-btn {
    padding: 8px 16px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

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

.toast-message {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #111827;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

.security-btn {
    padding: 10px 18px;
    background: #4f46e5;   /* Solid color use karo */
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    opacity: 1 !important;
}

.security-btn:hover {
    background: #4338ca;
}
.settings-card {
    opacity: 0.8;
}
.disabled-btn {
    background: #e5e7eb;
    color: #374151;
    font-weight: 500;
    opacity: 1;
}

.password-form {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    width: 100%;
}

.password-form .form-group {
    margin-bottom: 15px;
    width: 100%;
}

.password-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    outline: none;
}

.password-form input:focus {
    border-color: #4f46e5;
}

.password-form {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.password-form .form-group {
    margin-bottom: 15px;
}

.password-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    outline: none;
}

.password-form input:focus {
    border-color: #4f46e5;
}

.password-submit {
    margin-top: 10px;
}
.password-form {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
}

.password-form.active {
    max-height: 500px;
    margin-top: 20px;
}

.password-form {
    display: none;
}
.password-form.active {
    display: block;
}
.password-field {
    position: relative;
}
.password-field input {
    width: 100%;
    padding: 12px 40px 12px 12px;
}
.toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.sidebar nav a.active {
    background: rgba(99,102,241,0.15);
    color: #6366f1;
    font-weight: 600;
    border-left: 4px solid #6366f1;
}

/* ================= UNIVERSAL AVATAR ================= */

.avatar-circle,
.photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.avatar-circle img,
.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Small topbar version */
.topbar .avatar-circle {
    width: 40px;
    height: 40px;
    border-width: 2px;
}

/* ================= PROFILE AVATAR MODERN ================= */

.profile-avatar-modern {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

/* Image inside circle */
.profile-avatar-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Letter fallback */
.avatar-letter-modern {
    font-size: 40px;
    font-weight: 600;
    color: #6366f1;
}

.dashboard-form-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 700px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b5bdb;
}

.toggle-group {
    margin-top: 10px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.cancel-btn {
    padding: 10px 18px;
    border-radius: 8px;
    background: #e5e7eb;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.primary-btn {
    padding: 12px 28px;
    border-radius: 8px;
    background: linear-gradient(90deg,#2563eb,#1d4ed8);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-group {
    margin-top: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.checkbox-row {
    margin-top: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

.cancel-btn {
    padding: 10px 18px;
    border-radius: 8px;
    background: #e5e7eb;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.primary-btn {
    padding: 12px 30px;
    border-radius: 10px;
    background: linear-gradient(90deg,#2563eb,#1d4ed8);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-inline input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card img {
    border-radius: 12px 12px 0 0;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-content {
    padding: 15px;
}
.required-star {
    color: red;
    font-weight: bold;
    margin-left: 4px;
}

/* ================= PROPERTY PAGE DESIGN ================= */

.property-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.property-left {
    display: flex;
    gap: 18px;
    align-items: center;
}

.property-icon {
    font-size: 32px;
    background: #f1f3ff;
    padding: 14px;
    border-radius: 12px;
}

.property-card h3 {
    margin: 0;
    font-size: 18px;
}

.property-card h3 a {
    text-decoration: none;
    color: #1f2d3d;
    font-weight: 600;
}

.property-card h3 a:hover {
    color: #3b5bdb;
}

.location {
    color: #6c757d;
    font-size: 14px;
    margin-top: 4px;
}

.rent {
    font-weight: 600;
    margin-top: 6px;
}

.rooms {
    font-size: 14px;
    color: #495057;
}

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

/* Buttons */

.btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.edit-btn {
    background: #eef2ff;
    color: #3b5bdb;
}

.archive-btn {
    background: #ffe3e3;
    color: #c92a2a;
}

.add-room-btn {
    background: linear-gradient(135deg, #4c6ef5, #3b5bdb);
    color: white;
}

.restore-btn {
    background: #d3f9d8;
    color: #2b8a3e;
}

.btn:hover {
    opacity: 0.85;
}

.property-card.archived {
    opacity: 0.75;
}

/* Section spacing */

.dashboard-section {
    margin-top: 40px;
}

.section-title {
    margin-bottom: 20px;
}

/* Muted text */

.muted-text {
    color: #6c757d;
    font-size: 14px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

.page-header p {
    color: #6c757d;
}

.property-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #f1f3f5;
    transition: 0.3s ease;
}

.btn {
    font-weight: 500;
}

.add-room-btn {
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
}
.property-card {
    padding: 18px 24px;
}

.property-card h3 {
    font-size: 17px;
}

.location,
.rooms {
    font-size: 13px;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header .primary-btn {
    padding: 10px 20px;
    border-radius: 10px;
}
.dashboard-content {
    background: linear-gradient(to bottom, #f8f9fa, #eef1f5);
    padding: 40px;
    min-height: 100vh;
}
.property-card {
    border: 1px solid #f1f3f5;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.12);
}
.btn {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s ease;
}
.section-title {
    text-align: left;
    font-size: 20px;
    margin-bottom: 20px;
}

.property-card {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar a.active {
    background: rgba(67, 97, 238, 0.15);
    border-left: 4px solid #4361ee;
}

.image-preview {
    margin-bottom: 12px;
}

.image-preview img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* ===== Professional Form Styling ===== */

.form-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #fff;
    transition: 0.2s ease;
}

.form-input:focus {
    border-color: #4361ee;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67,97,238,0.1);
}

.custom-file-input {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #fff;
}

.form-checkbox {
    width: 18px;
    height: 18px;
}
.image-preview-container {
    margin-bottom: 12px;
}

.image-preview-container img {
    width: 240px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f5;
}

.remove-image-btn {
    margin-top: 8px;
    background: #ffe3e3;
    color: #c92a2a;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}

.remove-image-btn:hover {
    background: #ffc9c9;
}
/* ===== Room Page Upgrade ===== */

.image-preview-container img {
    width: 240px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f5;
    margin-bottom: 12px;
}

/* Toggle styling */
.toggle-group {
    margin-top: 10px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* ===== Input with Prefix ===== */
.input-with-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.prefix {
    padding: 10px 12px;
    background: #f8f9fa;
    font-weight: 600;
}

.input-with-prefix input {
    border: none;
    padding: 10px;
    width: 100%;
}

.input-with-prefix input:focus {
    outline: none;
}

/* ===== Input with Icon ===== */
.input-with-icon {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.icon {
    padding: 10px 12px;
    background: #f8f9fa;
}

.input-with-icon input {
    border: none;
    padding: 10px;
    width: 100%;
}

/* ===== Instagram Toggle Switch ===== */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 26px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}

.switch input:checked + .slider {
    background-color: #4361ee;
}

.switch input:checked + .slider:before {
    transform: translateX(24px);
}

/* ===== Save Button Premium ===== */
.save-room-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s ease;
}

.save-room-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67,97,238,0.3);
}

.booking-page {
    padding: 30px;
}

.page-header {
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-card h4 {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 22px;
    font-weight: bold;
}

.table-wrapper {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.booking-table {
    width: 100%;
    border-collapse: collapse;
}

.booking-table th,
.booking-table td {
    padding: 12px;
    text-align: left;
}

.booking-table thead {
    background-color: #f5f6fa;
}

.booking-table tbody tr {
    border-bottom: 1px solid #eee;
}

.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.badge.confirmed {
    background-color: #d4edda;
    color: #155724;
}

.badge.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.btn {
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    margin-right: 5px;
}

.btn.confirm {
    background-color: #28a745;
    color: #fff;
}

.btn.cancel {
    background-color: #dc3545;
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #777;
}

.table-wrapper {
    margin-top: 30px;
    padding: 25px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.booking-table th {
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.booking-table td {
    font-size: 14px;
    padding: 16px 12px;
}

.booking-table tbody tr:hover {
    background-color: #f8f9fc;
}
.confirm-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    transition: 0.3s ease;
}

.confirm-btn:hover {
    opacity: 0.85;
}

.cancel-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    margin-left: 6px;
    transition: 0.3s ease;
}

.cancel-btn:hover {
    opacity: 0.85;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 700;
}

.page-header p {
    color: #888;
    margin-top: 5px;
}
/* 🔵 Highlight Add Property when no pending */
.highlight-add {
    background-color: #2461E9 !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

/* 🔴 Red alert when pending exists */
.secondary-btn.alert-btn {
    background-color: #ff4d4d !important;
    color: white !important;
    border: none !important;
}

.secondary-btn.alert-btn:hover {
    background-color: #e60000 !important;
}

/* ================= TENANT EXPLORE PAGE – CLEAN VERSION ================= */

.tenant-explore-wrapper {
    margin-top: 30px;
}

.tenant-explore-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.tenant-explore-header p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 40px;
}

/* GRID */

.tenant-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    gap: 32px;
    justify-content: flex-start;
}

/* CARD */

.tenant-explore-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.tenant-explore-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(to bottom, #2461E9, #1e4fd8);
    border-radius: 10px;
}

.tenant-explore-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.09);
}
/* TITLE */
.tenant-explore-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.tenant-explore-location {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 14px;
}

.tenant-explore-rooms {
    font-size: 14px;
    color: #334155;
    margin-bottom: 12px;
}

.tenant-explore-price {
    display: inline-block;
    background: rgba(36, 97, 233, 0.12);
    color: #1e4fd8;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
}

.tenant-explore-btn {
    background: linear-gradient(135deg, #2461E9, #1e4fd8);
    color: white;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tenant-explore-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(36, 97, 233, 0.35);
}
.tenant-explore-content {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.dashboard-content {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

/* ================= PROPERTY DETAIL PAGE ================= */

.property-detail-wrapper {
    padding: 40px 0;
}

/* HEADER */

.property-header {
    margin-bottom: 35px;
}

.property-title {
    font-size: 26px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.property-location {
    font-size: 14px;
    color: #64748b;
}

/* SECTION */

.rooms-section {
    margin-top: 10px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #334155;
}

/* ROOM GRID */
/* ================= ROOM GRID ================= */

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    gap: 32px;
    justify-content: flex-start;
}

/* ================= ROOM CARD (Same as Property Card) ================= */

.room-card {
    position: relative;
    background: #ffffff;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.09);
}

/* LEFT BLUE ACCENT LINE (Like Property Card) */

.room-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(to bottom, #2461E9, #1e4fd8);
    border-radius: 10px;
}

/* ROOM TITLE */

.room-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}

/* DETAILS */

.room-details p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 6px;
}

/* RENT BADGE (Same pill style as property price) */

/* ===== ROOM RENT BASE ===== */

.room-rent {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
}

/* AVAILABLE → GREEN */

.rent-available {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

/* FULL → RED */

.rent-full {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* ACTION AREA */

.room-action {
    margin-top: 20px;
}

/* BOOK BUTTON (Same style as property button) */

.book-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2461E9, #1e4fd8);
    color: white;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(36, 97, 233, 0.35);
}

/* FULLY BOOKED */

.fully-booked {
    display: inline-block;
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
}
/* NO ROOM MESSAGE */

.no-room-msg {
    grid-column: 1 / -1;
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    color: #64748b;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.room-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

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

/* ================= ROOM DETAIL PAGE ================= */

.room-page-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 50px 30px;
}

.room-layout {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* LEFT IMAGE */

.room-image-section {
    flex: 1.3;
    min-width: 420px;
}

.room-main-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.room-main-image:hover {
    transform: scale(1.03);
}

.no-image {
    height: 520px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
}

/* RIGHT CARD */

.room-details-section {
    flex: 1;
    min-width: 360px;
}

.room-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.room-title {
    font-size: 32px;
    margin-bottom: 18px;
}

.room-price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2563eb;
}

.room-meta {
    margin-bottom: 8px;
    font-size: 17px;
}

.room-divider {
    margin: 25px 0;
}

.features-title {
    margin-bottom: 12px;
}

.features-list {
    padding-left: 20px;
    line-height: 30px;
    font-size: 15px;
    color: #475569;
}

/* BUTTON */

.book-button {
    display: block;
    margin-top: 30px;
    text-align: center;
    padding: 16px;
    background: #2563eb;
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(37,99,235,0.4);
    transition: 0.3s ease;
}

.book-button:hover {
    background: #1d4ed8;
}

/* FULLY BOOKED */

.fully-booked-badge {
    margin-top: 30px;
    padding: 16px;
    text-align: center;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 600;
    border-radius: 14px;
}

/* IMAGE MODAL */

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-modal:not(.active) {
    display: none;
}

.modal-image {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* ===== ROOM DETAIL PAGE UPGRADE ===== */

.room-page-wrapper {
    max-width: 1250px;
    margin: auto;
    padding: 60px 40px;
}

.room-layout {
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* LEFT IMAGE */

.room-image-section {
    flex: 1.3;
    min-width: 450px;
}

.room-main-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 24px;
    transition: 0.4s ease;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.room-main-image:hover {
    transform: scale(1.02);
}

/* RIGHT CARD */

.room-details-section {
    flex: 1;
    min-width: 380px;
}

.room-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

/* TEXT STYLING */

.room-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.room-price {
    font-size: 26px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 18px;
}

.room-meta {
    font-size: 17px;
    margin-bottom: 10px;
    color: #475569;
}

.room-divider {
    margin: 30px 0;
    border: none;
    height: 1px;
    background: #e2e8f0;
}

.features-title {
    margin-bottom: 15px;
    font-weight: 600;
}

.features-list {
    padding-left: 20px;
    line-height: 32px;
    font-size: 16px;
    color: #64748b;
}

/* BUTTON */

.book-button {
    display: block;
    margin-top: 35px;
    text-align: center;
    padding: 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 15px 35px rgba(37,99,235,0.4);
}

.book-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(37,99,235,0.5);
}

/* FULLY BOOKED */

.fully-booked-badge {
    margin-top: 35px;
    padding: 18px;
    text-align: center;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 600;
    border-radius: 16px;
}

/* PAGE BACKGROUND SOFT LOOK */

.content-area {
    background: linear-gradient(to bottom, #f8fafc, #eef2f7);
    padding: 30px;
    border-radius: 20px;
}

/* ===== ROOM DETAIL PAGE ===== */

.room-page-wrapper {
    max-width: 1250px;
    margin: auto;
    padding: 60px 40px;
}

.room-layout {
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* LEFT IMAGE */

.room-image-section {
    flex: 1.3;
    min-width: 450px;
}

.room-main-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 24px;
    transition: 0.4s ease;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    cursor: pointer;
}

.room-main-image:hover {
    transform: scale(1.02);
}

/* NO IMAGE */

.no-image-box {
    height: 550px;
    background: #f1f5f9;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
}

/* RIGHT CARD */

.room-details-section {
    flex: 1;
    min-width: 380px;
}

.room-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

/* TEXT */

.room-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.room-price {
    font-size: 26px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 18px;
}

.room-meta {
    font-size: 17px;
    margin-bottom: 10px;
    color: #475569;
}

.room-divider {
    margin: 30px 0;
    border: none;
    height: 1px;
    background: #e2e8f0;
}

.features-title {
    margin-bottom: 15px;
    font-weight: 600;
}

.features-list {
    padding-left: 20px;
    line-height: 32px;
    font-size: 16px;
    color: #64748b;
}

/* BUTTON */

.book-button {
    display: block;
    margin-top: 35px;
    text-align: center;
    padding: 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 15px 35px rgba(37,99,235,0.4);
}

.book-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(37,99,235,0.5);
}

/* FULLY BOOKED */

.fully-booked-badge {
    margin-top: 35px;
    padding: 18px;
    text-align: center;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 600;
    border-radius: 16px;
}

/* NICE BACKGROUND */

.content-area {
    background: linear-gradient(to bottom, #f8fafc, #eef2f7);
    padding: 40px;
    border-radius: 20px;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 20px;
}

.notification-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 50px;
    font-weight: 600;
}

.notification-dropdown {
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 10px 0;
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    z-index: 1000;
}

.notification-dropdown.active {
    display: block;
}

.notification-item {
    padding: 12px 18px;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.2s;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-item.unread {
    background: #eef4ff;
    border-left: 4px solid #2563eb;
}

.notif-message {
    font-size: 14px;
    font-weight: 500;
}

.notif-time {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.notification-item.empty {
    text-align: center;
    color: #888;
}

.room-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.edit-btn {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s ease;
}

.edit-btn:hover {
    transform: translateY(-2px);
}

.delete-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s ease;
}

.delete-btn:hover {
    background: #b91c1c;
}

.form-container {
    max-width: 600px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.primary-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.secondary-btn {
    background: #e5e7eb;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: black;
}

.role-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
}

.role-row label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    min-width: 100px;
}

.role-row select {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f4f6fb;
}
.tenant-explore-owner {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

.owner-label {
    font-weight: 600;
    color: #222;
}