@charset "UTF-8";
/* CSS Document */
*{
	padding: 0px;
	margin: 0px;
	color: black;
}

a{
	text-transform: uppercase;
	font-weight: 900;
	color: white;
}

a:hover{
	color: lightgrey;
}

button{
	cursor: pointer;
	color:white;
	background-color:cadetblue;
	width: 100px;
	height: 30px;
	border-style: solid;
	border-color: white;
	border-radius: 10px;
}

input {
	color: white;
}

@media (hover: none) {
  .play-btn { opacity: 1; }
}

body {
	background-color: rgba(153,119,59,1.00);
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	font-size: 14px;
	margin: 0;
	color: #111;
	display: flex;
	height: 100vh;
	overflow: hidden;
}
#divHead {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 50px;
	background-color: #224876;
	z-index: 10;
}

#divFoot {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 50px;
	background-color: #224876;
	color: white;
	z-index: 10;
}

#divNav {
	position: absolute;
	right: 20px;
	top: 10px;
}

#divContent {
  position: fixed;
  top: 50px;        /* header height */
  bottom: 50px;     /* footer height */
  left: 0;
  right: 0;
  border-radius: 0; /* keep if you like rounded edges */
  background-image: url("../media/UTMLogo-Idea.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: normal;

  /* NEW: two-column layout */
  display: grid;
  grid-template-columns: 260px 1fr; /* sidebar width + main */
  gap: 0;
  overflow: hidden; /* main scrolls, not the whole page */
}

.TitleHead {
	font-size: 50px;
	font-weight: 900;
	text-transform: uppercase;
}

.descRipt {
	font-size: 20px;
}

li{
	list-style: none;
}

#divLogo {
	position: absolute;
	top: 0px;
	left: 40px;
}

#btnLogin {
	background-color:black;
	width: 100px;
	height: 30px;
	border-style: solid;
	border-color: white;
	border-radius: 10px;
}

#btnSignUp {
	background-color:cadetblue;
	width: 100px;
	height: 30px;
	border-style: solid;
	border-color: white;
	border-radius: 10px;
}

#loginModal {
	display: none;
	position: absolute;
	top: 5px;
	left: 5px;
	width: 98%;
	height: 96%;
	background-color:rgba(5,15,35,0.85);
	padding: 10px;
	border-radius:10px;
	border-style: solid;
	border-width: 2px;
	vertical-align: middle;
}

#loginModal input{
	background-color:black;
}

#loginModal button{
	background-color: black;
}

#registerModal {
	display: none;
	position: absolute;
	top: 5px;
	left: 5px;
	width: 98%;
	height: 96%;
	background-color:rgba(5,15,35,0.85);
	padding: 10px;
	border-radius:10px;
	border-style: solid;
	border-width: 2px;
	vertical-align: middle;
}

#registerModal select{
	background-color: black;
}

#registerModal input{
	background-color: black;
	color:white;
}

#registerModal button{
	background-color: black;
}

#registerModal textarea{
	background-color: black;
}

#accessCodeModal {
	display: none;
	position: fixed;
	top: 30%;
	left: 50%;
	transform: translate(-50%,-30%);
	background: rgba(0,0,0,0.85);
	padding: 20px;
	border-radius: 10px;
	z-index: 1000;
}

#accessDeniedModal {
	display: none;
	position: fixed;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -20%);
	background: rgba(0,0,0,0.85);
	padding:20px;
	border-radius: 10px;
	z-index: 1000;
	width: 300px;
}

/* Sidebar */
.sidebar {
  width: 260px;                /* matches grid column */
  background-color: rgba(255,255,255,1.00);
  border-right: 1px solid #ddd;
  padding: 20px;
  box-sizing: border-box;
  overflow: auto;              /* scrolls if sidebar content is long */
  position: relative;          /* remove absolute */
  height: auto;                /* let grid control height */
  color:black;
}

.sidebar h3 {
	font-size: 13px;
	margin: 18px 0 10px;
	text-transform: uppercase;
	color: #555;
}

.sidebar select,
.sidebar input[type="range"],
.searchable-select input {
	width: 100%;
	margin-bottom: 12px;
	padding: 6px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	color:black;
}

.sidebar .range-label {
	font-size: 13px;
	color: #444;
	margin-top: 4px;
	text-align: center;
}

.searchable-select {
	position: relative;
}
    
.mood-tag {
	display: inline-block;
	padding: 5px 10px;
	font-size: 13px;
	border-radius: 12px;
	margin: 4px 4px 0 0;
	white-space: nowrap;
	background-color: #eee;
	color: #111;
	user-select: none;
}

/* ✅ Paste the specific color overrides here: */
.mood-tag[data-value="sexy"]       { background-color: #e60026; color: white; }     /* Red */
.mood-tag[data-value="sinister"]   { background-color: #5c0000; color: white; }     /* Blood red */
.mood-tag[data-value="pretty"]     { background-color: #ffc0cb; color: #111; }      /* Pink */
.mood-tag[data-value="sad"]        { background-color: #9bb1c9; color: #111; }      /* Gray-blue */
.mood-tag[data-value="happy"]      { background-color: #fff176; color: #111; }      /* Soft yellow */
.mood-tag[data-value="dark"]       { background-color: #444; color: white; }        /* Dark gray */
.mood-tag[data-value="romantic"]   { background-color: #ff8fa3; color: #111; }      /* Soft rose */
.mood-tag[data-value="angry"]      { background-color: #c62828; color: white; }     /* Intense red */
.mood-tag[data-value="mysterious"] { background-color: #4e4c67; color: white; }     /* Deep purple */
.mood-tag[data-value="energetic"]  { background-color: #fdd835; color: #111; }      /* Bright yellow */

/* Optional: pastel fallback classes also go here */
.pastel-1 { background-color: #ffd1dc; color: #111; }
.pastel-2 { background-color: #d0f0c0; color: #111; }
.pastel-3 { background-color: #cce5ff; color: #111; }
.pastel-4 { background-color: #fff9c4; color: #111; }
.pastel-5 { background-color: #e1bee7; color: #111; }
.pastel-6 { background-color: #b2dfdb; color: #111; }
.pastel-7 { background-color: #f8bbd0; color: #111; }

    /* Suggestions dropdown style */
.suggestions-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 150px;
	overflow-y: auto;
	background: white;
	border: 1px solid #ccc;
	border-top: none;
	z-index: 10;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	display: none;
}
.suggestions-list.visible {
	display: block;
}
.suggestions-list div {
	padding: 8px 10px;
	cursor: pointer;
}
.suggestions-list div:hover {
	background-color: #eee;
}
/* Main content */
.main-content {
  background-color:rgba(255,255,255,1.00);
  position: relative;
  overflow: auto;
  padding: 20px;
}
/* Search bar above the table */
.search-bar {
	width: 100%;
	margin-bottom: 20px;
	position: relative;
}
.search-bar input {
	width: 100%;
	padding: 10px 16px 10px 36px; /* Left padding for icon */
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}
.search-bar::before {
      content: "🔍";
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 18px;
      pointer-events: none;
      color: #888;
    }
/* Ensure Choices.js multi-select matches default <select> size */
.sidebar .choices__list--multiple .choices__item {
  background-color: #000 !important;
  color: #fff !important;
  border-radius: 12px;
  padding: 4px 10px;
  margin: 2px 4px 2px 0;
  font-size: 13px;
  border: none;
}

.sidebar .choices__inner {
  width: 100% !important;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-height: auto;
  background-color: #fff;
}

    /* Table styles */
table {
      border-collapse: collapse;
      width: 100%;
      min-width: 760px; /* wider because of added column */
    }

thead.sticky-header th {
  position: sticky;
  top: 0;         /* sticks to top of .main-content */
  background: #fff;
  z-index: 2;
  border-bottom: 2px solid #ddd;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color:black;
}

    /* Remove border-bottom from individual cells */
th, td {
      padding: 12px 14px;
      border-bottom: none;
      text-align: left;
      vertical-align: middle;
      font-size: 14px;
    }

    /* Add single full row border */
tbody tr {
      border-bottom: 1px solid #ddd;
    }

    /* Song row styling */
.song-row {
      display: flex;
      align-items: center;
    }
.song-art {
      position: relative;
      width: 60px;
      height: 60px;
      margin-right: 10px;
      border-radius: 6px;
      overflow: hidden;
      flex-shrink: 0;
    }
.song-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.play-btn {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(0, 0, 0, 0.4);
      color: #fff;
      font-size: 20px;
      cursor: pointer;
      transition: opacity 0.2s;
      opacity: 0;
    }
.song-art:hover .play-btn {
      opacity: 1;
    }
.title-section {
      display: flex;
      flex-direction: column;
    }
.title {
      font-weight: 600;
      font-size: 16px;
      margin-bottom: 0;
    }
    
.lyrics-icon {
  cursor: pointer;
  font-size: 16px;
  margin-left: 8px;
  vertical-align: middle;
  color: #555;
  transition: color 0.2s;
}

.lyrics-icon:hover {
  color: #000;
}

.lyrics-preview {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  max-width: 200px;
  max-height: 50px;
  overflow: scroll;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 13px;
  border-radius: 4px;
  white-space: pre-line;
  color: #333;
}
.version-select {
      margin-top: 6px;
      font-size: 14px;
      padding: 4px;
      border-radius: 4px;
      border: 1px solid #ccc;
      width: 140px;
    }

/* Actions cell and alignment fix */
.actions-cell {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      white-space: nowrap;
      height: 60px; /* match row height */
    }

.actions-inner {
      position: relative; /* For dropdown absolute positioning */
      display: flex;
      align-items: center;
      gap: 5px;
    }

.license-btn {
      padding: 8px 18px;
      font-size: 14px;
      border-radius: 4px;
      background-color: #111;
      color: #fff;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 40px;
      margin: 0;
      user-select: none;
      transition: background-color 0.2s;
    }

.license-btn:hover {
      background-color: #333;
    }

.action-dots {
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px 8px;
      border-radius: 4px;
      color: #555;
      display: inline-flex;
      align-items: center;
      height: 36px;
      transition: background-color 0.2s;
      user-select: none;
    }

.action-dots:hover {
      background-color: #eee;
    }

/* Dropdown content */
.dropdown-content {
      position: absolute;
      top: 100%; /* right below License button */
      left: 0; /* align left edge with License button */
      background: #fff;
      border: 4px solid #fff;
      min-width: 160px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      z-index: 10;
      border-radius: 4px;
      display: none;
    }
.dropdown-content a {
      display: block;
      padding: 10px 14px;
      color: #333;
      text-decoration: none;
      font-size: 14px;
      white-space: nowrap;
    }
.dropdown-content a:hover {
      background: #f0f0f0;
    }

/* Dropdown show */
.dropdown-content.show {
      display: block;
    }

/* Divider line fix - single line per song */
.divider {
      height: 1px;
      background-color: #ddd;
      margin-top: 10px;
      width: 100%;
      align-self: stretch;
    }
#licenseModal {
	display:none;
	color: black;
	position:absolute;
	width: 20%;
	height: 20%;
	top: 40%;
	left: 40%;
	background-color:rgba(5,15,35,0.75);
	padding: 10px;
	border-radius:10px;
	border-style: solid;
	border-width: 2px;
	border-color: blue;
	vertical-align: middle;
}

#licenseModal input {
	color: black;
}

#licenseModal span {
	color: white;
}