/* Floating Zoom Widget Component Styles */
.zoom-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.zoom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--chat-background, #fff);
    border: 1px solid var(--border-color-hex, #e1e5e9);
    border-radius: 50%;
    color: var(--chat-text, #333);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.zoom-widget:hover .zoom-icon {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--chat-background, #fff);
    border: 1px solid var(--border-color-hex, #e1e5e9);
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    position: absolute;
    right: 0;
    backdrop-filter: blur(10px);
}

.zoom-widget:hover .zoom-controls {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.zoom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 4px 6px;
    background: transparent;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 1px;
    position: relative;
}

.zoom-btn:hover {
    background: var(--code-highlight, rgba(0, 123, 255, 0.1));
    transform: translateY(-1px);
}

.zoom-btn:active {
    transform: translateY(0);
}

.zoom-widget-font-size {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    color: var(--chat-text, #333);
    line-height: 1;
    transition: color 0.2s ease;
}

.zoom-widget-font-size.small {
    font-size: 11px;
}

.zoom-widget-font-size.medium {
    font-size: 16px;
}

.zoom-widget-font-size.large {
    font-size: 20px;
}

.zoom-btn.reset {
    border-left: 1px solid var(--border-color-hex, #e1e5e9);
    border-right: 1px solid var(--border-color-hex, #e1e5e9);
    margin: 0 2px;
}

/* Theme-specific enhancements */
.theme-dark .zoom-icon,
.theme-dark .zoom-controls {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.theme-light .zoom-icon:hover,
.theme-light .zoom-controls {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}