

  
  
  
  
  
  
  
  
  
    .ruzave-video-list {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .ruzave-video-thumbnail {
      position: relative;
      cursor: pointer;
    }

    .ruzave-video-thumbnail img {
      width: 100%;
      border-radius: 8px;
    }

    .ruzave-video-modal {
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  z-index: 1000;
  flex-direction: column;
  overflow-y: auto; /* 💡 Enable vertical scroll */
  padding: 20px;
  box-sizing: border-box;
  
    }

    .ruzave-video-modal iframe {
      width: 90vw;
      height: 50vh;
      border: none;
      max-width: 800px;
    }

    .ruzave-modal-close {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 22px;
      font-weight: bold;
      color: white;
      background-color: red;
      border-radius: 50%;
      padding: 5px 10px;
      text-align: center;
      cursor: pointer;
      z-index: 1001;
    }

    .ruzave-modal-title {
      color: white;
      text-align: center;
    }
  
  
  
  
  /**/
 
    #app-toast {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: #1e1e1e;
      color: #fff;
      display: none;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
      z-index: 1000;
      animation: slideUp 0.4s ease-out;
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }

    #app-toast span {
      font-size: 16px;
      font-weight: 500;
      flex: 1;
    }

    #app-toast .toast-actions {
      display: flex;
      gap: 10px;
      margin-left: 15%;
    }

    #app-toast button {
      padding: 10px 16px;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    #open-app-btn {
      background-color: #00b894;
      color: #fff;
    }

    #open-app-btn:hover {
      background-color: #019874;
    }

    #continue-web-btn {
      background-color: #2d3436;
      color: #dfe6e9;
    }

    #continue-web-btn:hover {
      background-color: #3d3d3d;
    }

    @keyframes slideUp {
      from {
        transform: translateY(100%);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }
  

       
        /* Slide-in div from the right */
        .slide-div {
            position: fixed;
            top: 0;
            right: -100%; /* Start off-screen */
            width: 100%;
            height: 100%;
            background-color: #f1f1f1;
            box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease-in-out;
            padding: 20px;
            z-index: 1000;
        }

        /* Back button */
        .back-button {
            background-color: transparent;
            border: none;
            font-size: 20px;
            cursor: pointer;
            padding: 10px;
            position: absolute;
            top: 20px;
            left: 20px;
        }

        /* Slide-in animation (opens the div) */
        .slide-div.open {
            right: 0; /* Move to visible position */
        }

        /* Notification content */
        .notification-content {
            margin-top: 40px;
        }

        /* Button to trigger slide-in */
        #openSlideBtn {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 12px 24px;
            font-size: 16px;
            cursor: pointer;
            border-radius: 8px;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
    
 
 
     
     
     
     
     
  
  .flag-icon {
    width: 20px; /* Adjust width */
    height: 15px; /* Adjust height */
    margin-right: 5px; /* Add spacing */
}

/* Basic Styling */
.filter-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.filter-dropdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

label {
  font-weight: bold;
  color: #333;
}

 

  
  
 
<?php  include 'common_helper.php';?>

  
  
  
  .popup-body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
  
    background-color: rgba(0, 0, 0, 0.2); 
}

  
.open-modal-button {
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.open-modal-button:hover {
    background-color: #45a049;
}

/* Modal Background */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black w/opacity */
}

/* Modal Content */
.modal-window {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    max-width: 500px;
}

/* Close Button */
.modal-close-button {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.modal-close-button:hover,
.modal-close-button:focus {
    color: black;
    text-decoration: none;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .modal-window {
        width: 80%;
    }
}
  
  
  
  
  
    /* Custom styles for the pop-up */
    .modal {
      max-width: 500px;
      width: 90%;
      border-radius: 10px;
    }
    .modal-content {
      padding: 20px;
    }
    .modal-footer {
      text-align: right;
    }
    .file-input {
      display: none;
    }
    .file-label {
      display: block;
      padding: 10px;
      background: white;
      border: 2px dashed #ccc;
      text-align: center;
      cursor: pointer;
      margin-bottom: 20px;
    }
    .file-label:hover {
      background: #e0e0e0;
    }
    .preview-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
    }
    .preview-item {
      position: relative;
      width: 100px;
      height: 100px;
      border: 1px solid #ddd;
      border-radius: 5px;
      overflow: hidden;
    }
    .preview-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .preview-item video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .remove-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .create-feed-popup {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.create-feed-popup h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #333;
}

.create-feed-popup p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #666;
}

.create-feed-popup textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 20px;
}

.post-options div {
            cursor: pointer;
            font-size: 14px;
            color: #1877f2;
        }
        .post-button {
            width: 100%;
            background-color: #1877f2;
            color: white;
            border: none;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 10px;
            font-size: 16px;
        }
        .post-button:disabled {
            background-color: #b0c4de;
            cursor: not-allowed;
        }



.file-selection-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  border: 2px dashed #ddd;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.icon-wrapper:hover {
  border-color: #007bff;
  background-color: #f0f8ff;
}

.icon-wrapper i {
  font-size: 30px;
  color: #007bff;
}

.icon-wrapper span {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.preview-container img,
.preview-container video {
  max-width: 100px;
  max-height: 100px;
  border-radius: 5px;
  object-fit: cover;
}

#validationMessage {
  font-size: 14px;
  margin-top: 10px;
}

   
 
        .selected-ports {
            margin-top: 10px;
        }
        .selected-port {
            display: inline-block;
            margin: 5px;
            padding: 5px;
            background-color: #f0f0f0;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .selected-port button {
            margin-left: 5px;
            background: none;
            border: none;
            color: red;
            cursor: pointer;
        }
        #dropdown {
            display: none;
            border: 1px solid #ccc;
            max-height: 150px;
            overflow-y: auto;
            width: 300px;
        }
        #dropdown div {
            padding: 5px;
            cursor: pointer;
        }
        #dropdown div:hover {
            background-color: #f0f0f0;
        }
            #edit_dropdown {
            display: none;
            border: 1px solid #ccc;
            max-height: 150px;
            overflow-y: auto;
            width: 300px;
        }
        #edit_dropdown div {
            padding: 5px;
            cursor: pointer;
        }
        #edit_dropdown div:hover {
            background-color: #f0f0f0;
        }
        
        .post-area {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.post-input {
    width: 100%;
    height: 80px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    resize: none;
}

.btn {
    cursor: pointer;
}
    
    
    
        
    
    
      .preview-item {
        position: relative;
        width: 100px;
        height: 100px;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
      }
      .preview-item img, .preview-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .remove-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        background: rgba(255, 0, 0, 0.7);
        color: white;
        border: none;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        line-height: 1;
      }
    
    
    
 



    .alliance-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 20px;
    }
    .alliance-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        background: #ebe6e6;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 15px;
        transition: transform 0.3s ease;
    }
    .alliance-card:hover {
        transform: scale(1.05);
    }
    .alliance-card img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .alliance-card p {
        font-size: 14px;
        color: #333;
        font-weight: bold;
        margin: 0;
    }
    @media (max-width: 600px) {
        .alliance-card {
            flex: 1 1 calc(50% - 10px);
            max-width: calc(50% - 10px);
        }
    }
  

  .flag-icon {
    width: 20px; /* Adjust width */
    height: 15px; /* Adjust height */
    margin-right: 5px; /* Add spacing */
}

/* Basic Styling */
.filter-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.filter-dropdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

label {
  font-weight: bold;
  color: #333;
}

 
 

 
    .slider-section {
        display: none;
        position: fixed;
        top: 0;
        left: 100%;
        width: 100vw;
        height: 100vh;
        background-color: #fff;
        overflow: auto;
        transition: left 0.3s ease-in-out;
        z-index: 1001;
    }

    .menu-close {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
    }

    .back-arrow {
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 35px;
        cursor: pointer;
        z-index: 1002;
    }

    .back-arrow:hover {
        color: #f05927; /* Change color on hover for better UX */
    }
 

        .circle_tick {
            width: 50px;
            height: 50px;
            background-color: green;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
                   font-size: 24px;
            text-decoration: none;
        }

        .circle_tick a {
            color: white;
            text-decoration: none;
        }
    
      
        /* Base Styles for Slide Up Modal */
     .slide-up-modal {
    position: fixed;
    bottom: -100%; /* Initially hidden below the screen */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust to truly center the element */
    width: 100%; /* Full width on mobile */
    max-width: 500px; /* Optional: Set a max-width for larger screens */
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: bottom 0.5s ease; /* Transition for the slide-up effect */
    z-index: 9999;
    height: 100%;
}

/* Media query for mobile screens */
@media (max-width: 600px) {
    .slide-up-modal {
        width: 100%; /* Ensure full width on mobile */
        left: 0; /* No margin on left */
        transform: none; /* Remove translateX for full width */
    }
}

        .slide-up-modal.active {
            bottom: 0; /* When active, it slides up to the bottom */
        }
        .modal-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .modal-content input {
            width: 80%;
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
            border: 1px solid #ccc;
        }
        .modal-content button {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .modal-content button:hover {
            background-color: #45a049;
        }
        /* Style for the trigger button */
        
    
    
    
    
    

  /* Modal Background */
  .mypopup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  /* Modal Content Box */
  .mypopup-modal .mypopup-content {
  max-height: 85vh; /* or 100vh with padding if needed */
  overflow-y: auto;
  padding: 20px; /* optional for spacing */
  background: white; /* or your desired background */
  box-sizing: border-box;
 

    background: #fff;
    margin: 10% auto;
    padding: 25px 30px;
    width: 400px;
    max-width: 90%;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  }

  /* Close Button */
  .mypopup-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
  }

  .mypopup-close-btn:hover {
    color: #000;
  }

  /* Input Fields */
  .mypopup-subject,
  .mypopup-body {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border 0.3s;
  }

  .mypopup-subject:focus,
  .mypopup-body:focus {
    border-color: #007BFF;
    outline: none;
  }

  /* Textarea specific */
  .mypopup-body {
    resize: vertical;
    min-height: 100px;
  }

  /* Send Button */
  .mypopup-send-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s ease;
  }

  .mypopup-send-btn:hover {
    background-color: #0056b3;
  }

  /* Feedback Message */
  .mypopup-message {
    margin-top: 10px;
    font-size: 14px;
    color: green;
  }

  /* Utility class */
  .mypopup-hidden {
    display: none;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }



/* Popup container background */
.app-update-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* dimmed background */
 
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display:none;
}

/* Popup box content */
.app-update-popup-content {
  background-color: #ffffff;
  padding: 25px 35px;
  border-radius: 12px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  animation: popupFadeIn 0.3s ease-in-out;
}

/* Title styling */
.app-update-title {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Message styling */
.app-update-message {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Button styling */
.app-update-button {
  padding: 10px 25px;
  background-color: #007BFF;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.app-update-button:hover {
  background-color: #0056b3;
}

/* Animation */
@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


