/* Page Switcher Component */

.page-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: #333;
    padding: 0 15px;
    height: 50px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
    z-index: 999;
    position: relative;
}

.page-switcher-left {
    display: flex;
    align-items: center;
    gap: 0; /* No gap since title has its own margin via ::after */
}

.page-switcher-title {
    font-size: 1em;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
}

/* divider after title */
.page-switcher-title::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 60%;
    background-color: #607080; /* slightly lighter than title color #333 */
    margin: 0 12px;
    vertical-align: middle;
}

.page-switcher-right {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Add divider before navigation */
.page-switcher-right::before {
    content: "";
    display: block;
    width: 1px;
    height: 60%;
    background-color: #e0e0e0;
    margin-right: 4px;
}

.page-switcher-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #F1F1F1;
    border-radius: 4px;
    padding: 4px;
    height: 38px;
}

.page-switcher-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 38px;
    margin-left: 0; /* No margin since title's ::after provides spacing */
    margin-right: 12px; /* Add space before the divider */
    padding-left: 0;
}

.page-switcher-actions .btn {
    height: 30px;
    font-size: 0.8em;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    border: 1.5px solid #d0d0d0;
    background-color: #ffffff;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-switcher-actions .btn:hover {
    border-color: #102b7c;
}

.page-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background-color: transparent;
    color: #666;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.page-switcher-btn:hover {
    /* hover intentionally neutralized: no visual change on hover */
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}

.page-switcher-btn:hover i,
.page-switcher-btn:hover * {
    color: inherit !important;
    fill: inherit !important;
}

.page-switcher-btn.active {
    color: #102b7c;
    background-color: #fff;
    padding: 5px 6px;
}

.page-switcher-btn i {
    font-size: 1.1em;
}

