/* Station Header */
.ev-station-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #F3F0FF;
}

/* Two Column Equal Layout - 2x2 Grid */
.ev-detail-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

/* Grid positioning for each card */
.ev-col-left {
    grid-column: 1;
    display: contents;
}

.ev-col-right {
    grid-column: 2;
    display: contents;
}

.ev-card {
    /* Cards will auto-flow in grid */
}

/* Modern Breadcrumbs */
.ev-breadcrumbs-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.ev-breadcrumbs-modern a {
    color: #5E42DA;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.ev-breadcrumbs-modern a:hover {
    color: #4A33B8;
    text-decoration: underline;
}

.ev-breadcrumbs-modern .ev-separator {
    color: #9CA3AF;
}

.ev-breadcrumbs-modern .ev-current {
    color: #6B7280;
    font-weight: 500;
}

/* Station Title */
.ev-station-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* Station Badges */
.ev-station-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ev-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.ev-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.ev-badge-purple {
    background: #F3F0FF;
    color: #5E42DA;
    border: 1px solid #E5DEFF;
}

.ev-badge-orange {
    background: #FFF7ED;
    color: #EA580C;
    border: 1px solid #FFEDD5;
}

.ev-badge-green {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #D1FAE5;
}

.ev-badge-success {
    background: #DCFCE7;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

/* List Rows */
.ev-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.2s;
}

.ev-list-row:hover {
    background: #F9FAFB;
}

.ev-list-row:last-child {
    border-bottom: none;
}

.ev-address-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.ev-label {
    color: #6B7280;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ev-label .dashicons {
    color: #9CA3AF;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ev-val {
    color: #1F2937;
    font-weight: 600;
    font-size: 15px;
}

.ev-address-text {
    line-height: 1.5;
    text-align: left;
    max-width: 100%;
}

.ev-text-success {
    color: #059669 !important;
}

/* Brand Display */
.ev-brand-display {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ev-brand-logo {
    height: 32px;
    max-width: 120px;
    object-fit: contain;
}

.ev-brand-text {
    font-weight: 600;
    color: #1F2937;
}

/* Map Card */
.ev-map-card .ev-card-body {
    overflow: hidden;
}

#ev-detail-map {
    border: none;
    height: 450px;
}

.ev-map-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.ev-btn-navigate,
.ev-btn-copy {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.ev-btn-navigate {
    background: #5E42DA;
    color: #fff;
}

.ev-btn-navigate:hover {
    background: #4A33B8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(94, 66, 218, 0.2);
}

.ev-btn-copy {
    background: #fff;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

.ev-btn-copy:hover {
    background: #F9FAFB;
    border-color: #5E42DA;
    color: #5E42DA;
}

/* Socket Cards */
.ev-card-header .ev-socket-count {
    margin-left: auto;
    padding: 6px 12px;
    background: #F3F0FF;
    color: #5E42DA;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
}

.ev-sockets-container {
    display: flex;
    flex-direction: column;
}

.ev-socket-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #F3F4F6;
    transition: all 0.2s;
}

.ev-socket-card:hover {
    background: #F9FAFB;
}

.ev-socket-card:last-child {
    border-bottom: none;
}

.ev-socket-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.ev-socket-ac .ev-socket-icon {
    background: #ECFDF5;
    color: #059669;
}

.ev-socket-dc .ev-socket-icon {
    background: #FFF7ED;
    color: #EA580C;
}

.ev-socket-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.ev-socket-info {
    flex: 1;
}

.ev-socket-type {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
}

.ev-socket-label {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
}

.ev-socket-power {
    text-align: right;
}

.ev-power-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.ev-socket-ac .ev-power-value {
    color: #059669;
}

.ev-socket-dc .ev-power-value {
    color: #EA580C;
}

.ev-power-unit {
    font-size: 11px;
    color: #6B7280;
    font-weight: 600;
}

/* No Data State */
.ev-no-data {
    text-align: center;
    padding: 30px 20px;
    color: #9CA3AF;
}

.ev-no-data .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    opacity: 0.5;
    margin-bottom: 10px;
}

.ev-no-data p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .ev-detail-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .ev-col-left,
    .ev-col-right {
        display: block;
    }
}

@media (max-width: 768px) {
    .ev-station-title {
        font-size: 24px;
    }

    .ev-map-actions {
        flex-direction: column;
    }

    .ev-btn-navigate,
    .ev-btn-copy {
        width: 100%;
    }

    .ev-list-row {
        padding: 10px 14px;
    }

    .ev-sockets-grid {
        grid-template-columns: 1fr;
    }

    #ev-detail-map {
        height: 280px;
    }
}
