.admin-dashboard nav#tabsheet {
    background-color: rgba(120,70,120,1);
    height:100%;
    padding-top:1em;
    overflow: hidden;
    border-right:1px solid silver;
}
.admin-dashboard nav#tabsheet .decor-a {
    left:0;
    top:0;
    width:2000px;
    height:350px;
    background-color: rgba(148, 104, 148, 0.5);
    border:1px solid rgba(255,255,255,0.15);
    position: absolute;
    transform-origin: 50%;
    transform: translate(-50%, 150%) rotate(60deg);
}
.admin-dashboard nav#tabsheet .decor-b {
    left:0;
    top:0;
    width:800px;
    height:800px;
    background-color: rgba(168, 114, 168, 0.5);
    border:1px solid rgba(255,255,255,0.15);
    position: absolute;
    transform-origin: 50%;
    transform: translate(-20%, 70%) rotate(-30deg);
}
.admin-dashboard nav#tabsheet .decor-c {
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: linear-gradient(15deg, rgba(220,170,220,1) 0%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 100%);
}
.admin-dashboard nav#tabsheet button {
    justify-content: left;
    color:white;
    height:1.5em;
    width:auto;
    padding:1em;        
    border-radius:0px;
    background-color: var(--ppg-dashboard-button-face);
    text-align: left;
}
.admin-dashboard nav#tabsheet button:hover {
    background-color: var(--ppg-dashboard-button-hover);
    cursor:pointer;
}
.admin-dashboard nav#tabsheet button .emoji {
    filter:grayscale(1);
    order:0;
}
.admin-dashboard nav#tabsheet button div {
    padding-left:1em;
    order:1;
}
.admin-dashboard nav#tabsheet button.active {
    background-color: rgba(255,100,255,0.25);
}

.admin-dashboard table.list tr th {
    background: purple;
    color:white;
    padding:0.1em 0.3em;    
}

.admin-dashboard table.list tr:hover:not(.selected) td {    
    background: rgba(200, 128, 200, 0.5);
    color:black;
}
.admin-dashboard table.list tr:not(.selected):nth-child(odd):hover td {
    background: rgba(200, 128, 200, 0.5);
    color:black;
}

.admin-dashboard h2 {    
    border-color:darkviolet;      
}

.admin-dashboard h2[data-target]::before {
    color:rgb(177, 126, 177);    
}
.admin-dashboard h2[data-target].active::before {
    color:rgb(177, 126, 177);
}

.admin-dashboard #menu-top-bar {
    align-items: center;
    gap: 0.25em;
    position: relative;
}

.admin-dashboard #admin-week-badge-host {
    position: relative;
    height: 0;
    width: 100%;
}

.admin-dashboard #admin-week-badge {
    display: flex;
    align-items: center;
    gap: 0.55em;
    padding: 0 0.9em;
    box-sizing: border-box;
    height: 32px;
    color: #f6eaff;
    background: linear-gradient(135deg, rgba(180, 120, 200, 0.8), rgba(80, 40, 120, 1));
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    position: absolute;

    margin-top: 10px;
    margin-right: 5px;
    border-radius: 16px;

    top: 0;
    right: 0;
    z-index: 2;
}

.admin-dashboard #admin-week-badge .week-label {
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
}

.admin-dashboard #admin-week-badge .week-pill {
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 2px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(180, 120, 200, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.admin-dashboard #admin-week-badge .week-prefix {
    font-size: 0.75em;
    opacity: 0.9;
}

.admin-dashboard #admin-week-badge .week-number {
    font-size: 1.1em;
}

.admin-dashboard #admin-week-badge .week-year {
    font-size: 0.75em;
    letter-spacing: 0.16em;
    opacity: 0.9;
}

.admin-dashboard .ip-tools {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    max-width: 800px;
    padding: 1em;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(120,80,140,0.08));
    border-radius: 6px;
}
.admin-dashboard .ip-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 0.6em;
}
.admin-dashboard .ip-label {
    font-weight: 600;
}
.admin-dashboard .ip-control {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
}
.admin-dashboard .ip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
}
.admin-dashboard .ip-actions button {
    width: auto;
    white-space: nowrap;
}
.admin-dashboard .ip-row input[type="text"],
.admin-dashboard .ip-row select {
    min-width: 220px;
    padding: 0.4em 0.6em;
}
.admin-dashboard .ip-row.whitelist {
    align-items: flex-start;
}
.admin-dashboard #admin-whitelist {
    flex: 1;
    min-height: 2.4em;
    padding: 0.6em 0.75em;
    background: rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    word-break: break-all;
}
.admin-dashboard .whitelist-list {
    display: flex;
    flex-direction: column;
    gap: 0.45em;
}
.admin-dashboard .whitelist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75em;
    padding: 0.35em 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}
.admin-dashboard .whitelist-item:last-child {
    border-bottom: 0;
}
.admin-dashboard .whitelist-ip {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.95em;
}
.admin-dashboard .whitelist-meta {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.7);
}
.admin-dashboard .whitelist-current {
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: purple;
    box-shadow: 0 1px 3px rgba(140, 80, 160, 0.35);
}
.admin-dashboard .whitelist-actions button {
    width: auto;
}
