/* Shared New UI Styles */
body.dashboard-layout {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100vh;
    flex-shrink: 0;
}
.sidebar-logo {
    padding: 24px;
    border-bottom: 1px solid transparent;
}
.sidebar-logo img {
    height: 32px;
}
.sidebar-nav {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 0;
}
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}
.sidebar-link i {
    width: 24px;
    margin-right: 12px;
    font-size: 16px;
    color: #6c757d;
}
.sidebar-link:hover, .sidebar-link.active {
    background-color: #f1f8f5;
    color: #008a45;
}
.sidebar-link.active {
    border-left-color: #008a45;
    background-color: #008a45;
    color: white;
    border-radius: 0 8px 8px 0;
    margin-right: 16px;
}
.sidebar-link.active i {
    color: white;
}
.sidebar-badge {
    margin-left: auto;
    background-color: #008a45;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
}
.sidebar-promo {
    margin: 24px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}
.sidebar-promo h6 {
    font-weight: 700;
    margin-bottom: 8px;
    color: #008a45;
}
.sidebar-promo p {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 16px;
}
.sidebar-promo .btn {
    width: 100%;
    background-color: #008a45;
    color: white;
    font-weight: 500;
}

/* Dashboard Main */
.dashboard-main-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.dashboard-header {
    height: 72px;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
}
.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.dashboard-header-right .btn-outline {
    border: 1px solid #e9ecef;
    color: #008a45;
    background: transparent;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
}
.dashboard-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 32px;
    background-color: #f8f9fa;
}

/* Dashboard Cards */
.top-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.stat-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.stat-box-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.stat-box-icon.stations { background: #e8f5e9; color: #008a45; }
.stat-box-icon.listings { background: #e3f2fd; color: #1976d2; }
.stat-box-icon.favourites { background: #f3e5f5; color: #8e24aa; }
.stat-box-icon.reviews { background: #fff3e0; color: #f57c00; }
.stat-box-icon.messages { background: #e0f2f1; color: #00796b; }
.stat-box-info h3 { font-size: 24px; font-weight: 700; margin: 0 0 4px 0; }
.stat-box-info p { font-size: 13px; color: #6c757d; margin: 0 0 8px 0; }
.stat-box-info a { font-size: 12px; color: #008a45; text-decoration: none; font-weight: 500; }

.welcome-banner {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.welcome-banner h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.welcome-banner p { color: #6c757d; font-size: 14px; max-width: 500px; line-height: 1.6; }
.welcome-banner-img { width: 250px; }

/* Map Search Layout */
body.search-layout {
    margin: 0; padding: 0; display: flex; flex-direction: column; height: 100vh; overflow: hidden;
}
.search-header {
    height: 70px; border-bottom: 1px solid #e9ecef; display: flex; align-items: center; padding: 0 24px; justify-content: space-between;
}
.search-header-nav { display: flex; gap: 24px; }
.search-header-nav a { color: #495057; text-decoration: none; font-weight: 500; }
.search-header-nav a.active { color: #008a45; border-bottom: 2px solid #008a45; padding-bottom: 23px; }

.search-filters-bar {
    height: 60px; background: #ffffff; border-bottom: 1px solid #e9ecef; display: flex; align-items: center; padding: 0 24px; gap: 16px;
}
.search-filters-bar .input-group, .search-filters-bar select { border-radius: 8px; border: 1px solid #e9ecef; padding: 8px 12px; }
.search-filters-bar .btn-search { background: #008a45; color: white; border-radius: 8px; padding: 8px 24px; border: none; font-weight: 500;}

.search-main {
    display: flex; flex-grow: 1; overflow: hidden;
}
.search-sidebar {
    width: 280px; background: #ffffff; border-right: 1px solid #e9ecef; overflow-y: auto; padding: 20px;
}
.search-results {
    width: 450px; background: #f8f9fa; border-right: 1px solid #e9ecef; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px;
}
.search-map-container {
    flex-grow: 1; position: relative;
}
#searchMap { width: 100%; height: 100%; }

/* Station Card */
.station-card { background: #ffffff; border: 1px solid #e9ecef; border-radius: 12px; padding: 16px; }
.station-card-top { display: flex; justify-content: space-between; margin-bottom: 12px; }
.station-card-brand { display: flex; gap: 12px; }
.station-card-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; border: 1px solid #f1f3f5; }
.station-card-info h4 { font-size: 16px; margin: 0 0 4px 0; font-weight: 600; }
.station-card-info p { font-size: 13px; color: #6c757d; margin: 0; }
.station-card-meta { text-align: right; }
.badge-featured { background: #e8f5e9; color: #008a45; font-size: 11px; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
.station-distance { font-size: 13px; color: #008a45; font-weight: 600; display: block; margin-top: 4px; }
.station-rating { font-size: 13px; color: #6c757d; display: block; margin-top: 4px; }
.station-rating i { color: #ffb300; }

.station-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag-pill { background: #f8f9fa; border: 1px solid #e9ecef; font-size: 11px; padding: 4px 10px; border-radius: 12px; color: #495057; font-weight: 500; }
.tag-pill.dc { color: #008a45; background: #e8f5e9; border-color: #c8e6c9; }

.station-card-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #f1f3f5; }
.station-amenities { display: flex; gap: 12px; color: #adb5bd; }
.btn-view-details { border: 1px solid #008a45; color: #008a45; background: transparent; padding: 6px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; }
