.tabbed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #333;
    padding: 0;
}

.tab-list {
    display: flex;
    background-color: #2a2a2a;
    border-bottom: 2px solid #ff66fa;
    padding: 0;
}

.tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    color: #bbb;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.tab:hover {
    background-color: #333;
    color: #ff66fa;
}

.tab.active {
    color: #ff66fa;
    border-bottom-color: #ff66fa;
    background-color: #1a1a1a;
}

.tabs-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

/* Cabinet Grid */
.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cabinet-member {
    background-color: #2a2a2a;
    padding: 20px;
    border-left: 3px solid #ff66fa;
    border-radius: 4px;
    text-align: center;
}

.cabinet-member img.province-flag {
    width: 108px !important;
    height: auto !important;
    max-width: 108px !important;
    max-height: 108px !important;
    display: block;
    margin: 0 auto 12px auto;
    object-fit: contain;
    border: 2px solid #ff66fa;
    border-radius: 4px;
    background-color: #1a1a1a;
    padding: 4px;
    box-sizing: border-box;
    min-width: 0 !important;
    min-height: 0 !important;
}

.cabinet-member h3 {
    color: #ff66fa;
    margin-bottom: 10px;
    font-size: 16px;
}

.cabinet-member p {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 5px;
}

.cabinet-member .title {
    color: #ff66fa;
    font-weight: 600;
    margin-top: 10px;
}

/* Seatmap */
.seatmap {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #ff66fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    color: #bbb;
    text-align: center;
}

/* Section styling */
.government-section h2 {
    color: #ff66fa;
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.government-section p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Body and layout fixes */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.flex {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 120px);
}

.navigation-sidebar {
    width: 200px;
    background-color: #1a1a1a;
    border-right: 2px solid #ff66fa;
    padding: 20px 0;
    flex-shrink: 0;
}

.tabs-content {
    background-color: #1a1a1a;
    color: #333;
}
