/* streaming.css - Estilos para página de streaming */

.streaming-form {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.device-type-card {
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.device-type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.device-type-card.selected {
  border-color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.preview-container {
  background: #f8f9fa;
  border-radius: 8px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.duration-display {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-success);
}

.form-section {
  border-left: 4px solid var(--bs-primary);
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.endpoint-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bs-light);
  border-radius: 20px;
  font-size: 0.875rem;
}

.endpoint-badge.active {
  background: rgba(var(--bs-success-rgb), 0.1);
  color: var(--bs-success);
}

.endpoint-badge.inactive {
  background: rgba(var(--bs-danger-rgb), 0.1);
  color: var(--bs-danger);
}

.streaming-preview {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  padding: 1.5rem;
}

.streaming-preview h6 {
  color: rgba(255,255,255,0.9);
}

.streaming-preview .preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.streaming-preview .preview-item:last-child {
  border-bottom: none;
}

.instructions-card {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.instructions-card .list-unstyled li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-streaming {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-streaming:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
}

.form-floating-custom {
  position: relative;
}

.form-floating-custom .form-control {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating-custom .form-label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

@media (max-width: 768px) {
  .streaming-preview {
    margin-top: 2rem;
  }
  
  .btn-streaming {
    width: 100%;
    margin-bottom: 1rem;
  }
}