﻿html, body {
    height: 100%;
    margin: 0;
}

.jodit-wysiwyg p {
    margin: 0 0 1em 0; /* or adjust to your preferred spacing */
    font-size: 1.1em;
}

.joditText p {
    margin: 0 0 1em 0 !important; /* or adjust to your preferred spacing */
    font-size: 1.25em;
}

main {
    min-height: calc(100vh - 150px);
    display: flow-root;
}

.mud-grid.no-vertical-spacing > div {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

footer {
    height: 70px;
    width: 100%;
    background-color: var(--mud-palette-appbar-background) !important;
}

.splash-screen {
    position: fixed;
    inset: 0;
    background-color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

    .cookie-banner button {
        margin-left: 1rem;
        padding: 0.5rem 1rem;
        border: none;
        cursor: pointer;
    }

    .cookie-banner .accept {
        background: #4caf50;
        color: white;
    }

    .cookie-banner .decline {
        background: #f44336;
        color: white;
    }

/* ROOT CONTAINER */
/* ROOT CONTAINER */
.search-box {
    width: 300px;
    padding: 0;
    margin: 0 0 0 1rem;
    background: transparent;
    position: relative;
    border-radius: 7px;
}

    /* EXTERNAL NEON GLOW ON FOCUS — NO BORDER, NO SIZE CHANGE */
    .search-box::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 7px;
        pointer-events: none;
        box-shadow: none;
        transition: box-shadow 0.15s ease;
    }

    .search-box:focus-within::after {
        box-shadow: 0 0 3px 3px #b44bff;
    }

    /* REMOVE ALL MUD BLAZOR CHROME */
    .search-box .mud-input-control,
    .search-box .mud-input-control-input-container,
    .search-box .mud-input,
    .search-box .mud-input-slot,
    .search-box .mud-input-root,
    .search-box .mud-select-input {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* FORCE THE ENTIRE INPUT WRAPPER TO A FIXED HEIGHT */
    .search-box .mud-input {
        height: 40px !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        border-radius: 7px !important;
        overflow: hidden !important;
    }

    /* INPUT ELEMENT */
    .search-box input.mud-input-slot.mud-input-root {
        height: 40px !important;
        min-height: 40px !important;
        line-height: 40px !important;
        padding: 0 10px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
        font-size: 1rem !important;
        border: none !important;
        outline: none !important;
        border-radius: 7px 0 0 7px !important;
        flex: 1 1 auto !important;
    }

    /* RIGHT-SIDE ADORNMENT (DROPDOWN ARROW) */
    .search-box .mud-input-adornment-end {
        display: none;
    }

    /* REMOVE OUTLINED BORDER */
    .search-box fieldset.mud-input-outlined-border {
        border: none !important;
    }

    /* ------------------------------------------------------ */
    /* CLEAR‑X BUTTON — CORRECT SELECTORS (NOW WORKS) */
    /* ------------------------------------------------------ */

    /* Clear button container */
    .search-box .mud-input-clear-button {
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 40px !important;
        width: 40px !important;
        min-height: 40px !important;
        min-width: 40px !important;
        cursor: pointer;
    }

        /* Remove ripple */
        .search-box .mud-input-clear-button .mud-ripple,
        .search-box .mud-input-clear-button .mud-ripple-icon {
            display: none !important;
            background: none !important;
            cursor: pointer;
        }

        /* X — THIS is the real fix */
        .search-box .mud-input-clear-button svg path {
            color: #cb76ff !important;
            cursor: pointer;
        }

/* WRAPPER — same as your MudAutoComplete root */
.my-autocomplete-wrapper {
    position: relative;
    width: 300px;
    padding: 0;
    margin: 0 0 0 1rem;
    background: transparent;
    border-radius: 7px;
}

    /* NEON GLOW ON FOCUS */
    .my-autocomplete-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 7px;
        pointer-events: none;
        box-shadow: none;
        transition: box-shadow 0.15s ease;
    }

    .my-autocomplete-wrapper:focus-within::after {
        box-shadow: 0 0 3px 3px #b44bff;
    }

    .menu-button {
        text-transform: none;
        border-radius: 4px;
        padding: 0 !important;
        margin-right: 6px; /* small horizontal gap */
    }

    .menu-button .mud-nav-link {
    }

        .menu-button .mud-nav-link .mud-nav-link-text {
            margin: 0;
        }

.user-info {
    display: flex;
    align-items: flex-end;
    min-height: 40px;
    width:50px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user-name {
    line-height: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    text-align: center;
}

body.overlay-active {
    pointer-events: none;
}

.centred-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    padding: 24px;
    border-radius: 8px;
}

.FitToContent .mud-dialog-content {
    padding: 0;
    max-width: 400px;
    min-width: auto;
    width: auto;
}

.menu-item-flex {
    display: flex;
    align-items: center;
}

.multiline-snackbar {
    white-space: pre-line;
}

.input-large input,
.input-large .mud-input-slot {
    font-size: 1.5rem !important;
}

p.mud-typography.mud-typography-body2 {
    margin: 0 0 1rem 0 !important;
}

.mud-radio-group {
    display:flex;
    flex-direction:column !important;
    justify-items:flex-start;    
}

    .mud-radio-group div {
        width: 100%;
    }

    /* Restore normal list spacing for content areas */
    .html-content ul,
    .html-content ol {
        margin-top: 1.25rem;
        margin-left: 1.25rem;
        padding-left: 1.25rem;
        margin-bottom: 1.25rem;
        list-style-position: outside;
    }

.html-content li, .html-content > p {
    font-size: 1.25em;
}

.w-100 {
    width: 100%;
}

.img-fluid {
    display: block;
    height: auto;
    max-width: 100%;
    flex-shrink: 0;
}

.truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    margin: 0 auto;
}

.mud-nowrap {
    text-wrap:nowrap;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Base card styling */
.infobox {
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 1.5rem !important;
}

.mud-theme-light .infobox {
    border: 1px solid var(--mud-palette-appbar-background);
    box-shadow: 0 3px 5px #888;
}

.mud-theme-light .infobox .mud-card-content {
    background: hsla(233, 100%, 90%, 1);
    background: linear-gradient(90deg, hsla(233, 100%, 90%, 1) 0%, hsla(0, 0%, 89%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(233, 100%, 90%, 1) 0%, hsla(0, 0%, 89%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(233, 100%, 90%, 1) 0%, hsla(0, 0%, 89%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#CAD0FF", endColorstr="#E3E3E3", GradientType=1 );
}

.mud-theme-dark .infobox .mud-card-content {
    background: hsla(0, 0%, 18%, 1);
    background: linear-gradient(90deg, hsla(0, 0%, 18%, 1) 0%, hsla(0, 0%, 27%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(0, 0%, 18%, 1) 0%, hsla(0, 0%, 27%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(0, 0%, 18%, 1) 0%, hsla(0, 0%, 27%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#2F2F2F", endColorstr="#454545", GradientType=1 );
}

    .mud-theme-light .infobox .mud-card-content .mud-paper,
    .mud-theme-dark .infobox .mud-card-content .mud-paper {
        background: none;
    }

    /* Header styling */
.infobox .mud-card-header {
    border-radius: 7px 7px 0 0;
    background-color: var(--mud-palette-appbar-background);
    color: white;
    padding: 0.5rem 0.5rem !important;    
}

.infobox .mud-card-actions {
    border-radius: 0 0 7px 7px;
    background-color: var(--mud-palette-appbar-background);
    color: white;
    padding: 0.5rem 0.5rem !important;
}

    .infobox .mud-card-actions .mud-icon-root {
        color:#FFF;
    }

    /* Typography in header */
    .infobox .mud-card-header .mud-typography.mud-typography-h2 {
        font-size: 1.15rem;
        font-weight: 500;
    }

    /* Content area - reduce padding */
    .infobox .mud-card-content {
        padding: 0.5rem 0.5rem !important;
    }

    .infobox .infoboximage {
        border-radius: 50%;
        display: block;
        border: solid 2px #000;
    }

.infobox ul {
    list-style: none;
}

.infobox ul li {
    padding: 0 0 5px 5px;
    list-style: none;
}

    .infobox ul li .mud-typography {
        display: flex;
        align-items: center;
    }

li .d-flex > .mud-icon-root.nudge12:first-child {
    align-self: center;
    margin-top: -12px;
}

/* Override MudText sizes */
.mud-typography-body2 {
    font-size: 1.05rem !important;
}

.mud-typography-caption {
    font-size: 0.95rem !important;
    color: #666;
}


.scrollable {
    max-height: 500px;
    overflow: auto;
    padding: 15px;
}

.scrollablex {
    max-height: 500px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px;
}

.scrollabley {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
}

    /* WebKit-based browsers */
    .scrollable::-webkit-scrollbar,
    .scrollablex::-webkit-scrollbar,
    .scrollabley::-webkit-scrollbar {
        width: 8px;
    }

    .scrollable::-webkit-scrollbar-thumb,
    .scrollablex::-webkit-scrollbar-thumb,
    .scrollabley::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.3);
        border-radius: 4px;
    }

    .scrollable::-webkit-scrollbar-track,
    .scrollablex::-webkit-scrollbar-track,
    .scrollabley::-webkit-scrollbar-track {
        background: transparent;
    }

.profile-image-wrapper {
    position: relative;
}

.upload-icon {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: lightgrey !important;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background-color 0.2s ease;
}

    .upload-icon:hover,
    .upload-icon:focus,
    .upload-icon:active {
        background-color: white !important;
    }

.file-upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
    opacity: 0;
}

.drop-zone {
    border: dashed 2px #AAA;
    padding: 5px;
}

.thumbnail-wrapper {
    position: relative;
}

.overlay-icons {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 2px 4px;
}

.choose-thumbnail-wrapper {
    position: relative;
    cursor: pointer;
}

.choose-thumbnail {
    border: 2px solid transparent;
    transition: border 0.2s ease-in-out;
}

    .choose-thumbnail:hover {
        border-color: var(--mud-palette-primary);
    }

    .choose-thumbnail.selected {
        border-color: var(--mud-palette-primary);
    }

.check-overlay {
    position: absolute;
    top: 6px;
    right: 6px;
    background: white;
    border-radius: 50%;
}

.thumbnail-wrapper.position-relative {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.pswp-gallery-grid {
    margin-bottom: 0.56rem;
}

.musicplayer .playlist {
    max-height: 150px;
    overflow-y: auto;
    padding: 0;
}

.musicplayer .mud-list-item p {
    font-size: 0.8rem !important;
    padding: 0 2px !important;
    margin:0 !important;
}

.musicplayer .mud-list-item.mud-selected-item {
    background-color: var(--mud-palette-info) !important;
    color: var(--mud-palette-info-text) !important;
}

.featured-container {
    position: relative;
    display: inline-block; /* or block, depending on layout */
}

.featured-band {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(80, 29, 80, 0.75);
    padding: 10px;
    border-radius: 10px;
    border: solid 2px #1E0336;
    width: 80%;
    z-index: 10;
}


.featured-band h3 {
    z-index: 10;
    opacity: 10;
    position: relative;
    margin: 0;
    padding: 0;
    font-size:2.5rem;
}

    .featured-band h3 a:link,
    .featured-band h3 a:visited {
        color: #FFC !important;
    }

    .featured-band .GenresList ul.commaList {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .featured-band .GenresList ul.commaList li {
            color: #FFF;
            display: inline;
            font-size:1.5rem;
        }

            .featured-band .GenresList ul.commaList li::after {
                content: ", ";
            }

            .featured-band .GenresList ul.commaList li:last-child::after {
                content: "";
            }

/* Remove checkbox AND icon for header rows */
/* Remove checkbox AND icon */
.skill-header .mud-checkbox,
.skill-header .mud-list-item-icon {
    display: none !important;
}

/* Override MudBlazor's inline disabled background */
.skill-header.mud-list-item {
    background-color: #ffe08a !important; /* vivid warm header */
    background-image: none !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
    border-bottom: 1px solid #d8b45f;
    padding: 8px 12px !important;
}

    /* Remove hover highlight */
    .skill-header.mud-list-item:hover {
        background-color: #ffe08a !important;
    }

/* Tighten text spacing */
.skill-header .mud-list-item-text {
    margin: 0 !important;
    padding: 0 !important;
}

/* Make the header text bold and clean */
.skill-header .mud-typography {
    font-weight: 700 !important;
    color: #5a4500 !important;
}

.profileimage {
    border-radius: 50%;
    border: 2px solid var(--mud-palette-appbar-background);
    box-shadow: 0 3px 5px #888;
    margin: 0 10px 0 0;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--mud-palette-divider);
    
}

    .header-nav .tab {
        padding: 0.5rem 1.0rem; /* matches MudTabs vertical padding */
        font-size: 1rem;
        font-weight: 500;
        color: var(--mud-palette-text-primary);
        text-decoration: none;
        border-bottom: 2px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }

        .header-nav .tab:hover {
            color: var(--mud-palette-primary);
        }

        .header-nav .tab.active {
            color: var(--mud-palette-primary);
            border-bottom-color: var(--mud-palette-primary);
        }

.tab-with-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.gig-badge .mud-badge {
    font-size: 0.7rem;
    padding: 0 4px;
}

/* Light mode default */
.page-header {
    border-radius: 10px;
    background-color: var(--mud-palette-surface);
}

.left-section {
}

.right-section {
}

    .right-section .header-top {
        padding: 15px;
        border-radius: 0 15px 15px 0 !important;
    }

    .right-section .header-bottom {
        margin-bottom: 20px;
    }

.header-top-left {
}

.header-top-right {
}

.jodit-status-bar-link {
    display: none;
}

.mud-tabs-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.mud-tab {
    min-width: 100px !important; /* or reduce further */
    padding: 0.5rem 1rem;
}

.rating-display {
    display: flex;
    flex-direction: row;
    align-items: center; /* Optional: centers stars and text horizontally */
    gap: 0.25rem; /* Optional: spacing between stars and text */
    display: inline-block;
}

.stars-wrapper {
    padding: 0;
    margin: 0;
    position: relative;
    line-height: 1;
    text-align: center;
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    white-space: nowrap;
}

.stars-empty {
    color: var(--mud-palette-grey-light);
    z-index: 1;
}

.stars-filled {
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    background-color: inherit; /* Prevent bleed-through */
}

.stars-hover {
    z-index: 3;
    pointer-events: auto;
    color: transparent;
}

.star-clickable {
    cursor: pointer;
    color: transparent;
}

.rating-display {
    display: inline-block;
}

.rating-text {
    display: block;
    text-align: center;
    margin: 1.5rem 0 0 0.5rem;
}

.brief-description {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem !important;
    font-style: italic;
}

/* Extra Small (xs): <600px */
@media (max-width: 599px) {
    /* xs styles here */

    .order-xs-1 {
        order: 1;
    }

    .order-xs-2 {
        order: 2;
    }

    .order-xs-3 {
        order: 3;
    }

    .search-box {
        width: 90%;
    }

    .logo_lg {
        display: none;
        height: 40px;
    }

    .logo_sm {
        display: block;
        height: 40px !important;
    }

    .rating-text {
        display: block;
        text-align: center;
        margin: 1.2rem 0 0 0;
        font-size: 0.75rem !important;
    }

    /* xs styles here */
    .page-header h1 {
        font-size: 1.5rem;
    }

    .rating-text {
        display: block;
        text-align: center;
        margin: 1.2rem 0 0 0;
        font-size: 0.75rem !important;
    }

    .follow .mud-chip {
        margin: 0 !important;
        font-size: 0.75rem;
    }

    .follow .mud-chip-content {
        margin: 0 !important;
        padding: 0;
    }

    .follow .mud-button {
        margin: 5px auto !important;
        padding: 0;
    }

    footer {
        height: 78px;
    }
}

/* Small (sm): 600px – 959px */
@media (min-width: 600px) and (max-width: 959px) {
    /* sm styles here */

    .order-sm-1 {
        order: 1;
    }

    .order-sm-2 {
        order: 2;
    }

    .order-sm-3 {
        order: 3;
    }

    .logo_lg {
        display: none;
    }

    .logo_sm {
        display: block;
    }

    /* sm styles here */
    .page-header h1 {
        font-size: 1.75rem;
    }

    .rating-text {
        display: block;
        text-align: center;
        margin: 1.2rem 0 0 0;
        font-size: 0.85rem !important;
    }

    .brief-description {
        margin: 0.5rem 0 0 0;
        font-size: 0.85rem !important;
        font-style: italic;
    }
}

/* Medium (md): 960px – 1279px */
@media (min-width: 960px) and (max-width: 1279px) {
    /* md styles here */
    .order-md-1 {
        order: 1;
    }

    .order-md-2 {
        order: 2;
    }

    .order-md-3 {
        order: 3;
    }

    .search-box {
        width: 350px;
    }

    .logo_lg {
        display: block;
    }

    .logo_sm {
        display: none;
    }

    /* md styles here */
    .page-header h1 {
        font-size: 1.75rem;
    }

    .rating-text {
        display: block;
        text-align: center;
        margin: 1.5rem 0 0 0.5rem;
    }

    .brief-description {
        margin: 0.5rem 0 0 0;
        font-size: 0.85rem !important;
        font-style: italic;
    }
}

/* Large (lg): 1280px – 1919px */
@media (min-width: 1280px) and (max-width: 1919px) {
    /* lg styles here */
    .order-lg-1 {
        order: 1;
    }

    .order-lg-2 {
        order: 2;
    }

    .order-lg-3 {
        order: 3;
    }

    .search-box {
        width: 400px;
    }

    .logo_lg {
        display: block;
    }

    .logo_sm {
        display: none;
    }

    /* lg styles here */
    .page-header h1 {
        font-size: 2.0rem;
    }

    .rating-text {
        display: block;
        text-align: center;
        margin: 2.0rem 0 0 0.5rem;
        font-size: 0.85rem !important;
    }

    .brief-description {
        margin: 0.5rem 0 0 0;
        font-size: 0.85rem !important;
        font-style: italic;
    }
}

/* Extra Large (xl): 1920px – 2559px */
@media (min-width: 1920px) and (max-width: 2559px) {
    /* xl styles here */
    .order-xl-1 {
        order: 1;
    }

    .order-xl-2 {
        order: 2;
    }

    .order-xl-3 {
        order: 3;
    }

    .search-box {
        width: 500px;
    }

    .logo_lg {
        display: block;
    }

    .logo_sm {
        display: none;
    }

    /* xl styles here */
    .rating-text {
        display: block;
        text-align: center;
        margin: 2.0rem 0 0 0.5rem;
    }

    .brief-description {
        margin: 1rem 0 0 0;
        font-size: 0.85rem !important;
        font-style: italic;
    }
}

/* Extra Extra Large (xxl): ≥2560px */
@media (min-width: 2560px) {
    /* xxl styles here */
    .order-xxl-1 {
        order: 1;
    }

    .order-xxl-2 {
        order: 2;
    }

    .order-xxl-3 {
        order: 3;
    }

    .search-box {
        width: 500px;
    }

    .logo_lg {
        display: block;
    }

    .logo_sm {
        display: none;
    }

    .rating-text {
        display: block;
        text-align: center;
        margin: 2.0rem 0 0 0.5rem;
    }
}
