html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
}

.top-bar-wrapper {
    backdrop-filter: blur(12px);
}

.top-bar {
    min-height: 4.25rem;
    padding-inline: 1rem;
}

.topbar-leading,
.topbar-actions {
    min-width: 3rem;
}

.btn-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.header-title-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.header-title-stack .top-bar-app-title {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 600;
}

.header-stream-controls {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.header-stream-controls .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .header-title-stack {
        flex-direction: row;
        justify-content: center;
    }

    .header-stream-controls {
        margin-left: 1rem;
    }
}

.dropdown-theme-toggle {
    letter-spacing: .08em;
}

.app-footer {
    backdrop-filter: blur(6px);
}

.app-footer .footer-credit {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    transition: color 0.2s ease;
}

[data-bs-theme="dark"] .app-footer .footer-credit {
    color: rgba(255, 255, 255, 0.68);
}

.artist-card {
    position: relative;
    border-radius: 1rem;
    background-color: var(--bs-body-bg);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artist-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

[data-bs-theme="dark"] .artist-card {
    background-color: rgba(255, 255, 255, 0.03);
}

.artist-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.artist-img-container.artist-placeholder {
    background: linear-gradient(140deg, rgba(148, 163, 184, 0.3), rgba(99, 102, 241, 0.15));
}

.artist-placeholder-letter {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.artist-similarity {
    letter-spacing: .1em;
}

.artist-meta span {
    font-variant-numeric: tabular-nums;
}

.artist-img-container .status-indicator {
    position: absolute;
    top: .6rem;
    right: .6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.avatar-thumb {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.logo {
    width: 60px;
    margin-right: 0px;
}

.discovery-sidebar .sidebar-section {
    background-color: rgba(var(--bs-body-color-rgb, 33, 37, 41), .05);
    border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .08);
    border-radius: 1rem;
    padding: 1.25rem;
}

[data-bs-theme="dark"] .discovery-sidebar .sidebar-section {
    background-color: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .08);
}

.discovery-sidebar .sidebar-section-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.discovery-sidebar .sidebar-section-subtitle {
    line-height: 1.4;
}

.discovery-sidebar .sidebar-status {
    min-height: 1.5rem;
}

.discovery-sidebar .sidebar-queue {
    min-height: 12rem;
}

.discovery-sidebar #lidarr-item-list {
    border-radius: .75rem;
    border: 1px dashed rgba(var(--bs-body-color-rgb, 33, 37, 41), .15);
    background-color: rgba(var(--bs-body-bg-rgb, 248, 249, 250), .6);
}

[data-bs-theme="dark"] .discovery-sidebar #lidarr-item-list {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .04);
}

.scrollable-content {
    flex: 1; 
    overflow: auto; 
    max-width: 100%;
}

.form-group {
    margin-bottom: 0rem !important;
}

.logo-and-title {
    display: flex;
}


.artist-card .led {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12), 0 6px 18px rgba(15, 23, 42, 0.28);
    background-color: rgba(148, 163, 184, 0.65);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .artist-card .led {
    border-color: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.5), 0 6px 18px rgba(15, 23, 42, 0.45);
}

.artist-card .led[data-status="info"] {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.artist-card .led[data-status="success"] {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.artist-card .led[data-status="danger"] {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}

.bio-modal-body {
    line-height: 1.6;
}

.bio-modal-body p {
    margin-bottom: 1rem;
}

.bio-modal-body a {
    color: var(--bs-primary);
    text-decoration: underline;
}

.bio-modal-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.bio-modal-body li {
    margin-bottom: .5rem;
}

@media screen and (max-width: 600px) {
    h1{
        margin-bottom: 0rem!important;
    }
    .logo{
        height: 40px;
        width: 40px;
    }
    .container {
        width: 98%;
    }   
    .custom-spacing .form-group-modal {
        margin-bottom: 5px; 
    }
}
