/* Wide view mode - activated by toggle */
body.wide-view .wy-nav-content {
    max-width: 1400px !important;  /* Wider but not full width */
}

/* Width toggle button */
.width-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: #2980b9;
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.width-toggle-btn:hover {
    background: #3498db;
    transform: scale(1.1);
}

.width-toggle-btn:active {
    transform: scale(0.95);
}

/* Tooltip */
.width-toggle-btn::after {
    content: attr(title);
    position: absolute;
    right: 54px;
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.width-toggle-btn:hover::after {
    opacity: 1;
}

/* Ensure tables are responsive */
.wy-table-responsive {
    overflow-x: auto;
}

/* Sidebar logo styling - smaller size with light background */
.wy-side-nav-search {
    background-color: #f5f5f5 !important;
}

.wy-side-nav-search > a {
    background-color: transparent !important;
}

.wy-side-nav-search > a img.logo {
    max-width: 120px !important;
    height: auto !important;
    padding: 5px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wy-side-nav-search .wy-dropdown > a,
.wy-side-nav-search > a {
    color: #2c3e50 !important;
}

.wy-side-nav-search input[type="text"] {
    border-color: #ccc !important;
}
