/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * SPDX-License-Identifier: MIT
 */

.update-schema-button-container {
  // Position and layout
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-schema-button {
  // Size and spacing
  width: auto;
  min-width: 120px;
  height: 44px;
  padding: 12px 24px;

  // Typography
  font-size: 14px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;

  // Background and borders
  background: #667eea;
  border: none;
  border-radius: 8px;

  // Shadow and effects
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);

  // Interaction states
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  // Prevent text selection
  user-select: none;
  -webkit-user-select: none;

  // Hover state - subtle enhancement
  &:hover {
    background: #5a6fd8;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5), 0 3px 6px rgba(0, 0, 0, 0.15);
  }

  // Active/Click state - gentle press effect
  &:active {
    background: #4c5bc4;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  // Button content styling
  .button-content {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}
