* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f9f9f9;
}

/* TOP BAR */
.topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu {
    font-size: 22px;
    cursor: pointer;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.top-center {
    display: flex;
    width: 40%;
}

.top-center input {
    flex: 1;
    padding: 6px;
    border: 1px solid #ccc;
}

.top-center button {
    padding: 6px 10px;
    border: 1px solid #ccc;
    background: #eee;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative; /* fix para lumabas ang dropdown */
    overflow: visible;   /* fix para hindi ma-cut off ang dropdown */
}

.top-right a {
    font-size: 18px;
    position: static; /* fix para hindi mag-conflict sa dropdown */
    margin-left: 10px;
    text-decoration: none;
}

/* Sign Up button base style */
a.signup {
    background: #1a73e8;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease; /* smooth transition */
}

/* Hover effect with glow */
a.signup:hover {
    background: #1558b0; /* darken background slightly */
    color: #00c3ff; /* text color change */
    text-shadow: 0 0 5px #00c3ff, 0 0 10px #00c3ff; /* glow effect */
}

/* WRAPPER */
.wrapper {
    display: flex;
    margin-top: 56px;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    background: #fff;
    padding: 10px;
    border-right: 1px solid #ddd;
    height: calc(100vh - 56px);
}

.sidebar a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
    border-radius: 6px;
    margin-bottom: 4px;
}

.sidebar a.active,
.sidebar a:hover {
    background: #eee;
}

.sidebar hr {
    margin: 10px 0;
}

/* CONTENT */
.content {
    flex: 1;
    padding: 20px;
}

/* TABS */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.tabs span {
    padding: 6px 12px;
    background: #eee;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
}

.tabs .active {
    background: #000;
    color: #fff;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.thumb {
    height: 140px;
    background: #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.channel {
    font-size: 13px;
    color: #555;
}

.meta {
    font-size: 12px;
    color: #777;
}

/* NOTIFICATION BADGE */
.badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
}

.profile {
  position: relative;
  cursor: pointer;
  z-index: 100;
}

.profile .avatar {
  width:32px;
  height:32px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  background:#1a73e8;
  color:#fff;
}

.profile .dropdown {
  position: absolute;
  top:40px;
  right:0;
  width:280px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  display:none;
  padding:10px;
  opacity:0;
  transform:translateY(-10px);
  transition: all 0.25s ease;
}

.profile.active .dropdown {
  display:block;
  opacity:1;
  transform:translateY(0);
}

.profile .dropdown a {
  display:block;
  padding:8px 10px;
  font-size:14px;
  color:#333;
  text-decoration:none;
  border-radius:4px;
  transition: background 0.2s;
}

.profile .dropdown a:hover {
  background:#f1f1f1;
}

.profile .dropdown hr {
  margin:8px 0;
  border:none;
  border-top:1px solid #eee;
}


/* HR inside dropdown */
.dropdown hr {
    margin: 8px 0;
}

/* CLICK-BASED DROPDOWN (YouTube-style) */
.dropdown {
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.profile.active .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* UPLOAD MODAL OVERLAY */
.upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* ================== YOUTUBE STYLE UPLOAD ================== */
.yt-upload-modal{
  width:900px;
  background:#fff;
  border-radius:12px;
  display:flex;
  flex-direction:column;
}

.yt-header{
  padding:14px 18px;
  border-bottom:1px solid #ddd;
  display:flex;
  justify-content:space-between;
}

.yt-steps{
  display:flex;
  gap:20px;
  padding:10px 18px;
  font-size:14px;
}

.yt-steps span{color:#777;}
.yt-steps .active{color:#000;font-weight:bold;}

.yt-body{
  display:flex;
  gap:20px;
  padding:18px;
}

.yt-left{flex:1;}
.yt-left input,
.yt-left textarea,
.yt-left select{
  width:100%;
  padding:10px;
  margin-bottom:12px;
  border:1px solid #ccc;
  border-radius:6px;
}

.yt-right{
  width:320px;
}

.video-preview video{
  width:100%;
  border-radius:8px;
  background:#000;
}

.next-btn{
  background:#065fd4;
  color:#fff;
  border:none;
  padding:10px 18px;
  border-radius:6px;
  cursor:pointer;
}

/* HEADER */
.upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
}

.upload-header h3 {
    font-size: 16px;
}

.close-btn {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

/* BODY */
.upload-body {
    padding: 40px 20px;
    text-align: center;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.upload-body .sub {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/* SELECT FILES BUTTON */
.select-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
}

/* DRAG EFFECT */
.upload-body.dragover {
    background: #f1f1f1;
    border-radius: 8px;
}

/* ANIMATION */
@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.channel-tabs {
    display:flex;
    gap:20px;
    border-bottom:1px solid #ddd;
    margin-bottom:20px;
}

.channel-tabs .tab {
    padding:10px 0;
    text-decoration:none;
    color:#555;
    font-weight:500;
}

.channel-tabs .active {
    color:#000;
    border-bottom:3px solid #000;
}

.about-section {
    display:flex;
    gap:40px;
}

.about-left {
    flex:2;
}

.about-right {
    flex:1;
}

.about-section h3 {
    margin-bottom:10px;
}

.lyrics-sheet{
  max-width:720px;
  margin:auto;
  background:#fff;
  padding:30px;
  border-radius:16px;
}

.lyrics-title{
  text-align:center;
  font-size:22px;
  margin-bottom:10px;
}

.meta-box textarea{
  width:100%;
  height:70px;
  border-radius:12px;
  padding:10px;
  background:#f5f5f5;
  border:none;
  margin-bottom:20px;
}

.section{
  position:relative;
  margin-bottom:30px;
}

.section textarea{
  width:100%;
  min-height:300px;
  border:none;
  background:#eee;
  border-radius:14px;
  padding:16px;
  font-size:14px;
}

.label{
  position:absolute;
  right:10px;
  top:-14px;
  padding:6px 14px;
  border-radius:18px;
  font-size:13px;
}

.label.verse{background:#f3f3f3;}
.label.pre{background:#ffd6d6;}
.label.chorus{background:#ff7a7a;color:#fff;}

.success-box{
  max-width:420px;
  margin:120px auto;
  background:#fff;
  padding:30px;
  border-radius:14px;
  text-align:center;
}
.success-box h2{color:#28a745;}

.lock-badge{
  background:#000;
  color:#fff;
  padding:4px 10px;
  border-radius:12px;
  font-size:12px;
  margin-left:8px;
}

.watermarked{
  position:relative;
}

.watermarked::after{
  content:"DONATED TO HARKAVAH";
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:28px;
  color:rgba(0,0,0,0.12);
  font-weight:bold;
  transform:rotate(-15deg);
  pointer-events:none;
}

/* ================= NOTIFICATION ANNOUNCEMENT STYLE ================= */

.notif-wrapper{
  max-width: 900px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notif-card{
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg,#ff9800,#ffb74d);
  padding: 18px;
  border-radius: 16px;
  color: #000;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform .2s, box-shadow .2s;
}

.notif-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}

.notif-left{
  flex-shrink: 0;
}

.notif-icon{
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background:#fff;
  padding:6px;
}

.notif-right{
  flex:1;
}

.notif-title{
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.notif-message{
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.notif-date{
  font-size: 12px;
  opacity: .85;
}
#progressBarContainer {
  width: 100%;
  height: 16px;
  background-color: #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 5px;
}

#progressBar {
  height: 100%;
  width: 0%;
  background-color: #4caf50;
  transition: width 0.3s ease;
}