html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: #000;
}

body {
    font-family: "Cantarell", sans-serif;
    font-size: 16px;
}

.main {
    width: 100%;
    min-height: 100vh;
    background-color: #222;
    background-image: url("data:image/svg+xml,...");

    position: relative;
    box-sizing: border-box;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

.login-screen {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-section {
    width: 92%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.login-section {
    width: 92%;
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

form {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form button {
    border: 4px solid #fff;
    border-radius: 5px;
    background-color: rgba(17, 17, 17, 0.5);
    color: #fff;
    padding: 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

form input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    text-align: center;
}

.footer-menu {
    width: 100%;
    min-height: 80px;
    padding: 0 3%;
    box-sizing: border-box;
    background-color: #999;

    position: absolute;
    bottom: 0;
    left: 0;

    display: none;

    justify-content: space-between;
    align-items: center;

    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
}

.footer-menu span {
    font-size: 32px;
}
.footer-menu button {
    border: none;
    background: none;
    padding: 15px;
    color: #222;
    cursor: pointer;
}

.screen {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;

    box-sizing: border-box;

    color: #fff;
    font-size: 16px;
}

.screen.active {
    display: flex;
}

.screen h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.screen h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.band-members-section {
    margin-bottom: 30px;
}

.band-members {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
}

.band-member {
    width: 33.33%;
    text-align: center;
    padding: 0 8px;
    box-sizing: border-box;
}

.band-member img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.next-event {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
}

.message-bubble {
    display: table;
    max-width: 75%;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #333;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    line-height: 1.4;
}

.message-sender {
    font-size: 12px;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 4px;
}

.message-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.message-row.my-message {
    justify-content: flex-end;
    
}

.message-row.my-message .message-avatar {
    order: 2;
}

.message-row.my-message .message-bubble {
    background: #555;
}

.message-avatar {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.chat-screen {
    padding: 15px;
    box-sizing: border-box;
    height: calc(100vh - 80px);
    flex-direction: column;
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-shrink: 0;
}

.chat-content {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.chat-content::-webkit-scrollbar {
    display: none;
}

.chat-input input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: none;
    border-radius: 12px;
    background: white;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.chat-input input::placeholder {
    color: #888;
}

.chat-input button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: white;
    color: #4caf50;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ============================================================
   CALENDAR
   ============================================================ */

.calendar-screen {
    padding: 20px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.calendar-header h1 {
    font-size: 22px;
    margin: 0;
}

.calendar-header button {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: #4caf50;

    border: none;
    border-radius: 50%;

    cursor: pointer;
    padding: 0;
}

.calendar-header button span {
    font-size: 28px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 42px);
    gap: 11px;

    margin-bottom: 18px;

    text-align: center;

    font-size: 10px;
    font-weight: 700;

    color: #999;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 42px);
    column-gap: 11px;
    row-gap: 16px;
}

/* Calendar days */

.calendar-day {
    width: 42px;
    height: 42px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 400;

    background: transparent;

    border: 1px solid #fff;
    border-radius: 50%;

    cursor: pointer;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.today {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    font-weight: 700;
}

.calendar-day.past {
    border-color: rgba(255, 255, 255, 0.25);
}

.calendar-day.event-day {
    border: 3px solid transparent;

    background:
        linear-gradient(#222, #222) padding-box,
        conic-gradient(var(--event-colours)) border-box;

         animation: pulse-event 3s linear infinite;
}
    @keyframes pulse-event {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}


.calendar-day.selected {
    background: rgba(255, 255, 255, 0.5);
}

.calendar-day.event-day.selected {
    background:
        linear-gradient(#919191, #919191) padding-box,
        conic-gradient(var(--event-colours)) border-box;
}




.selected-events {
    width: 100%;
    margin-top: 25px;
}

.selected-event {
    width: 100%;
    margin-bottom: 12px;
    border-top: 1px solid #555;
    padding-top: 10px;
}

.event-main-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    min-height: 45px;
}

.event-type {
    display: flex;
    align-items: center;
    justify-content: center;
}



.event-type span {
    font-size: 22px;
}

.event-type.gig span {
    color: #ff4081;
}

.event-type.practice span {
    color: #4caf50;
}

.event-type.other span {
    color: #2196f3;
}

.event-name,
.event-time {
    padding: 0 8px;
    font-size: 16px;
}

.event-location {
    padding: 0 8px;
    font-size: 14px;
}


.event-location-row,
.event-notes-row {
    display: grid;
    grid-template-columns: 40px 1fr;
}


.event-notes {
    padding: 10px;
    font-size: 14px;
    line-height: 1.4;
}



.add-event {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 0px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-event-spacer {
    width: 40px;
}

.add-event-content {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-event-content span {
    font-size: 14px;
    font-weight: 700;
}

.add-event-content button {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 2px solid #fff;
    border-radius: 50%;

    background: transparent;
    color: #fff;

    cursor: pointer;
}

.add-event-content button span {
    font-size: 24px;
}




/* ============================================================
   EVENT VIEW
   ============================================================ */

.event-view-screen {
    padding: 0 20px 20px 20px;
}


/* Banner */

.event-view-banner {
    position: relative;
    width: calc(100% + 40px);
    margin-left: 0px;
    height: 180px;
    overflow: hidden;
}

#event-view-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-view-banner-content {
    position: absolute;
    inset: 0;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-view-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#event-view-date {
    font-size: 14px;
    font-weight: 700;
}


/* Close button */

#close-event-view {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #fff;

    padding: 0;
    cursor: pointer;
}

#close-event-view span {
    font-size: 28px;
}


/* Event name */

#event-view-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #fff;
}


/* Event details */

.event-view-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 16px;
}


/* Notes */

.event-view-notes {
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
}


/* Set list */

.event-view-setlist {
    width: 100%;
}

#event-view-setlist {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
}


/* Divider */

.event-view-divider {
    width: 100%;
    height: 1px;
    background: #555;
    margin: 25px 0;
}


/* Actions */

.event-view-actions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-view-created-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    flex: 1;
}

#event-view-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.event-view-actions button {
    border: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}


/* ============================================================
   ADD EVENT SCREEN
   ============================================================ */

.add-event-screen {
    padding: 20px;
}

.add-event-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

#add-event-date {
    font-size: 14px;
    font-weight: 700;
}

#close-add-event {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #fff;
    padding: 0;
    cursor: pointer;
}

#close-add-event span {
    font-size: 28px;
}

.add-event-screen input,
.add-event-screen select,
.add-event-screen textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
}

.add-event-screen h1 {
    margin: 0 0 20px 0;
    font-size: 22px;
}

.add-event-screen input::placeholder,
.add-event-screen textarea::placeholder {
    color: #999;
}

.add-event-screen textarea {
    min-height: 100px;
    resize: vertical;
}

.event-date-row,
.event-time-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.event-time-row > div {
    min-width: 0;
}

.event-time-row input {
    width: 100%;
}

.event-time-row label,
.event-date-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
}

#save-event {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 5px;
    background: #4caf50;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#save-event:hover {
    background: #66bb6a;
}

#event-setlist {
    display: none;
}


/* ============================================================
   HOME — EVENTS
   ============================================================ */

.home-screen {
    padding: 0 20px;
    box-sizing: border-box;
}


/* Event cards */

.next-gig,
.next-practice {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 18px;

    margin: 0px 0 10px 0;
    padding: 18px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 2px solid;
    border-radius: 16px;
    cursor: pointer;
}


/* Event icons */

.gig-icon,
.practice-icon {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.gig-icon {
    background: #ff4081;
}

.practice-icon {
    background: #4caf50;
}

.gig-icon .material-symbols-outlined,
.practice-icon .material-symbols-outlined {
    font-size: 28px;
    color: #fff;
}


/* Event details */

.gig-details,
.practice-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gig-details h2,
.practice-details h2 {
    margin: 0 0 5px 0;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.gig-details h2 {
    color: #ff4081;
}

.practice-details h2 {
    color: #4caf50;
}


/* Event text */

.gig-details p,
.practice-details p {
    margin: 0;
    font-size: 14px;
}


/* Date */

#next-gig-date,
#next-practice-date {
    font-weight: 600;
}


/* Location */

#next-gig-location,
#next-practice-location {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
}

#next-gig-location .material-symbols-outlined,
#next-practice-location .material-symbols-outlined {
    font-size: 16px;
}


/* ============================================================
   GIG
   ============================================================ */

.next-gig {
    background-image: url("images/hurlsapp_gigimage.png");
    border-color: #ff4081;
}

#next-gig-name {
    font-size: 16px;
    font-weight: 700;
}


/* ============================================================
   PRACTICE
   ============================================================ */

.next-practice {
    background-image: url("images/hurlsapp_practiceimage.png");
    border-color: #4caf50;
}





/* ============================================================
   CONTROLS
============================================================ */

.songs-screen {
    height: calc(100vh - 80px);
    padding: 20px;
    padding-bottom: 100px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}

.songs-screen::-webkit-scrollbar {
    display: none;
}

#songs-list {
    width: 100%;
}

.songs-controls {
    width: 100%;
    margin-bottom: 40px;
    color: #999;
}

.songs-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.songs-sort label,
.songs-filter-title {
    font-size: 12px;
    font-weight: 700;
}

.songs-sort select {
    width: 60%;
    padding: 10px 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.song-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 30px;
    font-size: 12px;
    opacity: 0.8;
}

.song-cover {
    color: #2196f3;
    font-weight: 700;
}


/* ============================================================
   FILTERS
============================================================ */

.songs-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.songs-filter label {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.songs-filter input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #999;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.songs-filter input[type="checkbox"]:checked {
    border-color: #4caf50;
    background: #4caf50;
    position: relative;
}

.songs-filter input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 11px;
    font-weight: 700;
}


/* ============================================================
   SONG ROWS
============================================================ */

.song-row {
    padding: 14px 0;
    border-top: 1px solid #555;
}

.song-main {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.song-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding-right: 30px;
    opacity: 0.8;
}

.song-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.song-meta .material-symbols-outlined {
    font-size: 16px;
}

.song-status {
    color: #4caf50;
    font-weight: 700;
    text-transform: uppercase;
}

.song-status.in-progress {
    color: #ff9800;
}

.song-status.old {
    color: #f44336;
}

/* ============================================================
   SONGS / SET LIST TABS
============================================================ */



.songs-tabs {
    display: flex;
    width: calc(100% + 40px);
    margin-left: 0px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.songs-tab {
    flex: 1;
    padding: 48px 20px 44px;
    position: relative;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: #fff;
}

.songs-tab.active {
    
    position: relative;
}

.songs-tab:not(.active)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

/*.songs-tab::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 10px 10px 0 0;

    background: linear-gradient(to bottom, #fff, #222) border-box;

    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}*/

/* ============================================================
   SONG VIEW
   ============================================================ */

.song-view-screen {
    height: calc(100vh - 80px);
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}

.song-view-screen::-webkit-scrollbar {
    display: none;
}


/* Banner */

.song-view-banner {
    position: relative;
    width: calc(100% + 40px);
    margin-left: 0px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

#song-view-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-view-banner-content {
    position: absolute;
    inset: 0;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.song-view-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#song-view-status {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}


/* Close button */

#close-song-view {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #fff;

    padding: 0;
    cursor: pointer;
}

#close-song-view span {
    font-size: 28px;
}


/* Song name */

#song-view-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #fff;
}


/* Song details */

.song-view-details {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 0 20px;

    font-size: 14px;
}

.song-view-details > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.song-view-details .material-symbols-outlined {
    font-size: 16px;
}


/* Lyrics */

.song-view-lyrics {
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    white-space: pre-wrap;
}


/* Notes */

.song-view-notes {
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    white-space: pre-wrap;
}


/* Divider */

.song-view-divider {
    width: 100%;
    height: 1px;
    background: #555;
    margin: 25px 0;
}


/* Actions */

.song-view-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.song-view-actions button {
    border: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.song-view-section {
    width: 100%;
    margin-bottom: 30px;
}

.song-view-section h2 {
    margin: 0 0 12px 0;
    font-size: 12px;
    font-weight: 700;
}

.song-view-lyrics {
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    white-space: pre-wrap;
}

.song-view-notes-section {
    margin-top: 40px;
}

.song-view-notes {
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
}

/* ============================================================
   EDIT SONG
   ============================================================ */

.edit-song-screen {
    padding: 20px;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.edit-song-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.edit-song-header h1 {
    font-size: 22px;
    margin: 0;
}

#close-edit-song {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #fff;

    padding: 0;
    cursor: pointer;
}

#close-edit-song span {
    font-size: 28px;
}

.edit-song-screen input,
.edit-song-screen select,
.edit-song-screen textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-bottom: 12px;

    border: 1px solid #555;
    border-radius: 5px;

    background: #333;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
}

.edit-song-screen input::placeholder,
.edit-song-screen textarea::placeholder {
    color: #999;
}

.edit-song-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.edit-song-row input {
    min-width: 0;
}

.edit-song-screen textarea {
    min-height: 140px;
    resize: vertical;
}

.edit-song-cover {
    display: flex;
    align-items: left;
    justify-content: flex-start;
    gap: 6px;
    width: fit-content;
    margin: 5px 0 12px;
    font-size: 11px;
    font-weight: 700;
}

.edit-song-cover input {
    appearance: none;

    width: 13px;
    height: 13px;

    margin: 0;

    border: 1px solid #999;
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.edit-song-cover input:checked {
    border-color: #4caf50;
    background: #4caf50;
}

.edit-song-cover input:checked::after {
    content: "✓";

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #222;
    font-size: 11px;
    font-weight: 700;
}

#save-song {
    width: 100%;

    margin-top: 10px;
    padding: 14px;

    border: none;
    border-radius: 5px;

    background: #4caf50;
    color: #222;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.edit-song-label {
    display: block;
    width: 100%;
    margin: 10px 0 8px;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.add-song {
    width: 100%;
    margin-bottom: 20px;
}

#add-song {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 14px;

    border: 1px solid #555;
    border-radius: 5px;

    background: transparent;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

#add-song span {
    font-size: 22px;
}


.set-lists-screen {
    height: calc(100vh - 80px);
    padding: 20px;
    padding-bottom: 100px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}

.set-lists-screen::-webkit-scrollbar {
    display: none;
}

.set-lists-controls {
    width: 100%;
    margin-bottom: 40px;
    color: #999;
}

.set-lists-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.set-lists-sort label {
    font-size: 12px;
    font-weight: 700;
}

.set-lists-sort select {
    width: 60%;
    padding: 10px 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

#set-list-sort {
    padding: 8px 30px 8px 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
}

.add-set-list {
    width: 100%;
    margin-top: 20px;
}

#add-set-list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 1px solid #555;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#add-set-list span {
    font-size: 22px;
}

.songs-tabs {
    display: none;
}


.set-list-row {
    padding: 14px 0;
    border-top: 1px solid #555;
}

.set-list-main {
    font-size: 18px;
    font-weight: 700;
}


/* ============================================================
   SET LIST VIEW / EDITOR
   ============================================================ */

.set-list-view-screen {
    height: calc(100vh - 80px);
    padding: 20px;
    padding-bottom: 100px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}

.set-list-view-screen::-webkit-scrollbar {
    display: none;
}


.set-list-view-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.set-list-view-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.set-list-view-title-row h1 {
    font-size: 22px;
    margin: 0;
}

#edit-set-list {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #777;

    padding: 0;
    cursor: pointer;
}

#edit-set-list span {
    font-size: 20px;
}


#close-set-list-view {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #fff;

    padding: 0;
    cursor: pointer;
}

#close-set-list-view span {
    font-size: 28px;
}


.set-list-view-details {
    width: 100%;

    display: flex;
    align-items: center;

    margin-bottom: 20px;

    font-size: 14px;
}

.set-list-view-details > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.set-list-view-details .material-symbols-outlined {
    font-size: 18px;
}


.set-list-view-notes {
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    white-space: pre-wrap;
}


.set-list-view-divider {
    width: 100%;
    height: 1px;
    background: #555;
    margin: 10px 0;
}


.set-list-item {
    width: calc(100% + 0px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 16px 12px;
    margin-bottom: 10px;
    background: #333;
    border: 1px solid #555;
    border-radius: 6px;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.set-list-item:active {
    cursor: grabbing;
}

#set-list-items {
    width: 100%;
}

.set-list-item-placeholder {
    width: 100%;
    margin-bottom: 10px;
    border: 1px dashed #777;
    border-radius: 6px;
    box-sizing: border-box;
}

.set-list-item.dragging {
    opacity: 0.8;
    cursor: grabbing;
}

.set-list-item-drag {
    width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #777;
}

.set-list-item-drag span {
    font-size: 22px;
}

.set-list-item-name {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
}

.set-list-item-duration {
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}

.set-list-item-delete {
    width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border: none;
    background: transparent;
    color: #777;
    padding: 0;
    cursor: pointer;
}

.set-list-item-delete span {
    font-size: 20px;
}


.set-list-add-song {
    width: 100%;
    margin-top: 20px;
}


#set-list-add-song {
    width: 100%;
    padding: 14px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#set-list-add-song span {
    font-size: 22px;
}