.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: #f5f5f5;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
}

.icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.iconSuccess {
  color: #2e7d32;
}

.iconError {
  color: #d32f2f;
}

.iconNeutral {
  color: #4b5563;
}

.title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.message {
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}

.loadingExtra {
  color: #6b7280;
  margin-top: 12px;
  font-size: 14px;
}

.errorBox {
  margin-top: 20px;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 8px;
  padding: 16px;
  color: #c62828;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
  text-align: left;
}

@media (prefers-color-scheme: dark) {
  .page {
    background: #1a1a1a;
    color: #e0e0e0;
  }

  .card {
    background: #2d2d2d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #e5e7eb;
    border-color: #374151;
  }

  .iconSuccess {
    color: #66bb6a;
  }

  .iconError {
    color: #ef5350;
  }

  .iconNeutral {
    color: #9ca3af;
  }

  .title {
    color: #f5f5f5;
  }

  .message,
  .loadingExtra {
    color: #b0b0b0;
  }

  .errorBox {
    background: #3d2020;
    border: 1px solid #5d3030;
    color: #ef9a9a;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 20px 16px;
  }

  .card {
    padding: 32px 24px;
  }

  .title {
    font-size: 20px;
  }

  .icon {
    font-size: 40px;
  }
}
