/* Workspace Bottom Bar Styles */
.workspace-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient, linear-gradient(135deg, #1e293b 0%, #0f172a 100%));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 12px 12px 0 0;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 1040;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
}

.workspace-bottom-bar:hover {
    padding-bottom: 10px;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.workspace-bottom-bar .badge-count {
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

/* Bottom Offcanvas Customizations */
#workspaceDrawer.offcanvas-bottom {
    height: 450px;
    width: 900px;
    max-width: 95vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-top: none;
    border-radius: 36px 36px 0 0;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.15);
    overflow: hidden;
}

.workspace-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.workspace-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.workspace-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.workspace-item-info {
    flex-grow: 1;
    overflow: hidden;
}

.workspace-item-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.workspace-item-size {
    font-size: 12px;
    color: #64748b;
}

.workspace-item-actions button {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-left: 5px;
}

/* In-Tool Buttons */
.btn-workspace-select {
    background: #f1f5f9;
    color: #4f46e5;
    border: 1px dashed #cbd5e1;
    transition: all 0.2s ease;
}

.btn-workspace-select:hover {
    background: #e0e7ff;
    border-color: #4f46e5;
    color: #4338ca;
}

.btn-workspace-save {
    background: #10b981;
    color: white;
    transition: all 0.2s ease;
    border: none;
}

.btn-workspace-save:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-close:hover { 
    background-color: #e2e8f0 !important; 
}