  /* 自定义样式 */
  .mac-button {
    transition: all 0.2s ease;
}
.mac-button:hover {
    transform: scale(1.1);
}
.table-row:hover {
    background-color: #f9fafb;
}
.nav-item {
    transition: all 0.2s ease;
}
.nav-item:hover {
    background-color: #f3f4f6;
}
.nav-item.active {
    background-color: #dbeafe;
    color: #1d4ed8;
}
.action-button {
    transition: all 0.2s ease;
}
.action-button:hover {
    transform: translateY(-1px);
}
.copy-button {
    transition: all 0.2s ease;
    opacity: 0.7;
}
.copy-button:hover {
    opacity: 1;
    transform: scale(1.1);
}
.copy-success {
    background-color: #10b981 !important;
    color: white !important;
}
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #10b981;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.toast.show {
    transform: translateX(0);
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.modal.show .modal-content {
    transform: scale(1);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .desktop-layout {
        display: none;
    }
    .mobile-layout {
        display: block;
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100vh;
        background: white;
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    .sidebar.open {
        left: 0;
    }
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    .mobile-nav {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .mobile-nav::-webkit-scrollbar {
        display: none;
    }
    .mobile-nav-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .table-mobile {
        display: block;
    }
    .table-desktop {
        display: none;
    }
    .url-card {
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        background: white;
    }
    .toast {
        right: 16px;
        left: 16px;
        width: auto;
    }
    .modal-content {
        margin: 16px;
        width: calc(100% - 32px);
    }
    body.modal-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    .desktop-layout {
        display: flex;
    }
    .mobile-layout {
        display: none !important;
    }
    .table-mobile {
        display: none;
    }
    .table-desktop {
        display: block;
    }
    .sidebar {
        display: none !important;
    }
}

/* 输入框样式优化 */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: #f9fafb;
}
.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.mac-modal-mask {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mac-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  width: 320px;
  padding: 0;
  text-align: center;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1D2129;
  font-size: 16px;
  font-weight: 400;
  box-sizing: border-box;
  overflow: hidden;
}
.mac-modal-header {
  height: 28px;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  padding-left: 16px;
  gap: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.mac-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mac-dot.red { background: #ff5f56; }
.mac-dot.yellow { background: #ffbd2e; }
.mac-dot.green { background: #27c93f; }
.mac-modal-content {
  padding: 16px 16px 0 16px;
  font-size: 16px;
  color: #222;
  min-height: 32px;
  font-weight: 500;
}
.mac-modal-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 16px 0;
  width: 100%;
}
.mac-modal-btn {
  flex: none;
  height: 44px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(64, 128, 255, 0.08);
  padding: 0;
  min-width: 0;
}
.mac-modal-btn.primary {
  background: #4080FF;
  color: #fff;
}
.mac-modal-btn.primary:hover {
  background: #3674eb;
}
.mac-modal-btn.secondary {
  background: #f2f3f5;
  color: #222;
}
.mac-modal-btn.secondary:hover {
  background: #e5e6eb;
}
@media (max-width: 500px) {
  .mac-modal-btn {
    width: 100% !important;
    margin: 0 !important;
  }
  .mac-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
}