/* EV Charging Directory Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Layout Containers */
.archive-container,
.city-container,
.single-container,
.search-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.content-wrapper {
    min-width: 0;
}

/* Sidebar Styles */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1eb5a6;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.widget ul li:before {
    content: "▸";
    color: #1eb5a6;
    position: absolute;
    left: 0;
}

.widget a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #1eb5a6;
}

/* City Page Styles */
.city-header {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.city-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.city-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 25px;
}

.city-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
}

.city-stat {
    text-align: center;
}

.city-stat-number {
    font-size: 2em;
    font-weight: 700;
    color: #1eb5a6;
    display: block;
}

.city-stat-label {
    color: #666;
    font-weight: 500;
}

/* Single Listing Page Styles */
.single-listing {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.station-name {
    font-size: 2.2em;
    font-weight: 700;
    color: #2c3e50;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-maintenance {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.listing-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 30px;
}

.details-section {
    display: grid;
    gap: 25px;
}

.detail-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.detail-card h3 {
    color: #2c3e50;
    font-size: 1.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.detail-card h3 i {
    color: #1eb5a6;
    margin-right: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: #1eb5a6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 1.1em;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 2px;
}

.detail-value {
    color: #333;
    font-size: 1.1em;
}

.detail-value a {
    color: #1eb5a6;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.map-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1em;
    border: 2px dashed #dee2e6;
}

.connectors-section {
    margin-top: 30px;
}

.connectors-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.connectors-section h2 i {
    color: #1eb5a6;
    margin-right: 10px;
}

.connectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.connector-card {
    background: white;
    border: 2px solid #1eb5a6;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(30, 181, 166, 0.1);
}

.connector-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #2c3e50;
}

.connector-title i {
    color: #1eb5a6;
    margin-right: 10px;
}

.connector-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.spec-label {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 3px;
    font-weight: 500;
}

.spec-value {
    font-weight: 700;
    color: #333;
}

/* Archive Page Styles */
.archive-header {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    text-align: center;
}

.archive-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.archive-description {
    color: #666;
    font-size: 1.1em;
}

.filters-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.filters-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.filters-section h3 i {
    color: #1eb5a6;
    margin-right: 10px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.filter-select:focus {
    outline: none;
    border-color: #1eb5a6;
    box-shadow: 0 0 0 3px rgba(30, 181, 166, 0.1);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.listing-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: #1eb5a6;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3e50;
}

.card-details {
    display: grid;
    gap: 10px;
}

.card-detail {
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: #666;
}

.card-detail i {
    width: 20px;
    margin-right: 10px;
    color: #1eb5a6;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.breadcrumb a {
    color: #1eb5a6;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
    margin: 0 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .archive-container,
    .city-container,
    .single-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .listing-content {
        grid-template-columns: 1fr;
    }
    
    .city-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .connectors-grid {
        grid-template-columns: 1fr;
    }
    
    .connector-specs {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

.quick-info-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #1eb5a6;
    margin-bottom: 10px;
}

.sidebar-stats {
    display: grid;
    gap: 15px;
}

.sidebar-stat {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #1eb5a6;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: #1eb5a6;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
}
