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

body {
  font-family: 'Segoe UI', sans-serif;
  background: #1c1c1c;
  color: white;
  display: flex;
}

/* Sidebar */
.sidebar {
  width: 70px;
  background: #121212;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.sidebar .logo {
  font-size: 22px;
  color: #00ff99;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.sidebar li {
  margin: 20px 0;
  font-size: 20px;
  color: white;
  cursor: pointer;
}

/* Main Content */
.main-content {
  flex-grow: 1;
  padding: 20px;
}


.categories a {
  margin-right: 20px;
  text-decoration: none;
  color: #aaa;
  font-weight: bold;
}

.categories a.active {
  color: #00ff99;
}

.search-bar {
  display: flex;
}

.search-bar input {
  padding: 8px 12px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.search-bar button {
  padding: 8px 12px;
  background: #00ff99;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: 10px auto;
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.google-btn {
  background-color: #fff;
  color: #444;
  border: 1px solid #ccc;
}

.spotify-btn {
  background-color: #1DB954;
  color: #fff;
}

.google-btn:hover {
  background-color: #f1f1f1;
}

.spotify-btn:hover {
  background-color: #1ed760;
}

.social-btn i {
  margin-right: 8px;
  font-size: 18px;
}


/* Hero Section */
.hero {
  position: relative;
  margin-bottom: 40px;
}

.hero img {
  width: 100%;
  border-radius: 10px;
}

.hero-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
}

.hero-buttons button {
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

button.primary {
  background: #00ff99;
  color: black;
}

button.secondary {
  background: #333;
  color: white;
}

/* Popular Section */
.popular h2 {
  margin-bottom: 20px;
}

.video-row {
  display: flex;
  gap: 20px;
}

.video-card img {
  width: 200px;
  border-radius: 8px;
}

.video-card p {
  margin-top: 10px;
  text-align: center;
}

.library-section h2 {
  margin-bottom: 20px;
}

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

.filters label {
  font-weight: bold;
}

.filters select {
  padding: 6px 10px;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
}

/* Player Banner */
.player-banner img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Video Info */
.video-info h2 {
  font-size: 28px;
  margin-bottom: 5px;
}

.video-info .meta {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 15px;
}

.video-info .description {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rating {
  background: #333;
  padding: 6px 10px;
  border-radius: 5px;
  color: #ffcc00;
  font-weight: bold;
}

button.primary {
  background: #00ff99;
  color: black;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

button.secondary {
  background: #333;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Related Videos Section */
.related-videos h3 {
  margin: 40px 0 20px;
}
/* Gift Section */
.gift-section {
  text-align: center;
  margin-bottom: 30px;
}

.gift-btn {
  background: #ffcc00;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.gift-btn:hover {
  background: #e6b800;
}

/* Gift Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1000;
}

.popup-content {
  background: #1e1e1e;
  padding: 30px;
  max-width: 400px;
  margin: 100px auto;
  border-radius: 10px;
  text-align: center;
  color: white;
  position: relative;
}

.popup-content input {
  padding: 10px;
  width: 80%;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
}

.send-btn {
  background: #00ff99;
  color: black;
  font-weight: bold;
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.send-btn:hover {
  background: #00e68a;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* Settings Section */
.settings-section {
  padding: 30px 10px;
}

.settings-section h2 {
  margin-bottom: 20px;
}

.settings-group {
  margin-bottom: 30px;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
}

.settings-group h3 {
  margin-bottom: 10px;
}

.settings-group select {
  padding: 8px 12px;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
}

.device-list {
  list-style: none;
  padding-left: 0;
}

.device-list li {
  margin-bottom: 10px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 10px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider.round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #888;
  border-radius: 24px;
  transition: 0.4s;
}

.slider.round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.toggle-switch input:checked + .slider.round {
  background-color: #00ff99;
}

.toggle-switch input:checked + .slider.round:before {
  transform: translateX(26px);
}
body.light-theme {
  background-color: #f5f5f5;
  color: #111;
}

body.light-theme .main-content {
  background: #ffffff;
}

body.light-theme .settings-group {
  background: #f0f0f0;
}
 
/* Auth Page Styling */
.auth-body {
  background-color: #121212;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.auth-box {
  background-color: #1f1f1f;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.tab-switcher {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tab-switcher button {
  flex: 1;
  padding: 10px;
  font-weight: bold;
  border: none;
  background: #2c2c2c;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.tab-switcher button.active {
  background: #00ff99;
  color: black;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #2e2e2e;
  color: white;
}

.auth-form button.primary {
  background: #00ff99;
  color: black;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.auth-form button.primary:hover {
  background: #00e68a;
}

.hidden {
  display: none;
}
/* Role Selector */
.role-selector {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.role-selector input[type="radio"] {
  margin-right: 6px;
}

#producerFields input {
  margin-top: 10px;
}
/* EPN Dashboard */
.epn-dashboard {
  padding: 30px 10px;
}

.epn-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.epn-stats .card {
  background: #2a2a2a;
  padding: 20px;
  flex: 1;
  min-width: 220px;
  border-radius: 8px;
  text-align: center;
}

.epn-stats .card h3 {
  margin-bottom: 10px;
}

.video-manager table {
  width: 100%;
  border-collapse: collapse;
  background: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
}

.video-manager th,
.video-manager td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #444;
}

.status.published {
  color: #00ff99;
  font-weight: bold;
}

.status.draft {
  color: #ffcc00;
  font-weight: bold;
}

button.danger {
  background: #cc3333;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button.danger:hover {
  background: #aa0000;
}
/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: white;
}

.banner-buttons {
  margin-top: 10px;
}

.banner-buttons .primary {
  background: #00ff99;
  color: black;
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.banner-buttons .secondary {
  background: #333;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.popular-section h3 {
  margin-bottom: 15px;
}

.video-row {
  display: flex;
  gap: 20px;
}

.video-card {
  width: 150px;
  text-align: center;
}

.video-card img {
  width: 100%;
  border-radius: 6px;
}
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #1e1e1e;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.categories a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
  font-weight: 500;
}

.categories a.active,
.categories a:hover {
  color: #00ff99;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-center input {
  padding: 8px 12px;
  border-radius: 5px;
  border: none;
  width: 200px;
}

.nav-center button {
  background-color: #00ff99;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  color: black;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.settings-link {
  color: white;
  font-weight: 500;
  text-decoration: none;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* Video Card Actions */
.video-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-card button.secondary {
  background: #333;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.video-card button.secondary:hover {
  background: #555;
}

/* Gift Options */
.gift-options {
  margin-top: 10px;
}

.gift-options select {
  padding: 6px;
  border-radius: 4px;
  background: #2e2e2e;
  color: white;
  border: none;
}

.video-card.gifted {
  opacity: 0.5;
  position: relative;
}

.video-card.gifted::after {
  content: "🎁 Gifted";
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ffc107;
  color: black;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
}

/* Rating Box */
.rating-box {
  margin-top: 20px;
  color: white;
}

.rating-box select {
  background: #2a2a2a;
  color: white;
  border: none;
  padding: 6px;
  border-radius: 4px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filters label {
  font-weight: bold;
}

.filters select {
  padding: 6px 10px;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
}