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

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: #2d545e;
  color: #fff;
  overflow: hidden;
}

.scroll-box {
	width: auto;
	max-height: auto;
	overflow-y: scroll;
	border: 1px solid #ccc;
}
        
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #12343b;
  padding: 140px 20px;
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}
.sidebar.active {
  left: 0;
}
.sidebar h2 {
  margin-bottom: 20px;
}
.sidebar ul {
  list-style: none;
}
.sidebar ul li {
  margin: 20px 0;
  font-size: 18px;
}
.sidebar ul li i {
  margin-right: 10px;
}

/* Menu Toggle */
.menu-toggle {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 24px;
  z-index: 1001;
  cursor: pointer;
  color : #c89666;
}

/* Main App */
.app {
  height: 90vh;
  position: relative;
}

/* Video Area */
.video-container {
  height: auto;
  width: auto;
  position: relative;
  border : 3px solid gray;
  border-radius: 25px;
  
  padding-top: 0%;
  padding-bottom:0%;
  padding-right: 0%;
  padding-left:0%;
  
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 3%;
  margin-bottom: 2%;


  background-color: black;
}

.videoex {
text-align:center;

}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius : 25px;

}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius : 25px;

}

/* Overlay */
.overlay {
  position: absolute;
  height : auto;
  width : auto;
  top: 0%;
  left: 0px;
  right: 0px;
  display: flex;
  border-radius: 25px;
  justify-content: space-between;

  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  
}

.actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 20px;
  color: #71767b;

}

.actions span {
  cursor: pointer;
  transition: color 0.2s;
}

.actions span:hover {
  color: #1d9bf0;
}


.video-info {
  max-width: 70%;
}
.video-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top : 2%;
  padding-right : 2%;
  margin-right: 0%;
text-align: right;
text-align: right;
position: absolute;
 right: 0;

}
.video-actions div {
  font-size: 20px;
  text-align: center;
}
.video-actions i {
  font-size: 25px;
  cursor: pointer;
}

/* Right Comment Panel */
.comment-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100%;
  background-color: rgba(18,18,18,0.5);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 1002;
  text-align:left;
}
.comment-panel.open {
  right: 0;
  text-align:left;
}
.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.comment-list {
  flex: 1;
  overflow-y: auto;
  margin: 10px 0;
    text-align:left;
}
.comment-list p {
  margin-bottom: 10px;
    text-align:left;
}
.comment-input {
  display: flex;
  gap: 8px;
    text-align:left;
}
.comment-input textarea {
  flex: 1;
  padding: 8px;
  background: #222;
  border: none;
  border-radius: 20px;
  color: #fff;
    text-align:left;
}
.comment-input button {
  background: #4caf50;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
    text-align:left;
}

.exitcommentsbutton {

font-size : 30px;
width : 40px;
height : 40px;
background-color: #c89666; 

}

.signinButton {

display: block;
margin: 0 auto;
font-size : 30px;
width : 200px;
height : auto;
background-color: #c89666; 

}


.ProfileDeleteButton {

display: block;
margin: 0 auto;
font-size : 30px;
width : 200px;
height : auto;
background-color: #D10000

}


/* Right Transfert Panel */
.transfert-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 370px;
  height: 100%;
  background-color: rgba(18,18,18,0.6);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 1002;
}
.transfert-panel.open {
  right: 0;
}
.transfert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.transfert-list {
  flex: 1;
  overflow-y: auto;
  margin: 10px 0;
}
.transfert-list p {
  margin-bottom: 10px;
}
.transfert-input {
  display: flex;
  gap: 8px;
}
.transfert-input input {
  flex: 1;
  padding: 8px;
  background: #222;
  border: none;
  border-radius: 20px;
  color: #fff;
}
.transfert-input button {
  background: #4caf50;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

.transferttab{

  padding: 15px;

}


/* Right Profile Options Panel */
.profileContentOptions-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 370px;
  height: 100%;
  background-color: rgba(18,18,18,0.6);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 1002;
}
.profileContentOptions-panel.open {
  right: 0;
}
.profileContentOptions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.profileContentOptions-list {
  flex: 1;
  overflow-y: auto;
  margin: 10px 0;
}
.profileContentOptions-list p {
  margin-bottom: 10px;
}
.profileContentOptions-input {
  display: flex;
  gap: 8px;
}
.profileContentOptions-input input {
  flex: 1;
  padding: 8px;
  background: #222;
  border: none;
  border-radius: 20px;
  color: #fff;
}
.profileContentOptions-input button {
  background: #4caf50;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}


/* Right Information Panel */
.information-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 370px;
  height: 100%;
  background-color: rgba(18,18,18,0.5);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 1002;
  text-align:left;
}
.information-panel.open {
  right: 0;
  text-align:left;
}
.information-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.information-list {
  flex: 1;
  overflow-y: auto;
  margin: 10px 0;
  text-align:left;
}
.information-list p {
  margin-bottom: 10px;
  text-align:left;
}
.information-input {
  display: flex;
  gap: 8px;
  text-align:left;
}
.information-input input {
  flex: 1;
  padding: 8px;
  background: #222;
  border: none;
  border-radius: 20px;
  color: #fff;
  text-align:left;
}
.information-input button {
  background: #4caf50;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  text-align:left;
}


.informationtab{

  padding: 15px;

}

.exitcommentsbutton {
font-size : 30px;
width : 40px;
height : 40px;

}


/* Viewer Panel*/
.viewer-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 370px;
  height: 100%;
  background-color: rgba(18,18,18,0.5);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 1002;
  text-align:left;
}
.viewer-panel.open {
  right: 0;
  text-align:left;
}
.viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.viewer-list {
  flex: 1;
  overflow-y: auto;
  margin: 10px 0;
  text-align:left;
}
.viewer-list p {
  margin-bottom: 10px;
  text-align:left;
}
.viewer-input {
  display: flex;
  gap: 8px;
  text-align:left;
}
.viewer-input input {
  flex: 1;
  padding: 8px;
  background: #222;
  border: none;
  border-radius: 20px;
  color: #fff;
  text-align:left;
}
.viewer-input button {
  background: #4caf50;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  text-align:left;
}

.viewertab{

  padding: 15px;

}

/* Bottom Navigation */
.top-nav {
  position: fixed;
  width: 100%;
  height: 60px;

  background: #12343b;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 998;
}
.top-nav i {
  color: #aaa;
  font-size: 20px;
}
.top-nav i.active {
  color: white;
}
.add {
  background: white;
  color: black;
  padding: 4px 14px;
  font-size: 22px;
  border-radius: 10px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .comment-panel {
    width: 100%;
  }
}


.circular--portrait { 
position: relative;
width: 50px; 
height: 50px; 
overflow: hidden; 
border-radius: 50%; 
} 

.circular--portrait img { 
width: 100%; 
height: auto;
}

.circular--portraitMenuBar { 
  position: relative;
  width: 30px; 
  height: 30px; 
  overflow: hidden; 
  border-radius: 50%; 
  } 
  
  .circular--portraitMenuBar img { 
  width: 100%; 
  height: auto;
  }

.imgcontainer {
 display: grid;
 align-items: center; 

 column-gap: 1px;
}

.textimagusername {
  font-size: 70px;
}


.search-input {
  width: 80%;
  padding: 12px 40px 12px 16px;
  border-radius: 25px;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: #1f1f1f;
  color: #fff;
  transition: 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 8px #4CAF50;
  background-color: #2c2c2c;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 18px;
  pointer-events: none;
}


.dropbtn {
  background-color: #c89666;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #e1b382;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #e1b382}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #e1b382;
}

.bottomlines{
	margin-bottom: 15%;
}

.welcomelines{
   margin-top :1%;
}

.user-message {
  margin: auto;
  width: 90%;
  border: 1px solid #4771fa;
  padding: 0.5rem;
  border-radius: 3px;
  background: #b9c9ff;
  text-align: center;
}

.user-message--error {
  border-color: red;
  background: rgb(255, 176, 176);
  color: red;
}


