body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: block;
    height: 100%;
    margin: 0;
    color: #ccc;
}
.content {
    padding: 1.5em 3.5em;
    background: #000;
    min-height: 100vh;
}
h2 {
    text-align: center;
    font-size: 3.6em;
    color: #edf0f1;
    text-transform: uppercase;
}  
.link-list li#contact {
    margin-left: 25%;
}      
.impressum-box h3 {
    font-size: 1.6em;
}
.news-entry {
    width: 100%;
    margin: 0 auto;
    background: #232323;
    border-radius: 10px;
    max-width: 1200px;
    padding: 1.5em;
    box-sizing: border-box;
    margin-bottom: 1.5em;
    position:relative;
    color: #ccc;
}
.impressum-box, .contact-box {
    width: 100%;
    margin: 0 auto;
    background: #232323;
    border-radius: 10px;
    max-width: 1200px;
    padding: 1.5em;
    box-sizing: border-box;
    margin-bottom: 1.5em;
    position: relative;
    color: #ccc;
    padding: 1.5em 3.5em;
    padding-bottom: 3.5em;
}

.contact-box form {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 32px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: none;
}
h2 img {
    max-height: 80px;
}
.artist-info {
    display: inline-flex;
}
.news-entry h2 {
    font-size: 1.8em;
    color: #ccc;
    text-align: left;
    margin-top: 0;
}
ul.artist-list li span {
    width: 100%;
    display: block;
    margin-bottom: 0.5em;
}
.left-box {
    width: 15%;
}
.middle-box {
    width: 25%;
}
.right-box {
    width: 60%;
}
.footer {
    position: relative;
    bottom: 0;
    max-width: 100%;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
}
.footer-logo img {
    width: 350px;
}
.footer-logo {
    text-align: center;
    margin: 0 auto;
    padding: 1.5em;
}
.news-date {
    font-size: 0.75em;
    margin-bottom: 1.5em;
    position: absolute;
    top: 1.5em;
    right: 1.5em;
}
.start-box {
    height: auto;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: #000;
    position:relative;
}
.bg-image {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
}
.logo-container {
    position: absolute;
    top: 50%;
    width: 66.66%;
    margin: 0 auto;
    text-align: center;
    left: 50%;
    margin-left: -33.33%;
    margin-top: -100px;
}
.link-list li img.link-img {
  /*  opacity: 0;*/
}
.bg-image video {
  width: 100%;      /* video fills full width */
  height: auto;     /* height adjusts to keep aspect ratio */
  min-height: 100%; /* ensure video height is at least container height */
  object-fit: cover; /* crop video if height overflows */
  display: block;   /* remove inline gap */
}


.bg-image img {
  max-height: 100%; /* image max height = container height */
  width: auto;      /* width auto to keep aspect ratio */
  display: block;   /* remove inline gap */
}

.start-box img {
    margin: 0 auto;
    text-align: center;
}
.link-container {
    position: absolute;
    bottom: 3.5em;
    width: 640px;
    margin: 0 auto;
    left: 50%;
    margin-left: -320px;
}
ul.link-list {
    padding: 0;
    display: inline-flex;
    width: 100%;
}
.link-list li {
    width: 25%;
    align-items: center;
    height:auto;
    list-style:none;
    cursor:pointer;
}
li#aboutus {
    width: 28%;
}
ul.artist-list {
    background: #232323;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 1.5em;
    box-sizing: border-box;
    color: #ccc;
}
ul.artist-list li {
    list-style: none;
    font-size: 1.6em;
    padding: 0;
    margin-bottom: 1em;
}
.link-box {
    padding: 1.5em 3.5em;
    width: 100%;
    box-sizing: border-box;
}
.onepage-box {
    background: #000;
    min-height: 100vh;
    padding-bottom: 15vh;
}
.onepage-box.start-box {
    padding-bottom: 0;
    min-height:0;
}
div#box-04 {
    padding: 0;
}
li#news {
    width: 19%;
}
th{
    width: 20%;
}
th#header-id{
    width: 5%;
}
th#header-title{
    width: 65%;
}
th#header-duration {
    width: 5%;
    text-align: center;
}
th#header-addedon {
    width: 15%;
    text-align: center;
}
th#header-btn {
    width: 10%;
}
.header-box {
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
}
.button-container button#shuffle-playlist-btn {
    background: #fff;
    border:1px solid #777;
}
.c-box table.song-table button.edit-btn, .c-box table.song-table button.save-btn {
    width: 40px;
    position: absolute;
    right: 8px;
    top: 8px;
}
input.edit-input {
    width: 100% !important;
    max-width: 250px !important;
    display: block;
    text-align: left !important;
}

td.song-title {
    position: relative;
}
.button-container button#shuffle-playlist-btn.active {
    background: #ccc;
}
button#repeat-btn{
	background: #fff;
    border:1px solid #777;
}
.duration{
    text-align: center;
}
.box-title {
	    font-weight: bold;
	}
	
	.box-artist{
	    display: block;
	    color: #777;
	    font-size: 0.75em;
	}

.left-mbox{
    flex: 0 0 365px;
    padding: 0.25em 0;
    width: 365px;
}
.right-mbox{
    width: 100px;
    position: relative;
}
form#like-song-form {
    position: absolute;
    right: 45px;
}
form#disable-song-form {
    position: absolute;
    right: 0;
}
#like-song-form button.like-from-play-btn {
    background: #fff;
}
#like-song-form button.like-from-play-btn:hover {
    background: #ccc;
}
#like-song-form button.like-from-play-btn.liked {
    background: #ccc;
}
.c-box table.song-table button.like-from-play-btn, .c-box table.song-table button.like-from-playlist-btn{
    background: #fff;
    border: 1px solid #000;
}
.c-box table.song-table button.like-from-play-btn:hover, .c-box table.song-table button.like-from-play-btn.liked, .c-box table.song-table button.like-from-playlist-btn:hover, .c-box table.song-table button.like-from-playlist-btn.liked{
    background: #ccc;
    border: 1px solid #ccc;
}
.music-info-box {
    max-width: 400px;
    display: flex;
    background: #232323;
    padding: 0.5em;
    border-radius: 6px;
}
audio::-webkit-media-controls-enclosure {
    overflow:hidden;
}

audio::-webkit-media-controls-panel {
    width: calc(100% + 30px); /* Adjust as needed */
}
#custom-player{
    flex: 0 0 360px;
    align-items: center;
    gap: 12px;
    background:#232323;
    border: 0;
    border-radius: 6px;
    padding: 6px 12px;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    user-select: none;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    box-sizing: border-box;
    
}
#play-pause {
  padding: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  color: #444;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
  padding-left: 5px;
}
#play-pause.playing {
	padding-left: 0px;
}

#play-pause:hover {
  background-color: #e6e6e6;
}

#seek-bar {
  -webkit-appearance: none;
  width: 180px;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  cursor: pointer;
  outline: none;
  margin: 0;
}

#seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  margin-top: -4px; /* center thumb vertically */
  transition: background-color 0.2s ease;
}

#seek-bar::-webkit-slider-thumb:hover {
  background-color: #3367d6;
}

#seek-bar::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}

#seek-bar::-moz-range-thumb:hover {
  background-color: #3367d6;
}

#current-time, #duration {
  font-size: 13px;
  color: #666;
  min-width: 30px;
  text-align: center;
  user-select: none;
}
.music-info-box.deactivate {
	display: none;
}
audio#audio-player{
    display: block;
    width: 100%;
    margin: 1.5em 0;
    padding-right: 20px;
    box-sizing: border-box;
    height:100%;
}
.music-player-box {
    background: #232323;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 0.5em;
    border-radius: 15px;
    color: #ccc;
    background: #232323;
}
table.song-table {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    padding: 1.5em;
    box-sizing: border-box;
    color: #ccc;
    background: #232323;
}
tbody {
    min-height: 13vh;
    background: #232323;
    display: block;
    border-radius: 15px;
    padding-top: 3em;
    margin-top: -3em;
}
.music-info-box{
    box-sizing: border-box;
}
thead {
    position: sticky;
    top: 0;
    background: #232323;
    z-index: 50;
}
.song-list li.playing {
  background-color: #d0eaff; /* light blue highlight */
  font-weight: bold;
  border-left: 4px solid #007bff; /* blue accent bar */
}
li.song.active {
    background: #ccc;
}
.playlist .upload-form{
	box-shadow:none;
	padding:0;
}
select#playlists{
    width: 100%;
    margin-bottom: 0.5em;
}
        .upload-form, .result-box, .c-box {
            background: white;
            padding: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 100%;
        }
        p.error a {
		    text-decoration: none;
		    color: #8b0101;
		}
		.song-table td.song-title span {
		    display: block;
		    color: #ccc;
		}
		button#repeat-btn{
		    position: absolute;
		    right: 0em;
		}
		button#next-playlist-btn {
		    transform: scaleX(-1);
		}
		.song-table td.song-title small {
		    display: block;
		    color: #777;
		}
		.songinfo p.error{
		    display: none;
		}
		button#shuffle-playlist-btn {
		    position: absolute;
		    right: calc(0.5em + 50px);
		}
		p.error a:hover {
		    text-decoration: none;
		    color: red;
		}
       .upload-form h2, .c-box h2 {
		    text-align: left;
		    color: #333;
		    margin-top: 0;
		    cursor: default;
		    margin-bottom: 0.5em;
		}
        .player h3{
        	margin-top: 0;
        }
        .c-box .playlist-box h2 {
		    margin: 0.5em;
		    padding-top: 0.5em;
		}
        .upload-form label, .c-box label {
            display: block;
            margin-bottom: 0.15em;
            color: #555;
        }
        .upload-form input[type="file"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 0.5em;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box;
            height:auto;
        }
        .upload-form button, .c-box button {
            width: 100%;
            padding: 10px;
            background-color: #ccc;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
            text-align: left;
        }
        .upload-form button:hover, .c-box button:hover{
            background-color: #20783f;
        }
        .message {
            text-align: center;
            margin-top: 20px;
            color: #333;
        }
        .video{
		    margin-bottom: 1.5em;
		    /* box-sizing: border-box; */
		    width: 100%;
		    min-width: 600px;
		}
        .result-box a.filename {
		    border: 0;
		    background: #fff;
		    color: #ccc;
		    width: 100%;
		    text-align: left;
		    padding: 0;
		    margin: 0;
		    margin-bottom: 1em;
		}
        .result-box a{
            width: 100%;
            padding: 10px;
            background-color: #ccc;
            color: white;
            border: none;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
            text-decoration: none;
            display: block;
            box-sizing: border-box;
            width: 150px;
            text-align: center;
            margin-top: 1.5em;
        }
        form.upload-form{
            margin-bottom: 0.25em;
        }
        .content {
		    padding: 1.5em 3.5em;
		    padding-bottom: 3.5em;
		}
        .view-video .result-box a {
            width: 100%;
            padding: 10px;
            background-color: #ccc;
            color: white;
            border: none;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
            text-decoration: none;
        }
        .login-field{
		    margin-bottom: 1.5em;
		}
		.login-field input {
		    width: 100%;
		    height: 30px;
		    box-sizing: border-box;
		}
		.c-box {
		    background: white;
		    padding: 20px;
		    border-radius: 8px;
		    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		    min-width: 600px;
		    width:100%;
		}
		.header {
		    position: fixed;
		    top: 0;
		    right: 0;
		    padding: 1em 1.5em;
		    width: 100%;
		}
		.header a {
		    text-decoration: none;
		    color: #ccc;
		}
		.video-upload {
		    margin-right: 1em;
		}
		.video-upload, .video-list{
		    display: inline-block;
		}
		.video {
		    margin-bottom: 1.5em;
		    position: relative;
		}
		.delete-btn {
		position:absolute;
		top:0;right:0;
		    width: 20px;
		}
		img {
		    height: auto;
		    width: auto;
		    max-width: 100%;
		}
		.c-box, .list .result-box {
		    box-sizing: border-box;
		}
		.delete-btn {
		    position: absolute;
		    top: 1.5em;
		    right: 1.5em;
		    width: 20px;
		    cursor:pointer;
		}
		.song-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    max-width: 400px;
}

.song-list li {
    background: #f9f9f9;
    margin-bottom: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    height: 40px;
    line-height: 40px;
}

.song-list li a {
    text-decoration: none;
    color: #ccc;
    font-weight: 600;
}

.song-list li a:hover {
    text-decoration: underline;
}

.song-list li small {
    color: #666;
    margin: 0 10px;
    font-weight: normal;
}

/* Left column container */
.left-column {
    display: flex;
    flex-direction: column;
    width: 33.33%;
    gap: 20px; /* space between content and playlists */
}

/* Right column container */
.right-column {
    width: 66.66%;
    position: relative;
}
.box-users{
    position: absolute;
    right: 0;
    padding: 15px 20px;
}
/* Common box styles */
.box {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 48vh; /* roughly half viewport height for left boxes */
}

/* For the songlist box on the right, take full height */
.box.songlist {
    height: 100%;
    overflow-y: hidden;
    box-sizing:border-box;
}

/* Optional: style the lists */
.playlist-list, .song-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist-list li, .song-list li {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
    background: #eee;
    cursor:pointer;
}

.playlist-list li:last-child, .song-list li:last-child {
    border-bottom: none;
}
.result-box {
    padding: 0;
    border: none;
    box-shadow: none;
    color: #33a133;
}
.logout {
    position: relative;
    line-height: 30px;
}
.logout a{
    text-decoration:none;
    color:#333;
}
.playlist-box h3{
    padding: 1em 0.5em 0;
}
.playlist-list li:hover {
    background: #aaa;
    color:#fff;
}
ul.playlist-list a {
    text-decoration: none;
    color: #333;
}
ul.playlist-list a.active{
	background: #aaa;
    color:#333;
}

.playlist-box {
    padding: 0;
    border-radius: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Modal backdrop */
#playlist-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  backdrop-filter: blur(4px); /* subtle blur behind modal */
  z-index: 1000;

  /* Flexbox to center modal content */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Fade-in animation */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show modal */
#playlist-modal.show {
  opacity: 1;
  pointer-events: auto;
}

/* Modal content box */
#playlist-modal form {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: 320px;
  max-width: 90vw;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Modal title label */
#playlist-modal label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

/* Select dropdown */
#playlist-modal select {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 20px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

#playlist-modal select:focus {
  border-color: #ccc;
  outline: none;
}

/* Buttons */
#playlist-modal button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
  margin-right: 10px;
}

#playlist-modal button[type="submit"] {
  background-color: #ccc;
  color: white;
}

#playlist-modal button[type="submit"]:hover {
  background-color: #20783f;
}

#playlist-modal button[type="button"] {
  background-color: #ccc;
  color: #333;
}

#playlist-modal button[type="button"]:hover {
  background-color: #999;
}

/* Optional: Close button in top-right corner */
#playlist-modal .close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

#playlist-modal .close-btn:hover {
  color: #000;
}
p.error{
    color: red;
    margin: 0;
    font-size: 0.875em;
    font-weight: bold;
}
.player {
    width: 66.66%;
    height: 100%;
    overflow: hidden;
    border-right: 0;
}
.songinfo{
    width: 33.33%;
}
.player .song-list {
    padding-right: 20px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

button.add-to-playlist-btn, button.remove-from-playlist-btn, button.delete-song-btn  {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    float: right;
    margin-right: 5px;
    text-align: center;
}
button.add-to-playlist-btn {
    margin-right: 0px !important;
}

ul.playlist-list a.active li {
    background: #ccc;
    color: #20783f;
}
.box.songlist {
  display: flex;
  gap: 20px; /* optional spacing between player and songinfo */
}

/* Player takes 2/3 width */
.box.songlist .player {
    flex: 0 0 100%;
}

/* Songinfo takes 1/3 width */
.box.songlist .songinfo {
  flex: 0 0 0;
  /* or flex-grow: 1; flex-basis: 0; */
}

/* Optional: make sure both stretch vertically */
.box.songlist .player,
.box.songlist .songinfo {
  display: flex;
  flex-direction: column;
}

/* Optional: add scrollbar if content overflows */
.box.songlist{
    height: 100%;
    overflow: hidden;
    max-height: 80vh;
}

.box.songlist .player,
.box.songlist .songinfo {
  overflow-y: hidden;
}
.song-img {
    border: #ccc solid 1px;
    width: 300px;
    height: 300px;
    background: #fff;
    margin: 0 auto;
}
button#play-playlist-btn {
    width: 50px;
}
.playlist .c-box{
    display: flex;
    width: 100%;
    gap: 20px;
    margin-top: 40px;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.user-select-list select {
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    width: 180px;
}
input#song-search {
    position: relative;
    left: 0;
    width: 250px;
    line-height: 30px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #aaa;
}
.search-container {
    display: flex;
    align-items: center;
}
#song-search {
    width: 200px;
    font-size: 14px;
}
#search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    color: #333;
}
button#search-toggle {
    padding: 0.25em;
}
.searchbox {
    margin-bottom: 0;
    position: relative;
    display: flex;
}
.track {
    display: none;
}
/* Container holding the buttons */
.button-container{
    display: flex;
    gap: 10px;
    position: relative;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
/* Style for both buttons */
.button-container button {
  width: 50px;
  min-width: 0; /* prevent buttons from growing beyond 20% */
  box-sizing: border-box;
}
#login-btn{
	margin-bottom:1em;
}
.song-table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-y: auto;
    min-height: 30vh;
}

.song-table th, .song-table td {
  border: 0;
  padding: 8px;
}
.song-table td a {
    text-decoration: none;
    color: #ccc;
}
.song-table th {
    background-color: #232323;
    text-align: left;
    padding: 8px;
}
.button-container {
    display: none;
}
.song-row:hover {
  background-color: #e6f7ff;
  cursor: pointer;
}
.song-row.active {
    background: #01010169;
}
td.sort {
    width: 5%;
}
form {
    max-width: 500px;
    margin: 40px auto;
    padding: 24px 32px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
select#playlist_box_id {
    display: none;
}
form input[type="text"],
form input[type="date"],
form textarea,
form input[type="file"], input:not([type="image" i]) {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    box-sizing: border-box;
}
.form-error {
    margin-bottom: 1.5em;
    color: red;
}
.contact-box label a {
    text-decoration: none;
    color: #9edcdd;
}
.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.privacy-consent input[type="checkbox"] {
    margin-top: 3px; /* aligns checkbox with first line of text */
    flex-shrink: 0;
    width: 10px;
}

.privacy-consent label {
    margin: 0;
    line-height: 1.4;
}
.form-success {
    margin-bottom: 1.5em;
    color: #c1dcdd;
}
.contact-box form button[type="submit"] {
    background: #0a1728;
    color: #c1dcdd;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    /* text-align: right; */
    border: 1px solid #855c7c;
    float: right;
}
form textarea {
    min-height: 100px;
    resize: vertical;
}

form button[type="submit"] {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

form button[type="submit"]:hover {
    background: #0056b3;
}
.right-mbox form {
    padding: 0;
}
td.song-title {
    width: 65%;
}
td.duration {
    width: 5%;
}
td#empty-list {
    text-align: center;
    padding: 1.5em 0;
    color: #db0404;
}
.c-box table.song-table button{
    border: 0;
}
.public-setting input#public{
    display: inline-block;
    width: auto;
    line-height: 30px;
    height: auto;
}

.public-setting label{
    display: inline-block;
    line-height: 30px;
}

.song-row.active a{
    color:#fff;
}
.upload-form button, .c-box button{
    border: 1px solid #fff;
}
.c-box button.active#shuffle-playlist-btn {
    border: 1px solid #000;
}
a.spotify-login-btn {
    color: #ccc;
    text-decoration: none;
}

tr.disabled button.disable-from-playlist-btn {
    background: #fff;
    border: 1px solid #000;
}

table.song-table {
    max-width: 1200px;
    margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
	.playlist .c-box{
		display:block;
		padding: 0;
	}
	.left-column, .right-column {
	    width: 100%;
		margin-bottom: 1.5em;
	}

}

@media only screen and (max-width: 768px) {
	.box.content, .box.playlists {
        padding: 0.5em;
        box-sizing: border-box;
    }
	.box-users{
	    position: relative;
	    right: 0;
	    padding: 15px 20px;
	}
	select#playlist_box_id {
        height: auto;
        line-height: 1.33;
        font-size: 1.33em;
        margin: 0;
        width: 100%;
    }
    ul.playlist-list a{
	    line-height: 30px;
	}
	.user-selectlist { max-width: 100%;}
	.c-box .playlist-box h2 {
        line-height: 3;
        font-size: 1em;
    }
	.logout {
        position: relative;
        right: 0.5em;
        top: 0;
    }
    .header-box {
	    padding: 0.25em 0.5em;
	}
	ul.playlist-list {
	    width: calc(100% - 60px);
	}
	.player h2 {
	    display: none;
	}
	#current-time, #duration{
	    max-width: 30px;
	}
	.right-mbox button.remove-from-playlist-btn {
        margin-right: 0;
        bottom: 0;
        right: 0;
        position: absolute;
    }
    .right-mbox {
        position: relative;
    }
	#custom-player{
		padding:6px;
		margin:0;
	}
	.playlist .c-box{margin-top: 1.75em;}
	.c-box .playlist-box h2 {
        margin: 0.5em;
        padding-top: 0;
        width: 60px;
        line-height: 30px;
    }
	.playlist-box {
        padding: 0;
        box-shadow: none;
        display: flex;
    }
	.box.playlists {padding: 0.5em;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);}
	.left-column {width: 100%;margin-bottom: 0.5em;}
	.playlist-box{
	    padding: 0;
	    border-radius: 5px;
	    border-radius: 8px;
	    box-shadow: none;
	}
	.header{padding:0;}
	#next-playlist-btn,#prev-playlist-btn {
	  -webkit-tap-highlight-color: transparent;
	}
	
	button#play-playlist-btn:hover{
		background: #ccc;
	}
	button#play-playlist-btn.active:hover{
		background: #fff;
	}
	button#prev-playlist-btn:hover, button#next-playlist-btn:hover{
	    background-color: #fff;
	    border: #000 1px solid;
	    -webkit-tap-highlight-color: transparent;
	}
	.content {
        padding: 0.5em 0.5em;
        width: 100%;
        box-sizing:border-box;
       
    }
	body.playlist{
	    display: flex;
	    height: 100vh;
	    gap: 20px;
	    padding: 0;
	    font-family: Arial, sans-serif;
	}
	.c-box{
		min-width:0;
	}
	.header {
	    position: absolute;
	}
	button#shuffle-playlist-btn {
	    position: absolute;
	    right: calc(0.5em + 50px);
	}
	button#repeat-btn {
	    position: absolute;
	    right: 0;
	}
	td.duration, td.addedon {
	    display: none;
	}
	th#header-duration, th#header-addedon {
	    display: none;
	}
	.playlist .c-box {
        display: block;
        padding: 0;
        min-width: 320px;
        padding: 0.5em;
    }
    .box.songlist, .player, .songinfo {
	    display: block;
	    width:100%;
	    height: auto;
	    max-height:none;
	}
	.song-table{
    	width: 100%;
	}
	audio#audio-player {
        display: block;
        width: 100%;
        margin: 1.5em 0;
        padding-right: 0;
        box-sizing: border-box;
        height: 54px;
    }
    .music-info-box {
	    max-width: 100%;
	    display: flex;
	    background: #232323;
	    padding: 0.5em;
	    margin-top: 0.5em;
	    border-radius: 6px;
	}
	#seek-bar {-webkit-appearance: none;width: calc(100% - 105px);}
	.player {
        border-right: 0;
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
	.box.songlist .songinfo {
	    display: none;
	}
	.box-title {
	    font-weight: bold;
	}
	
	.box-artist{
	    display: block;
	    color: #777;
	    font-size: 0.75em;
	}
	.box{
	    background: #fff;
	    padding: 0.5em 20px;
	    border-radius: 8px;
	    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	    overflow-y: auto;
	    max-height: 48vh;
	    padding-bottom: 1.5em;
	}
	.box.songlist{
	    padding: 0.5em;
	}
	.song-table th, .song-table td {
	    border: 0;
	    padding: 0.25em;
	}
	tr.song-row {
	    border-bottom: 1px solid #232323;
	}
	button.add-to-playlist-btn {
	    margin-bottom: 0.25em;
	}
	button.remove-from-playlist-btn{margin-right: 0;}
	.player form {
	    margin: 0;
	}
	.song-table th {
	    font-size: 1em;
	}
	.music-player-box {
        display: block;
        margin-top: 0.5em;
    }
	.left-mbox {
	    flex: 0 0 80%;
	    padding: 0.25em 0;
	}
	.right-mbox {
	    width: 45px;
	    flex: 0 0 20%;
	}
	.c-box table.song-table button.edit-btn, .c-box table.song-table button.save-btn {
	    width: 20px;
	    position: absolute;
	    right: 0;
	    top: 4px;
	    padding: 0;
	}
	
	.searchbox {
	    display: flex;
	    gap: 10px;
	    position: relative;
	    padding-top: 0;
	    margin-bottom:0;
	}
	.box-users {
	    padding: 0.25em 0 0.5em;
	    display: flex;
	    flex-direction: row-reverse;
	}
	
	.link-container {
	    position: absolute;
	    bottom: 3.5em;
	    width: 640px;
	    margin: 0 auto;
	    left: 0;
	    margin-left: 0;
	    max-width: 100%;
	}
	
	.link-list li{width:26%;}
	li#news {width: 20%;}
	li#aboutus {
	    width: 29%;
	}
	.logo-container {
	    position: absolute;
	    top: 0;
	    width: 100%;
	    margin: 0 auto;
	    text-align: center;
	    left: 0;
	    margin-left: 0;
	    margin-top: 0;
	    padding: 3.5em;
	    box-sizing: border-box;
	}
}


@media only screen and (max-width: 480px) {
	button.add-to-playlist-btn, button.remove-from-playlist-btn, button.delete-song-btn {
	    width: 30px;
	    height: 30px;
	    padding: 0.25em;
	}
	button.remove-from-playlist-btn{
	    margin-right: 0.125em;
	}
	th#header-btn {
	    width: 18%;
	}
	th#header-title {
	    width: 57%;
	}

	
}