/* ==========================================================================
   fileDetail Component Styles
   Separate view for Library File Open (No main session video player)
   Renders title header + exactly 2 selected components per file
   ========================================================================== */

.file-detail-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Top Back Button */
.file-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #374151;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  outline: none;
  align-self: flex-start;
  transition: color 0.15s ease, transform 0.15s ease;
}

.file-detail-back-btn:hover {
  color: var(--color-primary, #5170FF);
  transform: translateX(-2px);
}

/* Header Section */
.file-detail-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

.file-detail-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.file-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11.5px;
  color: #374151;
}

.file-detail-pill {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
  font-size: 11px;
  padding: 2.5px 9px;
  border-radius: 999px;
}

.file-detail-description {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 400;
  color: #1f2937;
  line-height: 1.5;
  margin: 0;
}

/* Components Stack Container (Exactly 2 components) */
.file-detail-components-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
