/* ==========================================================
   CLOUDKU - MEDIA PLAYER & LIVE STREAMING STYLES
   ========================================================== */

/* Player Modal Customizations */
.modal-player {
  max-width: 820px;
  background: #0d111a;
}

.player-body {
  padding: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.video-container {
  width: 100%;
  max-height: 480px;
  display: flex;
  background: #000;
}

.video-container video {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  outline: none;
}

/* Audio Player */
.audio-container {
  width: 100%;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.9) 0%, rgba(13, 17, 26, 1) 100%);
}

.audio-visualizer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.disc-animation {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.35);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.audio-track-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.audio-track-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Photo Modal */
.modal-photo {
  max-width: 900px;
}

.photo-body {
  padding: 0;
  background: #05070c;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  max-height: 520px;
  overflow: hidden;
}

.photo-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-container img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

/* ================= LIVE STREAMING HUB ================= */
.modal-live {
  max-width: 680px;
}

.bg-live-gradient {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  border-bottom: none;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

.live-pulse-badge i {
  color: #fff;
  font-size: 8px;
  animation: pulse-glow 1.2s infinite;
}

.live-hero-card {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.live-hero-status {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.radar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-danger);
  position: relative;
  margin-top: 4px;
}

.radar-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--accent-danger);
  border-radius: 50%;
  animation: ripple 1.6s infinite;
}

@keyframes ripple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.live-hero-status h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.live-hero-status p {
  font-size: 13px;
  color: var(--text-muted);
}

.live-guide-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.guide-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.step-num {
  width: 28px;
  height: 28px;
  background: rgba(244, 63, 94, 0.2);
  color: var(--accent-danger);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.step-content h5 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-main);
}

.step-content p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.step-content code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-family: monospace;
  font-size: 12px;
}

.input-with-action {
  display: flex;
  gap: 8px;
}

.input-with-action input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 13.5px;
  outline: none;
}

.live-buttons-row {
  margin-top: 14px;
}

/* File Details Modal Styling */
.modal-details {
  max-width: 500px;
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.details-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 13px;
}

.details-item .label {
  color: var(--text-muted);
  font-weight: 500;
}

.details-item .val {
  color: var(--text-main);
  font-weight: 600;
  font-family: monospace;
  word-break: break-all;
  max-width: 60%;
  text-align: right;
}
