@charset "UTF-8";
/* BasinLens Common Styles */

/* 基础和排版样式 */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro SC', 'SF Pro Text', 'PingFang SC', SegoeUI, 'Segoe UI', 'Microsoft YaHei UI',
    'Microsoft YaHei', Roboto, 'Noto Sans', 'Noto Sans CJK SC', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'SF Pro Icons', 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

body:not(.content-loaded) {
  opacity: 0;
}

/*  - **H1**: `text-3xl`, `font-bold`, `black`
  - **H2**: `text-2xl`, `font-bold`, `text-gray-950`
  - **H3**: `text-xl`, `font-semibold`, `text-gray-900`
  - **H4**: `text-lg`, `font-semibold`, `text-gray-800`
  - **H5**: `text-base`, `font-medium`, `text-gray-700`
  - **H6**: `text-sm`, `font-medium`, `text-gray-600`
*/

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: inherit;
}
h1 {
  font-size: 1.875rem; /* 3xl */
  font-weight: 700; /* bold */
  color: #000; /* black */
}
h2 {
  font-size: 1.5rem; /* 2xl */
  font-weight: 700; /* bold */
  color: #1f2937; /* text-gray-950 */
}
h3 {
  font-size: 1.25rem; /* xl */
  font-weight: 600; /* semibold */
  color: #111827; /* text-gray-900 */
}
h4 {
  font-size: 1.125rem; /* lg */
  font-weight: 600; /* semibold */
  color: #374151; /* text-gray-800 */
}
h5 {
  font-size: 1rem; /* base */
  font-weight: 500; /* medium */
  color: #4b5563; /* text-gray-700 */
}
h6 {
  font-size: 0.875rem; /* sm */
  font-weight: 500; /* medium */
  color: #6b7280; /* text-gray-600 */
}

a,
button {
  cursor: pointer;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* 表单元素样式 */
input::placeholder,
textarea::placeholder {
  color: #9ca3af;
  font-size: 0.875rem; /* text-sm */
  font-weight: 300;
}

select {
  background-color: transparent;
}

input[type='checkbox']:disabled {
  cursor: not-allowed !important;
  opacity: 0.6;
}

/* 加载和动画效果 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.loading.active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(249, 115, 22, 0.2);
  border-top-color: #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.content-loading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-loading .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(249, 115, 22, 0.2);
  border-top-color: #f97316;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 特定组件样式 */
.watermarked {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.watermarked::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("http://img.bslcdn.com/web/watermark-v3.svg");
  background-repeat: repeat;
  background-size: 360px 180px;
  transform: rotate(-30deg);
  opacity: 1.0;
  pointer-events: none;
  z-index: -1;
}

/* 功能类 */
.z-60 {
  z-index: 60;
}
.z-70 {
  z-index: 70;
}
.z-80 {
  z-index: 80;
}
.z-90 {
  z-index: 90;
}
.z-100 {
  z-index: 100;
}
.z-110 {
  z-index: 110;
}
.z-200 {
  z-index: 200;
}

.leading-11 {
  line-height: 2.75rem;
}
.leading-12 {
  line-height: 3rem;
}

/* Amazon相关样式 */
.amz-rating-star {
  color: #ff6200;
}
.amz-rating-bar {
  background-color: #ff6200;
}
.amz-badge-amazons-choice {
  border-radius: 4px !important;
  display: inline-flex;
  color: #FFF;
  white-space: nowrap;
  padding: 2px 6px !important;
  background-color: #161D26 !important;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
}
.amz-badge-best-seller {
  border-radius: 4px !important;
  display: inline-flex;
  color: #FFF;
  white-space: nowrap;
  padding: 2px 6px !important;
  background-color: #D14900 !important;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
}
.amz-badge-common {
  border-radius: 4px !important;
  display: inline-flex;
  color: #FFF;
  white-space: nowrap;
  padding: 2px 6px !important;
  background-color: #ffa41c !important;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
}