/**
 * SuperSales Widget Styles
 */

.supersales-widget {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.supersales-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.supersales-header h2 {
  margin: 0;
  font-size: 28px;
  color: #2c3e50;
}

.supersales-refresh {
  background: #409EFF;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.supersales-refresh:hover {
  background: #66b1ff;
}

.supersales-loading {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: #909399;
}

.supersales-error {
  background: #f56c6c;
  color: white;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

.supersales-no-results {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #909399;
}

.supersales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.supersales-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.supersales-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.supersales-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f56c6c;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  z-index: 10;
}

.supersales-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.supersales-content {
  padding: 20px;
}

.supersales-hotel {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.3;
  min-height: 48px;
}

.supersales-stars {
  color: #f7ba2a;
  font-size: 16px;
  margin-bottom: 12px;
}

.supersales-location,
.supersales-route,
.supersales-nights,
.supersales-meal {
  font-size: 14px;
  color: #606266;
  margin-bottom: 6px;
  line-height: 1.5;
}

.supersales-price-block {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.supersales-price-old {
  font-size: 14px;
  color: #909399;
  text-decoration: line-through;
  margin-bottom: 5px;
}

.supersales-price {
  font-size: 28px;
  font-weight: bold;
  color: #67c23a;
  line-height: 1.2;
}

.supersales-per-person {
  font-size: 12px;
  color: #909399;
  margin-top: 4px;
}

.supersales-availability {
  font-size: 13px;
  color: #67c23a;
  margin-bottom: 15px;
  font-weight: 500;
}

.supersales-button {
  width: 100%;
  background: #409EFF;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.supersales-button:hover {
  background: #66b1ff;
}

.supersales-button:active {
  background: #3a8ee6;
}

/* Dark Theme */
.supersales-widget.dark {
  background: #1e1e1e;
  color: #e0e0e0;
}

.supersales-widget.dark .supersales-header h2 {
  color: #e0e0e0;
}

.supersales-widget.dark .supersales-card {
  background: #2d2d2d;
  color: #e0e0e0;
}

.supersales-widget.dark .supersales-hotel {
  color: #e0e0e0;
}

.supersales-widget.dark .supersales-location,
.supersales-widget.dark .supersales-route,
.supersales-widget.dark .supersales-nights,
.supersales-widget.dark .supersales-meal {
  color: #b0b0b0;
}

/* Responsive */
@media (max-width: 768px) {
  .supersales-grid {
    grid-template-columns: 1fr;
  }

  .supersales-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .supersales-header h2 {
    font-size: 24px;
  }

  .supersales-refresh {
    width: 100%;
  }
}




