body {
    background: #f8f9fa;
	width:100%;
    /*width: calc(100% - 90px);*/
}



.admin-dashboard {
    display: flex;
}

.sidebar {
    width: 240px;
    background-color: #343a40;
    color: white;
    padding: 20px;
    position: fixed; /* Fix the sidebar */
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto; /* Add scroll when sidebar content exceeds the viewport */
    z-index: 999; /* Ensure sidebar stays above other elements */
}

.sidebar .menu {
    margin-top: 20px; /* Leave space for the navbar */
}

.sidebar .menu ul {
    padding-left: 0;
    list-style: none;
}

.sidebar .menu li {
    margin: 10px 0;
}

.sidebar .menu a {
    color: white;
    text-decoration: none;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
}

.sidebar .menu a.active {
    background-color: #495057; /* Same background color as hover */
    color: white; /* Ensure text remains visible */
}

.sidebar .menu a:hover {
    background-color: #495057; /* Hover background */
    color: white; /* Ensure text is visible */
}


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

.sidebar-icon {
    align-items: center;    
    vertical-align: middle; /* Align with the text */
}

.btn-view-price {
    background: #b72126;
    border: none;
    color: #ffffff;
    padding: 5px;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 25px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.btn-view-price:hover {

    background-color: #218838;
}


.btn-view-price svg {
    margin-right: 10px; /* Space between icon and text */
}

.sales-summary {

    background-color: #343a40;
    padding: 20px;
    color: #ffff;
    border-radius: 10px;
    margin-top: 25px;
}

.menu h3 {
    font-size: 14px;
    margin-top: 20px;
    color: #adb5bd;
    text-transform: uppercase;
}

.menu ul {
    list-style-type: none;
    padding: 0;
}

.menu li {
    margin: 10px 0;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 10px 5px;
}

.menu li a:hover {
    background-color: #495057;
    padding-left: 10px;
    transition: all 0.3s;
}

.content {
    padding: 40px; /* Add padding around the content */
    background: #f8f9fa;
    z-index: 100;
    position: relative;
    margin-left: 270px; /* Leave space for the sidebar */
    margin-right: 0; /* Remove extra margin to make it full width */
    margin-top: 90px; /* Adjust margin from the top */
    margin-bottom: 40px; /* Add bottom margin */
    width: calc(100% - 200px); /* Full width minus the sidebar */
}

.content-header {
    margin-bottom: 30px;
}

.content-header h1 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

/* Cards container */
.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.card, .analytics-card {
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Full-width card for Total Sales */
.card.total-sales {
    grid-column: span 1;
}

/* Grid for side-by-side layout of Available, Reserved, Pending, and Sold */
.card-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card h3, .card h4 {
    margin: 0 0 10px 0;
}

.card p.subheading {
    font-size: 12px;
    color: #999; /* Light gray for the subheading */
    margin-top: -5px;
    margin-bottom: 10px;
    font-weight: normal;
}


/* Google Analytics */
.google-analytics {
    margin-top: 40px;
}

/* Top row: Realtime Users and All Users side by side */
.analytics-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.analytics-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realtime-users {
    border-left: 5px solid #28a745; /* Green for Realtime Users */
}

.all-users {
    border-left: 5px solid #ffc107; /* Yellow for All Users */
}

.available-card{

    border-left: 5px solid #b72126; /* Red for Available Card */
}

.pending-card{

    border-left: 5px solid #b72126; /* Red for Pending Card */
}


.reserved-card{

    border-left: 5px solid #b72126; /* Red for Reserved Card */
}



.sold-card{

    border-left: 5px solid #b72126; /* Red for Sold Card */
}


/* Bottom row: Page Views full width */
.page-views-full {
    grid-column: span 2;
    border-left: 5px solid #007bff; /* Blue for Page Views */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-views-full canvas {
    width: 100%;
    height: auto;
}

.analytics-card h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.analytics-card p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Large Page Views card */
.analytics-card.page-views-large {
    flex: 1;
    min-height: 250px;
}

#pageViewsChart {
    width: 100%;
    height: 100%;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background-color: #495057;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
}

.percentage {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
    margin-top: 10px;
}

.icon-units, .icon-available, .icon-pending, .icon-reserved, .icon-sold, .icon-add-unit, .icon-leads, .icon-signups, .icon-agents, .icon-shortlists, .icon-settings, .icon-images, .icon-extras, .icon-data, .icon-email, .icon-menu, .icon-chat {
    margin-right: 8px;
}

/* Add Units - Button Css */
        .header-top-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px; /* Adjust as needed for space */
        }

        .btn-add-unit {
            display: inline-flex;
            align-items: center;
            padding: 12px 22px;
            color: white;
            background-color: #dc3545; /* Red background */
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: bold;
            text-decoration: none;
            transition: all 0.25s ease-in-out; /* Smooth transition for color and size */
            cursor: pointer;
            white-space: nowrap; /* Prevent text from wrapping */
        }

        .btn-add-unit .fas {
            margin-right: 8px; /* Space between icon and text */
        }

        .btn-add-unit:hover {
            background-color: #28a745; /* Green background on hover */
            transform: scale(1.05);   /* "Zoom in" animation on hover */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Optional: add a subtle shadow on hover */
        }

        /* Add Units - Button Css End*/
