﻿:root {
    --main-color: #67a648;
    --pp-main: #f7bb20;
}

html, body {
    background: #fff;
}

#sidebar {
    min-width: 270px;
    max-width: 270px;
    background: #efefef21;
    color: #343a40;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    position: relative;
    box-shadow: 1px -1px 20px -4px rgba(171, 171, 171, 0.75);
    -webkit-box-shadow: 1px -1px 20px -4px rgba(171, 171, 171, 0.75);
    -moz-box-shadow: 1px -1px 20px -4px rgba(171, 171, 171, 0.75);
}

#sidebar .h6 {
    color: #fff
}

#sidebar.active {
    margin-left: -270px
}

#sidebar h1 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 30px
}

#sidebar h1 .logo {
    color: #fff
}

#sidebar h1 .logo span {
    font-size: 14px;
    color: #44bef1;
    display: block
}

#sidebar ul.components {
    padding: 0
}

#sidebar ul li {

}

#sidebar ul li > ul {
    margin-left: 10px
}

#sidebar ul li > ul li {

}

#sidebar ul li a {
    padding: 8px 0;
    display: block;
    color: rgba(255, 255, 255, .6);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

#sidebar ul li a span {
    color: #44bef1
}

#sidebar ul li a:hover {
    color: #fff
}

#sidebar ul li.active > a {
    background: 0 0;
    color: #fff
}

@media (max-width: 991.98px) {
    #sidebar {
        margin-left: -270px
    }

    #sidebar.active {
        margin-left: 0
    }
}

#sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 0;
    margin-right: -20px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    #sidebar .custom-menu {
        -webkit-transition: none;
        -o-transition: none;
        transition: none
    }
}

#sidebar .custom-menu .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative
}

#sidebar .custom-menu .btn i {
    margin-right: -40px;
    font-size: 14px
}

#sidebar .custom-menu .btn.btn-primary {
    background: 0 0;
    border-color: transparent
}

#sidebar .custom-menu .btn.btn-primary:after {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #fdfdfd;
    border-radius: 10px;
    border-right: 1px solid #f7ba1c;
    border-top: 1px solid #f7ba1c;
}

#sidebar .custom-menu .btn.btn-primary:hover, #sidebar .custom-menu .btn.btn-primary:focus {
    background: 0 0 !important;
    border-color: transparent !important
}


@media (max-width: 991.98px) {
    #sidebarCollapse span {
        display: none
    }
}

#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


.buttons-excel {
    background-color: white;
    border-radius: 20px;
    font-size: 1.1em;
    padding: 10px;
    min-width: 150px;
    margin: 5px;
    border: 1px solid #00000047;
}


.fa, .fas, .fa-play {
    color: inherit !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.fa:hover {
    color: orange;
    font-weight: bold;
}

.customButton {
    background-color: white;
    border-radius: 20px;
    font-size: 1.1em;
    padding: 10px;
    min-width: 150px;
    margin: 5px;
    border: 1px solid #00000047;
}

.customButton:hover {
    border-color: orange;
}

.dt-button {
    background: white !important;
    border-radius: 20px !important;
    font-size: 1.1em !important;
    padding: 10px !important;
    min-width: 150px !important;
    margin: 5px !important;
    border: 1px solid #06bc58 !important;
}

.form-label {
    margin-top: 0.5em;
    margin-bottom: 0em;
}

.form-control-error {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ff0050;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.SelectedDiv {
    border: 1px solid grey;
    border-radius: 10px;
    background-color: #f8f8f8;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1031; /* Sit on top */
    left: 0;
    top: 0;
    padding: 0;
    width: 100%; /* Full width */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: white;
    margin: 2% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 0;
    position: relative;
    -webkit-box-shadow: 5px 5px 20px 0px rgba(138, 138, 138, 0.51);
    -moz-box-shadow: 5px 5px 20px 0px rgba(138, 138, 138, 0.51);
    box-shadow: 5px 5px 20px 0px rgba(138, 138, 138, 0.51);
    /* Remove any min-height or height! */
}

/* Modal size classes */
.modal-lg {
    width: 75% !important;
    min-width: 600px;
}

.modal-sm {
    width: 60% !important;
    min-width: 300px;
}

@media (max-width: 1000px) {
    .modal-lg {
        width: 98% !important;
        min-width: unset;
    }

    .modal-sm {
        width: 90% !important;
        min-width: unset;
    }
}

/* The Close Button - General */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.closeHelp {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    width: 100%;
    text-align: right;
}

.closeHelp:hover
.closeHelp:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.closeManagers {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    width: 100%;
    text-align: right;
}

.closeManagers:hover,
.closeManagers:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 80% Modal Width on Smaller Screens */
@media only screen and (max-width: 1600px) {
    .modal-content {
        width: 45%;
    }
}

/* 95% Modal Width on Smaller Screens */
@media only screen and (max-width: 1000px) {
    .modal-content {
        width: 90%;
    }
}


input.apple-switch {
    cursor: pointer;
    position: relative;
    appearance: none;
    outline: none;
    width: 40px;
    height: 20px;
    background-color: #ffffff;
    border: 1px solid #D9DADC;
    border-radius: 50px;
    box-shadow: inset -20px 0 0 0 #ffffff;
    transition-duration: 200ms;
}

input.apple-switch:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
}

input.apple-switch:checked {
    border-color: #2bf12c;
    box-shadow: inset 20px 0 0 0 #62f328;
}

input.apple-switch:checked:after {
    left: 20px;
    box-shadow: -2px 4px 3px rgba(0, 0, 0, 0.05);
}


.small_uppercase {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.7em;
    margin-left: 2px;
}


#content {
    width: 100%;
    padding: 0;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.sidebar {
    width: 100%;
    min-height: 95vh;
    z-index: 999;
    background-color: var(--main-color);
    display: none;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    padding-left: 20px;
    font-size: 1.5em;
    padding-top: 20px;
    color: white;
}

.sidebarLogout {
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
    margin-left: -20px;
    cursor: pointer;
}

.sidebarTextAlignCenter {
    text-align: center;
    width: 100%;
    font-weight: bold;
    margin-left: -10px;
}

.mNavbar {
    min-height: 50px;
    background-color: var(--main-color);
    color: white;
}

.mNavbarIcon {
    padding: 10px;
    font-size: 2em !important;
}

.mNavbarImage {
    border-radius: 50%;
    max-height: 30px;
    margin-right: 10px;
    margin-top: 10px;
    margin-left: auto;
}

.SidebarUL {
    text-align: center;
    margin-left: -20px;
    color: white;
    padding-inline-start: 0;
    padding-top: 20px;
}

.SidebarLI {
    list-style: none;
    padding: 15px 5px;
}

.SidebarLink {
    text-decoration: none !important;
    font-size: 1.2em;
}

.SidebarLink:hover {
    color: white !important;
}

.small_title {
    font-size: 1.9em;
    font-weight: 500;
}

.taskDataTable {
    border-collapse: separate;
    border-spacing: 0 5px;
    white-space: nowrap;
}

.taskDataTable thead th {
    border: none;
    color: #fff;
    vertical-align: middle;
}

.taskDataTable tbody tr {
    margin-bottom: 10px;
    -webkit-box-shadow: 0 5px 12px -12px rgba(0, 0, 0, .29);
    -moz-box-shadow: 0 5px 12px -12px rgba(0, 0, 0, .29);
    box-shadow: 0 5px 12px -12px rgba(0, 0, 0, .29)
}

.taskDataTable tbody th, .taskDataTable tbody td {
    border: 1px solid #d8d8d8;
    padding: 0.1rem;
}

.taskDataTable tbody td .close span {
    font-size: 12px;
    color: #dc3545
}


.taskDataTable {
    margin-bottom: 1rem;
    color: #212529
}

.taskDataTable th, .taskDataTable td {
    padding: .75rem 0.1rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6
}


.taskDataTable th::after {
    opacity: 0 !important;
}


.taskDataTable tbody + tbody {
    border-top: 2px solid #dee2e6
}

.taskDataTable tr:hover {
    color: var(--main-color);
    background-color: rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0 8px 12px -12px rgb(0 0 0 / 76%) !important;
    -moz-box-shadow: 0 5px 12px -12px rgba(0, 0, 0, .29);
    box-shadow: 0 8px 12px -12px rgb(0 0 0 / 76%) !important;
}

.taskDataTable thead th {
    color: #fff;
    background-color: #343a40;
}

.taskDataTable {

    border-collapse: separate;
    border-spacing: 0 5px;
    white-space: nowrap;
}

.taskDataTable thead th {
    border: none;
    color: #fff;
}

.taskDataTable tbody tr {
    margin-bottom: 10px;
    -webkit-box-shadow: 0 5px 12px -12px rgba(0, 0, 0, .29);
    -moz-box-shadow: 0 5px 12px -12px rgba(0, 0, 0, .29);
    box-shadow: 0 5px 12px -12px rgba(0, 0, 0, .29)
}

.taskDataTable tbody th, .taskDataTable tbody td {

}

.taskDataTable tbody td .close span {
    font-size: 12px;
    color: #dc3545;
}


/* The Close Button */
.Iclose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    width: 100%;
    text-align: right;
}

.Iclose:hover,
.Iclose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .Imodal-content {
        width: 100%;
    }
}

/* The Modal (background) */
.Imodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1031; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.Imodal-content {
    margin: auto;
    display: block;
    width: 50%;
}

/* Add Animation */
.Imodal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}


/* The Modal (background) */
.modal-image {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content-image {
    margin: auto;
    display: block;
    max-width: 700px;
    max-height: 70vh;
}


/* Add Animation */
.modal-content-image, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content-image {
        width: 100%;
    }
}


[data-tooltip] {
    position: relative;
    z-index: 10;
}

/* Positioning and visibility settings of the tooltip */
[data-tooltip]:before,
[data-tooltip]:after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    left: 50%;
    bottom: calc(100% + 5px); /* 5px is the size of the arrow */
    pointer-events: none;
    transition: 0.2s;
    will-change: transform;
}

/* The actual tooltip with a dynamic width */
[data-tooltip]:before {
    content: attr(data-tooltip);
    padding: 10px 18px;
    min-width: 50px;
    max-width: 300px;
    width: max-content;
    border-radius: 6px;
    font-size: 14px;
    background-color: rgba(59, 72, 80, 0.9);
    background-image: linear-gradient(30deg, rgba(59, 72, 80, 0.44), rgba(59, 68, 75, 0.44), rgba(60, 82, 88, 0.44));
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    white-space: pre-wrap;
    transform: translate(-50%, -5px) scale(0.5);
}

/* Tooltip arrow */
[data-tooltip]:after {
    content: '';
    border-style: solid;
    border-width: 5px 5px 0px 5px; /* CSS triangle */
    border-color: rgba(55, 64, 70, 0.9) transparent transparent transparent;
    transition-duration: 0s;
    /* If the mouse leaves the element, 
                                 the transition effects for the 
                                 tooltip arrow are "turned off" */
    transform-origin: top;
    /* Orientation setting for the
                                 slide-down effect */
    transform: translateX(-50%) scaleY(0);
}

/* Tooltip becomes visible at hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}

/* Scales from 0.5 to 1 -> grow effect */
[data-tooltip]:hover:before {
    transition-delay: 0.3s;
    transform: translate(-50%, -5px) scale(1);
}

/* 
  Arrow slide down effect only on mouseenter (NOT on mouseleave)
*/
[data-tooltip]:hover:after {
    transition-delay: 0.5s; /* Starting after the grow effect */
    transition-duration: 0.2s;
    transform: translateX(-50%) scaleY(1);
}

/*
  That's it.
*/


/*
  If you want some adjustability
  here are some orientation settings you can use:
*/

/* LEFT */
/* Tooltip + arrow */
[data-tooltip-location="left"]:before,
[data-tooltip-location="left"]:after {
    left: auto;
    right: calc(100% + 5px);
    bottom: 50%;
}

/* Tooltip */
[data-tooltip-location="left"]:before {
    transform: translate(-5px, 50%) scale(0.5);
}

[data-tooltip-location="left"]:hover:before {
    transform: translate(-5px, 50%) scale(1);
}

/* Arrow */
[data-tooltip-location="left"]:after {
    border-width: 5px 0px 5px 5px;
    border-color: transparent transparent transparent rgba(55, 64, 70, 0.9);
    transform-origin: left;
    transform: translateY(50%) scaleX(0);
}

[data-tooltip-location="left"]:hover:after {
    transform: translateY(50%) scaleX(1);
}


/* RIGHT */
[data-tooltip-location="right"]:before,
[data-tooltip-location="right"]:after {
    left: calc(100% + 5px);
    bottom: 50%;
}

[data-tooltip-location="right"]:before {
    transform: translate(5px, 50%) scale(0.5);
}

[data-tooltip-location="right"]:hover:before {
    transform: translate(5px, 50%) scale(1);
}

[data-tooltip-location="right"]:after {
    border-width: 5px 5px 5px 0px;
    border-color: transparent rgba(55, 64, 70, 0.9) transparent transparent;
    transform-origin: right;
    transform: translateY(50%) scaleX(0);
}

[data-tooltip-location="right"]:hover:after {
    transform: translateY(50%) scaleX(1);
}


/* BOTTOM */
[data-tooltip-location="bottom"]:before,
[data-tooltip-location="bottom"]:after {
    top: calc(100% + 5px);
    bottom: auto;
}

[data-tooltip-location="bottom"]:before {
    transform: translate(-50%, 5px) scale(0.5);
}

[data-tooltip-location="bottom"]:hover:before {
    transform: translate(-50%, 5px) scale(1);
}

[data-tooltip-location="bottom"]:after {
    border-width: 0px 5px 5px 5px;
    border-color: transparent transparent rgba(55, 64, 70, 0.9) transparent;
    transform-origin: bottom;
}


.chevrons {
    border-radius: .25rem;
    padding: .375rem .5rem;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #ced4da;
    cursor: pointer;
}

.noPadding td {
    padding: 0;
}


/*.loader {
    border: 16px solid #f3f3f3; 
    border-top: 16px solid #ecc814; 
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s cubic-bezier(0.72, 0.02, 0.3, 1.01) infinite;
}*/
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader {
    width: 120px;
    height: 120px;
    border: 8px solid transparent;
    border-top: 8px solid #ffdd00;
    border-right: 8px solid #ffdd00;
    border-radius: 50%;
    animation: dualSpin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    position: relative;
    box-shadow: 0 0 20px rgb(255, 199, 2);
    margin: 100px;
}

@keyframes dualSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}


.kanban-board {
    background: none !important;
    border-radius: 5px;
    border: 1px solid grey;
}

.kanban-item {
    background-color: #80808014;
    border-radius: 5px;
    border: 1px solid grey;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.kanban-active {
    background-color: rgba(0, 152, 237, 0.2) !important;
}

*.hidden {
    display: none !important;
}

div.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 16, 16, 0.5);
}

@-webkit-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes uil-ring-anim {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.uil-ring-css {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
}

.uil-ring-css > div {
    position: absolute;
    display: block;
    width: 160px;
    height: 160px;
    top: 20px;
    left: 20px;
    border-radius: 80px;
    box-shadow: 0 6px 0 0 #ffffff;
    -ms-animation: uil-ring-anim 1s linear infinite;
    -moz-animation: uil-ring-anim 1s linear infinite;
    -webkit-animation: uil-ring-anim 1s linear infinite;
    -o-animation: uil-ring-anim 1s linear infinite;
    animation: uil-ring-anim 1s linear infinite;
}

.overlookTitle {
    margin-top: 1.2rem;
    font-weight: 400;
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-color: var(--pp-main);
    margin-left: 10px;
    margin-bottom: 0.1rem;
}

/*regally UI update*/
.refJingles {
    background: #f0ba3a;
    text-color: #000;
}

/* ──────────────────────────────────────────────────────────────────────────
   1) Table & rows: uniform padding & taller height
──────────────────────────────────────────────────────────────────────────── */
/*────────────────────────────────────────────────────────────────────────────
  Table Cell Styling
────────────────────────────────────────────────────────────────────────────*/
.table th,
.table td {
    /* Uniform top/bottom and left/right padding */
    padding: 1rem 1.5rem;

    /* White background for all header and body cells */
    background-color: #fff;

    /* Vertically center content */
    vertical-align: middle !important;
}

/*────────────────────────────────────────────────────────────────────────────
  Fixed Row Height
────────────────────────────────────────────────────────────────────────────*/
.table tbody tr {
    /* Ensure enough height for larger controls (e.g. 3rem toggle/play icons) */
    height: 4rem;
    position: relative;
}

/* 1) Make the last <td> in each body‐row a stacking context */
.table.align-middle tbody td:last-child {
    position: relative;
}

/* 2) Draw a 1px white bar across the top of that cell to cover the collapsed border */
.table.align-middle tbody td:last-child::before {
    content: "";
    position: absolute;
    top: 0; /* right at the row‐divider */
    left: 0;
    right: 0;
    height: 1px; /* same thickness as your row lines */
    background: white; /* match your table background */
    z-index: 2; /* sit above the collapsed border */
}

/*——————————————————————————————————
  Shrink right‐padding on the Actions column only
——————————————————————————————————*/

.table.align-middle tbody td:last-child,
.table.align-middle thead th:last-child {
    /* tune this value to taste */
    padding-right: 0 !important;
}

/* ───────────────────────────────────────────────────────────────────────────
   1) PLAY CELL: container for both play & schedule in each row
──────────────────────────────────────────────────────────────────────────── */
td.play-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* play button at left edge */
    padding: 1rem 0 1rem 1.5rem !important; /* top/right/bottom/left */
    overflow: visible !important; /* allow date‑picker popup */
}

/* ───────────────────────────────────────────────────────────────────────────
   2) CONTROLS WRAPPER: holds play, schedule, date input & badge
──────────────────────────────────────────────────────────────────────────── */
td.play-cell .controls-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important; /* uniform spacing */
    position: relative; /* for absolute children if needed */
}

/* ───────────────────────────────────────────────────────────────────────────
   3) PLAY/PAUSE BUTTON (big yellow circle)
──────────────────────────────────────────────────────────────────────────── */
td.play-cell .play-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3rem !important;
    height: 3rem !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f0ba3a !important;
    border: none !important;
    border-radius: 50% !important;
    color: #000 !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    outline: none !important;
}

td.play-cell .play-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 186, 58, 0.5) !important;
}

td.play-cell .play-btn .fa-play,
td.play-cell .play-btn .fa-pause {
    transform: none !important;
}

/* ───────────────────────────────────────────────────────────────────────────
   4) SCHEDULE BUTTON (small yellow square)
──────────────────────────────────────────────────────────────────────────── */
td.play-cell .schedule-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f0ba3a !important;
    border: none !important;
    border-radius: 0.25rem !important;
    color: #000 !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    outline: none !important;
}

td.play-cell .schedule-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 186, 58, 0.5) !important;
}

/* ───────────────────────────────────────────────────────────────────────────
   5) DATE INPUT (hidden until `.open`)
──────────────────────────────────────────────────────────────────────────── */
td.play-cell .controls-wrapper input[type="date"] {
    width: 9rem !important;
    padding: 0.25rem 0.5rem !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    background: #f0ba3a !important;
    color: #212529 !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: calc(3rem + 0.75rem) !important; /* right of play button + gap */
}

td.play-cell .controls-wrapper.open input[type="date"] {
    opacity: 1 !important;
    pointer-events: auto !important;
}

td.play-cell .controls-wrapper input[type="date"]:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 186, 58, 0.5) !important;
}

/* ───────────────────────────────────────────────────────────────────────────
   6) DURATION BADGE (hidden until `.open`)
──────────────────────────────────────────────────────────────────────────── */
td.play-cell .controls-wrapper .time-display {
    padding: 0.25rem 0.75rem !important;
    background-color: #f0ba3a !important;
    color: #000 !important;
    border-radius: 0.25rem !important;
    font-size: 0.9rem !important;
    font-family: monospace !important;
    transition: opacity 0.2s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin-left: calc(3rem + 0.75rem + 9rem + 0.75rem) !important;
    /* after play + gap + date‑input width + gap */
}

td.play-cell .controls-wrapper.open .time-display {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ───────────────────────────────────────────────────────────────────────────
   7) Ensure badge aligns under the cell border
──────────────────────────────────────────────────────────────────────────── */
td.play-cell .time-display {
    margin-left: 0.5rem !important;
}

/* ───────────────────────────────────────────────────────────────────────────
   5) UTILITY: hide/show helper
──────────────────────────────────────────────────────────────────────────── */
.visually-hidden {
    display: none !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   4) Bump up button sizing
──────────────────────────────────────────────────────────────────────────── */
.btn {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
}

.table.align-middle tbody td.actions-cell .btn-outline-danger {
    /* keep a little breathing room between the two buttons */
    margin-left: 0.5rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   5) Scale up switches
──────────────────────────────────────────────────────────────────────────── */
/* Base (unchecked) switch style: gray track and gray knob */
.form-check.form-switch .form-check-input[type="checkbox"][role="switch"] {
    -webkit-appearance: none; /* remove default styling */
    appearance: none;
    transform: scale(2.0);
    transform-origin: left center;
    vertical-align: middle;
    border: none;
    border-radius: 2em;
    background-color: #e0e0e0; /* light gray track */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236c757d'/%3e%3c/svg%3e"); /* gray knob */
    background-position: left center;
    background-repeat: no-repeat;
    margin-left: -5em; /* adjust positioning in .form-switch container */
}

/* Checked (on) state: yellow track with black knob */
.form-check.form-switch .form-check-input[type="checkbox"][role="switch"]:checked {
    background-color: #f0ba3a; /* yellow track */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23000'/%3e%3c/svg%3e"); /* black knob */
    background-position: right center;
    border: none;
}

/* Remove focus outline and shadow (no blue focus ring or glow) */
.form-check.form-switch .form-check-input[type="checkbox"][role="switch"]:focus {
    outline: none;
    box-shadow: none;
}

/* Maintain knob color on focus (override default focus styles) */
.form-check.form-switch .form-check-input[type="checkbox"][role="switch"]:focus:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236c757d'/%3e%3c/svg%3e");
}

.form-check.form-switch .form-check-input[type="checkbox"][role="switch"]:focus:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23000'/%3e%3c/svg%3e");
}

/* Scale adjustment: expand switch size and center it */
.form-check.form-switch {
    padding-left: 5em; /* space for enlarged switch */
}

/* ──────────────────────────────────────────────────────────────────────────
   Playlist Wizard Step 1 - Field Styling (No Container)
──────────────────────────────────────────────────────────────────────────── */

/* Make fields left-aligned and wide, but not full width */
.playlist-field {
    margin-left: auto;
    margin-right: auto;
    width: 60vw;
    max-width: 900px;
    min-width: 350px;
    margin-bottom: 3rem;
}

/* Input and select styling */
.playlist-input {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    font-size: 1.1em;
}

/* Label styling */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* File input styling */
input[type="file"].playlist-input {
    padding: 0.375rem 0.75rem;
}

/* Current file text styling */
.current-file {
    color: #495057;
    font-size: 0.95rem;
    font-style: italic;
}

/* Helper text */
.text-muted {
    font-size: 0.95rem;
    color: #6c757d !important;
    margin-top: 0.25rem;
}

.btn-wizard-next {
    background-color: #f0ba3a !important;
    color: #000 !important;
    border: none;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.75rem 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: background 0.2s, color 0.2s;
}

.btn-wizard-next:hover, .btn-wizard-next:focus {
    background-color: #ffd666 !important;
    color: #000 !important;
}

/* Flex spacer for button alignment */
.flex-spacer {
    flex: 1 1 auto;
}

.playlist-field .form-check {
    margin-bottom: 0.8rem; /* or whatever you prefer */
}

/* ──────────────────────────────────────────────────────────────────────────
   Wizard Stepper - Circles, Lines, and Labels Aligned
──────────────────────────────────────────────────────────────────────────── */
.wizard-stepper-vertical {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 2rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.wizard-stepper-item {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #eee;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2rem;
    border: 3px solid #eee;
    z-index: 2;
    transition: background 0.2s, color 0.2s, border 0.2s;
    margin-bottom: 0.5rem;
}

.step-circle.active {
    background: #f0ba3a;
    color: #000;
    border: 3px solid #f0ba3a;
}

.step-circle.completed {
    background: #f0ba3a;
    color: #000;
    border: 3px solid #f0ba3a;
}

.step-line {
    position: absolute;
    top: 21%; /* half of circle height */
    left: 50%;
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    z-index: 1;
    margin-left: 27px; /* half of circle width */
    margin-right: -50%;
    transition: background 0.2s;
}

.step-line.completed {
    background: #f0ba3a;
}

.wizard-stepper-item:last-child .step-line {
    display: none;
}

.step-label {
    text-align: center;
    font-size: 1.1rem;
    color: #222;
    font-weight: 500;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.5rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   Playlist Wizard - Dropzone File Input
──────────────────────────────────────────────────────────────────────────── */
.dropzone {
    width: 100%;
    min-height: 120px;
    background: #f8f9fa;
    border: 2px dashed #f0ba3a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 0.5rem;
}

.dropzone:hover, .dropzone.dragover {
    border-color: #ffd666;
    background: #fffbe6;
}

.dropzone-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}

.dropzone-text {
    color: #888;
    font-size: 1.1em;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    width: 100%;
}


.playlist-field {
    margin-left: auto;
    margin-right: auto;
    width: 60vw;
    max-width: 900px;
    min-width: 350px;
    margin-bottom: 3rem;
}

.playlist-wizard-center-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.playlist-field-switch {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}


.playlist-wizard-buttons-right {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.playlist-form-narrow {
    width: 60vw;
    max-width: 900px;
    min-width: 350px;
    margin: 0 auto;
}

.playlist-wizard-buttons-right {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 40px;
}


.custom-switch-radio {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.custom-switch-radio input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-switch-radio label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 48px;
    height: 28px;
    background: #e0e0e0;
    border-radius: 28px;
    transition: background 0.2s;
}

.custom-switch-radio label:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 20px;
    background: #6c757d;
    border-radius: 50%;
    transition: 0.2s;
}

.custom-switch-radio input[type="radio"]:checked + label {
    background: #f0ba3a;
}

.custom-switch-radio input[type="radio"]:checked + label:after {
    background: #000;
    left: 24px;
}

.btn-add-stream {
    background-color: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: background 0.2s, color 0.2s;
}

.btn-add-stream:hover, .btn-add-stream:focus {
    background-color: #ffd666;
    color: #000;
}

.wizard-landing-bg {
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-landing-container {
    text-align: center;
}

.wizard-title {
    color: #f0ba3a;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    animation: fadeInDown 1s;
}

.wizard-steps-row {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.wizard-step-card {
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(240, 186, 58, 0.12);
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 220px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s;
    font-size: 1.2rem;
    background: #222;
}

.wizard-step-card.section1:hover {
    background: #f0ba3a;
    color: #000;
}

.wizard-step-card.section2:hover {
    background: #ffc107;
    color: #000;
}

.wizard-step-card.section3:hover {
    background: #ffd500;
    color: #000;
}

.wizard-step-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    transition: color 0.25s;
}

.wizard-step-label {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .wizard-steps-row {
        flex-direction: column;
        gap: 2rem;
    }

    .wizard-step-card {
        min-width: 180px;
        min-height: 180px;
    }
}

.wizard-horizontal-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
}

.wizard-horizontal-section {
    flex: 1 1 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
    cursor: pointer;
    font-family: inherit;
    overflow: hidden;
    background: #181818;
}


.section1 {
    clip-path: polygon(0 0, 97% 0, 87% 100%, 0% 100%);
    z-index: 3;
}

.section2 {
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 3% 100%);
    margin-left: -5vw;
    z-index: 2;
}

.section3 {
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 7% 100%);
    margin-left: -5vw;
    z-index: 1;
}

.wizard-horizontal-section:hover,
.wizard-horizontal-section:focus {
    background: #f0ba3a !important;
    color: #000 !important;
}

.wizard-horizontal-label {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: inherit;
    text-shadow: none;
    text-align: center;
    width: 100%;
    pointer-events: none;
    transition: color 0.2s;
}

@media (max-width: 900px) {
    .wizard-horizontal-container {
        flex-direction: column;
        height: auto;
    }

    .wizard-horizontal-section,
    .section1,
    .section2,
    .section3 {
        min-height: 120px;
        height: 33vh;
        clip-path: none;
        margin-left: 0;
        border-bottom: 2px solid #111;
    }

    .wizard-horizontal-section:last-child {
        border-bottom: none;
    }

    .wizard-horizontal-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .table {
        font-size: 0.95em;
    }

    .centered-left-block-inner {
        min-width: 60px;
        max-width: 120px;
        font-size: 0.95em;
    }

    .player-ui, .controls-wrapper {
        gap: 0.5rem !important;
    }

    .play-btn, .calendar-btn {
        width: 2.2rem !important;
        height: 2.2rem !important;
        font-size: 1.1rem !important;
    }
}

.ws-region-handle {
    position: absolute;
    top: -18px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 18px solid #f0ba3a;
    cursor: pointer;
    z-index: 10;
    transition: filter 0.2s;
}

.ws-region-handle:hover {
    filter: brightness(0.85) drop-shadow(0 2px 4px #0008);
}

.ws-region-pointer {
    position: absolute;
    top: 0;
    width: 3px;
    height: 100%;
    background: #111;
    z-index: 9;
    border-radius: 2px;
    box-shadow: 0 0 2px #000, 0 0 8px #0002;
}

.ws-region {
    z-index: 8;
}


.ws-region {
    background: rgba(240, 186, 58, 0.18) !important;
    border-radius: 2px;
}


.wavesurfer-handle {
    width: 5px !important;
    height: 32px !important;
    background: #222 !important;
    border-radius: 3px !important;
    position: absolute !important;
    top: -16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    cursor: ew-resize !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px #111a !important;
    border: 1px solid #fff2 !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


.wavesurfer-handle[data-resize="start"]::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: #222;
    border-radius: 3px 0 0 3px;
    position: absolute;
    left: -8px;
    top: 10px;
    box-shadow: 0 2px 8px #111a;
    border: 1px solid #fff2;
}

.wavesurfer-handle[data-resize="end"]::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: #222;
    border-radius: 0 3px 3px 0;
    position: absolute;
    right: -8px;
    top: 10px;
    box-shadow: 0 2px 8px #111a;
    border: 1px solid #fff2;
}

.wavesurfer-handle:hover,
.wavesurfer-handle[data-resize="start"]:hover::before,
.wavesurfer-handle[data-resize="end"]:hover::before {
    box-shadow: 0 2px 8px #f0ba3a88 !important;
}

.wavesurfer-region[data-resize="start"] .wavesurfer-handle,
.wavesurfer-region[data-resize="end"] .wavesurfer-handle {
    cursor: ew-resize !important;
}

.genre-chip-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.7rem;
    margin-bottom: 1rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
    min-width: 0;
    grid-auto-flow: row;
    grid-auto-rows: min-content;
    align-items: start;
}

.genre-chip {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.genre-chip.selected {
    background: #222 !important;
    color: #fff !important;
}

.genre-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}

.songs-for-genre-list {
    margin: 2rem 0 0 0;
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border: 1px solid #eee;
    min-width: 220px;
    max-width: 600px;
}

.songs-for-genre-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.songs-for-genre-list li {
    padding: 0.7em 0;
    border-bottom: 1px solid #f0ba3a33;
    font-size: 1.1rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.7em;
}

.songs-for-genre-list li:last-child {
    border-bottom: none;
}

.songs-for-genre-list strong {
    color: #f0ba3a;
    font-weight: 600;
}

.songs-for-genre-list span {
    color: #888;
    font-size: 0.98em;
}

/* ──────────────────────────────────────────────────────────────────────────
   AddMusic file 
──────────────────────────────────────────────────────────────────────────── */

.genre-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.genre-chip {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.genre-chip.selected {
    background: #222 !important;
    color: #fff !important;
}

.genre-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}

/* Category chips - same styling as genre chips */
.category-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.category-chip {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.category-chip.selected {
    background: #222 !important;
    color: #fff !important;
}

.category-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}

/* Category chip add button - same styling as genre chip add */
.category-chip-add {
    background: #f0ba3a !important;
    color: #000 !important;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.3rem;
    border-radius: 2rem;
    box-shadow: 0 0 0 2px #f0ba3a55;
    transition: background 0.2s, color 0.2s;
    font-weight: bold;
    min-width: 90px;
    min-height: unset;
    width: auto;
}

.category-chip-add:hover, .category-chip-add:focus {
    background: #ffd666 !important;
    color: #000 !important;
}

.songs-for-genre-list {
    margin: 2rem 0 0 0;
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border: 1px solid #eee;
    min-width: 220px;
    max-width: 600px;
}

.songs-for-genre-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.songs-for-genre-list li {
    padding: 0.7em 0;
    border-bottom: 1px solid #f0ba3a33;
    font-size: 1.1rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.7em;
}

.songs-for-genre-list li:last-child {
    border-bottom: none;
}

.songs-for-genre-list strong {
    color: #f0ba3a;
    font-weight: 600;
}

.songs-for-genre-list span {
    color: #888;
    font-size: 0.98em;
}

/* ──────────────────────────────────────────────────────────────────────────
   AddMusicMultiple file 
──────────────────────────────────────────────────────────────────────────── */
.genre-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.genre-chip {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.genre-chip.selected {
    background: #222 !important;
    color: #fff !important;
}

.genre-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}

.dropzone {
    width: 100%;
    min-height: 160px;
    padding: 2.5rem 1rem;
    background: #f8f9fa;
    border: 2px dashed #f0ba3a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 0.5rem;
}

.dropzone:hover, .dropzone.dragover {
    border-color: #ffd666;
    background: #fffbe6;
}

.dropzone-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}

#dropzoneText {
    color: #888;
    font-size: 1.1em;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    width: 100%;
}

.current-file {
    color: #495057;
    font-size: 0.95rem;
    font-style: italic;
}

.artist-input-row .form-control {
    min-width: 0;
}

.artist-plus-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 38px;
    height: 38px;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 6px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    /*width: 80%;*/
    min-width: 320px;
    overflow-y: auto;
    position: relative;
    padding-bottom: 2em;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.close:hover {
    color: #000;
}

/* Specific styling for genre modal close button */
#genreModal .close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#genreModal .close:hover {
    color: #000;
}

.genre-chip-add {
    background: #f0ba3a !important;
    color: #000 !important;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.3rem;
    border-radius: 2rem;
    box-shadow: 0 0 0 2px #f0ba3a55;
    transition: background 0.2s, color 0.2s;
    font-weight: bold;
    min-width: 90px;
    min-height: unset;
    width: auto;
}

.genre-chip-add:hover, .genre-chip-add:focus {
    background: #ffd666 !important;
    color: #000 !important;
}

.wavesurfer-handle {
    display: none !important;
}

.wavesurfer-region {
    cursor: pointer;
}

.wavesurfer-region[data-resize="start"] .wavesurfer-handle,
.wavesurfer-region[data-resize="end"] .wavesurfer-handle {
    width: 3px !important;
    background: #222 !important;
    box-shadow: none !important;
    border: none !important;
}

.hook-nudge-btn {
    background: #f0ba3a !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: bold;
    font-size: 1.1em;
    width: 2.2em;
    height: 2.2em;
    margin: 0 0.5em;
    box-shadow: 0 2px 4px rgba(240, 186, 58, 0.08);
    transition: background 0.2s, color 0.2s;
}

.hook-nudge-btn:hover, .hook-nudge-btn:focus {
    background: #ffd666 !important;
    color: #000 !important;
}

.custom-region-line {
    position: absolute;
    top: 0;
    width: 1.5px;
    height: 100%;
    background: #111;
    z-index: 99;
    pointer-events: none;
    border-radius: 1px;
    box-shadow: 0 0 2px #000, 0 0 8px #0002;
}

.wavesurfer-region.region-transparent {
    background: rgba(0, 0, 0, 0) !important;
}

.hook-duration-badge, .customButton#hookActionBtn {
    height: 2.4em;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05em;
    padding: 0 1.2em;
    border-radius: 0.7em;
    box-shadow: 0 2px 4px rgba(240, 186, 58, 0.08);
    font-weight: bold;
    font-family: monospace;
    background: #f0ba3a;
    color: #000;
    margin: 0;
    margin-left: 0.3em;
}


/* ──────────────────────────────────────────────────────────────────────────
   AddMusicMultiple file 
──────────────────────────────────────────────────────────────────────────── */
.genre-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.genre-chip {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.genre-chip.selected {
    background: #222 !important;
    color: #fff !important;
}

.genre-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}

.dropzone {
    width: 100%;
    min-height: 160px;
    padding: 2.5rem 1rem;
    background: #f8f9fa;
    border: 2px dashed #f0ba3a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 0.5rem;
}

.dropzone:hover, .dropzone.dragover {
    border-color: #ffd666;
    background: #fffbe6;
}

.dropzone-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}

#dropzoneText {
    color: #888;
    font-size: 1.1em;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    width: 100%;
}

.current-file {
    color: #495057;
    font-size: 0.95rem;
    font-style: italic;
}

/* ──────────────────────────────────────────────────────────────────────────
   AddPlaylist file 
──────────────────────────────────────────────────────────────────────────── */
.dropzone {
    width: 100%;
    min-height: 80px;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border: 2px dashed #f0ba3a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 0.5rem;
}

.dropzone:hover, .dropzone.dragover {
    border-color: #ffd666;
    background: #fffbe6;
}

.dropzone-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}

#playlistDropzoneText {
    color: #888;
    font-size: 1.1em;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    width: 100%;
}

.current-file {
    color: #495057;
    font-size: 0.95rem;
    font-style: italic;
}

.genre-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.genre-chip {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.genre-chip.selected {
    background: #222 !important;
    color: #fff !important;
}

.genre-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}

/* ──────────────────────────────────────────────────────────────────────────
   EditMusic file 
──────────────────────────────────────────────────────────────────────────── */
.genre-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.genre-chip {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.genre-chip.selected {
    background: #222 !important;
    color: #fff !important;
}

.genre-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}

.artist-input-row .form-control {
    min-width: 0;
}

.artist-plus-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 38px;
    height: 38px;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 6px;
}

.genre-chip-add {
    background: #f0ba3a !important;
    color: #000 !important;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.3rem;
    border-radius: 2rem;
    box-shadow: 0 0 0 2px #f0ba3a55;
    transition: background 0.2s, color 0.2s;
    font-weight: bold;
    min-width: 90px;
    min-height: unset;
    width: auto;
}

.genre-chip-add:hover, .genre-chip-add:focus {
    background: #ffd666 !important;
    color: #000 !important;
}

.wavesurfer-handle {
    display: none !important;
}

.wavesurfer-region {
    cursor: pointer;
}

.wavesurfer-region[data-resize="start"] .wavesurfer-handle,
.wavesurfer-region[data-resize="end"] .wavesurfer-handle {
    width: 3px !important;
    background: #222 !important;
    box-shadow: none !important;
    border: none !important;
}

.hook-nudge-btn {
    background: #f0ba3a !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: bold;
    font-size: 1.1em;
    width: 2.2em;
    height: 2.2em;
    margin: 0 0.5em;
    box-shadow: 0 2px 4px rgba(240, 186, 58, 0.08);
    transition: background 0.2s, color 0.2s;
}

.hook-nudge-btn:hover, .hook-nudge-btn:focus {
    background: #ffd666 !important;
    color: #000 !important;
}

.custom-region-line {
    position: absolute;
    top: 0;
    width: 1.5px;
    height: 100%;
    background: #111;
    z-index: 99;
    pointer-events: none;
    border-radius: 1px;
    box-shadow: 0 0 2px #000, 0 0 8px #0002;
}

.wavesurfer-region.region-transparent {
    background: rgba(0, 0, 0, 0) !important;
}

.hook-duration-badge, .customButton#hookActionBtn {
    height: 2.4em;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05em;
    padding: 0 1.2em;
    border-radius: 0.7em;
    box-shadow: 0 2px 4px rgba(240, 186, 58, 0.08);
    font-weight: bold;
    font-family: monospace;
    background: #f0ba3a;
    color: #000;
    margin: 0;
    margin-left: 0.3em;
}

.yellow-audio-player {
    width: 100%;
    border-radius: 8px;
    background: transparent;
}

.yellow-audio-player::-webkit-media-controls-panel {
    background-color: #f0ba3a !important;
    color: #000 !important;
    border-radius: 8px;
}

.yellow-audio-player::-webkit-media-controls-play-button,
.yellow-audio-player::-webkit-media-controls-current-time-display,
.yellow-audio-player::-webkit-media-controls-time-remaining-display,
.yellow-audio-player::-webkit-media-controls-timeline,
.yellow-audio-player::-webkit-media-controls-volume-slider {
    color: #000 !important;
    background: #f0ba3a !important;
    border-radius: 8px;
}

.yellow-audio-player::-webkit-media-controls-mute-button,
.yellow-audio-player::-webkit-media-controls-volume-slider-container {
    background: #f0ba3a !important;
}

/* For Firefox */
.yellow-audio-player::-moz-range-thumb {
    background: #f0ba3a !important;
}

.yellow-audio-player::-moz-range-track {
    background: #f0ba3a !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   GenresGrid file
──────────────────────────────────────────────────────────────────────────── */
.genre-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    background: transparent !important;
    padding: 2rem 1rem !important;
    border-radius: 1.2rem !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-gap: 2rem !important;
    row-gap: 2rem !important;
    column-gap: 2rem !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   AuthorsGrid file
──────────────────────────────────────────────────────────────────────────── */
.author-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    background: transparent;
    padding: 2rem 1rem;
    border-radius: 1.2rem;
}

.genre-card {
    background: #fff !important;
    color: #222;
    border-radius: 1.2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.18);
    border: 1.5px solid #bbb;
    width: 220px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s;
    cursor: pointer;
}

.genre-card:hover {
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.28), 0 8px 32px rgba(0, 0, 0, 0.22);
    border-color: #888;
    background: #fff !important;
}

.genre-card img {
    border-radius: 1.2rem !important;
}

.genre-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.5rem 0.5rem 0.5rem;
}

.genre-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}

.genre-meta {
    font-size: 0.95rem;
    color: #888;
}

.genre-master {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-top: 0.2rem;
}

.genre-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.genre-card:hover .genre-card-actions {
    opacity: 1;
    pointer-events: auto;
}

.genre-card-actions .btn {
    border: 1px solid #bbb;
    border-radius: 0.7em;
    padding: 0.4em 1.2em;
    font-size: 1rem;
    cursor: pointer;
    background: #fff;
    color: #555;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.genre-card-actions .btn:hover {
    background: #eee;
    color: #222;
    border-color: #888;
}

/* ──────────────────────────────────────────────────────────────────────────
   MusicTable file 
──────────────────────────────────────────────────────────────────────────── */
.player-ui {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

td.play-cell .controls-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
}

.player-ui {
    flex: 0 0 auto !important;
}

.player-badge {
    background: #f0ba3a !important;
    color: #000 !important;
    border-radius: 1.5rem;
    padding: 0.25rem 0.75rem;
    font-family: monospace;
    font-size: 1em;
    margin-left: 0.5rem;
    min-width: 80px;
    text-align: center;
    display: inline-block;
}

.play-btn,
.calendar-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3rem !important;
    height: 3rem !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f0ba3a !important;
    border: none !important;
    border-radius: 50% !important;
    color: #000 !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    outline: none !important;
    transition: box-shadow 0.2s;
}

.play-btn:focus,
.calendar-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 186, 58, 0.5) !important;
}

.centered-left-block {
    display: flex;
    justify-content: center;
}

.centered-left-block-inner {
    min-width: 100px;
    max-width: 220px;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    min-width: 700px;
}

.play-btn-hook {
    background: #222 !important;
    color: #f0ba3a !important;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}

.play-btn-hook:hover:not(:disabled) {
    opacity: 1;
    background: #333 !important;
}

.play-btn-hook:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.play-btn-hook:focus:not(:disabled) {
    box-shadow: 0 0 0 0.25rem rgba(240, 186, 58, 0.5) !important;
}

.hook-btn {
    background: #222 !important;
    color: #f0ba3a !important;
    border: none !important;
    border-radius: 50% !important;
    width: 2.2rem !important;
    height: 2.2rem !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s !important;
    margin: 0 auto !important;
    cursor: pointer;
    position: relative !important;
}

.hook-btn:hover:not(:disabled) {
    opacity: 1;
    background: #333 !important;
}

.hook-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hook-btn:disabled .hook-play-icon {
    color: #ccc !important;
    opacity: 0.3;
}

.hook-btn:focus:not(:disabled) {
    box-shadow: 0 0 0 0.25rem rgba(240, 186, 58, 0.5) !important;
}

.edit-btn i {
    font-size: 1.2rem;
}

.hook-play-icon {
    color: #f0ba3a !important;
    font-size: 1.2rem !important;
    position: absolute !important;
    top: 48% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.btn-genre-edit {
    padding: 0 0.3em;
    font-size: 0.9em;
    color: #f0ba3a;
    background: none;
    border: none;
    vertical-align: middle;
    transition: color 0.2s;
}

.btn-genre-edit i {
    font-size: 1.2em;
    color: #f0ba3a;
    transition: color 0.2s;
}

.btn-genre-edit:hover i,
.btn-genre-edit:focus i {
    color: #222;
}

#genre-edit-popover {
    position: absolute;
    z-index: 1000;
    display: none;
}

.genre-popover-card {
    background: #fff;
    border: 1.5px solid #bbb;
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.09);
    padding: 2em 2.2em 1.5em 2.2em;
    min-width: 340px;
    max-width: 440px;
}

#genre-edit-select {
    width: 100%;
    min-height: 180px;
    max-height: 320px;
    font-size: 1.15em;
    border-radius: 8px;
    border: 1.5px solid #bbb;
    padding: 0.7em;
    background: #fff;
    color: #222;
    margin-bottom: 1.2em;
    box-sizing: border-box;
    outline: none;
}

#genre-edit-select option:checked {
    background: rgba(240, 186, 58, 0.35) !important;
    color: #222 !important;
}

.genre-popover-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5em;
}

.btn.btn-sm.btn-primary {
    background: #f0ba3a;
    color: #222;
    border: none;
    border-radius: 7px;
    padding: 0.4em 1.5em;
    font-weight: bold;
    font-size: 1.08em;
    transition: background 0.2s;
}

.btn.btn-sm.btn-primary:hover {
    background: #ffd76a;
}

.btn.btn-sm.btn-secondary {
    background: #eee;
    color: #222;
    border: none;
    border-radius: 7px;
    padding: 0.4em 1.5em;
    font-size: 1.08em;
}

.btn.btn-sm.btn-secondary:hover {
    background: #ddd;
}

.genre-multiselect-hint {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 0.7em;
    margin-top: -0.5em;
}

.genre-edit-cell {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.genre-edit-cell .genre-list {
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.25s;
    opacity: 1;
}

.genre-edit-cell .btn-genre-edit {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 2;
}

.genre-edit-cell:hover .genre-list {
    opacity: 0;
    transition: opacity 0.25s;
}

.genre-edit-cell:hover .btn-genre-edit {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s;
}

/* ──────────────────────────────────────────────────────────────────────────
   PlaylistTable file 
──────────────────────────────────────────────────────────────────────────── */
.playlist-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.playlist-table th, .playlist-table td {
    padding: 0.7em 1em;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.playlist-table th {
    /* background: #f0ba3a; */
    background: #fff;
    color: #222;
    font-weight: bold;
}

.playlist-table tr:hover {
    background: #fffbe6;
}

.btn {
    border: 1px solid #bbb;
    border-radius: 0.7em;
    padding: 0.3em 1em;
    font-size: 1rem;
    cursor: pointer;
    background: #fff;
    color: #555;
    transition: background 0.2s, color 0.2s, border 0.2s;
    margin-right: 0.3em;
}

.btn-secondary:hover {
    background: #ffe6a3;
    color: #222;
    border-color: #f0ba3a;
}

.btn-danger {
    border-color: #f44336;
    color: #f44336;
}

.btn-danger:hover {
    background: #f44336;
    color: #fff;
}

/* ──────────────────────────────────────────────────────────────────────────
   StreamChipsSelect file 
──────────────────────────────────────────────────────────────────────────── */
.stream-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.stream-chip {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2rem;
}

.stream-chip.selected {
    background: #f0ba3a;
    color: #000;
}

.stream-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f0ba3a55;
}


/* ──────────────────────────────────────────────────────────────────────────
   Genres file 
──────────────────────────────────────────────────────────────────────────── */
.genres-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.genre-card {
    background: #fff;
    color: #222;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border: 1px solid #eee;
    padding: 1.5rem 2rem;
    min-width: 200px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s;
}

.genre-card:hover {
    box-shadow: 0 4px 16px rgba(240, 186, 58, 0.15);
    border-color: #f0ba3a;
}

.genre-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.genre-card-songs {
    font-size: 1rem;
    color: #888;
    margin-bottom: 1rem;
}

.genre-card-buttons {
    display: flex;
    gap: 0.7rem;
}

.genre-card .edit-btn, .genre-card .delete-btn {
    border: none;
    border-radius: 0.7em;
    padding: 0.4em 1.2em;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.genre-card .edit-btn {
    background: #f0ba3a;
    color: #222;
}

.genre-card .edit-btn:hover {
    background: #ffe6a3;
}

.genre-card .delete-btn {
    background: #f44336;
    color: #fff;
}

.genre-card .delete-btn:hover {
    background: #d32f2f;
}

/* ──────────────────────────────────────────────────────────────────────────
   Music file 
──────────────────────────────────────────────────────────────────────────── */
.customButton {
    background: #f0ba3a;
    color: #222;
    border: none;
    border-radius: 0.7em;
    padding: 0.7em 2em;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 1.5em;
    margin-bottom: 1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.customButton:hover, .customButton:focus {
    background: #ffe6a3;
    color: #222;
    box-shadow: 0 4px 16px #f0ba3a33;
    outline: none;
}

/* ──────────────────────────────────────────────────────────────────────────
   MusicCreatedBy file 
──────────────────────────────────────────────────────────────────────────── */
.user-filter-section {
    margin-bottom: 2rem;
}

.user-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.user-list li {
    font-size: 1.1rem;
}

.user-list a {
    text-decoration: none;
    color: #333;
    padding: 0.3em 0.8em;
    border-radius: 1em;
    background: #f0ba3a22;
    transition: background 0.2s, color 0.2s;
}

.user-list a.selected-user, .user-list a:hover {
    background: #f0ba3a;
    color: #000;
}

.user-highlight {
    font-weight: bold;
    color: #f0ba3a;
}


.genre-card-custom {
    background: #111 !important;
    color: #f0ba3a !important;
    border: 1.5px solid #222 !important;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.genre-card-custom .genre-name,
.genre-card-custom .genre-meta,
.genre-card-custom .genre-master {
    color: #f0ba3a !important;
}

.genre-card-custom:hover {
    background: #f0ba3a !important;
    color: #111 !important;
    border-color: #f0ba3a !important;
}

.genre-card-custom:hover .genre-name,
.genre-card-custom:hover .genre-meta,
.genre-card-custom:hover .genre-master {
    color: #111 !important;
}

.songs-for-genre-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1em;
}

.play-all-hooks-btn {
    margin: 0;
}

.songs-for-genre-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.songs-for-genre-li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em 0;
    border-bottom: 1px solid #f0ba3a33;
    font-size: 1.1rem;
    color: #222;
    /* Remove gap! */
}

.songs-for-genre-li:last-child {
    border-bottom: none;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.play-song-btn, .play-all-hooks-btn {
    width: 2.5em;
    height: 2.5em;
    min-width: 2.5em;
    min-height: 2.5em;
    max-width: 2.5em;
    max-height: 2.5em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.2em;
    box-sizing: border-box;
}

.song-title-black {
    color: #111 !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   SongsForAuthor file
──────────────────────────────────────────────────────────────────────────── */
.songs-for-author-list {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.songs-for-author-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1em;
}

.songs-for-author-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.songs-for-author-li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em 0;
    border-bottom: 1px solid #f0ba3a33;
    font-size: 1.1rem;
    color: #222;
}

.songs-for-author-li:last-child {
    border-bottom: none;
}

.genre-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin-bottom: 1rem;
}

.genre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ... existing code ... */
.genre-card-image {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border: 1px solid #eee;
    cursor: pointer;
    background: #111;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}

@media (max-width: 600px) {
    .genre-card-image {
        width: 100vw;
        min-width: 160px;
        height: 180px;
    }
}

/* ... existing code ... */

.genre-card-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.2s;
    pointer-events: none;
}

.genre-card-image:hover::before {
    opacity: 1;
}

.genre-card-image .genre-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.3s;
}

.genre-card-image .genre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.genre-card-image .genre-name-overlay {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    background: none;
    border-radius: 0;
    padding: 0.4em 0.2em;
    margin-bottom: 0.5em;
    pointer-events: auto;
    box-shadow: none;
    position: relative;
    z-index: 3;
    display: inline-block;
    opacity: 0;
    transition: opacity 0.2s;
}

.genre-card-image:hover .genre-name-overlay {
    opacity: 1;
}

.genre-card-image .genre-meta-overlay,
.genre-card-image .genre-card-actions-overlay {
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: auto;
}

.genre-card-image:hover .genre-meta-overlay,
.genre-card-image:hover .genre-card-actions-overlay {
    opacity: 1;
}

.genre-card-image .genre-meta-overlay {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.7em;
    background: none;
    border-radius: 0;
    padding: 0.3em 0.2em;
    text-align: center;
}

.genre-card-image .genre-card-actions-overlay {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5em;
}

.genre-card-image .btn {
    pointer-events: auto;
}

.genre-card-image:hover {
    background: #111 !important;
    border-color: #111 !important;
    box-shadow: 0 8px 32px #111a, 0 0 0 4px #111 !important;
}

.genre-card-image.genre-card-custom:hover {
    background: #111 !important;
    border-color: #111 !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   _playerModal file 
──────────────────────────────────────────────────────────────────────────── */

#player-modal-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
}

.player-modal {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1.2rem 1.2rem 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.22);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(.4, 2, .6, 1);
    pointer-events: auto;
    position: relative;
    bottom: 0;
}

.player-modal.show {
    transform: translateY(0);
}

.player-modal-content {
    padding: 2em;
    display: flex;
    align-items: center;
    gap: 1em;
}

.player-modal-img {
    width: 80px;
    height: 80px;
    border-radius: 1em;
}

.player-modal-close {
    position: absolute;
    top: 1em;
    right: 1em;
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
}

/* ──────────────────────────────────────────────────────────────────────────
   Music Table Column Alignment Overrides
──────────────────────────────────────────────────────────────────────────── */
.music-table {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

/* Force table layout and override any conflicting styles */
.table-responsive .music-table {
    table-layout: fixed !important;
    width: 100% !important;
}

.music-table th,
.music-table td {
    padding: 1rem 1.5rem !important;
    background-color: #fff !important;
    vertical-align: middle !important;
    text-align: left !important;
    border-bottom: 1px solid #eee !important;
    position: relative !important;
}

/* Ensure headers and data cells align perfectly */
.music-table thead th,
.music-table tbody td {
    box-sizing: border-box !important;
}

/* Column width overrides */
.music-table .col-number {
    width: 5% !important;
    text-align: center !important;
}

.music-table .col-name {
    width: 25% !important;
    text-align: left !important;
}

.music-table .col-artist {
    width: 20% !important;
    text-align: left !important;
}

.music-table .col-moods {
    width: 20% !important;
    text-align: left !important;
}

.music-table .col-hook {
    width: 15% !important;
    text-align: left !important;
}

.music-table .col-actions {
    width: 10% !important;
    text-align: center !important;
}

.music-table .col-empty {
    width: 5% !important;
    text-align: center !important;
}

/* Override any conflicting styles */
.music-table th.col-number,
.music-table td.col-number {
    text-align: center !important;
    padding-right: 1rem !important;
}

.music-table th.col-actions,
.music-table td.col-actions {
    text-align: center !important;
    padding-right: 0 !important;
}

.music-table th.col-hook,
.music-table td.col-hook {
    text-align: left !important;
    padding-left: 1.5rem !important;
    padding-right: 0 !important;
}

.music-table td.col-hook .hook-controls {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Ensure play button alignment in number column */
.music-table .col-number .play-btn-row {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

/* Override any Bootstrap or other conflicting styles */
.music-table.table th,
.music-table.table td {
    text-align: inherit !important;
}

.music-table.table th.col-number,
.music-table.table td.col-number {
    text-align: center !important;
}

.music-table.table th.col-actions,
.music-table.table td.col-actions {
    text-align: center !important;
}

.music-table.table th.col-hook,
.music-table.table td.col-hook {
    text-align: left !important;
}

/* Final override to ensure perfect alignment */
.music-table * {
    box-sizing: border-box !important;
}

.music-table thead th,
.music-table tbody td {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   MusicTable file 
──────────────────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────────────
   Genre Grid Override - Force 3 columns minimum
──────────────────────────────────────────────────────────────────────────── */
.genre-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    background: transparent !important;
    padding: 2rem 1rem !important;
    border-radius: 1.2rem !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-gap: 2rem !important;
    row-gap: 2rem !important;
    column-gap: 2rem !important;
}

/* Ensure minimum 3 columns on desktop */
@media (min-width: 1000px) {
    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    }
}

/* Only go to 2 columns on very small screens */
@media (max-width: 800px) {
    .genre-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Single column only on mobile */
@media (max-width: 600px) {
    .genre-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fix for inconsistent row heights in genre chip grid */
/* ===== GENRE.CSHTML STYLES ===== */

/* Number and play button wrapper */
.number-play-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.1em;
}

.music-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-weight: bold;
    color: #222;
}

.music-row .play-btn-row {
    display: inline-flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 2.1em;
    height: 2.1em;
    font-size: 1.1em;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.music-row:hover .play-btn-row {
    opacity: 1;
}

/* Table styles */
.table {
    width: 100% !important;
    border-collapse: collapse;
}

.table th, .table td {
    border-bottom: 1px solid #eee !important;
}

.table > tbody > tr.music-row {
    transition: background-color 0.2s,
    box-shadow 0.25s cubic-bezier(.4, 2, .6, 1),
    transform 0.25s cubic-bezier(.4, 2, .6, 1);
}

.table > tbody > tr.music-row:hover,
.table > tbody > tr.music-row:focus-within {
    background-color: #ffeb3b !important;
    box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.12), 0 1.5px 6px -2px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px) scale(1.012);
    z-index: 2;
    position: relative;
    transition: background-color 0.2s,
    box-shadow 0.25s cubic-bezier(.4, 2, .6, 1),
    transform 0.25s cubic-bezier(.4, 2, .6, 1);
}

.table > tbody > tr.music-row:hover td,
.table > tbody > tr.music-row:focus-within td {
    background: #fff !important;
}

.table > tbody > tr.music-row:hover td,
.table > tbody > tr.music-row:focus-within td {
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-top-color: #eee !important;
    border-bottom-color: #eee !important;
}

/* Genre settings button */
.genre-settings-btn {
    width: 48px;
    height: 48px;
    font-size: 2.2em;
    background: transparent !important;
    border: none !important;
    color: #222;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    box-shadow: none;
}

.genre-settings-btn:hover {
    background: #efba3a !important;
    color: #222;
}

.genre-settings-menu .dropdown-item {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.5em 1.5em 0.5em 1.5em;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}

.genre-settings-menu .dropdown-item:hover {
    background: #f7e3a1;
}

.back-btn {
    background: #f0ba3a !important;
    color: #222;
    transition: background 0.2s, color 0.2s;
}

.back-btn:hover {
    background: #222 !important;
    color: #f0ba3a;
}

.back-btn:hover i {
    color: #f0ba3a !important;
}

/* Category Edit Styling */
.category-edit-cell {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.category-list {
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.25s;
    opacity: 1;
}

.btn-category-edit {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 2;
    background: none !important;
    border: none !important;
    color: #f0ba3a;
    font-size: 1.2em;
    font-weight: bold;
    padding: 0;
    width: auto;
    height: auto;
}

.btn-category-edit:hover {
    color: #ffd76a;
    background: none !important;
}

.category-edit-cell:hover .category-list {
    opacity: 0;
    transition: opacity 0.25s;
}

.category-edit-cell:hover .btn-category-edit {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s;
}

/* Category Edit Modal */
#categoryEditModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#categoryEditModal .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

#category-chips-container {
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

/* Category chip grid and chips */
.category-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-chip {
    background: #f0ba3a;
    color: #222;
    border: 1px solid #f0ba3a;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.category-chip:hover {
    background: #ffd76a;
    border-color: #ffd76a;
}

.category-chip.selected {
    background: #222;
    color: #f0ba3a;
    border-color: #222;
}

.category-chip.selected:hover {
    background: #333;
    border-color: #333;
}

/* ===== CATEGORY.CSHTML STYLES ===== */

/* Category settings button */
.category-settings-btn {
    width: 48px;
    height: 48px;
    font-size: 2.2em;
    background: transparent !important;
    border: none !important;
    color: #222;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    box-shadow: none;
}

.category-settings-btn:hover {
    background: #efba3a !important;
    color: #222;
}

.category-settings-menu .dropdown-item {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.5em 1.5em 0.5em 1.5em;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}

.category-settings-menu .dropdown-item:hover {
    background: #f7e3a1;
}

/* ===== GENRES.CSHTML STYLES ===== */

.genre-chip-grid-music-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.7rem;
    margin-bottom: 1rem;
    max-height: 130px;
    overflow-y: auto;
    padding-right: 4px;
    align-items: flex-start;
}

.playButton {
    background: #f0ba3a;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 2.1em;
    height: 2.1em;
    font-size: 1.1em;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

/* ===== REUSABLE SEARCH STYLES ===== */

/* Reusable Search Input Styles */
.bigSearchInput {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #bfbfbf;
    width: 30%;
    margin-bottom: 20px;
    margin-top: 20px;
    background-image: url(/css/searchicon.png);
    background-position: 8px 12px;
    background-repeat: no-repeat;
    padding: 10px 0px 10px 40px;
    font-size: 16px;
    border-radius: 5px;
    color: #5f5f5f;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bigSearchInput:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(103, 166, 72, 0.2);
}

.bigSearchInput::placeholder {
    color: #999;
}

/* Search Container */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
    position: relative;
}

/* Search input wrapper */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

/* Clear search button */
.clear-search-btn {
    background: #f0ba3a;
    color: #222;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 40px;
    white-space: nowrap;
    flex-shrink: 0;
}

.clear-search-btn:hover {
    background: #e0a800;
}

/* Responsive search input */
@media (max-width: 768px) {
    .bigSearchInput {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .bigSearchInput {
        width: 95%;
    }
}

/* TomSelect styling for search dropdown */
#announcementSearchInput {
    width: 27% !important; /* Half of 54% */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 20px !important;
    margin-top: 20px !important;
}

.ts-wrapper {
    width: 27% !important; /* Half of 54% */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 20px !important;
    margin-top: 20px !important;
}

/* When inside search wrapper, adjust width to accommodate clear button */
.search-input-wrapper .ts-wrapper {
    width: calc(27% - 80px) !important; /* Subtract space for clear button */
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ts-control {
    border: 2px solid #bfbfbf !important;
    background-image: url(/css/searchicon.png) !important;
    background-position: 12px 16px !important;
    background-repeat: no-repeat !important;
    padding: 16px 0px 16px 50px !important;
    font-size: 20px !important;
    border-radius: 8px !important;
    color: #5f5f5f !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    background-color: white !important;
    box-shadow: none !important;
    min-height: 60px !important;
}

.ts-wrapper.bigSearchInput .ts-control:focus {
    outline: none !important;
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 2px rgba(103, 166, 72, 0.2) !important;
}

/* Hide the original select element */
.ts-wrapper.bigSearchInput select {
    display: none !important;
}

.ts-wrapper.bigSearchInput .ts-dropdown {
    border: 1px solid #bfbfbf;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
}

.ts-wrapper.bigSearchInput .ts-dropdown .option {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ts-wrapper.bigSearchInput .ts-dropdown .option:hover {
    background-color: #f0f0f0;
}

.ts-wrapper.bigSearchInput .ts-dropdown .option.selected {
    background-color: var(--main-color);
    color: white;
}

/* Responsive TomSelect */
@media (max-width: 768px) {
    #announcementSearchInput,
    .ts-wrapper {
        width: 30% !important; /* Half of 60% */
    }
}

@media (max-width: 480px) {
    #announcementSearchInput,
    .ts-wrapper {
        width: 33% !important; /* Half of 66% */
    }
}

/* Loader styles */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--main-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ========================================
   TENANT SELECTION PAGE STYLES
   ========================================
   Used in: Pages/TenantSelection/_TenantTable.cshtml
   Purpose: Styling for the tenant selection table with hover animations
   ======================================== */

/* Tenant row base styling */
.tenant-row {
    cursor: pointer;
    transition: background-color 0.2s,
    box-shadow 0.25s cubic-bezier(.4, 2, .6, 1),
    transform 0.25s cubic-bezier(.4, 2, .6, 1);
    position: relative;
}

/* Tenant row hover effects - matches music table animation */
.tenant-row:hover,
.table > tbody > tr.tenant-row:hover,
.table.table-hover > tbody > tr.tenant-row:hover,
div.table-responsive .table.table-hover > tbody > tr.tenant-row:hover,
body .table.table-hover > tbody > tr.tenant-row:hover {
    background-color: #ffeb3b !important; /* bright yellow for debugging */
    box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.12), 0 1.5px 6px -2px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px) scale(1.012);
    z-index: 2;
    position: relative;
    transition: background-color 0.2s,
    box-shadow 0.25s cubic-bezier(.4, 2, .6, 1),
    transform 0.25s cubic-bezier(.4, 2, .6, 1);
}

/* Table cell styling for proper hover behavior - EXACTLY like music table */
.table > tbody > tr.tenant-row:hover td,
.table > tbody > tr.tenant-row:focus-within td {
    background: #fff !important;
}


/* Right arrow indicator for clickable rows */
.tenant-row::after {
    content: "→";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #f0ba3a;
    font-weight: bold;
    font-size: 1.2em;
}

.tenant-row:hover::after {
    opacity: 1;
}

/* Table styling for proper hover behavior */
.table {
    border-collapse: collapse;
}

.table th, .table td {
    border-bottom: 1px solid #eee !important;
}

.table > tbody > tr.tenant-row:hover td,
.table > tbody > tr.tenant-row:focus-within td {
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-top-color: #eee !important;
    border-bottom-color: #eee !important;
}

.notch {
    display: flex;
    padding: .6rem 1rem;
    background-color: #9e9e9e;
    color: white;
    font-weight: bold;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.notch p {
    margin: 0;
}

.buttonBlank {
    border: none;
    background: none;
    transition: .2s ease-in-out;
}

.buttonBlank:hover {
    transform: scale(110%);
}
