/* SCL-90 心理测试 - 响应式样式 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 欢迎页面 */
.welcome-page {
  width: 100%;
  max-width: 800px;
}

.welcome-page h1 {
  text-align: center;
  color: white;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.intro-card h2 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.intro-card p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item .icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  color: #333;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.feature-item p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.instructions {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
}

.instructions h3 {
  color: #856404;
  margin-bottom: 15px;
}

.instructions ul {
  list-style-position: inside;
  color: #856404;
}

.instructions li {
  margin: 10px 0;
  line-height: 1.6;
}

/* 按钮样式 */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: #5a6268;
}

.btn-success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
}

.btn-success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(17, 153, 142, 0.4);
}

.btn-large {
  padding: 15px 50px;
  font-size: 1.2rem;
  display: block;
  margin: 30px auto 0;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* 测试页面 */
.test-page {
  width: 100%;
  max-width: 800px;
}

.progress-bar {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
  color: #667eea;
}

.progress-track {
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.question-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.question-card.slide-in {
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.question-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: #667eea;
}

.question-factor {
  background: #f0f0f0;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
}

.question-text {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.options .option-item {
  animation: fadeInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.options .option-item:nth-child(1) { animation-delay: 0.05s; }
.options .option-item:nth-child(2) { animation-delay: 0.1s; }
.options .option-item:nth-child(3) { animation-delay: 0.15s; }
.options .option-item:nth-child(4) { animation-delay: 0.2s; }
.options .option-item:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.option-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.option-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.option-item:hover {
  background: #e9ecef;
  border-color: #667eea;
  transform: translateX(5px);
}

.option-item:hover::before {
  width: 300px;
  height: 300px;
}

.option-item.selected {
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
  border-color: #667eea;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.option-item.selecting {
  animation: selectPulse 0.25s ease;
}

@keyframes selectPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  }
  100% {
    transform: scale(1.02);
  }
}

.option-item input[type="radio"] {
  margin-right: 15px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.option-label {
  font-size: 1.1rem;
  color: #333;
  flex: 1;
}

.navigation {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.navigation .btn {
  flex: 1;
}

.question-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.keyboard-hints {
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  color: #667eea;
  font-size: 0.9rem;
  animation: fadeIn 0.5s ease;
}

/* 报告页面 */
.report-page {
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.report-page h1 {
  text-align: center;
  color: #667eea;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.report-time {
  text-align: center;
  color: #999;
  margin-bottom: 30px;
}

.summary-card,
.top-issues-card,
.factors-card,
.disclaimer-card {
  margin-bottom: 30px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
}

.summary-card h2,
.top-issues-card h2,
.factors-card h2 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.total-score {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.score-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.score-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 10px;
}

.score-label {
  color: #666;
  font-size: 1rem;
}

.issues-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.issue-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.issue-rank {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.issue-content {
  flex: 1;
}

.issue-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.issue-score {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 5px;
}

.issue-severity {
  font-size: 0.95rem;
  line-height: 1.5;
}

.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.factor-item {
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.factor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.factor-header h3 {
  color: #333;
  font-size: 1.1rem;
}

.factor-score {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}

.factor-bar {
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.factor-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.5s ease;
}

.factor-severity {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}

.factor-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.disclaimer-card {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
}

.disclaimer-card h3 {
  color: #856404;
  margin-bottom: 10px;
}

.disclaimer-card p {
  color: #856404;
  line-height: 1.6;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .welcome-page h1 {
    font-size: 2rem;
  }

  .intro-card {
    padding: 30px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .question-card {
    padding: 25px;
  }

  .question-text {
    font-size: 1.3rem;
  }

  .report-page {
    padding: 25px;
  }

  .report-page h1 {
    font-size: 2rem;
  }

  .factors-grid {
    grid-template-columns: 1fr;
  }
  
  .analyzing-content {
    padding: 40px 25px;
  }
  
  .analyzing-content h2 {
    font-size: 1.5rem;
  }
  
  .answer-sheet-page {
    padding: 25px;
  }
  
  .answer-sheet-page h1 {
    font-size: 1.8rem;
  }
  
  .sheet-summary {
    flex-direction: column;
    gap: 15px;
  }
  
  .answer-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
  }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .welcome-page h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .intro-card {
    padding: 20px;
  }

  .intro-card h2 {
    font-size: 1.4rem;
  }

  .intro-card p {
    font-size: 1rem;
  }

  .feature-item {
    padding: 15px;
  }

  .feature-item .icon {
    font-size: 1.5rem;
  }

  .btn-large {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .question-card {
    padding: 20px;
  }

  .question-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .question-text {
    font-size: 1.1rem;
  }

  .option-item {
    padding: 12px 15px;
  }

  .option-label {
    font-size: 1rem;
  }

  .navigation {
    flex-direction: column;
  }

  .question-nav {
    flex-direction: column;
  }

  .question-nav .btn {
    width: 100%;
  }

  .report-page {
    padding: 20px;
  }

  .report-page h1 {
    font-size: 1.6rem;
  }

  .summary-card,
  .top-issues-card,
  .factors-card,
  .disclaimer-card {
    padding: 20px;
  }

  .total-score {
    grid-template-columns: 1fr;
  }

  .score-value {
    font-size: 2rem;
  }

  .issue-item {
    flex-direction: column;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }
  
  .analyzing-content {
    padding: 30px 20px;
  }
  
  .analyzing-content h2 {
    font-size: 1.3rem;
  }
  
  .loading-spinner {
    width: 60px;
    height: 60px;
  }
  
  .answer-sheet-page {
    padding: 20px;
  }
  
  .answer-sheet-page h1 {
    font-size: 1.6rem;
  }
  
  .sheet-summary {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  
  .summary-item {
    font-size: 1rem;
  }
  
  .answer-grid {
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    gap: 6px;
    padding: 15px;
    max-height: 400px;
  }
  
  .item-number {
    font-size: 0.95rem;
  }
  
  .item-status {
    font-size: 1rem;
  }
  
  .sheet-actions {
    flex-direction: column;
  }
  
  .sheet-actions .btn {
    width: 100%;
  }
  
  .keyboard-hints {
    font-size: 0.8rem;
    padding: 8px;
  }
  
  .payment-card {
    padding: 25px;
  }
  
  .payment-page h1 {
    font-size: 1.6rem;
  }
  
  .price-amount .amount {
    font-size: 2.8rem;
  }
  
  .payment-actions {
    flex-direction: column;
  }
}

/* 打印样式 */
@media print {
  body {
    background: white;
  }

  .container {
    padding: 0;
  }

  .report-page {
    box-shadow: none;
  }

  .actions {
    display: none;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-page,
.test-page,
.report-page {
  animation: fadeIn 0.5s ease;
}

/* 分析中页面 */
.analyzing-page {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.analyzing-content {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.analyzing-content h2 {
  color: #667eea;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.analyzing-content p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.analyzing-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.step {
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  color: #999;
  font-size: 1rem;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.step.active {
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
  color: #667eea;
  border-left-color: #667eea;
  font-weight: 600;
}

/* 支付页面 */
.payment-page {
  width: 100%;
  max-width: 600px;
}

.payment-page h1 {
  text-align: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.payment-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease;
}

.report-preview {
  background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 4px solid #667eea;
}

.report-preview h2 {
  color: #667eea;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.preview-features {
  list-style: none;
  padding: 0;
}

.preview-features li {
  padding: 8px 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.price-section {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #ff6b6b10 0%, #ffa50210 100%);
  border-radius: 12px;
  margin-bottom: 25px;
}

.price-label {
  color: #666;
  font-size: 1rem;
  margin-bottom: 10px;
}

.price-amount {
  margin: 15px 0;
}

.price-amount .currency {
  font-size: 1.5rem;
  color: #ff6b6b;
  font-weight: bold;
  vertical-align: top;
}

.price-amount .amount {
  font-size: 3.5rem;
  color: #ff6b6b;
  font-weight: bold;
  line-height: 1;
}

.price-note {
  color: #999;
  font-size: 0.9rem;
  margin-top: 10px;
}

.order-info {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  color: #666;
  font-size: 0.95rem;
}

.info-row .value {
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.payment-methods h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.payment-method {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-method:hover {
  border-color: #667eea;
  background: #f0f2ff;
}

.payment-method.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.method-icon {
  margin-right: 15px;
  flex-shrink: 0;
}

.method-info {
  flex: 1;
}

.method-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.method-desc {
  font-size: 0.85rem;
  color: #999;
}

.method-check {
  font-size: 1.5rem;
  color: #667eea;
  opacity: 0;
  transition: opacity 0.2s;
}

.payment-method.selected .method-check {
  opacity: 1;
}

.payment-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.payment-actions .btn {
  flex: 1;
}

.btn-pay {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa502 100%);
  font-size: 1.1rem;
  padding: 15px 30px;
}

.btn-pay:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #f0fff4;
  border-radius: 8px;
  color: #52c41a;
  font-size: 0.9rem;
}

/* 答题卡页面 */
.answer-sheet-page {
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.answer-sheet-page h1 {
  text-align: center;
  color: #667eea;
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.sheet-summary {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.summary-item .label {
  color: #666;
}

.summary-item .value {
  font-weight: bold;
  font-size: 1.3rem;
}

.summary-item .answered {
  color: #52c41a;
}

.summary-item .unanswered {
  color: #f5222d;
}

.summary-item .percentage {
  color: #667eea;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
  max-height: 500px;
  overflow-y: auto;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
}

.answer-item {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.answer-item:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.answer-item.unanswered {
  background: #fff;
  border-color: #ff4d4f;
}

.answer-item.answered {
  background: linear-gradient(135deg, #52c41a20 0%, #52c41a10 100%);
  border-color: #52c41a;
}

.answer-item.current {
  border-color: #667eea;
  border-width: 3px;
  box-shadow: 0 0 0 3px #667eea30;
}

.item-number {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.item-status {
  font-size: 1.2rem;
  font-weight: bold;
}

.answer-item.unanswered .item-status {
  color: #ff4d4f;
}

.answer-item.answered .item-status {
  color: #52c41a;
}

.sheet-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-info {
  background: #1890ff;
  color: white;
}

.btn-info:hover {
  background: #40a9ff;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #764ba2;
}
