.header {
    padding: 30px 0px 30px 0px;
    text-align: center;
    margin-right: 25px;
}
    
    main {
     flex: 1;
    /* max-width: 1000px; */
    margin: 2rem auto;
    /* padding: 0 1rem; */
    padding: 0 25px 0px 0;
    }
    
    .card {
      background: white;
      border-radius: 8px;
      padding: 1.5rem;
      margin-bottom: 2rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    h2 {
      margin-bottom: 1rem;
      color: #2d3748;
    }
    
    .upload-area {
      text-align: center;
      padding: 2rem 0;
    }
    
    .upload-icon {
      font-size: 4rem;
      color: #cbd5e0;
      margin-bottom: 1rem;
    }
    #fileInfo {
      margin-top: 1.5rem;
      padding: 1rem;
      background-color: #f9fafb;
      border-radius: 4px;
      display: none;
    }
    
    .file-info-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .file-details {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .video-container {
      position: relative;
      width: 100%;
      aspect-ratio: 16/9;
      background-color: #1a202c;
      border-radius: 4px;
      overflow: hidden;
      margin-bottom: 1rem;
    }
    
    #videoPreview {
      width: 100%;
      height: 100%;
      object-contain;
    }
    
    .video-loading {
      position: absolute;
      inset: 0;
      background-color: rgba(0,0,0,0.7);
      display: none;
      justify-content: center;
      align-items: center;
    }
    
    .spinner {
      width: 40px;
      height: 40px;
      border: 4px solid rgba(59, 130, 246, 0.3);
      border-radius: 50%;
      border-top-color: #3B82F6;
      animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    
    .controls {
      display: flex;
      gap: 1rem;
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }
    
    .timeline-container {
      position: relative;
      height: 60px;
      margin: 1rem 0;
    }
    
    .timeline {
      position: absolute;
      left: 40px;
      right: 40px;
      top: 25px;
      height: 4px;
      background-color: #e2e8f0;
      border-radius: 2px;
      cursor: pointer;
    }
    
    .timeline-progress {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      background-color: rgba(59, 130, 246, 0.3);
    }
    
    .timeline-thumb {
      position: absolute;
      width: 12px;
      height: 24px;
      background-color: #3B82F6;
      border-radius: 3px;
      margin-left: -6px;
      cursor: move;
      z-index: 10;
      top: -10px;
    }
    
    .timeline-thumb::after {
      content: '';
      position: absolute;
      top: 24px;
      left: 50%;
      transform: translateX(-50%);
      width: 1px;
      height: 100%;
      background-color: rgba(59, 130, 246, 0.5);
    }
    
    .timeline-labels {
      display: flex;
      justify-content: space-between;
      padding: 0 40px;
      font-size: 0.8rem;
      color: #64748b;
    }
    
    .segment-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.8rem;
      border: 1px solid #e2e8f0;
      border-radius: 4px;
      margin-bottom: 0.5rem;
    }
    
    .segment-actions {
      display: flex;
      gap: 0.5rem;
    }
    
    .segment-actions button {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      transition: color 0.2s;
    }
    
    .preview-btn {
      color: #3B82F6;
    }
    
    .remove-btn {
      color: #EF4444;
    }
    
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }
    
    .no-segments {
      text-align: center;
      padding: 2rem 0;
      color: #64748b;
    }
    
    .modal {
      position: fixed;
      inset: 0;
      background-color: rgba(0,0,0,0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 100;
      padding: 1rem;
    }
    
    .modal-content {
      background-color: white;
      border-radius: 8px;
      width: 100%;
      max-width: 500px;
      max-height: 90vh;
      overflow-y: auto;
    }
    
    .modal-header {
      padding: 1rem;
      border-bottom: 1px solid #e2e8f0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .modal-body {
      padding: 1rem;
    }
    
    .modal-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #64748b;
    }
    
    .processing-progress {
      height: 4px;
      background-color: #e2e8f0;
      border-radius: 2px;
      margin-top: 1rem;
      overflow: hidden;
    }
    
    .progress-bar {
      height: 100%;
      background-color: #3B82F6;
      width: 0%;
      transition: width 0.3s;
    }
    
    .result-item {
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid #e2e8f0;
    }
    
    .result-item:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }
    
    .result-video {
      width: 100%;
      max-width: 300px;
    }
    
    .result-info {
      margin-bottom: 1rem;
      float: right;
      padding: 20px;
    }
    
    .result-info p {
      margin-bottom: 0.3rem;
    }
    
.info {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-right: 25px;
    background: #eee;
    border-radius: 10px;
}
    
    .info-content {

    }
    
    .info-section h3 {
      margin-bottom: 1rem;
      font-size: 1.2rem;
    }
    
    .info-section h4 {
      margin: 1rem 0 0.5rem;
      font-size: 1rem;
    }
    
    .info-section p {
      margin-bottom: 0.5rem;
      line-height: 1.5;
    }
    
    .hidden {
      display: none !important;
    }
    
    .flex {
      display: flex;
    }
    
    .input-file {
      display: none;
    }
    
    .text-primary {
      color: #3B82F6;
      cursor: pointer;
    }
    
    .text-danger {
      color: #EF4444;
      cursor: pointer;
    }