.shot-display-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  width: 325px;
  margin: 0 auto 0 auto;
}

.shot-image-container {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.shot-image,
.shot-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-video {
  background: #000;
}

/* Style video controls */
.shot-video::-webkit-media-controls-panel {
  background-color: rgba(0, 0, 0, 0.8);
}

.shot-video::-webkit-media-controls-play-button,
.shot-video::-webkit-media-controls-volume-slider,
.shot-video::-webkit-media-controls-timeline,
.shot-video::-webkit-media-controls-current-time-display,
.shot-video::-webkit-media-controls-time-remaining-display {
  color: white;
}

.shot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  color: #666;
  font-size: 3rem;
}

.shot-controls {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shot-position {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.video-indicator {
  color: #4CAF50;
  font-size: 1rem;
}

.shot-details {
  padding: 1.5rem;
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.detail-content {
  background: var(--bg-light-gray);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.detail-content p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.5;
}

.dropdown-field {
  position: relative;
  margin-bottom: 0.75rem;
}

.dropdown-field:last-child {
  margin-bottom: 0;
}

.shot-dropdown,
.angle-dropdown {
  width: 100%;
  background: var(--bg-light-gray);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  appearance: none;
  padding-right: 2.5rem;
  text-transform: uppercase;
}

.dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  pointer-events: none;
}

/* Script Dialogues Section */
.script-dialogues-section {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.collapsible-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0;
  padding: 0.5rem 0;
}

.collapsible-header:hover {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
  margin: 0 -0.5rem;
  padding: 0.5rem;
}

.collapsible-header .detail-title {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dialogue-count {
  color: var(--color-primary);
  font-weight: 500;
}

.collapse-icon {
  font-size: 1rem;
  color: var(--color-text-secondary);
  transition: transform 0.2s ease;
}

.collapse-icon.expanded {
  transform: rotate(180deg);
}

.collapsible-content {
  overflow: hidden;
  transition: all 0.3s ease;
}

.dialogue-list {
  margin-top: 1rem;
}

.dialogue-item {
  background: var(--bg-light-gray);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.dialogue-item:last-child {
  margin-bottom: 0;
}

.dialogue-item.has-audio {
  border-left: 4px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, var(--bg-light-gray));
}

.shot-display-card .dialogue-character {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.audio-indicator {
  color: #28a745;
  font-size: 0.875rem;
}

.dialogue-content {
  color: var(--color-text);
  line-height: 1.5;
  font-size: 0.875rem;
}

.shot-display-card .dialogue-duration {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-text-secondary);
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.no-dialogue-message {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-text-secondary);
}

.no-dialogue-message i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.no-dialogue-message p {
  margin: 0;
  font-size: 0.875rem;
}

/* Dark theme adjustments */
[data-theme="dark"] .shot-display-card {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .detail-content,
[data-theme="dark"] .shot-dropdown,
[data-theme="dark"] .angle-dropdown {
  background: #333;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

[data-theme="dark"] .script-dialogues-section {
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .collapsible-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .dialogue-item {
  background: #333;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dialogue-item.has-audio {
  background: color-mix(in srgb, var(--color-primary) 8%, #333);
}

[data-theme="dark"] .dialogue-content {
  color: #e0e0e0;
}

[data-theme="dark"] .shot-display-card .dialogue-duration {
  background: rgba(255, 255, 255, 0.1);
  color: #999;
}