/* STABLE CSS LAYOUT - This file is never overwritten by npm builds */

/* Main Layout Fixes */
.prompt-section {
  position: fixed !important;
  top: 60px !important;
  left: 0 !important;
  right: 0 !important;
  padding: 0 !important;
  background: #14131a !important;
  height: auto !important;
  min-height: 96px !important;  /* tighter prompt block */
  border-radius: 0 !important;
  overflow: visible !important;
  z-index: 100 !important;
}

/* Header Fixes */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: #000000e6 !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid #ffffff1a !important;
  height: 60px !important;
}

html body div.app header.header div.header-content {
  background: transparent !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 0px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex-direction: row !important;
  position: relative !important;
  margin: 0 !important;
}

html body div.app header.header div.header-content h1.logo {
  margin: 0 !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
  order: 1 !important;
  padding-left: 20px !important;
}

html body div.app header.header div.header-content div.header-controls {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 0 !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
}

html body div.app header.header div.header-content div.header-controls button.icon-button {
  background: transparent !important;
  border: none !important;
  color: white !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 6px !important;
  transition: background 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  margin: 0 !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

html body div.app header.header div.header-content div.header-controls button.icon-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.gallery {
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin-top: 215px !important; /* header (60) + prompt (~150) + small gap */
}

.prompt-input {
  padding: 5px 0px 0px !important;
  min-height: 90px !important;
}

.prompt-controls {
  padding: 0 !important;
}

/* Grid Layout */
.jobs-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
  padding: 0 !important;
  max-width: none !important;
}

@media (max-width: 1400px) {
  .jobs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 1000px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .jobs-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Job Item Layout */
.job-item {
  margin: 0 !important;
}

.job-content {
  display: flex !important;
  gap: 1rem !important;
  padding: 0 !important;
}

.prompt-sidebar {
  flex: 0 0 200px !important;
  min-width: 200px !important;
}

/* Image Container Styling */
.image-container {
  border-radius: 20px !important;
}

.edited-images-container {
  border-radius: 20px !important;
}

.images-grid.edited-images {
  gap: 1rem !important;
}

.prompt-text {
  border-radius: 20px !important;
}

/* Close Button Fix */
.close-button {
  right: 10px !important;
  top: 10px !important;
  font-size: 48px !important;
  background: rgba(0,0,0,0.9) !important;
  z-index: 1001 !important;
}

/* New Prompt Editor Design */
.new-prompt-wrapper {
  padding: 0 !important;
  max-width: 800px !important;
  margin: 1px auto 0 auto !important; /* top gap to reveal rounded prompt */
  padding: 4px 0 0 0 !important;
}

/* Container for prompt with image side-by-side */
.prompt-with-image-container {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Image preview on the left side */
.image-preview-left {
  position: relative !important;
  flex: 0 0 60px !important;
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  box-sizing: border-box !important;
  contain: layout style size !important;
  align-self: center !important;
}

.preview-image-left {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  box-sizing: border-box !important;
}

.image-preview-left .remove-preview-button {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  line-height: 1 !important;
  transition: background 0.2s ease !important;
}

.image-preview-left .remove-preview-button:hover {
  background: rgba(255, 0, 0, 0.8) !important;
}

.prompt-textarea-container {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  padding: 8px 8px !important;
  gap: 8px !important;
  min-height: 52px !important;
  flex: 1 !important;
}


.hidden-file-input {
  display: none !important;
}

.new-prompt-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  resize: none !important;
  outline: none !important;
  padding: 8px !important;
  min-height: 40px !important;
  max-height: 120px !important;
}

.new-prompt-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.arrow-generate-button {
  flex-shrink: 0 !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  border-radius: 50% !important;
  color: #fff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
  margin-bottom: 4px !important;
}

.arrow-generate-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05) !important;
}

.arrow-generate-button:disabled {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.4) !important;
  cursor: not-allowed !important;
}


.bottom-controls {
  margin-top: 0px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 2px 12px !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.model-selector {
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border-radius: 30px !important;
  padding: 6px 8px !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  border: none !important;
  min-height: 30px !important;
}

.model-selector:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.model-indicator {
  width: 8px !important;
  height: 8px !important;
  background: #00ff88 !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.model-label {
  color: white !important;
  font-size: 14px !important;
  font-weight: bold !important;
  flex: 1 !important;
}

.model-arrow {
  color: #888 !important;
  flex-shrink: 0 !important;
}

.clear-prompt-button {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 6px !important;
  padding: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  color: #888 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px !important;
  height: 30px !important;
}

.clear-prompt-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ff4444 !important;
  border-color: rgba(255, 68, 68, 0.3) !important;
}

.left-controls {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

.model-controls {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  flex: 1 1 auto !important;
  min-width: 200px !important;
}

.model-extra-controls {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}

.clear-prompt-button {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 6px !important;
  padding: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  color: #888 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px !important;
  height: 30px !important;
}

.clear-prompt-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ff4444 !important;
  border-color: rgba(255, 68, 68, 0.3) !important;
}

.paperclip-button-bottom {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 6px !important;
  padding: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  color: #888 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px !important;
  height: 30px !important;
}

.paperclip-button-bottom:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.advanced-controls {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

.advanced-controls .control-label {
  font-weight: 900 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

/* Extra specific selector for 9:16 label */
.bottom-controls .advanced-controls .control-label,
span.control-label {
  font-weight: 900 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
  color: #fff !important;
  text-shadow: 0 0 1px rgba(255,255,255,0.5) !important;
}

.control-select,
.control-input,
.control-label {
  background: transparent !important;
  border: none !important;
  border-radius: 30px !important;
  color: #fff !important;
  padding: 6px 8px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  min-width: 60px !important;
  min-height: 30px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.control-select:hover,
.control-input:hover,
.control-label:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.control-input {
  min-width: 80px !important;
}

/* Left controls styling */
.left-controls {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.paperclip-button-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 15px !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.paperclip-button-bottom:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.prompt-container {
  border-radius: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* Hide old prompt elements */
.prompt-input-wrapper,
.prompt-controls,
.character-counter,
.clear-prompt-button {
  display: none !important;
}

/* Mobile Layout */
@media (max-width: 768px) {
  /* Force horizontal header layout on mobile */
  .header .header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    width: 100% !important;
    padding: 0 15px !important;
  }

  .header .header-content .logo {
    order: 1 !important;
    margin: 0 !important;
    font-size: 16px !important;
  }

  div.app header.header div.header-content div.header-controls {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .prompt-container {
    width: 90% !important;
    padding-top: 0 !important;
  }

  .job-content {
    flex-direction: row !important;
    gap: 12px !important;
  }

  .prompt-sidebar {
    flex: 0 0 200px !important;
    min-width: 200px !important;
  }

  .new-prompt-wrapper {
    max-width: 95% !important;
    padding: 15px 0 !important;
  }

  .prompt-textarea-container {
    min-height: 70px !important;
    padding: 12px 8px !important;
  }

  .new-prompt-input {
    min-height: 42px !important;
    padding: 8px !important;
  }

  .gallery {
    margin-top: 0 !important; position: static !important; top: auto !important; left: auto !important; right: auto !important;
  }

  .bottom-controls {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }

  .advanced-controls {
    align-self: stretch !important;
    justify-content: space-around !important;
  }

  /* Mobile layout for image preview */
  .image-preview-left {
    flex: 0 0 60px !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px !important;
  }

  .prompt-with-image-container {
    gap: 12px !important;
  }
}
/* Bold styling for Original/Edited image labels */
.sidebar-image-label {
  font-weight: 900 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
  color: #fff !important;
  text-shadow: 0 0 1px rgba(255,255,255,0.5) !important;
}

/* Bold styling for PNG format badge */
.format-badge {
  font-weight: 900 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
  color: #fff !important;
  text-shadow: 0 0 1px rgba(255,255,255,0.5) !important;
}

/* Model Dropdown Styling */
.model-selector {
  position: relative !important;
  cursor: pointer !important;
}

.model-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(20, 19, 26, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  padding: 4px 0 !important;
  z-index: 1000 !important;
  margin-top: 4px !important;
  backdrop-filter: blur(10px) !important;
}

.model-option {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 12px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
}

.model-option:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.model-option.selected {
  background: rgba(0, 255, 136, 0.2) !important;
}

.model-option .model-indicator {
  width: 8px !important;
  height: 8px !important;
  background: #00ff88 !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

/* Enhanced Model Dropdown - ARIA Best Practices */
.model-selector {
  position: relative !important;
  cursor: pointer !important;
  outline: none !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

/* Focus indicators for accessibility */
.model-selector:focus {
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.5) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.model-selector:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

/* Enhanced dropdown positioning */
.model-dropdown {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(20, 19, 26, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  padding: 6px 0 !important;
  z-index: 1000 !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  animation: dropdownFadeIn 0.15s ease-out !important;
  min-width: 120px !important;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced option styling */
.model-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  position: relative !important;
  margin: 0 6px !important;
  border-radius: 6px !important;
}

/* Highlighted state (keyboard navigation) */
.model-option.highlighted {
  background: rgba(0, 255, 136, 0.15) !important;
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

/* Selected state */
.model-option.selected {
  background: rgba(0, 255, 136, 0.2) !important;
  font-weight: 600 !important;
}

.model-option.selected::after {
  content: "✓" !important;
  position: absolute !important;
  right: 12px !important;
  color: #00ff88 !important;
  font-weight: bold !important;
}

/* Hover state */
.model-option:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  transform: translateX(2px) !important;
}

/* Selected + Highlighted combination */
.model-option.selected.highlighted {
  background: rgba(0, 255, 136, 0.25) !important;
}

/* Enhanced model indicators */
.model-option .model-indicator {
  width: 8px !important;
  height: 8px !important;
  background: #00ff88 !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 4px rgba(0, 255, 136, 0.4) !important;
}

.model-option.highlighted .model-indicator {
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.6) !important;
  background: #00ff88 !important;
}

/* Arrow rotation animation */
.model-selector[aria-expanded="true"] .model-arrow {
  transform: rotate(180deg) !important;
  transition: transform 0.2s ease !important;
}

.model-arrow {
  transition: transform 0.2s ease !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .model-dropdown {
    min-width: 100px !important;
    left: -4px !important;
    right: -4px !important;
  }
  
  .model-option {
    padding: 12px 16px !important;
    font-size: 15px !important;
  }
}

/* Portal dropdown styling */
.model-dropdown-portal {
  pointer-events: auto !important;
}

.model-dropdown-portal .model-dropdown {
  position: static !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

/* Ensure portal dropdown is above everything */
#model-dropdown-portal {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

#model-dropdown-portal > * {
  pointer-events: auto;
}
/* Mobile overlap fix: gallery poniżej promptu (bez absolute) */
@media (max-width: 820px) {
  .prompt-section {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    min-height: 110px !important;
    overflow: visible !important;
  }

  .prompt-textarea-container {
    min-height: 64px !important;
    padding: 12px 10px !important;
  }
  .new-prompt-input { min-height: 48px !important; }

  .image-preview-left {
    flex: 0 0 60px !important;
    width: 60px !important;
    height: 60px !important;
  }

  .gallery {
    position: relative !important;
    top: 0 !important;
    margin-top: 225px !important; /* header + prompt on mobile */
  }
}

/* --- Mobile overlap fix overrides (updated) --- */
@media (max-width: 820px) {
  /* Make prompt stick under fixed header and reserve enough space */
  .prompt-section {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    min-height: 110px !important;        /* compact prompt block */
    padding: 0 !important;
    z-index: 100 !important;
    background: #14131a !important;
  }

  /* Ensure flex children don't overflow horizontally */
  .new-prompt-wrapper,
  .prompt-with-image-container,
  .prompt-textarea-container {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Keep control bar opaque */
  .bottom-controls {
    background: #14131a !important;
  }

  /* Place gallery below prompt (gap handled by prompt margin) */
  .gallery {
    position: relative !important;
    top: 0 !important;
    margin-top: 225px !important; /* header + prompt on mobile */
    width: 100% !important;
  }
}

/* Prompt top gap for visible rounding — applied via .new-prompt-wrapper margin above */

/* Feed offset below fixed prompt */
.main .prompt-section + .gallery {
  margin-top: 215px !important;
}

/* Mobile sibling override */
@media (max-width: 820px) {
  /* Sibling-specific offset removed on mobile as well */
}

/* Clear prompt button inside textarea */
.clear-prompt-button-inside {
  position: absolute !important;
  right: 75px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  padding: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  color: #888 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  z-index: 10 !important;
}

.clear-prompt-button-inside:hover {
  background: rgba(255, 68, 68, 0.1) !important;
  color: #ff4444 !important;
}

/* Model Badge Styles */
.badges-container {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  z-index: 5 !important;
}

.model-badge {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #fff !important;
  padding: 4px 8px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  text-align: center !important;
  min-width: 60px !important;
}

/* FluxAI Model Badge - Dopasowane do format-badge */
.model-badge.flux-ai {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
}

/* Nano Banana Model Badge - Dopasowane do format-badge */
.model-badge.nano-banana {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
}

.model-badge.nano-banana-edit {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(8px) !important;
}

.model-badge.seedream {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 12px rgba(122, 210, 255, 0.25) !important;
  backdrop-filter: blur(8px) !important;
}

/* Format Badge - prawy dolny róg (nie w badges-container) */
.image-container .format-badge {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #fff !important;
  padding: 3px 6px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  z-index: 10 !important;
}

/* Model badge container - lewy dolny róg */
.badges-container {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  z-index: 5 !important;
}

/* Format badge usunięty z badges-container - będzie używać oryginalnego CSS */

/* Video Container Styling */
.video-container {
  border-radius: 20px !important;
  overflow: hidden !important;
}

.generated-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.generated-video:hover {
  transform: scale(1.02) !important;
}

/* Seedance Model Badge - Dopasowane do format-badge */
.model-badge.seedance {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
}

/* Video Control Selects */
.video-control-select {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  color: #fff !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  font-weight: bold !important;
  margin: 0 4px !important;
  cursor: pointer !important;
}

.video-control-select:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

.video-control-select option {
  background: #14131a !important;
  color: #fff !important;
}

/* Model Badge Styles */
.model-badge.veo3fast {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Wan v2.2 Model Badge - Black and White */
.model-badge.wan22 {
  background: rgba(0, 0, 0, 0.9) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  backdrop-filter: blur(8px) !important;
  font-weight: 700 !important;
}

/* Model Indicator Colors */
.model-indicator.image-model {
  background-color: #4CAF50 !important; /* Green for image models */
}

.model-indicator.video-model {
  background-color: #2196F3 !important; /* Blue for video models */
}

/* Audio Toggle Styles - Removed since Veo 3 Fast doesn't need interactive controls */
