/* ========================================================================= */
/* BASE STYLES - These apply to all screen sizes unless overridden */
/* ========================================================================= */


* {
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y mandatory;
}

body {
    color: white;
    background-color: black;
    height: 100vh;
    display: grid;
    place-items: center;
}

.app__videos {
    position: relative;
    height: 750px;
    background-color: white;
    overflow: scroll;
    width: 100%;
    max-width: 400px;
    scroll-snap-type: y mandatory;
    border-radius: 20px;
}

.app__videos::-webkit-scrollbar {
    display: none;
}

.app__videos {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.video {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #4C4E52;
    scroll-snap-align: start;
    overflow: hidden;
}

.videoPlayer {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.videoSidebar {
    position: absolute;
    top: 35%;
    right: 10px;
    margin-right: -25px;
}

.videoSidebar__button {
    padding: 20px;
    text-align: center;
    padding-bottom: 10px;
    color: white;
}



.likeSidebarButton {
    padding: 20px;
    text-align: center;
    padding-bottom: 10px;
    color: white;
    margin-left: 2px !important;
}

.numberOfSidebarComments {
    color:white;
    margin-left: 1px;
    margin-top: -28px;
    margin-bottom: 25px;
    text-align: center;
}


.videoFooter {
    position: relative;
    bottom: 125px;
    margin-left: 20px;
    color: white;
    display: flex;
    margin-right: -15px;
}

.videoFooter__text {
    flex: 1;
}


.videoFooter__icon {
    position: absolute;
}



/*I couldn't reduce the space between sentences so far.*/
.videoFooter__description {
    padding-bottom: 0.1em;  /* Didn't work */
    font-size:13px;
    line-height: 1.1;  /* Didn't work */
    margin-bottom: 0.1em;  /* Didn't work */
}


#profile {
    padding-top: 20px;
    padding-right: 10px;
    font-size: 35px;
}

a {
    color: white;
    text-decoration: none;
    /* -webkit-text-stroke: 1px white; */
}

/* This is the space between items in the Navbar, including Following, Profile, All, Inbox */
.d-flex {
    gap: 10px;
}


/*=========================================
=            Sign Up Container            =
=========================================*/

/* Overall container styling */
.signUpContainer {
    background-color: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo and continue text styling */
.signUpContainer #textcolorlogo {
    color: black;
    font-weight: 700;
}

.signUpContainer #textcolorcontinue {
    color: black;
    font-weight: 400;
    display: block;
    text-align: center;
    margin-top: 5px;
}

/* Column styling */
.column {
    flex-grow: 1;
    background-color: #fff;
    min-height: 300px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px;
}

/* Form and input styling */
.signUpContainer .column form {
    display: flex;
    flex-direction: column;
}

.signUpContainer .column form input[type="text"],
.signUpContainer .column form input[type="email"],
.signUpContainer .column form input[type="password"] {
    font-size: 14px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #dedede;
    padding: 10px;
    width: 100%; /* Ensure input fields take the full width */
}

.signUpContainer .column form input[type="submit"] {
    background: #4285f4;
    color: #fff;
    height: 36px;
    border: none;
    border-radius: 3px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.signUpContainer .column form input[type="submit"]:hover {
    background: #357ae8;
}

/* Header styling */
.signUpContainer .column .header img {
    margin-left: 130px;
    width: 50px;
}

.signUpContainer .column {
    flex-grow: 0;
    width: 450px;
    padding: 20px 35px;
    max-height: 100%;
    overflow-y: auto;
}

.signUpContainer .column .header {
    padding: 20px 0;
    text-align: center;
}

.signUpContainer .column .header h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    margin: 0;
    padding-bottom: 0;
    padding-top: 16px;
    color: black;
}

.errorMessage {
    color: #f00;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

/* Link styling */
.signUpMessage {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #757575;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    display: block;
    margin: 15px 0;
}

.signUpMessage:hover {
    color: #4285F4;
    text-decoration: underline;
}

/* Password Container Styling */
.password-container {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%; /* Adjusted to vertically center the icon */
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    z-index: 10;
}


/*=====  End of Sign Up Container  ======*/

  

/* =============== Log in Container Added from Video Tube ================== */

/* Overall container styling */
.signInContainer {
    background-color: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo and continue text styling */
.signInContainer #textcolorlogo {
    color: black;
    font-weight: 700;
}

.signInContainer #textcolorcontinue {
    color: black;
    font-weight: 400;
    display: block;
    text-align: center;
    margin-top: 5px;
}

/* Column styling */
.column {
    flex-grow: 1;
    background-color: #fff;
    min-height: 300px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px;
}

/* Form and input styling */
.signInContainer .column form {
    display: flex;
    flex-direction: column;
}

.signInContainer .column form input[type="text"],
.signInContainer .column form input[type="email"],
.signInContainer .column form input[type="password"] {
    font-size: 14px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #dedede;
    padding: 10px;
}

.signInContainer .column form input[type="submit"] {
    background: #4285f4;
    color: #fff;
    height: 36px;
    border: none;
    border-radius: 3px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.signInContainer .column form input[type="submit"]:hover {
    background: #357ae8;
}

/* Header styling */
.signInContainer .column .header img {
    margin-left: 130px;
    width: 50px;
}

.signInContainer .column {
    flex-grow: 0;
    width: 450px;
    padding: 20px 35px;
    max-height: 100%;
    overflow-y: auto;
}

.signInContainer .column .header {
    padding: 20px 0;
    text-align: center;
}

.signInContainer .column .header h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    margin: 0;
    padding-bottom: 0;
    padding-top: 16px;
    color: black;
}

.errorMessage {
    color: #f00;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

/* Link styling */
.signInMessage {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #757575;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    display: block;
    margin: 15px 0;
}

.signInMessage:hover {
    color: #4285F4;
    text-decoration: underline;
}



/* Social logins: */

/* Common button styling for uniform length, full-width, centered text, and left-aligned logos */
.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text horizontally */
    width: 100%; /* Full width */
    background-color: #ffffff;
    color: #000000; /* Set font color to black */
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 8px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative; /* To position the icon */
}

.social-login-btn:hover {
    background-color: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-icon {
    position: absolute;
    left: 16px; /* Position icon to the far left */
}

.social-icon img {
    width: 18px;
    height: 18px;
}


/* =============== End of Log in Container Added from Video Tube ================== */



video::-webkit-media-controls-play-button {
    display: none;
}

video::-webkit-media-controls-mute-button {
    display: none;
}

video::-webkit-media-controls-volume-slider {
    display: none;
}

video::-webkit-media-controls-timeline {
    display: none;
}

video::-webkit-media-controls-current-time-display {
    display: none;
}

video::-webkit-media-controls-time-remaining-display {
    display: none;
}

video::-webkit-media-controls-fullscreen-button {
    display: none;
}



/*==============================================
=    Profile and Subscribe Buttons on Sidebar          =
==============================================*/

/* I added this myself to html inside Video Class. This adjusts sidebar profile picture. */
.profileButton {
  width: 30px; /* Adjust value as needed */
  height: 30px; /* Match width */
  float: right; /* Position on the right side */
  margin-right: 10px;
}




/* This is Sidebar Profile Picture. I added this myself. */
img.profilePicture {
  border: 1px solid white;
  border-radius: 50%;
  height: 40px;
  width: 40px;
}

/* I added this myself to html inside Video Class to move profile picture button up and down. */
.profileButtonUp {
/*  margin-top: -30px;*/
margin-top: -10px;
}


/*On video itself the 3 dots */
.editVideoButtonContainer .edit {
    margin-top: 30px; 
    background-color: transparent;
    color: white;
    clear: both;
    font-size: 36px;
    margin-right: -30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
}


/*On Profile page*/
.editVideoButtonContainerProfile .edit {
    background-color: #2692e6;
    color: #fff;
    clear: both;
    font-size: 12px;
    height:  30px;
    width: 90px;
    margin-left: -110px;
}


.editVideoContainer {
    display: flex;
    flex-direction: column;
}

.editVideoContainer .topSection {
    display: flex;
}

.topSection .videoPlayer {
   max-height: 300px;
   flex: 1;
}

.editVideoContainer .topSection .thumbnailItemsContainer {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    width: 210px;
}

.editVideoContainer .topSection .thumbnailItemsContainer .thumbnailItem {
    margin-bottom: 10px;
    padding: 2px;
}

.editVideoContainer .topSection .thumbnailItemsContainer .thumbnailItem.selected {
border: 3px solid #828282;
}

.editVideoContainer .topSection .thumbnailItemsContainer .thumbnailItem img {
    width: 100%;
    cursor: pointer;
}


/*=====  End of Profile and Subscribe Buttons on Sidebar ======*/



/*=====================================================================================================================================================================*/
/*=====================================================================================================================================================================*/

/*=======================================================
=           Comment Section including Likes            =
=======================================================*/

/* I created this part to move comment items to the right */
.commentSection {
    margin-left: 25px;
    color: black;
}


.commentSection .header {
    margin-top: 10px;
    margin-bottom: 200px; /* Changed it from 20px to 200px to fix the newly created problem somewhere in the code that is affecting the css on this page. */
    display: flex;
    flex-direction: column;
}


/* Original profile picture in comment section*/
.commentSection .header .commentForm .profilePicture,
.commentSection .comment .profilePicture,
.commentForm .profilePicture {
    margin-right: 16px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}


/*Reply Profile picture. Appears in View/Hide display. When posting replies, it is 25px, like the original. */
.repliesSection .itemContainer .comment .profilePicture {
    margin-right: 16px;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
}



/*Comment Count style. Including space below count and profile picture*/
.commentSection .header .commentCount {
    margin-left: 140px;
    margin-bottom: 20px;
    color: black;
    font-weight: 400;
}


.commentSection .header .commentForm,
.itemContainer .commentForm {
    display: flex;
}


.itemContainer .commentForm textarea {
    height: 30px;
}


/****************************************************************************/
/*This is the textarea to enter a comment, including color, font, size, etc.*/
/* This shows profilePic to the left and arrow inside the comment, but it is not stationary. */
.commentSection .header .commentForm textarea,
.itemContainer .commentForm textarea {
  width: 15vw;  /* Added this to fix the newly created problem somewhere in the code that puts the textarea below the page. */
  height: 3vh;  /* Added this to fix the newly created problem somewhere in the code that puts the textarea below the page. */
  border: none;
  background-color: #F0F0F0;
  color: #111;
  resize: none;
  font-size: small;
  /* overflow: auto;  /* Prevent text overflow */
  margin-bottom: 50px;  /* Added this to fix the newly created problem somewhere in the code that puts the textarea below the page. */
  
  /* ADD THESE NEW LINES: */
  border-radius: 15px;  /* Rounded corners */
  padding: 0 12px;      /* Only horizontal padding */
}
/****************************************************************************/


/* Remove the vw widths and use percentage/flex instead */
@media (max-width: 1337px) {
  .commentSection .header .commentForm textarea,
  .itemContainer .commentForm textarea {
    width: 100%; 
    max-width: 400px; /* Set a reasonable max width */
  }
}
@media (max-width: 1200px) {
  .commentSection .header .commentForm textarea,
  .itemContainer .commentForm textarea {
    width: 100%; 
    max-width: 350px;
  }
}
@media (max-width: 768px) {
  .commentSection .header .commentForm textarea,
  .itemContainer .commentForm textarea {
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 480px) {
  .commentSection .header .commentForm textarea,
  .itemContainer .commentForm textarea {
    width: 100%;
    max-width: 250px;
  }
}


.commentSection .header .commentForm textarea,
.itemContainer .commentForm textarea {
   width: 100%;
   min-width: 300px;
}


/*============================================================================*/

/* Updated sticky form CSS */
.commentSection {
  height: calc(85vh - 50px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.commentForm {
  position: sticky !important;
  bottom: 0;
  width: 100%;
  background: white; /* Prevent content bleeding through */
  z-index: 10;
  flex-shrink: 0; /* Prevent form from shrinking */
  padding: 10px 0; /* Add some breathing room */
}

.commentBodyClass {
  resize: none;
  overflow: hidden;
  scrollbar-width: none;
  box-sizing: border-box; /* Important for consistent sizing */
}

.commentBodyClass::-webkit-scrollbar {
  display: none;
}


/*=================================================================================*/
/*=================================================================================*/

/*This is the DISPLAY of comments part. Moves comment below the username 
Also moves all comments to the left both original and replies. */


.commentSection .comment .body {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    overflow-wrap: break-word;
    padding-right: 45px;
    margin-left: -5px;
    position: relative; 
    box-sizing: border-box; 
}



/* Moves reply comment to the left below the profile picture, but it doesn't move profile picture with it. 
max-width: 20vw fixed it. I changed it to 15vw to prevent overflow to the right margin */
.commentSection .repliesSection .comment .body {
/*    margin-left: -30px;*/
    /*margin-right: 30px;
    padding-right: 30px;*/
    max-width: 15vw;
}



@media (min-width: 2560px) {
    .commentSection .comment .body {
        max-width: 15vw;  
    }
}

@media (min-width: 1600px) and (max-width: 2559px) {
    .commentSection .comment .body {
        max-width: 18vw;  
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .commentSection .comment .body {
        max-width: 22vw;  
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .commentSection .comment .body {
        max-width: 30vw;  
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .commentSection .comment .body {
        max-width: 40vw;  
    }
}

@media (max-width: 767px) {
    .commentSection .comment .body {
        max-width: 80vw;  
    }
}



/*===============================================================================
=            Send and Emoji buttons inside comment input box           =
===============================================================================*/


/* Force send button to be clickable */
img[src*="send20.png"] {
    margin-top: -170px;
    margin-left: 240px;
    z-index: 9999 !important;
    position: relative !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}


/* Target the specific send icon image for Reply comment box */
.comment-form-container img[src*="send20.png"] {
    margin-top: -20px !important;
    margin-left: -45px !important;
}


/*.emoji-btn-inside {
    transform: translate(250px, -80px);
}*/


.emoji-btn-inside {
    transform: translate(250px, -84px);
}




/* Nuclear option - highest possible z-index for comment form */
/*.commentForm,
.commentForm * {
    z-index: 2147483647 !important; 
}
*/

/*===========  End of Send and Emoji buttons inside comment input box   ============*/


/*Comment button for Reply. BLUE ARROW inside the comment box.  
Don't remove .postComment2 because it removes comment enter arrow. */
.commentSection .header .commentForm .postComment2,
.itemContainer .commentForm .postComment2 {
    height: 36px;
    border: none;
    margin-left: 38px;
    margin-bottom: 13px;
}



/*Reply and Cancel buttons. */
/*.commentSection .header .commentForm .postComment,*/
.itemContainer .commentForm .postComment2,
.itemContainer .commentForm .cancelComment {
    height: 36px;
    border: none;
    margin-left: -120px;
}


/* I added this to see if I can fix the problem of  Reply freeze after real time comment sent. 
Removes all replies to the right including reply to reply. */
.replyButtonClass {
    z-index: 1;
    margin-bottom: 5px;
    margin-left: 30px;
}


#arrow {
    width: 15px;
    margin-left: -10px;
    margin-right: 3px;
}


.itemContainer .commentForm .cancelComment {
    background-color: transparent;
    color: rgba(17,17,17,0.6);
}

.itemContainer .commentForm .cancelComment:hover {
    color:#000;
}



/*Space between the users on comment section*/
.commentSection .itemContainer {
/*    margin-bottom: 16px;*/
    margin-bottom: -20px;
}

.commentSection .comment {
    display: flex;
}

.commentSection .commentHeader {
    margin-bottom: 2px;
}


.commentSection .comment .username {
    margin-right: 8px;
    color: #111;
    font-size: 13px;
    font-weight:500;
}



/*Moves username towards profile picture*/
.commentHeader .username {
    margin-left: -5px;
}



/*===========================================================
=            REPLY BUTTON POSITIONING FOR DESKTOP           =
============================================================*/

.itemContainer .controls {
    width: fit-content !important;
    min-width: 200px !important;
    overflow: visible !important;
}

/* Original reply buttons */
.itemContainer .controls #replyButton.original-reply {
    order: -1 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-top: -5px !important;
    position: relative !important;
}

/* Targets nested replies. target by container structure instead of class */
.repliesSection #replyButton {
    margin-left: 30px;
}

/* Like button positioning */
.itemContainer .controls #likeButton {
    order: 1; 
    position: relative;
    margin-left: 35px; 
    top: -30px !important; 
}

/*=====  End of REPLY BUTTON POSITIONING FOR DESKTOP ========*/



/* Changes space between items, i.e., users */
.itemContainer .controls button,
.itemContainer .controls .likesCount {
    height: 32px;
    background-color: transparent;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: rgba(17,17,17,0.6);
}

.itemContainer .controls button {
    cursor: pointer;
}


.itemContainer .controls .likesCount  {
  margin-left: -17px !important;
  position: absolute; 
  bottom: -30px; 
}


/*----------  Dangling parts at the bottom of comment modal. ----------*/
/*Comments modal like button. It is stationary with the orginial textarea.  And there is only one button that is not working. */
.itemContainer .controls button img {
    height: 16px;
    margin-left: 260px;
}


/* Dangling original profile picture at the very bottom that I need to remove.  But it has like button. */
.itemContainer .comment .profilePicture {
    width: 25px;
    height: 25px;
}



.commentSection .comment .timestamp {
    color: #888;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.hidden {
    display: none !important;
}


/* I adjusted these myself */
.comments .repliesSection {
    margin-top : 16px;
}



/* Keeps replies to replies on the same line, but doesn't go to the left. Also, makes the like button to disappear.*/
.itemContainer .repliesSection {
    padding-left: -50px !important;
}


.repliesSection .likeButton {
    margin-left: -30px !important;
}



/*Comments like button*/
.likeButton {
    margin-left: -35px;
/*    margin-top: -40px;*/
}



/*=============================================================================*/

/*Brings nested replies to the right for desktop*/
.comments .repliesSection .comment {
    margin-left: -30px !important;
}



.repliesSection .viewReplies {
    padding-left: 0px !important;
}


.viewReplies {
    position: relative;
    cursor: pointer;
    font-size: 10px;
    font-weight: 400;
    margin-left: 36px;
    display: block !important;
    margin-top: 15px !important; 
    margin-bottom: 0px !important; 
    position: relative;
    z-index: 10 !important;
}


.hideReplies {
    position: relative;
    cursor: pointer;
    font-size: 10px;
    font-weight: 400;
    margin-left: 36px;
    display: block !important;
    margin-top: -30px !important; 
    margin-bottom: 5px !important; 
    z-index: 10 !important;
}

.itemContainer {
    display: block !important;
    margin-bottom: -30px !important;
}


/* Targets second level items */
.itemContainer:not(:first-child)  {
    display: block !important;
    margin-bottom: -30px !important;
}



/* Targets second level viewReplies */
.repliesSection .viewReplies:not(:first-child) {
    position: relative;
    margin-left: 66px !important;
    position: relative !important;
    top: -5px !important; 
    z-index: 10 !important;
    padding-top: 5px !important;
}



 /* Targets second level hideReplies (2 .repliesSection instead of :not(:first-chile) */
.repliesSection .repliesSection .hideReplies {
    position: relative;
    margin-left: 66px !important;
    position: relative !important;
    z-index: 10 !important;
    /*top: 5px !important;*/
}



/*=================================================================================*/


/*===================================================================================================
=            Reply button and comment box. Has a lot of space below it tha couldn't fix. 
                This is the best that I could come up so far                                        =
===================================================================================================*/

/*.comment-form-container {
   line-height: 40px !important;
   white-space: nowrap !important;
   margin-bottom: 30px;
}*/

.comment-form-container > .profilePicture,
.comment-form-container > .textarea-wrapper,
.comment-form-container > button {
    vertical-align: middle !important;
    display: inline-block !important;
    margin-right: 8px !important;
}

.comment-form-container .profilePicture {
    transform: translateY(-7px) !important; /* Move up by 3px */
}



.comment-form-container textarea {
   width: 180px !important;
   height: 30px !important;
   padding-top: 7px !important; /* Move text up inside the box */
   line-height: 1.2 !important; /* Adjust line height for text positioning */
   border-radius: 20px;
   padding: 8px 15px;
}


/* Move send button to the right with specific positioning */
.comment-form-container > button {
    margin-left: 50px !important; /* Move it right but keep it visible */
    margin-right: 0 !important;
}


/*=====  End of Reply button and comment box. Has a lot of space below it tha couldn't fix.  ======*/


/* Original & Reply comment text wdith */
.comment-text {
    width: 300px;
}
/* End of Original & Reply comment text wdith */

/* Nested reply text - narrower width to account for indentation */
.repliesSection .comment-text {
    width: 220px !important; 
}



/* Fix like buttons for nested replies - move them left */
.repliesSection .itemContainer .controls #likeButton {
    position: relative !important;
    right: auto !important;
    top: -20px !important;
    transform: none !important;
    margin-left: -33px !important; 
    order: 1 !important;
}

/* Controls container for nested replies */
.repliesSection .itemContainer .controls {
    width: 100% !important;
    min-width: 180px !important; /* Reduced min-width for nested */
}




/* Mobile fix for Galaxy S22 Ultra and similar */
@media (max-width: 480px) {
    /* Reduce like button margin on mobile */
    .itemContainer .controls #likeButton {
        margin-left: 10px !important; /* Reduced from 35px */
        top: -10px !important;
        order: 1 !important;
    }
    
    /* Reduce nested reply like button margin */
    .repliesSection .itemContainer .controls #likeButton {
        margin-left: -10px !important; /* Reduced margin */
        top: -10px !important;
    }
    
    /* Adjust likes count position on mobile */
    .itemContainer .controls .likesCount {
        margin-left: 0px !important; /* Reduced from -17px */
        position: relative !important; /* Change from absolute to relative */
        bottom: auto !important;
    }
    
    /* Reduce controls container width on mobile */
    .itemContainer .controls {
        min-width: 150px !important; /* Reduced from 200px */
        width: 100% !important;
        overflow: visible !important;
    }
}



/*======================================================================================*/
/*=====  End of Comment Section including Likes  ======*/
/*======================================================================================*/


/*=====================================================================================================================================================================*/
/*=====================================================================================================================================================================*/


button {
     border: 0;
     background: none;
     border: transparent;
}



.signInLink {
    color: #f00;
    margin-left: 15px;
}



/*===============================================*/
/*Bootsnipp Bootstrap Profile Page */

/* Apparently this is css for profile.php page. */

/***
User Profile Sidebar by @keenthemes
A component of Metronic Theme - #1 Selling Bootstrap 3 Admin Theme in Themeforest: http://j.mp/metronictheme
Licensed under MIT
***/

.col-md-3 {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}


#profile-background {
  background: #4C4E52;
}


#signout {
    color: white;
    font-weight: bold;
}


/* Profile container */
.profile {
  margin: 20px 0;
}

/* Profile sidebar */
.profile-sidebar {
  padding: 20px 0 10px 0;
  background: #fff;
}


/* Profile page picture */
.profile-userpic img {
  float: none;
  margin: 0 auto;
/*  width: 50%;*/
/*  height: 50%;*/
  width: 100px;
  height: 100px;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
  margin-left: 70px;
}


.profile-usertitle {
  text-align: center;
  margin-top: 20px;
}

.profile-usertitle-name {
  color: #5a7391;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 7px;
}

.profile-usertitle-job {
  text-transform: uppercase;
  color: #5b9bd1;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}

.profile-userbuttons {
  text-align: center;
  margin-top: 10px;
}

.profile-userbuttons .btn {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 15px;
  margin-right: 5px;
}

.profile-userbuttons .btn:last-child {
  margin-right: 0px;
}
    
.profile-usermenu {
  margin-top: 30px;
}

.profile-usermenu ul li {
  border-bottom: 1px solid #f0f4f7;
}

.profile-usermenu ul li:last-child {
  border-bottom: none;
}

.profile-usermenu ul li a {
  color: #93a3b5;
  font-size: 14px;
  font-weight: 400;
}

.profile-usermenu ul li a i {
  margin-right: 8px;
  font-size: 14px;
}

.profile-usermenu ul li a:hover {
  background-color: #fafcfd;
  color: #5b9bd1;
}

.profile-usermenu ul li.active {
  border-bottom: none;
}

.profile-usermenu ul li.active a {
  color: #5b9bd1;
  background-color: #f6f9fb;
  border-left: 2px solid #5b9bd1;
  margin-left: -2px;
}

/* Profile Content */
.profile-content {
  padding: 20px;
  background: #fff;
  min-height: 460px;
}




/*=======================================================================
=            Comment Modal - Desktop                  =
=========================================================================*/

.popup-overlay {
    visibility: hidden;
    position: absolute;
    background: white;
    width: 100vw;
    margin-left: -350px;
    top: -120px;
    /*top: -40px;  /*Brings comment modal down to reduce space below comment box.*/*/
}


/*This Remove space below comment box for original comment, 
but for for reply comment box moves profile picture and send button below the comment box; emoji stays inside reply comment box.*/
/*.commentForm {
    height: 50px !important;
}*/


/* If the original form has a different class */
.commentForm:not(.comment-form-container) {
    height: 50px !important; /* Keep original small */
}



/* Make the comment section fill available space */
.popup-overlay .commentSection {
    flex: 1 !important; /* Take up all available space */
    overflow-y: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}



.popup-overlay.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: left;
  overflow-x: hidden;
}



.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden;
}

.popup-content.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;

}

/*=====  End of jQuery Modal Style for Comments Original  ======*/



/*===========================================================
=            jQuery Modal Style for Share from inline share      =
=============================================================*/
/*.share {
    width: 70px; 
    height: 275px; 
    margin-left: 0px; 
    overflow: hidden; 
    border-radius: 5px; 
    padding-top: 10px; 
    position: absolute; 
    transition: transform 0.3s ease-in-out; 
    top: calc(100% + 300px); 
    left: 0; 
    transform: translateY(-100%);
}*/
/*=====  End of jQuery Modal Style for Comments Original  ======*/


/*=============================================
=           Profile Follow & Message           =
=============================================*/

/*It is not working.  So I am using inline style. */
# message-button {
    margin-right: -110px; 
    margin-top: -50px;
}


/*=====  End of Profile Follow & Message   ======*/


/*==============================================
=           From Demo SwirlFeed         =
================================================*/

.navbar-nav .nav-item {
  margin-right: 15px;
}


/*===========================*/
/*My added style*/
#message_body {
    color: white;
    background-color: black;
    height: 100vh;
    display: grid;
    place-items: center;
}

/*===========================*/


/*Apparentlly messages style doesn't blacken the Signin page.*/

#message_textarea {
    width: 82%;
    margin-right: 8px;
    border-radius: 5px;
    border: 1px solid #D3D3D3;
    font-size: 12px;
}

#message_submit {
    height: 41px;
    width: 120px;
    margin: 0;
    position: absolute;
    border: none;
    background-color: #20aae5;
    color: #156588;
    border-radius: 5px;
    font-family: 'Bellota-BoldItalic', sans-serif;
    text-shadow: #73B6E2 0.5px 0.5px 0px;
}

.message {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px 10px;
    display: inline-block;
    color: #fff;
}

.message#blue {
    background-color: #3498DB;
    border-color: #2980B9;
    float: right;
    margin-bottom: 5px;
}

.message#green {
    background-color: #2ECC71;
    border-color: #27AE60;
    float: left;
    margin-bottom: 5px;
}

.loaded_messages {
    height: 65%;
    min-height: 300px;
    max-height: 400px;
    overflow: scroll;
    margin-bottom: 10px;
    width: 700px;
    border-radius: 5px;
    border: 1px solid #D3D3D3;
}


.loaded_conversations {
    max-height: 216px;
    overflow: scroll;
}

.user_found_messages {
    border-bottom: 1px solid #D3D3D3;
    padding: 8px 8px 10px 8px;
}

.user_found_messages:hover {
    background-color: #D3D3D3;
}

.user_found_messages img {
    height: 35px;
    float: left;
}

#grey {
    color: #8C8C8C;
}

.resultDisplay {
    padding: 5px 5px 0 5px;
    height: 70px;
    border-bottom: 1px solid #D3D3D3;
}

.resultDisplay a {
    float: none;
}

.resultDisplay:hover {
    background-color: #EBEBEB;
    text-decoration: none;
}


.dropdown_data_window {
    background-color: #fff;
    border: 1px solid #DADADA;
    border-radius: 0 0 8px 8px;
    border-top: none;
    width: 300px;
    position: absolute;
    right: 10px;
    top: 40px;
    overflow: scroll;
    margin-right: 553px;
}

.notification_badge {
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #F00;
    border-radius: 10px;
    position: absolute;
/*    left: 2px;*/
    top: 5px;
    margin-left: -5px;
}


.resultDisplayNotification {
    height: auto;
    color: #148580;
    padding-bottom: 7px;
}

.resultDisplayNotification img {
    height: 40px;
    border-radius: 5px;
    margin: 1px 12px 0px 2px;
    float: left;
}

.timestamp_smaller {
    font-size: 85%;
    margin: 0;
}


/* Search box button */
/*======================================================*/

.search-box {
  position: relative;
  width: 300px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 25px;
  float: right;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box input[type="text"] {
  width: 100%;
  padding: 12px 120px 12px 20px;
  background: transparent;
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 14px;
  outline: none;
}

.search-box input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box button {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  padding: 8px 24px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.search-box button:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.search-box button:active {
  transform: translateY(-50%) scale(0.98);
}

.search-box:hover,
.search-box:focus-within {
  width: 600px;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/*======================================================*/

.search #search_text_input {
    border: thin solid #E5E5E5;
    float: left;
    height: 23px;
    outline: 0;
    width: 100px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search_results {
    background-color: #fff;
    border: 1px solid #DADADA;
    border-bottom: none;
    border-top: none;
    margin-top: 21px;
}

.search_results_footer {
    padding: 7px 4px 0px 4px;
    height: 30px;
    border: 1px solid #DADADA;
    border-top: none;
    background-color: #20AAE5;
    text-align: center;
}

.search_results_footer a {
    color: #fff;
}

.search_result {
    padding: 10px;
    height: 100px;
}

/*=================  End of  =================*/

/*====================  Share Video  ============================*/

.share {
    width: 70px; 
    height: 275px; 
    margin-left: 0px; 
    overflow: hidden; 
    border-radius: 5px; 
    padding-top: 10px; 
    position: absolute; 
    transition: transform 0.3s ease-in-out; 
    top: calc(100% + 300px); 
    left: 0; 
    transform: translateY(-245%);
}


.share-popup {
  display: none; /* Initially hidden */
  position: absolute; /* Position the popup relative to the button (adjust as needed) */
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10; /* Ensure the popup appears above other elements */
  opacity: 0; /* Initial opacity for animation */
  transition: opacity 0.3s ease-in-out; /* Smooth fade-in animation */
  margin-top: 40px;
}

.share-popup.hidden {
  display: none; /* Hide the popup when the hidden class is present */
}

.share-popup.show { /* Style applied when popup is shown */
  display: block;
  opacity: 1; /* Full opacity after animation */
}

.share-popup ul {
  list-style: none;
  margin-left: -30px;
}


.share-link {
    cursor: pointer !important;
}


/*====================  End of Share Video  ============================*/


/*========================================================================*/
.copy-notification {
  position: fixed; /* Make it fixed on the screen */
  top: 150px; /* Position it 10px from the top */
  right: 675px; /* Position it 10px from the right */
  padding: 10px; /* Add some padding */
  background-color:   #5d5d5d;
  color: white; /* Set text color */
  font-weight: bold; /* Make text bold */
  border-radius: 5px; /* Add rounded corners */
  z-index: 999; /* Ensure notification appears on top of other elements */
}

/*=======================================================================*/



/*=================== Style for three-dots Delete button popup to delete a comment. =================*/

.delete-btn {
  /* Style your delete button here */
  position: absolute; /* Position the button absolutely */
  top: 5px; /* Set top position */
  left: 10px; /* Set left position */
  padding: 0; /* Remove padding to avoid extra space */
  background-color: transparent; /* Remove background color for dots */
  border: none;
  cursor: pointer;
  z-index: 2; /* Ensure the button is on top of other elements */
  margin-top: -30px;
}


.delete-btn .dots { /* Increase specificity by adding parent class */
  /* Style the three horizontal dots */
  display: inline-block;
  width: 20px; /* Adjust width for desired size */
  height: 5px; /* Adjust height for thickness */
  color: darkgray; /* Color for the dots */
  font-size: 40px; /* Adjust font-size for larger dots (optional) */
  line-height: 1; /* Ensures dots are vertically centered (optional) */
}


.delete-popup {
  padding: 5px;
  position: absolute;
  top: calc(20% - 5px);
  left: 180px; /* Your desired position */
  display: none;
  z-index: 15;
  width: 80px; /* Add fixed width */
  box-sizing: border-box;
}

.delete-confirm {
  background-color: black;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  z-index: 1002;
  width: 100%; /* Fill the popup container */
  box-sizing: border-box;
}

.delete-confirm:after {
  content: "";
  display: inline-block;
  width: 0px;
  height: 0px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid black;
  position: absolute;
  top: -8px;
  /* Center the arrow on the button */
  left: 50%;
  transform: translateX(-50%);
  /* Remove the old right: 22px; */
}


/*=================== End of style for three-dots Delete button popup to delete a comment. =================*/


/*=================  End of BASE STYLES - These apply to all screen sizes unless overridden  =====================================================================================*/




/*===========================================================================*/

/*===========================================================================*/
/*===========================================================================*/
/* CLEAN EMOJI PICKER CSS - REPLACES ALL YOUR EXISTING EMOJI CSS */

/* Keep your original comment form styling intact - DON'T override existing styles */
.commentForm {
    /* Your existing styles stay unchanged */
}

.commentBodyClass {
    /* Your existing styles stay unchanged */
}

/* Only add minimal positioning for emoji functionality */
.original-comment-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Simple emoji button that matches your existing design */
.simple-emoji-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    height: 32px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-emoji-btn:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.simple-emoji-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Emoji Picker - Clean white design */
.tiktok-emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    margin-bottom: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tiktok-emoji-picker.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Emoji Picker Header */
.tiktok-emoji-header {
    padding: 12px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.tiktok-emoji-search input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    background: white;
    color: #333;
}

.tiktok-emoji-search input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.tiktok-emoji-search input::placeholder {
    color: #6c757d;
}

/* Categories */
.tiktok-emoji-categories {
    display: flex;
    padding: 8px 12px;
    gap: 4px;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    background: #f8f9fa;
}

.tiktok-category-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tiktok-category-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.tiktok-category-btn.active {
    color: #007bff;
    background: #e3f2fd;
}

/* Emoji Grid */
.tiktok-emoji-content {
    max-height: 160px;
    overflow-y: auto;
    padding: 8px;
    background: white;
}

.tiktok-emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}


.tiktok-emoji-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
}

.tiktok-emoji-item:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}



.tiktok-emoji-item:active {
    transform: scale(0.95);
}

/* Footer */
.tiktok-emoji-footer {
    padding: 8px 12px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.tiktok-skin-tones {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.skin-tone {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.skin-tone:hover {
    border-color: #007bff;
    transform: scale(1.1);
}

.skin-tone.active {
    border-color: #007bff;
    background: #e3f2fd;
}

/* Loading State */
.tiktok-emoji-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    color: #6c757d;
    font-size: 14px;
}

/* Custom Scrollbar */
.tiktok-emoji-content::-webkit-scrollbar {
    width: 4px;
}

.tiktok-emoji-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.tiktok-emoji-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.tiktok-emoji-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tiktok-emoji-picker {
        max-height: 250px;
    }
    
    .tiktok-emoji-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 480px) {
    .tiktok-emoji-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .tiktok-emoji-item {
        font-size: 16px;
        min-height: 28px;
    }
}

/* Animation for recently used emoji */
.tiktok-emoji-item.recently-used {
    animation: emojiPulse 0.3s ease-in-out;
}

@keyframes emojiPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Toast notifications */
@keyframes tiktokToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes tiktokToastOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/*====================================*/
/* MINIMAL EMOJI DISPLAY IN COMMENTS */

/* Basic emoji styling in comment text */
.comment-text .emoji {
    font-size: 1.1em;
    line-height: 1.2;
    vertical-align: baseline;
    display: inline-block;
}

/* Larger emojis for standalone use */
.comment-text .big-emoji {
    font-size: 1.4em;
    line-height: 1.1;
    display: inline-block;
    margin: 1px;
}


/* Ensure emojis display correctly in all comments. Fixed by copilot, not Opus 4 */
.comment .body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}


/* Animation for new emojis */
@keyframes emojiPop {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.big-emoji {
    animation: emojiPop 0.3s ease-out;
}

/* Mobile responsive emoji sizing */
@media (max-width: 768px) {
    .comment-text .big-emoji {
        font-size: 1.3em;
    }
    
    .comment-text .emoji {
        font-size: 1.05em;
    }
}



/* Emoji Picker Popup Styling */
.emoji-picker-popup {
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15) !important;
    max-height: 300px !important;
    margin-bottom: 8px !important;
    z-index: 9999 !important;
    display: none !important;
}

.emoji-picker-popup.show {
    display: block !important;
}

.emoji-picker-header {
    padding: 12px !important;
    border-bottom: 1px solid #eee !important;
    background: #f8f9fa !important;
}

.emoji-search-container input {
    width: 100% !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

.emoji-categories-container {
    display: flex !important;
    padding: 8px 12px !important;
    gap: 4px !important;
    border-bottom: 1px solid #eee !important;
    background: #f8f9fa !important;
    overflow-x: auto !important;
}

.emoji-category-btn {
    background: none !important;
    border: none !important;
    color: #6c757d !important;
    cursor: pointer !important;
    padding: 6px !important;
    border-radius: 4px !important;
    min-width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
}

.emoji-category-btn:hover {
    background: #e9ecef !important;
}

.emoji-category-btn.active {
    color: #007bff !important;
    background: #e3f2fd !important;
}

.emoji-grid-container {
    max-height: 160px !important;
    overflow-y: auto !important;
    padding: 8px !important;
}

.emoji-grid-display {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 4px !important;
}

.tiktok-emoji-item {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 6px !important;
    border-radius: 4px !important;
    font-size: 18px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tiktok-emoji-item:hover {
    background: #f0f0f0 !important;
    transform: scale(1.1) !important;
}


/* Remove grid completely and use simple flex */
.emoji-grid-display {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    padding: 2px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.tiktok-emoji-item {
    flex: none !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    font-size: 20px !important;
    line-height: 30px !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.tiktok-emoji-item:hover {
    background: #f0f0f0 !important;
    border-radius: 4px !important;
}


/* Keep your original emoji picker styling */
.tiktok-emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 375px; /* ADJUST THIS VALUE: Make it wider or narrower (e.g., 380px, 450px, 500px) */
    max-width: calc(100vw - 20px); /* Prevent overflow */
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    margin-bottom: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.tiktok-emoji-picker.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* For the emoji-picker-popup class */
.emoji-picker-popup {
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    width: 375px !important; /* ADJUST THIS VALUE: Change to make wider/narrower */
    max-width: calc(100vw - 20px) !important; /* Prevent viewport overflow */
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15) !important;
    max-height: 300px !important;
    margin-bottom: 8px !important;
    z-index: 9999 !important;
}

.emoji-picker-popup.show {
    display: block !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .emoji-picker-popup {
        width: 350px !important; /* ADJUST THIS VALUE for mobile width */
        left: 50% !important;
        transform: translateX(-58%) !important;
        margin-left: 8px !important; /* Add 2px shift to the right */
    }
}



/* You can also adjust the emoji grid columns */
.tiktok-emoji-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* ADJUST THIS NUMBER: More columns = more emojis per row */
    gap: 4px;
}

/* Hide dots when emoji picker is open */
.emoji-picker-open .delete-btn,
.emoji-picker-open .dots {
    visibility: hidden !important;
}


/* Since emoji-picker-open is on body */
body.emoji-picker-open .delete-btn,
body.emoji-picker-open .dots {
    visibility: hidden !important;
    pointer-events: none !important;
}


/* Ensure dots show normally when picker is closed */
.dots {
    display: inline-block;
    width: 20px;
    height: 5px;
    color: darkgray;
    font-size: large;
    font-weight: 900;
    margin-left: 200px;
}

/* Make sure the comment form has relative positioning */
.commentForm {
    position: relative;
}

/* Ensure textarea wrapper has relative positioning. */
.textarea-wrapper {
    position: relative;
    overflow: visible;
}


/* Force emoji font rendering */
@supports (font-variation-settings: normal) {
    .tiktok-emoji-item {
        font-family: -apple-system, "Apple Color Emoji" !important;
    }
}

/* For Windows */
@media screen and (-ms-high-contrast: none) {
    .tiktok-emoji-item {
        font-family: "Segoe UI Emoji" !important;
    }
}



/*====================================================================================*/

/*====================================================================================*/

/* Add this to your existing CSS file */

/*============================================================
=            Reply Emoji Button Styling                     =
==============================================================*/

.emoji-btn-reply {
    background: #f8f9fa !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 6px 8px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
    height: 32px !important;
    min-width: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333 !important;
}

.emoji-btn-reply:hover {
    background: #e9ecef !important;
    border-color: #007bff !important;
}

.emoji-btn-reply.active {
    background: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
}

/*============================================================
=            Reply Emoji Picker Popup Styling              =
==============================================================*/

.emoji-picker-popup-reply {
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    width: 375px !important;
    max-width: calc(100vw - 20px) !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15) !important;
    max-height: 300px !important;
    margin-bottom: 8px !important;
    z-index: 9999 !important;
    margin-top: 20px !important;
}

.emoji-picker-popup-reply.show {
    display: block !important;
}

/* Inherit all the same styling from the main emoji picker */
.emoji-picker-popup-reply .emoji-picker-header {
    padding: 12px !important;
    border-bottom: 1px solid #eee !important;
    background: #f8f9fa !important;
}

.emoji-picker-popup-reply .emoji-search-container input {
    width: 100% !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

.emoji-picker-popup-reply .emoji-categories-container {
    display: flex !important;
    padding: 8px 12px !important;
    gap: 4px !important;
    border-bottom: 1px solid #eee !important;
    background: #f8f9fa !important;
    overflow-x: auto !important;
}

.emoji-picker-popup-reply .emoji-category-btn {
    background: none !important;
    border: none !important;
    color: #6c757d !important;
    cursor: pointer !important;
    padding: 6px !important;
    border-radius: 4px !important;
    min-width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
}

.emoji-picker-popup-reply .emoji-category-btn:hover {
    background: #e9ecef !important;
}

.emoji-picker-popup-reply .emoji-category-btn.active {
    color: #007bff !important;
    background: #e3f2fd !important;
}

.emoji-picker-popup-reply .emoji-grid-container {
    max-height: 160px !important;
    overflow-y: auto !important;
    padding: 8px !important;
}

.emoji-picker-popup-reply .emoji-grid-display {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    padding: 2px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    z-index: 9999;
}

.emoji-picker-popup-reply .tiktok-emoji-item {
    flex: none !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    font-size: 20px !important;
    line-height: 30px !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    z-index: 9999;
}

.emoji-picker-popup-reply .tiktok-emoji-item:hover {
    background: #f0f0f0 !important;
    border-radius: 4px !important;
}

/*============================================================
=            Reply Comment Form Enhancements                =
==============================================================*/

/* Ensure reply comment forms have proper positioning */
/*.comment-form-container {
    position: relative !important;
}*/

.comment-form-container .textarea-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: flex-end !important;
    width: 250px !important;
    margin-top: 22px !important;
    height: 0;
}

.comment-form-container .inside-textarea-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 8px !important;
}


.comment-form-container .emoji-btn-reply {
    margin-left: -60px;
    margin-bottom: 0px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
}



/*============================================================
=            Mobile Responsive for Reply Emojis            =
==============================================================*/

@media (max-width: 480px) {
    .emoji-picker-popup-reply {
        width: 350px !important;
        left: 50% !important;
        transform: translateX(-58%) !important;
        margin-left: 8px !important;
    }
    
    .emoji-picker-popup-reply .emoji-grid-display {
        gap: 2px !important;
    }
    
    .emoji-picker-popup-reply .tiktok-emoji-item {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        font-size: 18px !important;
        line-height: 28px !important;
    }
}

/*============================================================
=            Hide Dots When Reply Emoji Picker Open        =
==============================================================*/

/* Hide dots when any emoji picker is open */
.emoji-picker-open .delete-btn,
.emoji-picker-open .dots {
    visibility: hidden !important;
}

/*============================================================
=            Force Emoji Font Rendering for Replies       =
==============================================================*/

.emoji-picker-popup-reply .tiktok-emoji-item {
    font-family: -apple-system, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}

/* For Windows */
@media screen and (-ms-high-contrast: none) {
    .emoji-picker-popup-reply .tiktok-emoji-item {
        font-family: "Segoe UI Emoji" !important;
    }
}


/*====================================================================================================================================================*/




/* Reply Emoji Picker Base Styles */
.emoji-picker-popup-reply {
    display: none;
    min-height: 300px !important;
    width: 375px !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    overflow: auto !important;
}

/* When visible */
.emoji-picker-popup-reply:visible {
    display: block !important;
}

/* Emoji Grid Container */
.emoji-picker-popup-reply .emoji-grid-display {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 10px !important;
    min-height: 100px !important;
}

/* Individual Emoji Buttons */
.emoji-picker-popup-reply .tiktok-emoji-item {
    display: inline-block !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 20px !important;
    line-height: 30px !important;
    text-align: center !important;
    cursor: pointer !important;
    border: none !important;
    background: transparent !important;
    margin: 2px !important;
    padding: 0 !important;
}

.emoji-picker-popup-reply .tiktok-emoji-item:hover {
    background: #f0f0f0 !important;
    border-radius: 4px !important;
}

/* Ensure content inside is visible */
.emoji-picker-popup-reply > * {
    display: block !important;
}

/* Container overflow handling */
.commentForm {
    position: relative;
    overflow: visible !important;
}

/* Modal z-index fix */
.modal .emoji-picker-popup-reply {
    z-index: 1060 !important;
}

/* Main comment section minimum height */
.commentSection .comments {
    min-height: 260px;
    position: relative;
}


/*========================================================================*/

.comment-form-container {
    position: relative !important;
    overflow: visible !important;
    /* REMOVE these problematic lines: */
    /* line-height: 40px !important; */
    /* white-space: nowrap !important; */
    /* margin-bottom: 30px; */
}


/* Target only the reply form textareas */
.commentForm.comment-form-container textarea {
    margin-bottom: 0 !important;
}

/*==============================================================*/


.emoji-btn-inside:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* Make all comment textareas the same height */
.commentTextArea {
    min-height: 30px; 
    height: auto;
    line-height: 30px; /* Match the min-height */
}


/*==========================================================================================================================================================*/



/*=====================================
=            Hashtag style            =
=====================================*/

/* Hashtag styles */
.hashtag-link {
    color: #1DA1F2;
    text-decoration: none;
    font-weight: 500;
    margin-right: 8px;
}

.hashtag-link:hover {
    text-decoration: underline;
    color: #0d7ec4;
}

.video-hashtags {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.hashtag-header {
    padding: 20px;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.hashtag-header h1 {
    margin: 0;
    color: #333;
}

.trending-hashtags {
    padding: 20px;
    background: #f8f9fa;
    margin-top: 30px;
    border-radius: 8px;
}

.trending-tag {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    background: #e9ecef;
    border-radius: 20px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
}

.trending-tag:hover {
    background: #dee2e6;
    color: #212529;
}

/*=====  End of Hashtag style  ======*/



/*========================= Media Queries for Responsiveness ===============================================================================================*/

/*==========================================================================
=            Media Queries Mobile Smartphones (portrait and landscape)            =
===========================================================================*/

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {


    .app__videos {
        height: calc(100vh - 56px);
        max-width: 100%;
        border-radius: 0;
    }


    /* Make the first video shorter */
    .app__videos:first-of-type {
        height: calc(100vh - 56px);
    }

    /* Keep subsequent videos at full height */
    .app__videos:not(:first-of-type) {
        height: calc(100vh - 56px + 56px);
    }




    .commentSection .comment .body {
        max-width: 100% !important;
    }

    .commentSection .header .commentForm textarea, .itemContainer .commentForm textarea {
        width: 100vw !important;
    }

    .likeSidebarButton {
        padding: 20px;
        text-align: center;
        padding-bottom: 10px;
        color: white;
        margin-left: 2px !important;
    }

    /*Likes numbers*/
    .itemContainer .controls .likesCount  {
      margin-left: -18px !important;
      position: absolute; 
      bottom: -20px; 
    }


    /*Reply button*/
    .itemContainer .controls #replyButton {
        margin-left: 0px !important;
    }


    .popup-overlay .repliesSection #replyButton {
        margin-left: 30px !important; 
        position: relative !important;
        margin-top: 5px !important;
    }


    .itemContainer {
        display: block !important;
    }


    /*Brings nested replies to the right for smartphones, similar to desktop*/
    .comments .repliesSection .comment {
        margin-left: -30px !important;
    }


    .repliesSection .viewReplies {
        padding-left: 0px !important;
    }


    .viewReplies {
        position: relative;
        cursor: pointer;
        font-size: 10px;
        font-weight: 400;
        margin-left: 36px;
        margin-top: 10px !important;
        z-index: 10 !important;
    }


    .hideReplies {
        position: relative;
        cursor: pointer;
        font-size: 10px;
        font-weight: 400;
        margin-left: 36px;
        margin-top: -25px !important;
        z-index: 10 !important;
    }

    /* Targets second level viewReplies */
    .repliesSection .viewReplies:not(:first-child) {
        margin-left: 66px !important;
        position: relative !important;
        top: 5px !important; /* Move down by 15px */
        z-index: 10 !important;
    }


     /* Targets second level  hideReplies (Two .repliesSetion instead of :not(:first-child) */
    .repliesSection .repliesSection .hideReplies {
        margin-left: 66px !important;
        position: relative !important;
        /*top: 5px !important;*/
        z-index: 10 !important;
    }


    .popup-overlay {
        visibility: hidden !important;
        position: absolute !important;
        background: white;
        width: 430px !important; /* Set specific width to match video */
        /*height: 110vh !important;*/
        left: -350px !important; /* Your current left position */
        top: -110px !important;
        margin: 0 !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
    }

    .popup-overlay.active {
        visibility: visible !important;
        text-align: left;
        overflow-x: hidden;
        overflow-y: auto !important;
        /* Remove any overscroll-behavior or scrolling prevention */
    }



    .popup-overlay .circleIcon {
        visibility: hidden !important;
    }
    
    
    .popup-overlay.active {
      /*displays pop-up when "active" class is present*/
      visibility: visible !important;
      text-align: left;
      overflow-x: hidden;
    }


    .popup-overlay.active ul {
      list-style-type: none;
    }

    .popup-content {
      /*Hides pop-up content when there is no "active" class */
      visibility: hidden !important;
    }

    .popup-content.active {
      /*Shows pop-up content when "active" class is present */
      visibility: visible !important;

    }


     /* OR try this alternative for original comments */
    .popup-overlay > .commentSection .itemContainer #likeButton {
        margin-top: -10px !important;
        position: relative !important;
    }


    /* Also target nested reply like buttons */
    .popup-overlay .repliesSection #likeButton {
        margin-top: -10px !important; /* Move up by 20px */
        position: relative !important;
    }

    /* Keep your other working rules */
    .popup-overlay .itemContainer .controls .likesCount {
        position: absolute !important;
        bottom: auto !important;
        top: 25px !important;
    }

    .popup-overlay .itemContainer .controls {
        display: flex !important;
        justify-content: space-between !important;
        max-width: 350px !important;
        overflow: visible !important;
    }
      
    /* Hide scrollbars */
    .popup-overlay::-webkit-scrollbar,
    .popup-overlay .commentSection::-webkit-scrollbar {
        display: none !important;
    }


/*------------------------------------------*/
 
    /* Fix emoji picker on mobile */
    .emoji-picker-popup-reply[style*="display: block"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        /* Remove all the positioning rules - let JavaScript handle it */
    }

    /* Ensure proper display on mobile */
    .emoji-picker-popup-reply {
        /* Don't add fixed positioning here */
        width: 350px !important;
        max-width: 90vw !important;
    }
    
    /* Ensure emoji picker content is visible */
    .emoji-picker-popup-reply .emoji-grid-display,
    .emoji-picker-popup-reply .emoji-picker-content {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Fix emoji button positioning */
    .tiktok-emoji-item {
        display: inline-block !important;
    }


    /*====================  Share Video  ============================*/

    /* Fix share popup for smartphones - narrow strip on top */
    .share {
        width: 75px !important; 
        height: 280px !important; 
        margin-left: -15px !important; 
        overflow: hidden;
        border-radius: 5px;
        padding-top: 10px;
        position: absolute;
        transition: transform 0.3s ease-in-out;
        top: -20px !important; 
        left: 50% !important; 
        transform: translateX(-50%) !important; 
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }

    .share-popup {
      display: none; 
      position: absolute; 
      top: 50px;
      left: 50%;
      transform: translateX(-50%);
      background-color: white;
      padding: 10px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      z-index: 10; 
      opacity: 0; 
      transition: opacity 0.3s ease-in-out; 
      margin-top: 40px;
    }

    .share-popup.hidden {
      display: none; 
    }

    .share-popup.show { 
      display: block;
      opacity: 1; 
    }

    .share-popup ul {
      list-style: none;
      margin-left: -30px;
    }

    .share-link {
        cursor: pointer !important;
    }

/*====================  End of Share Video  ============================*/

   .dropdown_data_window {
        background-color: #fff;
        border: 1px solid #DADADA;
        border-radius: 0 0 8px 8px;
        border-top: none;
        width: 300px;
        position: absolute;
        right: 10px;
        top: 40px;
        overflow: scroll;
        margin-right: 300px !important;
    }

    .dropdown_data_window {
        background-color: #fff;
        border: 1px solid #DADADA;
        border-radius: 0 0 8px 8px;
        border-top: none;
        width: 300px;
        position: absolute;
        right: 10px;
        top: 40px;
        overflow: scroll;
        margin-right: 0px !important;
    }


    /* This is the space between items in the Navbar, including Following, Profile, All, Inbox */
    .d-flex {
        gap: 25px !important;
    }


/*------------------------------------------------------------------------*/
/* Profile page for Smartphones: */

    #profile-background {
        background: #fff !important;
    }

    body {
        background: #4C4E52 !important;
    }

    .profile-userpic {
        width: 100%;
        height: auto;
        z-index: 50;
        display: block;
        visibility: visible;
    }


    .circleIcon {
        width:24px !important;
        height:24px !important;
        bottom:0 !important;
        right:100px !important;
        position:absolute !important;
        top:222px !important;
        margin-right: 25px !important;
    } 


    .profile-usertitle {
        text-align: center;
        z-index: 50;
        display: block;
        visibility: visible;
    }

    .profile-userbuttons {
        display: flex;
        justify-content: space-between;
        z-index: 50;
        display: block;
        visibility: visible;
    }  

    .profile-usermenu a,
    .profile-usermenu i {
        color: gray !important;
        z-index: 50;
        visibility: visible;
    }
    /*--------  End of Profile page for Smartphone ---------------------------------*/

    /* Add these 3 rules to your existing smartphone media query */

    /* Make comment section flex container */
    .popup-overlay.active .commentSection {
        display: flex !important;
        flex-direction: column !important;
        height: 70vh !important;
    }

    /* Make comments area scrollable */
    .popup-overlay.active .commentSection .comments {
        flex: 1 !important;
        overflow-y: auto !important;
        padding-bottom: 80px !important;
    }

    /* Make comment form sticky at bottom */
    .popup-overlay.active .commentSection .commentForm {
        position: sticky !important;
        bottom: 0 !important;
        background: white !important;
        z-index: 1000 !important;
        border-top: 1px solid #eee !important;
        padding: 15px 0 !important;
        flex-shrink: 0 !important;
    }


    /*==========================================================
    =            Profile page footer for Smartphones           =
    ===========================================================*/
    
    .footer {
        font-size: 12px !important;
        padding: 10px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .footer a,
    .footer span {
        font-size: 12px !important;
    }

    .profile-usertitle-name {
        color: #5a7391;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 7px;
        margin-right: 25px;
    }
    
    /* Moves comment section to the right for smartphone online view, which is different from Chrome Console. */
    .commentSection {
        padding-left: 18px !important;
    }

}

/*=====  End of Media Queries Smartphones (portrait and landscape)  ======*/

/*===========================================================================================================================================*/


/*==========================================================================
=            Media Queries for Tablets (portrait and landscape)            =
===========================================================================*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { 
/* iPad 6th generation */
/* @media only screen and (device-name="iPad6,1") { */

    .app__videos {
        height: 100vh !important;
        width: auto !important;
        max-width: 70% !important;
        margin: 0 auto;
    }

    .commentSection .comment .body {
        max-width: 80% !important;
    }

    .commentSection .header .commentForm textarea, .itemContainer .commentForm textarea {
        width: 80vw !important;
    }

    .popup-overlay {
        visibility: hidden;
        position: absolute;
        background: white;
        width: 100vw !important; 
        max-width: 550px; 
        height: 85vh !important;
        margin-left: -450px !important;
        margin-top: -450px !important;
        right: 0px !important;
        left: 0px !important;
        top: 280px !important;
    }


    .popup-overlay .circleIcon {
        visibility: hidden !important;
    }


    /*Likes button*/
    .itemContainer .controls button {
        cursor: pointer;
        margin-left: 80px;
    }

    /*Likes numbers*/
    .itemContainer .controls .likesCount  {
      margin-left: -24px !important;
      position: absolute; 
      bottom: -20px; 
    }


    .commentSection .comment .body {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        max-width: 100vw !important;
        overflow-wrap: break-word;
        padding-right: 45px;
        margin-left: -5px;
    }


    /*Reply button*/
    .itemContainer .controls #replyButton {
        margin-left: -500px !important;
    }

    .viewReplies {
        cursor: pointer;
        font-size: 10px;
        font-weight: 400;
        margin-left: 45px !important;
        z-index: 10 !important;
    }


    .videoSidebar__button {
        padding: 20px;
        text-align: center;
        padding-bottom: 10px;
        color: white;
    }


   .likeSidebarButton {
        padding-left: 33px !important;
    }



    .videoSidebar {
        margin-top: 100px !important;
        right: 3px !important;
    }


    .dropdown_data_window {
        background-color: #fff;
        border: 1px solid #DADADA;
        border-radius: 0 0 8px 8px;
        border-top: none;
        width: 300px;
        position: absolute;
        right: 10px;
        top: 40px;
        overflow: scroll;
        margin-right: 105px !important;
    }

/*--------------------------------------------------------------*/
/*Profile page for Tablets:*/

    .container {
        width: 300px !important;
    }


    .profile {
      margin: 20px 0;
    }

    /* Profile sidebar */
    .profile-sidebar {
      padding: 20px 0 10px 0;
      background: #fff;
    }


    .circleIcon {
        width:24px !important;
        height:24px !important;
        bottom:0 !important;
        right:100px !important;
        position:absolute !important;
        top:222px !important;
        margin-right: 30px !important;
    } 


    /* Profile page picture */
    .profile-userpic img {
      float: none;
      margin: 0 auto;
    /*  width: 50%;*/
    /*  height: 50%;*/
      width: 100px;
      height: 100px;
      -webkit-border-radius: 50% !important;
      -moz-border-radius: 50% !important;
      border-radius: 50% !important;
      margin-left: 70px;
    }


    .profile-usertitle {
      text-align: center;
      margin-top: 20px;
    }

    .profile-usertitle-name {
      color: #5a7391;
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 7px;
      margin-left: -30px;
    }

    .profile-usertitle-job {
      text-transform: uppercase;
      color: #5b9bd1;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .profile-userbuttons {
      text-align: center;
      margin-top: 10px;
    }

    .profile-userbuttons .btn {
      text-transform: uppercase;
      font-size: 11px;
      font-weight: 600;
      padding: 6px 15px;
      margin-right: 5px;
    }

    .profile-userbuttons .btn:last-child {
      margin-right: 0px;
    }
        
    .profile-usermenu {
      margin-top: 30px;
    }

    .profile-usermenu ul li {
      border-bottom: 1px solid #f0f4f7;
    }

    .profile-usermenu ul li:last-child {
      border-bottom: none;
    }

    .profile-usermenu ul li a {
      color: #93a3b5;
      font-size: 14px;
      font-weight: 400;
    }

    .profile-usermenu ul li a i {
      margin-right: 8px;
      font-size: 14px;
    }

    .profile-usermenu ul li a:hover {
      background-color: #fafcfd;
      color: #5b9bd1;
    }

    .profile-usermenu ul li.active {
      border-bottom: none;
    }

    .profile-usermenu ul li.active a {
      color: #5b9bd1;
      background-color: #f6f9fb;
      border-left: 2px solid #5b9bd1;
      margin-left: -2px;
    }

    /* Profile Content */
    .profile-content {
      padding: 20px;
      background: #fff;
      min-height: 460px;
    }


   #profile-background {
        background: #fff !important;
    }

    body {
        background: #4C4E52 !important;
    } 


    .delete-btn .dots {
        display: inline-block;
        width: 20px;
        height: 5px;
        color: darkgray;
        font-size: large;
        font-weight: 900;
        margin-left: 350px !important;
    }


    /*====================  Share Video  ============================*/

/*    .popup-overlay.active {
        visibility: visible;
        text-align: left;
        overflow-x: hidden;
    }  */ 

    .share {
        width: 70px;
        height: 275px !important;
        margin-left: 0px !important;
        overflow: hidden;
        border-radius: 5px;
        padding-top: 10px;
        position: absolute;
        transition: transform 0.3s ease-in-out;
        top: calc(100% + 350px) !important;
        left: 0;
        transform: translateY(-100%);
    }

    /*====================  End of Share Video  ============================*/


}  /*End of Media Queries for Tablets*/


/*=====  End of Media Queries for Tablets (portrait and landscape)  ======*/

/*===========================================================================================================================================*/





/*-------------------------------------------------------------------------------------*/
/* Laptops and small desktops */
@media only screen and (min-width: 1025px) and (max-width: 1366px) {
    .app__videos {
        height: 80vh;
        max-width: 350px;
        margin: 0 auto;
    }


}

/*====================== End of Media Queries for Responsiveness ==========================*/
/*====== End of Media Queries for Responsiveness ==========================*/
