@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

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

html, body { height: 100%;   font-family: sans-serif; background: lightgray }

body {
  display: flex;
  justify-content: center;
  letter-spacing: 0.5px;
  line-height: 1.1;
  align-items: center;
  text-shadow: 0.5px 0.5px 0 #ccc;
  overflow-y: auto;
  font-family: sans-serif; !important


}

.container {
  width: 1000px;
  background: white;
  position: absolute; 
  height: auto;
  top: 0;
  z-index: 999;
  left: 50%;
  transform: translateX(-50%); 
  padding-top: 90px; 
  padding-bottom: 40px; 
}


.banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  display: flex;
  align-items: center;
  background-color: #E879C4;
}


.banner-links {
  position: absolute;
  top: 5px;
  right: 10px;
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.banner-links a {
  text-decoration: underline;
  color: white;
  font-size: 0.85em;
  position: relative;
  padding: 0 8px;
}


.banner-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #013220;
}

.banner-links a:hover {
  color: lightgreen;
}

.banner img {
  max-height: 75px; 
}

.banner-text {
  font-size: 1.1em;
  margin-Left: 10px;
  text-shadow: 1px 1px 0 #ccc;
  font-style: italic; 
  color: white; 
}


.banner-search-wrapper {
  display: flex;
  align-items: stretch; 
  gap: 4px;
  margin-top: 8px;
  width: 200px;
  margin-Left: 10px;
}

.banner-search-wrapper-browse {
  display: flex;
  align-items: stretch; 
  gap: 4px;
  margin-top: 4px;
  width: 200px;
  margin-Left: 10px;
}


.search-type {
  padding: 0 0px; 
  font-size: 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #000;
  height: 20px; 
  box-sizing: border-box; 
}

.info {
  margin-Left: 12px;
  font-size: 0.7em;
  font-weight: none;
  color: blue;
  margin-top: 15px;
  
}


.banner-search {
  flex: 1;
  padding: 0 8px;
  font-size: 12px;
  border: 1px solid #ccc;
  height: 20px; 
  box-sizing: border-box;
}

.search-button {
  height: 20px; 
  padding: 0 6px;
  font-size: 12px;
  background-color: white;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  box-sizing: border-box;
}

.search-button:hover {
  background-color: #f0f0f0; 
}

.nav-links {
  position: static;
  top: 90px;   
  z-index: 999;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  background-color: #E879C4;
  border-bottom: 2px solid black;
}


.nav-links a {
  text-decoration: none;
  color: white;
  text-shadow: 1px 1px 0 #ccc;
  font-size: 11px;
  position: relative;
  padding: 0 10px; 
}


.nav-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  text-shadow: 1px 1px 0 #ccc;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: black; 
}


.nav-links a:hover {
  text-decoration: underline;
}


.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; 
  width: 100%;
  height: calc(100% - 140px); 
  position: relative;
  padding: 20px;
}


.branches {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  gap: 20px;
  flex-wrap: wrap;
}

.login-branch, .signup-branch, .forgot-branch {
  padding: 5px 15px;
  min-width: 120px;
  height: 35px;
  background-color: #fff;
  color: #013220;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
  text-decoration: none;
  cursor: pointer;
}

.login-branch:hover,
.signup-branch:hover,
.forgot-branch:hover {
  background-color: #013220;
  color: #fff;
}
.left-post-input {
  width: 100%;
  padding: 10px;
  margin: 10px auto; 
  font-size: 0.9em;
  border: 2px solid #013220;
  resize: vertical; 
  box-sizing: border-box;
}

.left-banner-search {
  width: 150px;
  padding: 10px;
  height: 5%;
  margin: 10px; 
  font-size: 0.9em;
  border: 2px solid #013220;
  resize: vertical; 
  box-sizing: border-box;
}

.main-content {
  display: flex;
  gap: 20px;          
  padding: 0 20px;    
  margin-top: 20px;
  width: 100%;
  margin-bottom: 20px;
  height: auto;
  z-index: 999;
  box-sizing: border-box;
}


.left-box {
  flex: 80;
  min-height: 200px;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.simple-right-box {
  min-height: 200px;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 20;
}
.invite-bottom {
  font-size: 0.8em;
  color: #0066cc;
  text-decoration: underline;
}

.invite-bottom:hover {
  color: darkblue;
}

.page-indicator {
  font-size: 0.9em;
  color: #333;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.5); 
  transition: opacity 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto; 
  padding: 20px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: slideDown 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.modal-close:hover {
  color: #D62B2B;
}

.modal h2 {
  margin-bottom: 12px;;
  color: #4CAF50;
  font-size: 1.3em;
}

.modal p {
  font-size: 0.9em;
  line-height: 1.5;
  color: #555;
}

.modal button {
  padding: 6px 12px;
  border: none;
  cursor: pointer;
}

#reminders-modal button#create-reminder-btn {
  background-color: #4CAF50;
  color: white;
}

#reminders-modal button#create-reminder-btn:hover {
  background-color: #45a049;
}


@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.left-image-content {
  flex: 30;
  background: #f5f5f5;
  min-height: 312px;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.account-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  margin-top: 10px;
}

.account-links li a {
  text-decoration: none;
  color: darkgreen;
  font-size: 0.8em;
  padding: 6px 8px;
}

.account-links li a:hover {
  color: black;
}

.left-image-banner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 30px;
  background-color: darkgreen;
  color: white;
  display: flex;
  align-items: center;          
  justify-content: space-between; 
  padding: 0 10px;               
  border-bottom: 1px solid green;
  font-size: 0.9em;
  z-index: 10;
}

.left-box-banner {
  position: sticky;
  top: 0;
  width: 90%;
  height: 25px;
  background-color: blue;
  color: white;
  display: flex;
  align-items: center;          
  justify-content: space-between; 
  padding: 0 10px;               
  border-bottom: 2px solid black;
  font-size: 0.9em;
  z-index: 10;
}

.return-link {
  display: block;
  text-align: center;
  margin-top: 0px;
  font-size: 0.95em;
}


.left-box-banner .close-btn-x {
  color: white;
  text-decoration: none;
  border: 1px solid white;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.left-box-banner .close-btn-x:hover {
  background: #ff1c1c;
}

.people-you-may-know {
  flex: 30;
  background: #f5f5f5;
  border: 2px solid darkgreen;
  min-height: 150px;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.people-you-may-know-banner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 40px;
  background-color: darkgreen;
  color: white;
  display: flex;
  align-items: center;          
  justify-content: space-between; 
  padding: 0 10px;               
  border-bottom: 2px solid black;
  font-size: 0.9em;
  margin-bottom: 15px;
  z-index: 10;
}

.left-post-input {
  width: 90%;
  padding: 10px;
  margin: 10px; 
  font-size: 0.9em;
  border: 2px solid #013220;
  resize: vertical; 
  box-sizing: border-box;
}

.left-box-content {
  flex: 1;
}


.right-box-banner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 25px;
  background-color: #548532;
  color: white;
  display: flex;
  align-items: center;          
  justify-content: space-between; 
  padding: 0 0px;               
  border-bottom: 2px solid black;
  font-size: 0.9em;
  z-index: 10;
}

.right-bottom-box {
  background: #f5f5f5;
  border: 2px solid green;
  min-height: 150px;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}


.right-bottom-box-banner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 40px;
  background-color: darkgreen;
  color: white;
  display: flex;
  align-items: center;          
  justify-content: flex-start;  
  padding: 0 10px;              
  border-bottom: 2px solid black;
  font-size: 0.9em;
  margin-bottom: 15px;
  z-index: 10;
}


.right-bottom-box-content {
  padding: 20px;
  flex: 1;
}

.right-column {
  flex: 30;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 20px; 
}

.bottom-row {
  display: flex;
  padding: 0 20px;  
  margin-top: 20px; 
  width: 100%;
  box-sizing: border-box;
}


.bottom-row .content-box {
  flex: 1;                  
  background: #f5f5f5;
  border: 1px solid green;
  font-size: 0.8rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0;               
}
.bottom-left-content,
.additional-content,
.bottom-middle-content,
.bottom-right-content {
  padding: 10px;
  text-align: left;
  flex: 1;
}


.login-text {
  margin-top: 10px;
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  color: #001a0f;
}


.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

a.development-link {
  color: black;           
  text-decoration: underline;  
}

a.development-link:hover {
  color: #4CAF50;         
}

.link-item {
  cursor: pointer;
  font-size: 11px;
  text-align: center;
  color: #800080;
  text-decoration: underline;
}

.footer {
  position: fixed;      
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  z-index: 1;         
}
.banner-search {
  width: 300px;     
  height: 25px;     
  font-size: 12px;  
  margin-bottom: 5px;
  padding: 0 12px; 
}
.search-button {
  height: 25px;
  padding: 0 5px;
  font-size: 16px;
}
#upload-dropzone:hover {
  background: #eef6ff;
  border-color: #4a90e2;
  transform: scale(1.02);
}
.wmp-player {
  width: 100%;
  background: linear-gradient(180deg, #ff7fcf, #bf4f8f, #73284f);
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

.wmp-header {
  background: linear-gradient(to bottom, #ff7fcf 0%, #bf4f8f 50%, #73284f 100%);
  color: #fff;
  padding: 10px;
  font-size: 14px;
  border-top: 1px solid #ffb3e6;
  border-bottom: 2px solid #4d1a33;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.wmp-screen {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wmp-screen video {
  width: 100%;
  max-height: 400px;
}

.wmp-controls button {
  background: linear-gradient(to bottom, #ff7fcf, #bf4f8f);
  border: 1px solid #4d1a33;
  color: white;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.wmp-controls button:hover {
  background: linear-gradient(to bottom, #ff99dd, #d65aa8);
}

#progress {
  flex: 1;
}

#volume {
  width: 80px;
}

.left-box-content {
  padding: 0 !important;
}

.wmp-player {
  width: 90%;
  margin: 0;
  border-radius: 0;
}

.wmp-screen video {
  width: 100%;
  display: block;
}

.wmp-controls {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.left-box-banner {
  position: relative;
  padding: 8px 12px;
  background: linear-gradient(to bottom, #ff7fcf 0%, #bf4f8f 50%, #73284f 100%);
  color: white;
  font-weight: bold;
  border-top: 1px solid #ffb3e6;
  border-bottom: 2px solid #4d1a33;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.left-box-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0));
  pointer-events: none;
}

#progress,
#volume {
  accent-color: #ff7fcf;
}

#progress {
  flex: 1;
}

#volume {
  width: 80px;
}

.wmp-controls {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 8px;
  width: 100%;
}

#progress {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: #4d1a33;
  cursor: pointer;
}

#progress::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(to right, #ff7fcf, #73284f);
  border-radius: 4px;
}

#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #ffd6f0;
  border: 1px solid #4d1a33;
  border-radius: 2px;
  margin-top: -3px;
  cursor: pointer;
}

#progress::-moz-range-track {
  height: 6px;
  background: linear-gradient(to right, #ff7fcf, #73284f);
}

#progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #ffd6f0;
  border: 1px solid #4d1a33;
  cursor: pointer;
}

.video-uploader {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

#uploader-pic {
  width: 40px;
  height: 40px;
  margin-top: 15px;
  object-fit: cover;
  border: 1px solid #4d1a33;
}

.uploader-info {
  display: flex;
  flex-direction: column;
}

#video-user {
  color: #ff7fcf;
  font-size: 14px;
  text-decoration: none;
}

#current-time,
#duration {
  font-size: 12px;
  color: #ffd6f0;
  min-width: 40px;
  text-align: center;
}

.video-divider {
  border: none;
  height: 5px;
  width: 70%;
  background: linear-gradient(to right, transparent, #bf4f8f, transparent);
  margin: 15px 0;
}

.right-box-banner {
  position: relative;
  padding: 8px 12px;
  background: linear-gradient(to bottom, #ff7fcf 0%, #bf4f8f 50%, #73284f 100%);
  color: white;
  font-weight: bold;
  border-top: 1px solid #ffb3e6;
  border-bottom: 2px solid #4d1a33;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.right-box-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0));
  pointer-events: none;
}

.simple-right-box {
  transform: translateX(-30px);
}

.video-description {
  max-width: 600px;
}

.read-more {
  color: #ff7fcf;
  cursor: pointer;
  font-size: 12px;
}

.read-more:hover {
  opacity: 0.6;
}

.related-item {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.related-item:hover {
  background: #eee;
}

.related-thumb {
  width: 80px;
  height: 45px;
  object-fit: cover;
  background: #000;
}

.related-title {
  font-size: 12px;
  color: #333;
}
.comment-btn {
  margin-top: 8px;
  width: 100px;
  margin-bottom: 15px;
  padding: 8px;
  background: #1e6fff;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

[data-theme="pink"] .comment-btn {
  background: #ff7fcf;
}

