← back to Handbag Authentication

public/css/style.css

1260 lines

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff4757;
  --primary-dark: #ee5a6f;
  --secondary: #2ed573;
  --dark: #2f3542;
  --light: #f1f2f6;
  --border: #dfe4ea;
  --shadow: rgba(0, 0, 0, 0.1);
  --deal-good: #ffa502;
  --deal-great: #ff6348;
  --deal-exceptional: #ee5a6f;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 2rem 0;
  box-shadow: 0 2px 10px var(--shadow);
  margin-bottom: 2rem;
}

/* Translate Toggle */
.translate-toggle-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--shadow);
}

.translate-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.translate-toggle input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  width: 60px;
  height: 30px;
  background-color: #ccc;
  border-radius: 30px;
  margin-right: 15px;
  position: relative;
  transition: background-color 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  left: 2px;
  top: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.translate-toggle input[type="checkbox"]:checked + .toggle-slider {
  background-color: var(--secondary);
}

.translate-toggle input[type="checkbox"]:checked + .toggle-slider::before {
  transform: translateX(30px);
}

.toggle-label {
  color: var(--dark);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 400;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card.highlight h3 {
  color: var(--secondary);
}

.stat-card p {
  color: #7f8c8d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Filters */
.filters {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 2rem;
}

.filter-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-row input[type="text"],
.filter-row input[type="number"],
.filter-row select {
  flex: 1;
  min-width: 150px;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.filter-row input:focus,
.filter-row select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-row label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.filter-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.btn-primary,
.btn-export {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px var(--shadow);
}

.btn-export {
  background: var(--secondary);
  color: white;
}

.btn-export:hover {
  background: #26de81;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px var(--shadow);
}

/* Loading */
.loading {
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
  color: #7f8c8d;
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.listing-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow);
}

.listing-card.deal-exceptional {
  border: 3px solid var(--deal-exceptional);
}

.listing-card.deal-great {
  border: 2px solid var(--deal-great);
}

.listing-card.deal-good {
  border: 2px solid var(--deal-good);
}

.listing-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--light);
}

.listing-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-exceptional {
  background: var(--deal-exceptional);
}

.badge-great {
  background: var(--deal-great);
}

.badge-good {
  background: var(--deal-good);
}

.listing-content {
  padding: 1.25rem;
}

.listing-brand {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.listing-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Product Specs on Cards */
.product-specs {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
}

.spec-item {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-item strong {
  color: #2c3e50;
  margin-right: 0.5rem;
  font-weight: 600;
}

.listing-prices {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.jp-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.jp-price .currency {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 400;
}

.usd-price {
  font-size: 0.9rem;
  color: #7f8c8d;
}

.listing-deal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.deal-percentage {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.us-market {
  font-size: 0.85rem;
  color: #7f8c8d;
  text-align: right;
}

.us-market strong {
  color: var(--dark);
  display: block;
  font-size: 0.95rem;
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.condition-badge {
  padding: 0.25rem 0.75rem;
  background: var(--light);
  border-radius: 15px;
  font-weight: 600;
  color: var(--dark);
}

.listing-type {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.type-auction {
  color: var(--primary);
  font-weight: 600;
}

.type-buy {
  color: var(--secondary);
  font-weight: 600;
}

.listing-source {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: #95a5a6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.confidence {
  font-weight: 600;
  color: var(--dark);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
}

.empty-state p {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-row {
    flex-direction: column;
  }

  .filter-row input,
  .filter-row select,
  .filter-row label {
    width: 100%;
  }

  .listings-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.listing-card {
  animation: fadeIn 0.4s ease-out;
}

/* Profit Breakdown */
.profit-breakdown {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  padding: 1rem;
  margin: 0.75rem 0;
  border-left: 4px solid var(--secondary);
}

.profit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #dee2e6;
}

.profit-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profit-amount {
  font-size: 1.5rem;
  font-weight: 800;
}

.profit-high {
  color: #27ae60;
}

.profit-moderate {
  color: #f39c12;
}

.profit-details {
  font-size: 0.85rem;
}

.profit-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  color: var(--dark);
}

.profit-row.cost {
  color: #7f8c8d;
}

.profit-row.cost .profit-value {
  color: #e74c3c;
}

.profit-value {
  font-weight: 600;
  color: #27ae60;
}

/* Sell Platforms */
.sell-platforms {
  margin: 0.75rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #fff9f0 0%, #fff3e6 100%);
  border-radius: 10px;
  border: 2px solid #ffa502;
}

.sell-header {
  margin-bottom: 1rem;
}

.sell-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: 0.25rem;
}

.sell-subtitle {
  font-size: 0.75rem;
  color: #7f8c8d;
  font-style: italic;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.platform-card-compact {
  background: white;
  padding: 0.75rem;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platform-card-compact:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.platform-info {
  flex: 1;
}

.platform-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.platform-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #7f8c8d;
}

.platform-commission {
  font-weight: 600;
}

.platform-speed {
  font-style: italic;
}

.platform-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-platform-research,
.btn-platform-list {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-platform-research {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}

.btn-platform-research:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(52, 152, 219, 0.4);
}

.btn-platform-list {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: white;
}

.btn-platform-list:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(39, 174, 96, 0.4);
}

.pricing-logic {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.research-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.5rem;
}

.research-link:hover {
  text-decoration: underline;
}

/* Listing Age */
.listing-age {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border-radius: 8px;
  border-left: 4px solid;
}

.age-fresh {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-left-color: #4caf50;
}

.age-recent {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left-color: #2196f3;
}

.age-stale {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-left-color: #ff9800;
}

.age-old {
  background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
  border-left-color: #f57c00;
}

.age-very-old {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  border-left-color: #e74c3c;
}

.age-header {
  margin-bottom: 0.5rem;
}

.age-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.negotiation-tip {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.negotiation-tip strong {
  color: var(--dark);
}

/* Action Buttons */
.action-buttons {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.btn-view {
  flex: 1;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.5);
}

.btn-presell {
  flex: 1;
  padding: 0.75rem;
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.btn-presell:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.5);
}

.btn-detail {
  flex: 1;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.btn-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.5);
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Presell Modal */
.presell-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s;
}

.presell-content {
  background: white;
  border-radius: 15px;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.presell-header {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px 15px 0 0;
}

.presell-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presell-body {
  padding: 2rem;
}

.presell-steps {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1rem 0;
}

.presell-steps li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.presell-risks {
  background: #fff3cd;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1rem 0;
  border-left: 4px solid #ffc107;
}

.presell-risks ul {
  margin-top: 0.5rem;
}

.presell-risks li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.presell-templates {
  margin: 1.5rem 0;
}

.presell-textarea {
  width: 100%;
  height: 200px;
  padding: 1rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.9rem;
  resize: vertical;
}

.btn-copy {
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.presell-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-presell-action {
  flex: 1;
  padding: 1rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-presell-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Tooltip for AI Notes */
.ai-notes {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--light);
  border-radius: 5px;
  line-height: 1.5;
  font-style: italic;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Japanese Condition Guide Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 2rem;
}

.condition-guide-content {
  background: white;
  border-radius: 15px;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: #95a5a6;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #e74c3c;
}

.guide-intro {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.guide-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #ecf0f1;
}

.guide-section:last-child {
  border-bottom: none;
}

.guide-section h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.condition-item {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.condition-item.high {
  border-left-color: #e74c3c;
  background: #fde8e8;
}

.condition-item.medium {
  border-left-color: #f39c12;
  background: #fef5e7;
}

.impact-badge {
  background: #3498db;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.impact-badge.high {
  background: #e74c3c;
}

.impact-badge.medium {
  background: #f39c12;
}

.grade-item {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.value-badge {
  background: #27ae60;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.phrase-item {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border-left: 4px solid #27ae60;
}

.phrase-item.safe {
  background: #d4edda;
  border-left-color: #27ae60;
}

.phrase-item.caution {
  background: #fff3cd;
  border-left-color: #f39c12;
}

.checklist-item {
  padding: 0.5rem 1rem;
  margin-bottom: 0.3rem;
  background: #ecf0f1;
  border-radius: 5px;
}

/* Floating Guide Button */
.floating-guide-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s;
  z-index: 9999;
}

.floating-guide-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Condition Warnings on Cards */
.condition-warnings {
  background: #fff3cd;
  border-left: 4px solid #f39c12;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
}

.condition-warnings .warning-title {
  font-weight: 700;
  color: #856404;
  margin-bottom: 0.5rem;
}

.condition-warnings .warning-item {
  padding: 0.25rem 0;
  color: #856404;
}

.condition-safe {
  background: #d4edda;
  border-left-color: #27ae60;
  color: #155724;
}

/* Sort Tabs */
.sort-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  flex-wrap: wrap;
  justify-content: center;
}

.sort-tab {
  padding: 0.875rem 1.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  background: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  user-select: none;
}

.sort-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.sort-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
  transform: translateY(-2px);
}

.sort-tab.active:hover {
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

@media (max-width: 768px) {
  .sort-tabs {
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .sort-tab {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }
}