/* Dashboard Layout */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
}

.dashboard-header h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border-color);
  overflow-x: auto;
  padding-bottom: 0;
  padding: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tabs::-webkit-scrollbar {
  height: 4px;
}

.tabs::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 999px;
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  margin: 0;
  position: relative;
}

.tab-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  transition: all 0.25s ease;
}

.tab-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tab:hover {
  color: white;
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab:hover .tab-icon {
  transform: scale(1.1);
}

.tab.active {
  color: white;
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
}

.tab.active .tab-icon {
  stroke-width: 2.5;
}

.tab.active:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  color: white;
}

/* Main dashboard tab content (Style Studio, Wardrobe, etc.) */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .tab {
    padding: 14px 24px;
  }

  .tab-icon {
    width: 20px;
    height: 20px;
  }

  .tab-label {
    font-size: 14px;
  }
}

.dashboard-header-text {
  flex: 1;
}

.dashboard-header-text h1 {
  margin-bottom: 4px;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-actions button {
  width: auto;
  padding: 10px 20px;
  font-size: 14px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Section Cards */
.section-card {
  margin: 0;
  padding: 36px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.section-card h2 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-card h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
}

.section-card .helper-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* User Info */
.user-info {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px 24px;
}

.user-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.user-info strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Profile Picture Component */
.profile-picture-container {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.profile-picture-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.profile-picture-wrapper:hover {
  transform: scale(1.02);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.profile-picture-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.profile-picture-image.active {
  display: block;
}

.profile-picture-placeholder {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-tertiary);
}

.profile-picture-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.profile-picture-placeholder.hidden {
  display: none;
}

.profile-picture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.profile-picture-wrapper:hover .profile-picture-overlay {
  opacity: 1;
}

.profile-picture-overlay-text {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.profile-picture-actions {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 8px;
}

.profile-action-btn {
  width: 38px;
  height: 38px;
  min-width: 38px; /* Ensure it stays circular */
  padding: 0; /* Override forms.css padding */
  margin-top: 0; /* Override forms.css margin */
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-transform: none; /* Override forms.css uppercase */
  letter-spacing: normal;
}

.profile-action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
  color: var(--accent-color) !important;
}

.profile-action-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  background: var(--bg-tertiary) !important;
  border-color: var(--border-color);
}

.profile-action-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.profile-action-btn.delete-btn:hover:not(:disabled) {
  border-color: #ff4d4f;
  color: #ff4d4f !important;
  background: #fff1f0 !important;
}

.profile-action-btn.edit-btn:hover:not(:disabled) {
  border-color: var(--accent-color);
  color: var(--accent-color) !important;
  background: #fdfaf3 !important;
}

.profile-picture-status {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
  animation: slideIn 0.3s ease;
}

.profile-picture-status.success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
  display: block;
}

.profile-picture-status.error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
  display: block;
}

.profile-picture-status.info {
  background: var(--info-bg);
  color: var(--info-text);
  border: 1px solid var(--info-border);
  display: block;
}

/* Media Grid - Horizontal Scroll */
#uploaded-images {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 16px;
  scroll-behavior: smooth;
}

#uploaded-images::-webkit-scrollbar {
  height: 8px;
}

#uploaded-images::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

#uploaded-images::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.4);
  border-radius: 4px;
}

#uploaded-images::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.6);
}

.media-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  min-width: 220px;
  max-width: 220px;
  flex-shrink: 0;
}

.media-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.media-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: zoom-in;
  transition: var(--transition);
}

.media-image:hover {
  transform: scale(1.02);
}

.media-meta {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Style Images Grid */
#clothing-styles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 32px;
  align-items: start;
}

.style-studio-section {
  background: var(--bg-primary);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.style-studio-section:hover {
  box-shadow: var(--shadow-md);
}

.style-studio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.style-studio-title-group h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.style-studio-actions-sleek {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sleek-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-icon-svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

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

.sleek-btn-primary:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}

.sleek-btn-outline {
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.sleek-btn-outline:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

.style-carousel-wrapper {
  position: relative;
  width: 100%;
}

.style-nav-bar-modern {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -20px; /* Pulls it up to sit right under the image area */
  margin-bottom: 10px;
  position: relative;
  z-index: 30;
}

.style-nav-btn-modern {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.style-nav-btn-modern:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.style-nav-btn-modern:active {
  transform: scale(0.95);
}

/* Empty State Big Button */
.empty-styles-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.style-tag-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.style-tag-btn .btn-icon-svg {
  width: 16px;
  height: 16px;
  color: var(--primary-color);
}

.style-tag-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.style-tag-btn:active {
  transform: translateY(0);
}

.style-big-generate-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.style-big-generate-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.style-big-generate-btn .btn-icon {
  font-size: 32px;
  background: var(--bg-secondary);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.style-big-generate-btn:hover .btn-icon {
  background: var(--primary-color);
  color: white;
  transform: rotate(15deg);
}

.style-big-generate-btn .btn-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.style-big-generate-btn .btn-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.style-big-generate-btn .btn-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

.style-studio-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}

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

.style-studio-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.style-studio-btn-danger {
  background: transparent;
  color: #ef4444;
  border-color: #fee2e2;
}

.style-studio-btn-danger:hover {
  background: #fef2f2;
  border-color: #fecaca;
}

/* Style Images Carousel */
.style-images-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px 4px;
  margin: 0 -4px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  cursor: grab;
  scroll-behavior: smooth;
}

.style-images-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.style-images-carousel:active {
  cursor: grabbing;
}

.style-card-modern {
  flex: 0 0 100%; /* Show one full card at a time */
  scroll-snap-align: start;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* On slightly larger style sections, show a peek of the next card */
@media (min-width: 1200px) {
  .style-card-modern {
    flex: 0 0 92%;
  }
}

.style-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.style-image-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-secondary);
  cursor: zoom-in;
}

.style-image-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.style-card-modern:hover .style-image-modern {
  transform: scale(1.08);
}

.style-card-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(15px);
  transition: var(--transition);
  z-index: 10;
}

.style-card-modern:hover .style-card-overlay {
  opacity: 1;
  transform: translateX(0);
}

.style-overlay-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  color: var(--text-primary);
  backdrop-filter: blur(4px);
}

.style-overlay-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.15);
}

.style-overlay-btn.delete {
  color: #ef4444;
}

.style-overlay-btn.delete:hover {
  background: #ef4444;
  color: white;
}

.style-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: white;
}

.style-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.style-action-btn {
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-color);
  background: white;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.style-action-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
}

.style-action-btn.primary {
  background: var(--primary-color);
  color: white;
  border: none;
}

.style-action-btn.primary:hover {
  background: var(--primary-dark);
}

.style-placeholder-modern {
  background: var(--bg-primary);
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  border: 2px dashed var(--border-color);
  text-align: center;
  color: var(--text-muted);
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.style-placeholder-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.style-analysis-container-modern {
  display: none;
  padding: 24px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  line-height: 1.6;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: min(1200px, 90vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: white;
  padding: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.lightbox button {
  position: absolute;
  top: 24px;
  right: 24px;
  width: auto;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border-radius: 999px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}

.lightbox button:hover {
  background: white;
  transform: scale(1.05);
}

/* Analysis Section */
.analysis-description-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.analysis-description-row:last-child {
  border-bottom: none;
}

.analysis-item-text {
  flex: 1 1 220px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

.analysis-item-label {
  font-weight: 600;
  color: var(--text-primary);
}

.analysis-item-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 80px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 6px;
  border: 1px solid var(--border-color);
}

.analysis-item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.analysis-item-meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.analysis-thumbnail-error {
  background: #ffe5e5;
  color: #a94442;
}

/* Outfits Grid - Horizontal Scroll */
.outfits-grid,
.wardrobe-outfits-grid {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 16px;
  scroll-behavior: smooth;
}

.outfits-grid::-webkit-scrollbar,
.wardrobe-outfits-grid::-webkit-scrollbar {
  height: 8px;
}

.outfits-grid::-webkit-scrollbar-track,
.wardrobe-outfits-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.outfits-grid::-webkit-scrollbar-thumb,
.wardrobe-outfits-grid::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.4);
  border-radius: 4px;
}

.outfits-grid::-webkit-scrollbar-thumb:hover,
.wardrobe-outfits-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.6);
}

.outfit-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
}

.outfit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.outfit-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  cursor: pointer;
  transition: var(--transition);
}

.outfit-image:hover {
  opacity: 0.9;
}

.outfit-details {
  padding: 20px;
}

.outfit-vibe {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.outfit-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.outfit-items {
  margin-bottom: 16px;
}

.outfit-items-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.item-tag {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  margin-right: 6px;
  margin-bottom: 6px;
  font-weight: 500;
}

.outfit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.outfit-date {
  font-size: 12px;
  color: var(--text-muted);
}

.outfit-empty-state {
  text-align: center;
  padding: 80px 20px;
}

.outfit-empty-state-icon {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.outfit-empty-state h3 {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.outfit-empty-state p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .outfit-card {
    min-width: 240px;
    max-width: 240px;
  }
}

/* Virtual Try-On Preview */
@media (max-width: 768px) {
  .tryon-preview {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

/* Outfit Critique Styles */
.critique-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  animation: fadeIn 0.5s ease;
}

.critique-image-section {
  margin-bottom: 32px;
}

.critique-image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.critique-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.critique-score-section {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.score-value {
  font-size: 48px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0;
}

.score-number {
  font-size: 64px;
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 32px;
  margin-top: 12px;
}

.star {
  color: #ddd;
  transition: var(--transition);
}

.star.filled {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.critique-section {
  margin-bottom: 32px;
}

.critique-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.critique-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.critique-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
  font-size: 15px;
}

.critique-list.strengths li {
  background: rgba(52, 199, 89, 0.1);
  border-left: 4px solid #34c759;
  color: var(--text-primary);
}

.critique-list.weaknesses li {
  background: rgba(255, 149, 0, 0.1);
  border-left: 4px solid #ff9500;
  color: var(--text-primary);
}

.detailed-analysis .analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.analysis-item {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.analysis-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.analysis-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.cultural-references {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.cultural-ref {
  background: var(--bg-secondary);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.ref-type {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cultural-ref p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.improvements-section {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 32px;
}

.improvements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.improvements-header h3 {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.filter-toggle {
  display: flex;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 5px;
  border-radius: 999px;
  border: 2px solid rgba(102, 126, 234, 0.15);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toggle-btn {
  padding: 10px 24px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.toggle-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.toggle-btn:hover {
  color: var(--text-primary);
  background: rgba(102, 126, 234, 0.08);
}

.toggle-btn:hover::before {
  width: 100%;
  height: 100%;
}

.toggle-btn.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: scale(1.02);
}

.improvements-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.improvement-card {
  background: var(--bg-primary);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.improvement-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.improvement-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: capitalize;
}

.critique-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.shopping-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.shopping-keywords strong {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 8px;
}

.keyword-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(102, 126, 234, 0.08);
  color: var(--primary-color);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.keyword-tag:hover {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-1px);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 16px;
}

/* Compact Critique Styles */
.critique-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.critique-image-compact {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.critique-image-compact:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.critique-score-compact {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.critique-action-buttons {
  display: flex;
  gap: 6px;
  align-self: flex-start;
  margin-left: auto;
}

.critique-copy-btn,
.critique-delete-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  min-width: auto;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.critique-delete-btn {
  font-size: 24px;
}

.critique-copy-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.critique-delete-btn:hover {
  background: rgba(255, 59, 48, 0.1);
  border-color: #ff3b30;
  color: #ff3b30;
}

.score-stars-compact {
  display: flex;
  gap: 3px;
  font-size: 22px;
}

.score-text {
  font-size: 15px;
  color: var(--text-primary);
}

.score-text strong {
  font-size: 26px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.critique-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.critique-column {
  background: var(--bg-secondary);
  padding: 16px;
  border-radius: var(--radius-md);
}

.critique-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.critique-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.critique-list-compact li {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  padding-left: 32px;
  transition: all 0.3s ease;
}

.critique-list-compact.strengths li {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.08), rgba(48, 209, 88, 0.1));
  border-left: 4px solid #34c759;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(52, 199, 89, 0.1);
}

.critique-list-compact.strengths li::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: #34c759;
}

.critique-list-compact.strengths li:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 6px rgba(52, 199, 89, 0.2);
}

.critique-list-compact.weaknesses li {
  background: rgba(255, 149, 0, 0.1);
  border-left: 3px solid #ff9500;
  color: var(--text-primary);
}

.critique-section-compact {
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.03));
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102, 126, 234, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.critique-section-compact h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

/* Collapsible sections */
.collapsible-section {
  overflow: hidden;
  transition: all 0.3s ease;
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 0;
  margin-bottom: 16px;
}

.collapsible-header:hover {
  opacity: 0.8;
}

.collapsible-header h4 {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex: 1;
}

.expand-icon {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 700;
  transition: transform 0.3s ease;
  padding: 8px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collapsible-content {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  overflow: hidden;
}

.collapsible-section.collapsed .collapsible-content {
  max-height: 0;
  opacity: 0;
  margin: 0;
}

.collapsible-section.collapsed {
  padding: 16px 20px;
  margin-bottom: 12px;
}

.collapsible-section.collapsed .collapsible-header {
  margin-bottom: 0;
}

.analysis-grid-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.analysis-item-compact {
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 14px;
  line-height: 1.5;
}

.analysis-item-compact strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 4px;
}

.cultural-refs-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-primary);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition);
}

.ref-badge:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.ref-type-badge {
  background: var(--primary-gradient);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.weaknesses-section-compact {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.03), rgba(255, 69, 58, 0.03));
  padding: 14px;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 149, 0, 0.1);
}

.weaknesses-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 149, 0, 0.2);
}

.weaknesses-header-compact h4 {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.weaknesses-list-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.weakness-card-compact {
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weakness-card-compact:hover {
  border-color: rgba(255, 149, 0, 0.3);
  box-shadow: 0 2px 8px rgba(255, 149, 0, 0.1);
}

.weakness-card-compact h5 {
  font-size: 13px;
  font-weight: 700;
  color: #ff9500;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  text-transform: capitalize;
}

.weakness-text-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.weakness-text-wrapper .critique-text {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background: transparent;
  min-height: auto;
  border: none;
}

.weakness-text-wrapper.polite-critique .critique-text {
  color: var(--text-secondary);
}

.weakness-text-wrapper.roast-critique .critique-text {
  color: #ff453a;
  font-weight: 500;
}

.weakness-icon {
  color: #ff453a;
  font-weight: 700;
  font-size: 14px;
  margin-right: 6px;
}

.fix-icon {
  color: #34c759;
  font-weight: 700;
  font-size: 14px;
  margin-right: 6px;
}

.improvement-tips-compact {
  margin: 0;
  padding-bottom: 0;
  background: transparent;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.improvement-tips-compact strong {
  font-size: 11px;
  color: #34c759;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.tips-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tips-content p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.shopping-keywords-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
}

.btn-compact {
  padding: 8px 16px;
  font-size: 13px;
}

/* Tab Navigation */
.critique-tabs {
  display: flex;
  gap: 6px;
  margin: 12px 0;
  padding: 4px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  min-width: 80px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(102, 126, 234, 0.08);
}

.tab-btn.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 3px 8px rgba(102, 126, 234, 0.25);
  transform: translateY(-1px);
}

/* Critique Card Tab Content (specific to critique cards) */
.critique-card .tab-content {
  display: block !important; /* Override main dashboard .tab-content */
  min-height: 150px;
  padding: 12px 4px;
}

.critique-card .tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.critique-card .tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Overview Content */
.critique-card .overview-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Analysis Content */
.critique-card .analysis-content {
  padding: 8px 0;
}

.critique-card .analysis-content .analysis-grid-compact {
  gap: 10px;
}

.critique-card .analysis-content .analysis-item-compact {
  padding: 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.05));
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.critique-card .analysis-content .analysis-item-compact:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 3px 8px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.critique-card .analysis-content .analysis-item-compact strong {
  font-size: 13px;
  margin-bottom: 6px;
}

.critique-card .analysis-content .analysis-item-compact p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 13px;
}

/* Inspiration Content */
.critique-card .inspiration-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.critique-card .inspiration-content .cultural-refs-compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.critique-card .inspiration-content .ref-badge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-primary);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.critique-card .inspiration-content .ref-badge:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.critique-card .inspiration-content .ref-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* Weaknesses tab styling */
.critique-card .tab-pane[data-tab="weaknesses"] {
  padding-top: 12px;
}

.critique-card .tab-pane[data-tab="weaknesses"] .weaknesses-header-compact {
  background: transparent;
  padding: 0 0 16px 0;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .critique-card {
    padding: 20px;
  }

  .score-value {
    font-size: 36px;
  }

  .score-number {
    font-size: 48px;
  }

  .analysis-grid {
    grid-template-columns: 1fr !important;
  }

  .improvements-header {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-toggle {
    justify-content: center;
  }

  /* Compact layout mobile styles */
  .critique-header {
    flex-direction: column;
    align-items: center;
  }

  .critique-image-compact {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .critique-score-compact {
    align-items: center;
    text-align: center;
  }

  .critique-overview {
    grid-template-columns: 1fr;
  }

  .analysis-grid-compact {
    grid-template-columns: 1fr;
  }

  .weaknesses-header-compact {
    flex-direction: column;
    gap: 12px;
  }

  .weaknesses-list-compact {
    grid-template-columns: 1fr;
  }

  /* Tab navigation mobile */
  .critique-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    min-width: 90px;
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Fashion Tips Carousel */
.fashion-tips-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translate(-50%, -45%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.generation-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  text-align: center;
}

.generation-icon {
  font-size: 32px;
  animation: pulse 2s infinite;
}

.generation-text {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.4;
}

.close-carousel {
  background: rgba(0,0,0,0.05);
  border: none;
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  margin-left: 12px;
}

.close-carousel:hover {
  background: rgba(0,0,0,0.1);
  color: var(--text-primary);
  transform: rotate(90deg);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.fashion-tip {
  min-width: 100%;
  box-sizing: border-box;
  padding: 40px 32px;
  background: white;
  text-align: center;
}

.fashion-tip h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.fashion-tip p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.fashion-tip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 10;
}

.nav-button:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.prev { left: 16px; }
.next { right: 16px; }

.indicators {
  text-align: center;
  padding: 0 0 32px 0;
  background: white;
}

.indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  margin: 0 6px;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}
