th {
    font-weight: normal !important;
    font-size: clamp(0.9rem, 2vw, 0.8rem); /* explicitly sets dynamic sizing */
}

td {
    font-weight: normal !important;
    font-size: clamp(0.9rem, 2vw, 0.8rem); /* explicitly sets dynamic sizing */
}


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

html, body {
    background-color: black;
    color: #ffffff; /* sets default text color to white for readability */
    min-height: 100vh;
    margin: 0;
    padding: 0;
}


/* global table colors */

.table-dark th, .table-dark td {
    color: #fff;
    background-color: #222;
    border-color: #444;
}

.table-dark tbody tr:hover {
    background-color: #333;
}

.table-dark .badge {
    font-weight: 500;
}


.required-field-notice {
    color: red !important;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/* Modal dialog */
/* Explicitly set a very high z-index for the modal to override all other popups */
.modal {
    z-index: 10000 !important;
}

.modal-backdrop {
    z-index: 9999 !important;
}


/* Existing media query for responsive fixes */
@media (max-width: 767px) {
    html {
        font-size: calc(10px + 0.5vw);
    }

    .avatar-image {
        width: 64px !important;
        height: 64px !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }

    .songlist-cover-container {
        width: 64px !important;
        height: 64px !important;
    }

    .songlist-cover-art {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .songlist-play-btn {
        font-size: 12px !important;
    }

    .artist-avatar-container {
        width: 64px !important;
        height: 64px !important;
        margin: 0 auto !important;
        background-color: transparent !important;
    }

    .artist-avatar-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        background-color: transparent !important;
    }

    /* Explicitly reduce spacing between avatar and artist name */
    .artist-avatar-container + .mt-2 {
        margin-top: 4px !important;
    }
}

/* Explicit scrollbar fix for carousels */
#newArtistsCarousel,
#hotArtistsCarousel {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

    #newArtistsCarousel::-webkit-scrollbar,
    #hotArtistsCarousel::-webkit-scrollbar {
        display: none;
    }


/* Standardized Royal Blue info icon styling */
/* Explicit info icon style: Royal blue icon with white "i" symbol */
.bi-info-circle-fill {
    font-size: 1rem !important;
    color: #4169E1 !important; /* royal blue explicitly */
    cursor: pointer !important;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out !important;
    vertical-align: middle !important;
    background-color: transparent !important; /* explicitly transparent background */
}

    .bi-info-circle-fill:hover {
        transform: scale(1.2) !important;
        color: #5981fb !important; /* darker royal blue explicitly on hover */
    }

body.video-bg {
    background-color: transparent !important;
}

#backgroundVideo {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    z-index: -1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.login-container {
    position: relative !important;
    z-index: 1 !important;
    background-color: rgba(0,0,0,0.5) !important;
}

.playlist-cover-art {
    background-color: transparent !important;
    object-fit: contain !important;
}

.playlist-cover-art-container {
    background-color: transparent !important;
}

#coverArtImage {
    background-color: transparent !important;
    object-fit: contain !important; /* let full image fit */
    border: none !important; /* optional: remove white border */
    box-shadow: none !important; /* optional: remove glow/shadow */
}

/* Login Page Styles */
body.dark-bg {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%) !important;
    min-height: 100vh;
}

.logo-container {
    margin-bottom: 2rem;
}

    .logo-container img {
        max-width: 200px;
        height: auto;
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    }

.btn-orange-login {
    background: #ff6600 !important;
    border-color: #ff6600 !important;
    color: #000 !important;
    font-weight: 600;
    border-radius: 999px;
}

    .btn-orange-login:hover,
    .btn-orange-login:focus,
    .btn-orange-login:active {
        background: #ff8800 !important;
        border-color: #ff8800 !important;
        color: #000 !important;
    }

    .btn-orange-login:disabled {
        background: #cc5500 !important;
        border-color: #cc5500 !important;
        opacity: 0.7;
    }
