.video-parent {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    background-color: #f58220;
    /* min-height:100%; */
      background:linear-gradient(0deg, #f58320dd, #f58320dd), url(/assets/images/Eye\ Click-28.jpg);
      background-size:cover;
      background-position: center;
}
.bi-play-fill::before{
    background-color: #fff;
    border-radius: 50%;
    padding-left: 10%;
}
.video-container {
    position: relative;
    /* width: 640px; */
    width: 704px;
    /* height: 250px; Set the height to maintain aspect ratio */
    height: 396px; /* Set the height to maintain aspect ratio */
    background-color: #000;
    overflow: hidden;
    border-radius: 20px;
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire container */
    display: block;
  }

  /* Progress Bar */
  .progress-bar {
    position: absolute;
    bottom: 50px;
    width: calc(100% - 30px);
    left: 15px;
    height: 5px;
    background: rgba(85, 85, 85, 0.5);
    cursor: pointer;
    backdrop-filter: blur(5px); /* semi-transparent background */
  }

  .progress-bar div {
    height: 100%;
    width: 0;
    background: #f58220;
  }

  /* Bottom Controls */
  .controls {
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: #f58220;
    z-index: 2;
    padding-right: 10px;
  }

  /* Fullscreen Left and Right Controls */
  .fullscreen-left-controls,
  .fullscreen-right-controls {
    display: none;
    align-items: center;
    background: transparent;
    color: #f58220;
    z-index: 2;
    padding-right: 10px;
  }

  /* Hide controls initially */
  .controls,
  .fullscreen-left-controls,
  .fullscreen-right-controls,
  .progress-bar,
  .center-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .video-container.show-controls .controls,
  .video-container.show-controls .fullscreen-left-controls,
  .video-container.show-controls .fullscreen-right-controls,
  .video-container.show-controls .progress-bar,
  .video-container.show-controls .center-controls {
    opacity: 1;
  }

  .controls button,
  .controls a {
    background: none;
    border: none;
    color: #f58220;
    font-size: 25px;
    cursor: none;
    text-decoration: none;
  }

  .time {
    min-width: 100px;
  }

  .center-controls {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
    opacity: 1;
  }

  .center-controls button {
    background: transparent;
    border: none;
    color: #f58220;
    font-size: 70px;
    cursor: none;
    transition: background 0.3s ease;
  }

  .center-controls button i {
    font-size: 50px;
  }

  /* Only show the play button initially */
  #rewind,
  #forward {
    display: none;
  }

  /* Fullscreen mode fixes */
  .video-container:fullscreen .controls {
    display: none;
  }

  .video-container:fullscreen .fullscreen-left-controls,
  .video-container:fullscreen .fullscreen-right-controls {
    display: flex;
  }

  .video-container:fullscreen .fullscreen-left-controls {
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: auto;
    width: auto;
    justify-content: flex-start;
  }

  .video-container:fullscreen .fullscreen-right-controls {
    position: absolute;
    bottom: 5px;
    right: 15px;
    left: auto;
    width: auto;
    justify-content: flex-end;
  }

  .video-container:fullscreen .fullscreen-left-controls button,
  .video-container:fullscreen .fullscreen-right-controls button {
    margin: 0 5px;
    font-size: 25px;
    color: #f58220;
  }

  /* Settings Menu */
  .settings-menu {
    position: absolute;
    top: 1%;
    right: 5%;
    background-color: #333;
    color: white;
    width: 250px;
    height: 190px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    border-bottom: 1px solid #555;
    user-select: none;
  }
  /* Toolbar Header */
  .settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    padding-top: 10px;
    border-bottom: 1px solid #555;
    position: sticky; /* Keeps header fixed */
    top: 0;
    z-index: 10;
  }
  .settings-header button {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    user-select: none;
  }
  .settings-header button.active {
    border-bottom: 2px solid #f58220;
    font-weight: bold;
  }
  .close-settings {
    color: white;
    font-size: 16px;
    margin-right: 10px;
    user-select: none;
  }
  /* Content Area */
  .settings-body {
    height: calc(100% - 40px); /* Takes all available height minus header */
    background-color: #333;
    padding: 10px 5px;
  }
  /* Tabs */
  .settings-tab {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .settings-tab li {
    margin-left: 25px;
    padding: 8px;
    position: relative;
  }
  .settings-tab li.selected::before {
    content: '\F309'; /* This is just a placeholder. Use the correct unicode for your Bootstrap icon */
    font-family: 'bootstrap-icons';
    color: #f58220;
    position: absolute;
    font-size: 30px;
    margin-left: -30px;
    top: 2px;
  }
  .settings-tab.active-tab {
    display: block;
  }
  .settings-body {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
  }

  .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #f58220;
    z-index: 5;
  }

  /* Error message */
  .error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 10;
    display: none;
  }

  .error-message i {
    font-size: 40px;
    margin-bottom: 10px;
  }

  /* Fullscreen mode specific styles */
  .video-container:fullscreen .settings-menu {
    top: 7%;
    width: 400px;
    height: 300px;
  }