.details-info {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-item i {
    font-size: 16px;
    color: #007bff;
}

.custom-upc-text {
    margin-top: 5px;
}

.originalc {
    color: inherit;
    text-decoration: underline;
}

.originalc:hover {
    color: inherit;
}

.card-header {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

.card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #e0e0e0;
    border-color: #444;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease-out;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
}

.card-body {
    display: flex;
    align-items: center;
}

#urls {
    max-width: min-content;
    margin: 0 auto;
}

.artwork {
    width: 500px;
    height: 500px;
    margin-right: 20px;
    object-fit: cover;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.details {
    flex-grow: 1;
}

:root {
    --bg-color: #121212;
    --font-color: #e0e0e0;
    --link-color: #1e88e5;
    --accent-color: #0d9488;
    --card-bg: #1e1e1e;
    --input-bg: #2a2a2a;
    --hover-color: #2c2c2c;
    --border-color: #333;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;

    --theme-primary: #0d9488;
    --theme-secondary: #14b8a6;
    --theme-tertiary: #059669;
    --theme-accent: #1DB954;
    --theme-primary-rgb: 13, 148, 136;
    --theme-secondary-rgb: 20, 184, 166;
    --theme-tertiary-rgb: 5, 150, 105;

    /* ============================================================
       Structural design tokens
       Accent stays on --theme-* (ThemeSwitcher sets them at runtime
       from body[data-user-theme]); everything below is theme-stable.
       ============================================================ */
    /* Background layers — progressive depth */
    --bg-canvas: #0A0A0A;
    --bg-surface: #121212;
    --bg-elevated: #1A1A1A;
    --bg-overlay: #232323;

    /* Text hierarchy (WCAG AA) */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.87);
    --text-tertiary: rgba(255, 255, 255, 0.60);
    --text-disabled: rgba(255, 255, 255, 0.38);
    --text-placeholder: rgba(255, 255, 255, 0.45);

    /* Border scale */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.10);
    --border-emphasis: rgba(255, 255, 255, 0.18);
    --border-strong: rgba(255, 255, 255, 0.24);

    /* Spacing — 8px grid */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Elevation */
    --shadow-low: 0 1px 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.12);
    --shadow-high: 0 8px 16px rgba(0, 0, 0, 0.20), 0 16px 32px rgba(0, 0, 0, 0.16);

    /* Type scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;

    /* Motion */
    --duration-fast: 160ms;
    --duration-normal: 240ms;
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

    /* Accent glow — resolves the live theme at use time */
    --shadow-accent: 0 0 24px rgba(var(--theme-primary-rgb, 13, 148, 136), 0.25),
                     0 8px 16px rgba(var(--theme-primary-rgb, 13, 148, 136), 0.15);

    /* Whois severity (semantic, used by Stage D/E) */
    --risk-critical: var(--danger-color, #ef4444);
    --risk-high: var(--warning-color, #f59e0b);
    --risk-medium: #f59e0b;
    --risk-low: var(--success-color, #10b981);

    color-scheme: dark;
}

/* Hide Alpine.js nodes until Alpine initializes them, so their pre-init state
   (x-show/x-text not yet applied) never flashes into view. */
[x-cloak] { display: none !important; }

.header-container,
.header-container *,
.brand-logo,
.brand-logo *,
.custom-btn-outline {
    --header-bg: #171717 !important;
    --header-primary: var(--theme-primary, #0d9488) !important;
    --header-text: #ffffff !important;
}

.header-container {
    background-color: var(--header-bg) !important;
}

.header-container .custom-btn-outline {
    color: var(--header-text) !important;
    border: 1px solid var(--header-primary) !important;
    background-color: rgba(var(--theme-primary-rgb, 13, 148, 136), 0.2) !important;
}

html {
    background-color: #121212;
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--font-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100%;
    transition: background-color 0.3s ease;
    margin: 0;
    padding: 0;
}

a {
    color: var(--link-color);
    transition: all 0.2s ease;
}

a:hover {
    color: #64b5f6;
    text-decoration: none;
}

.form-control {
    background-color: #333;
    color: #e0e0e0;
    border-color: #444;
    box-sizing: border-box;
}

.form-control:focus {
    background-color: #333;
    color: #e0e0e0;
    border-color: #555;
    box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #e0e0e0 !important;
    -webkit-box-shadow: 0 0 0px 1000px #333 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

input:-moz-autofill,
input:-moz-autofill:hover,
input:-moz-autofill:focus {
    -moz-text-fill-color: #e0e0e0 !important;
    -moz-box-shadow: 0 0 0px 1000px #333 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

input:-ms-autofill,
input:-ms-autofill:hover,
input:-ms-autofill:focus {
    -ms-text-fill-color: #e0e0e0 !important;
    -ms-box-shadow: 0 0 0px 1000px #333 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.modal-dialog {
    margin: 0;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.custom-card-body .row {
    flex-grow: 1;
}

.custom-container {
    width: 50%;
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 10px;
}

@media (max-device-width: 767px) {
    .artwork {
        display: none;
    }

    .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .details {
        flex-grow: 1;
    }

    .form-control {
        width: 100%;
    }
}

.no-style-link {
    color: inherit;
    text-decoration: none;
}

.no-style-link:hover,
.no-style-link:focus,
.no-style-link:active {
    text-decoration: none;
}

.btn-primary {
    min-width: fit-content;
    padding: 6px 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, var(--theme-primary, #0d9488) 0%, var(--theme-tertiary, #059669) 100%);
    border: none;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: -1;
    transition: left 0.7s ease;
}

.btn-primary:hover:before {
    left: 100%;
}

.input-group {
    gap: 5px;
}

.form-select {
    background-color: #333;
    color: #e0e0e0;
    border-color: #444;
}

.form-select:focus {
    background-color: #333;
    color: #e0e0e0;
    border-color: #555;
    box-shadow: none;
}

.form-select option {
    background-color: #333;
    color: #e0e0e0;
}

.form-control::placeholder {
    color: #e0e0e0;
    opacity: 0.7;
}

.card {
    background-color: var(--card-bg);
    color: var(--font-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--font-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    font-weight: 600;
}

.artwork {
    width: 500px;
    height: 500px;
    margin-right: 20px;
    object-fit: cover;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.artwork:hover {
    transform: scale(1.02);
}

.form-control,
.form-select {
    background-color: var(--input-bg);
    color: var(--font-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--input-bg);
    color: var(--font-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb, 13, 148, 136), 0.2);
}

.btn {
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    min-width: fit-content;
    padding: 8px 16px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--theme-secondary, #14b8a6);
    border-color: var(--theme-secondary, #14b8a6);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #475569;
    border-color: #475569;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #64748b;
    border-color: #64748b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #f87171;
    border-color: #f87171;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

.offcanvas {
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.list-group-item {
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: var(--hover-color) !important;
}

.toast {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(20px);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-container {
    width: 50%;
    max-width: 600px;
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 767px) {
    .custom-container {
        width: 100%;
        padding: 15px;
    }

    .artwork {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .card-body {
        flex-direction: column;
        padding: 16px;
    }

    .input-group {
        width: 100% !important;
        max-width: 100% !important;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}


.loading-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--secondary-color, #0d9488);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    color: transparent;
    font-size: 0;
    line-height: 1;
    text-shadow: none;
}

.loading-spinner::before {
    content: none;
}


.improved-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.improved-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top: 4px solid var(--secondary-color, #0d9488);
    border-left: 4px solid var(--secondary-color, #0d9488);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 4px solid transparent;
    border-top: 4px solid rgba(13, 148, 136, 0.28);
    border-right: 4px solid rgba(13, 148, 136, 0.28);
    border-radius: 50%;
    animation: spin-reverse 1.5s linear infinite;
}

.loading-text {
    color: var(--secondary-color, #0d9488);
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}


.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.pinned-track-link {
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
    display: block;
}

.pinned-track-link:hover {
    color: var(--accent-color) !important;
}


::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--theme-primary, #0d9488), var(--theme-tertiary, #059669));
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}


.lyrics-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    background-color: #0e0e0e;
}

.lyrics-card .card-header {
    background-color: #1e1e1e;
    color: #fff;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #333;
}

.download-buttons {
    display: flex;
    gap: 8px;
}

.download-buttons .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.sync-badge {
    background-color: var(--theme-primary, #0d9488);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 8px;
}

.lyrics-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    line-height: 1.8;
    position: relative;
    background-color: #0e0e0e;
    scrollbar-width: thin;
    scrollbar-color: var(--theme-primary, #0d9488) #1e1e1e;
    width: 100%;
}

.lyrics-container::-webkit-scrollbar {
    width: 8px;
}

.lyrics-container::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.lyrics-container::-webkit-scrollbar-thumb {
    background-color: var(--theme-primary, #0d9488);
    border-radius: 4px;
}

.lyric-line {
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    min-height: 40px;
}

.lyric-content {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 800px;
}

.even-line {
    background-color: #121212;
}

.odd-line {
    background-color: #1a1a1a;
}

.synced-lyrics .lyric-content {
    justify-content: flex-start;
}

.unsynced-lyrics .lyric-content {
    justify-content: center;
    text-align: center;
}

.lyric-time {
    color: var(--theme-primary, #0d9488);
    font-family: monospace;
    min-width: 65px;
    margin-right: 15px;
    font-size: 0.9em;
    font-weight: bold;
    background-color: rgba(var(--theme-primary-rgb, 13, 148, 136), 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.unsynced-lyrics .lyric-line:empty {
    height: 1rem;
}

.active-lyric {
    background-color: rgba(var(--theme-primary-rgb, 13, 148, 136), 0.2) !important;
    font-weight: bold;
    border-left: 3px solid var(--theme-primary, #0d9488);
}

.active-lyric .lyric-time {
    background-color: rgba(var(--theme-primary-rgb, 13, 148, 136), 0.3);
}

.lyric-text {
    font-size: 16px;
    transition: all 0.2s ease;
}

.track-details-container {
    background: linear-gradient(to bottom, #1a1a1a, #0e0e0e);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.track-header-section {
    padding: 32px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.track-header-content {
    display: flex;
    gap: 24px;
    align-items: center;
}

@media (max-width: 768px) {
    .track-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .track-info {
        align-items: center;
    }
}

.track-artwork-container {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-artwork-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5);
}

.track-artwork-container:hover .artwork-overlay {
    opacity: 1;
}

.track-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.track-artwork-container:hover .track-artwork {
    filter: brightness(0.7);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(29, 185, 84, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon i {
    font-size: 32px;
    color: white;
    margin-left: 4px;
}

.track-artwork-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-artwork-placeholder i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.track-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    color: white;
    line-height: 1.2;
}

.track-title-link {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.track-title-link:hover {
    color: #1DB954;
}

.track-artist {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.track-artist i {
    color: rgba(255, 255, 255, 0.6);
}

.artist-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.artist-link:hover {
    color: #1DB954;
    text-decoration: underline;
}

.track-release-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.track-meta {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.track-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.track-meta-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.track-meta-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.track-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.action-btn i {
    font-size: 1.1rem;
}

.pin-track {
    background-color: rgba(29, 185, 84, 0.15);
    color: #1DB954;
}

.pin-track:hover {
    background-color: rgba(29, 185, 84, 0.25);
    color: #1DB954;
}

.download-track {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.download-track:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


.track-details-tabs {
    margin-top: 20px;
}

.nav-tabs {
    border-bottom: none;
    padding: 0 32px;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 12px 20px;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    background-color: transparent;
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: white;
    background-color: #1a1a1a;
    border-bottom: 2px solid #1DB954;
}

.tab-content {
    background-color: #1a1a1a;
    border-radius: 0 0 16px 16px;
    padding: 24px 32px;
}


.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.details-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.details-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.details-card-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-card-header i {
    color: #1DB954;
}

.details-card-body {
    padding: 16px;
}

.details-item {
    margin-bottom: 12px;
}

.details-item:last-child {
    margin-bottom: 0;
}

.details-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.details-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    word-break: break-word;
}

.provider-name {
    color: #1DB954;
    font-weight: 600;
}


.countries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 120px;
    overflow-y: auto;
}

.country-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}


.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.platform-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    gap: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.platform-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
        0 8px 12px rgba(29, 185, 84, 0.15);
}

.platform-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-name {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.youtube-provider {
    margin-top: 24px;
    padding: 12px;
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.youtube-provider i {
    color: rgba(255, 255, 255, 0.6);
}


.empty-platforms,
.empty-metadata {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.empty-platforms-icon,
.empty-metadata-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}

.metadata-content-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.loading-spinner {
    margin-bottom: 16px;
}

@media (max-width: 576px) {
    .track-header-section {
        padding: 24px 16px;
    }

    .track-artwork-container {
        width: 140px;
        height: 140px;
    }

    .track-title {
        font-size: 1.8rem;
    }

    .nav-tabs {
        padding: 0 16px;
    }

    .tab-content {
        padding: 16px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.track-details-section {
    padding: 24px 32px;
    background-color: #1a1a1a;
    border-radius: 0 0 16px 16px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #1DB954;
}

.platforms-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-spinner-small {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.loading-spinner-small .spinner-border {
    width: 20px;
    height: 20px;
}

.metadata-card .details-card-body {
    padding: 16px;
    min-height: 80px;
}

.metadata-card .details-card-body.loading-metadata {
    display: flex;
    align-items: center;
    justify-content: center;
}

.metadata-card .details-card-body:not(.loading-metadata) {
    display: block;
}

.text-danger {
    color: #ef4444 !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 576px) {
    .track-details-section {
        padding: 20px 16px;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.empty-platforms {
    text-align: center;
    padding: 30px 0;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.empty-platforms-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}

.empty-platforms p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.stream-stats-container {
    background: linear-gradient(145deg, #1a1a1a 0%, #0e0e0e 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease-out;
}

.stream-stats-header {
    padding: 20px 24px;
    background: linear-gradient(90deg, rgba(29, 185, 84, 0.1) 0%, rgba(29, 185, 84, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stream-stats-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stream-stats-title i {
    font-size: 1.6rem;
    color: #1DB954;
}

.stream-stats-title h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.time-range-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 4px;
}

.time-range-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-range-btn.active {
    background: rgba(29, 185, 84, 0.8);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
}

.time-range-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.stream-stats-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-subtext {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.stat-trend {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.stat-trend.positive {
    color: #1DB954;
}

.stat-trend.negative {
    color: #ff5252;
}

.stream-stats-chart-container {
    padding: 0 16px 16px;
    height: 400px;
}

#chart-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.stream-stats-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.export-options {
    display: flex;
    gap: 12px;
}

.export-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.export-btn:hover {
    background: rgba(29, 185, 84, 0.2);
    color: #ffffff;
}

.export-btn i {
    font-size: 1rem;
}

.stream-stats-empty,
.stream-stats-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #0e0e0e 100%);
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.empty-icon,
.stream-stats-error>i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.stream-stats-error>i {
    color: rgba(255, 87, 87, 0.6);
}

.custom-tooltip {
    padding: 6px 10px;
}

.tooltip-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(29, 185, 84, 0.3);
    padding-bottom: 6px;
}

.tooltip-streams,
.tooltip-total {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.highlight {
    color: #1DB954;
    font-weight: 600;
    margin-left: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .stream-stats-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .stream-stats-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .time-range-selector {
        width: 100%;
        justify-content: space-between;
    }

    .time-range-btn {
        flex: 1;
        text-align: center;
        padding: 8px 0;
    }

    .stream-stats-footer {
        justify-content: center;
    }
}


.youtube-provider-badge {
    margin-left: 15px;
}

.yt-badge-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8) 0%, rgba(28, 28, 28, 0.9) 100%);
    border-left: 3px solid #ff0000;
    border-radius: 6px;
    padding: 6px 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.yt-badge-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.15);
}

.yt-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.yt-badge-icon i {
    color: #ff0000;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.5));
}

.yt-badge-content {
    display: flex;
    flex-direction: column;
}

.yt-badge-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yt-badge-distributor {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .section-title {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .youtube-provider-badge {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }

    .yt-badge-container {
        width: 100%;
    }
}


.lyrics-module {
    background-color: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.lyrics-module:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.lyrics-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
}

.lyrics-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lyrics-icon-container {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1DB954, #1db97a);
    color: #fff;
    font-size: 18px;
}

.lyrics-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lyrics-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.lyrics-sync-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lyrics-sync-badge.synced {
    background-color: rgba(29, 185, 84, 0.15);
    color: #1DB954;
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.lyrics-sync-badge.unsynced {
    background-color: rgba(255, 185, 0, 0.15);
    color: #ffb900;
    border: 1px solid rgba(255, 185, 0, 0.3);
}

.lyrics-actions {
    display: flex;
    gap: 10px;
}

.lyrics-action-btn {
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lyrics-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lyrics-action-btn i {
    font-size: 16px;
}

.lyrics-action-btn.text-btn {
    background: transparent;
}

.lyrics-content-wrapper {
    position: relative;
}

.lyrics-content {
    position: relative;
    transition: all 0.3s ease;
}

.lyrics-content.synced-mode {
    display: grid;
    grid-template-columns: 70px 1fr;
}

.lyrics-content.simple-mode {
    display: block;
}

.lyrics-content.compact-mode .lyric-line {
    padding: 6px 20px;
    font-size: 14px;
}

.lyrics-text {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.lyrics-text::-webkit-scrollbar {
    width: 6px;
}

.lyrics-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.lyrics-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.lyrics-text::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lyric-line {
    padding: 8px 20px;
    transition: all 0.2s ease;
    cursor: default;
    display: flex;
    align-items: center;
}

.lyrics-content.synced-mode .lyric-line {
    padding: 8px 20px 8px 0;
}

.lyric-line:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.lyric-line.current {
    background-color: rgba(29, 185, 84, 0.15);
    border-left: 3px solid #1DB954;
    color: #fff;
    font-weight: 500;
}

.lyric-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
    width: 70px;
    text-align: center;
    letter-spacing: 0.5px;
}

.lyric-words {
    word-wrap: break-word;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.even-line {
    background-color: rgba(255, 255, 255, 0.01);
}

.odd-line {
    background-color: rgba(255, 255, 255, 0.03);
}

.lyrics-timeline {
    position: relative;
    width: 50px;
    height: 100%;
    padding: 10px 0;
}

.lyrics-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.lyrics-stats {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.auto-scroll-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.switch-slider {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.auto-scroll-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.auto-scroll-switch input:checked+.switch-slider {
    background-color: #1DB954;
}

.auto-scroll-switch input:checked+.switch-slider:before {
    transform: translateX(20px);
}

.auto-scroll-switch input:disabled+.switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.switch-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}


.lyrics-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.lyrics-empty-icon {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
}

.lyrics-empty-message {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
}

.lyrics-empty-submessage {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    max-width: 300px;
    margin-top: 8px;
}


@media (max-width: 768px) {
    .lyrics-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .lyrics-actions {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .lyrics-action-btn {
        white-space: nowrap;
    }

    .lyrics-content.synced-mode {
        grid-template-columns: 50px 1fr;
    }

    .lyric-time {
        width: 50px;
        font-size: 12px;
    }
}


@keyframes toast-progress {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

.custom-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    min-width: 300px;
    max-width: 450px;
    color: white;
    border-radius: 12px;
    padding: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: toast-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes toast-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-toast-content {
    display: flex;
    align-items: center;
    padding: 16px;
}

.toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 12px;
}

.toast-message {
    flex-grow: 1;
    font-weight: 500;
    font-size: 0.95rem;
    margin-right: 12px;
    line-height: 1.3;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    padding: 0;
}

.toast-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.toast-progress {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 4px 4px;
}

.custom-toast:nth-child(n+2) {
    margin-top: 10px;
}

.custom-toast.success .toast-icon {
    color: rgba(255, 255, 255, 0.9);
}

.custom-toast.error .toast-icon {
    color: rgba(255, 255, 255, 0.9);
}

.custom-toast.warning .toast-icon {
    color: rgba(255, 255, 255, 0.9);
}

.custom-toast.info .toast-icon {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 576px) {
    .custom-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: auto;
    }
}


.copyable {
    position: relative;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    user-select: all;
}

.copyable:hover {
    background-color: rgba(29, 185, 84, 0.1);
    border-color: rgba(29, 185, 84, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.15);
}

.copyable:active {
    transform: translateY(1px);
    box-shadow: none;
}

.copyable .copy-icon {
    font-size: 0.85rem;
    opacity: 0.6;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
}

.copyable:hover .copy-icon {
    opacity: 1;
    color: #1DB954;
    transform: scale(1.1);
}

.copyable.copied {
    animation: copy-flash 1.5s ease;
    background-color: rgba(29, 185, 84, 0.15);
    border-color: rgba(29, 185, 84, 0.3);
}

.copyable.copied .copy-icon {
    animation: copy-icon-pulse 1.5s ease;
    color: #1DB954;
}

@keyframes copy-flash {
    0% {
        background-color: rgba(29, 185, 84, 0.1);
    }

    20% {
        background-color: rgba(29, 185, 84, 0.3);
    }

    100% {
        background-color: rgba(29, 185, 84, 0.1);
    }
}

@keyframes copy-icon-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    20% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}


@media (max-width: 576px) {
    .copyable {
        padding: 6px 10px;
    }

    .copyable .copy-icon {
        font-size: 1rem;
    }
}


.pins-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pins-search-container {
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1;
}

.pin-search-group {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.pin-search {
    background-color: transparent;
    color: #fff;
    padding-left: 0;
}

.pin-search:focus {
    box-shadow: none;
    background-color: transparent;
}

.pins-divider {
    position: relative;
    padding: 15px 0;
    text-align: center;
}

.divider-text {
    background-color: #121212;
    color: rgba(255, 255, 255, 0.5);
    display: inline-block;
    padding: 0 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.pins-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
}

.pins-content {
    overflow-y: auto;
    flex-grow: 1;
    padding-top: 10px;
}

.pin-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.9));
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(29, 185, 84, 0.3);
}

.pin-card-header {
    position: relative;
    height: 130px;
    overflow: hidden;
}

.pin-card-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.pin-card:hover .pin-card-artwork {
    transform: scale(1.05);
}

.pin-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pin-card:hover .pin-card-overlay {
    opacity: 1;
}

.pin-play-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1DB954;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transform: translateY(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.5);
}

.pin-card:hover .pin-play-button {
    transform: translateY(0);
}

.pin-card-body {
    padding: 12px;
}

.pin-card-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pin-card-artist {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pin-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pin-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.pin-actions {
    display: flex;
    gap: 8px;
}

.pin-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: none;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.pin-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.pin-action-btn.unpin {
    background-color: rgba(220, 53, 69, 0.1);
    color: rgba(220, 53, 69, 0.8);
}

.pin-action-btn.unpin:hover {
    background-color: rgba(220, 53, 69, 0.2);
    color: rgba(220, 53, 69, 1);
}

.pins-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    height: 100%;
}

.pins-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.1) 0%, rgba(29, 185, 84, 0) 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    animation: pulse 3s infinite;
}

.pins-empty-icon i {
    font-size: 40px;
    color: rgba(29, 185, 84, 0.8);
}

.pins-empty-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.pins-empty-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    max-width: 260px;
    margin-bottom: 20px;
}

.pins-empty-cta {
    background-color: rgba(29, 185, 84, 0.1);
    color: #1DB954;
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pins-empty-cta:hover {
    background-color: rgba(29, 185, 84, 0.2);
    transform: translateY(-2px);
}

.pins-footer {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pins-footer-actions {
    display: flex;
    justify-content: space-between;
}

.pins-footer-stats {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.pin-group-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin: 16px 0 12px 0;
    display: flex;
    align-items: center;
}

.pin-group-title i {
    margin-right: 6px;
    font-size: 0.9rem;
}


.new-pin-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #1DB954, #1ed760);
    color: #000;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(29, 185, 84, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0);
    }
}


@media (max-width: 576px) {
    .pins-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .pin-card {
        margin-bottom: 0;
    }

    .pin-card-header {
        height: 100px;
    }
}

.pin-search-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1DB954;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transform: translateY(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.5);
}

.pin-card:hover .pin-search-button {
    transform: translateY(0);
}

.relinked-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #ffab00;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(255, 171, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 100 !important;
    opacity: 1 !important;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 171, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 171, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 171, 0, 0);
    }
}


.artist-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.artist-track-card {
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.new-track-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff3366 0%, #ff7733 100%);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.artist-track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.track-card-artwork {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.track-card-artwork img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.track-card-artwork:hover .track-card-overlay {
    opacity: 1;
}

.track-card-overlay .btn {
    background: rgba(29, 185, 84, 0.8);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-card-overlay .btn i {
    font-size: 24px;
}

.track-card-body {
    padding: 15px;
    flex: 1;
}

.track-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-card-meta {
    font-size: 12px;
}

.track-card-meta-item {
    margin-bottom: 5px;
    display: flex;
}

.meta-label {
    color: rgba(255, 255, 255, 0.6);
    width: 80px;
}

.meta-value {
    flex: 1;
    font-weight: 500;
}

.track-card-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-tracks-search {
    max-width: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.artist-tracks-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.artist-tracks-search:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(29, 185, 84, 0.5);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(29, 185, 84, 0.25);
}

@media (max-width: 576px) {
    .track-card-title {
        font-size: 14px;
    }

    .track-card-meta {
        font-size: 11px;
    }

    .meta-label {
        width: 70px;
    }

    .track-card-body,
    .track-card-footer {
        padding: 10px;
    }
}

.platform-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-5px) scale(1.03);
}

.platform-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

.platform-card:hover:before {
    left: 100%;
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1);
    transition: opacity 0.3s, transform 0.8s;
}

.btn:active:after {
    opacity: 1;
    transform: scale(50);
    transition: transform 0.4s;
}

.main-dropdown-menu {
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 0;
}

.main-dropdown-item {
    padding: 12px 16px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 8px;
}

.main-dropdown-item:hover {
    background-color: rgba(29, 185, 84, 0.15) !important;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.2);
}

.main-dropdown-item:hover .fw-semibold {
    color: #1DB954 !important;
}

.main-dropdown-item .fw-semibold {
    font-size: 0.95rem;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.main-dropdown-item small {
    font-size: 0.8rem;
    line-height: 1.2;
}

.main-dropdown-divider {
    margin: 8px 16px;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.tools-button {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tools-button:hover {
    background-color: rgba(var(--theme-primary-rgb, 13, 148, 136), 0.3) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 13, 148, 136), 0.25);
}

.tools-button.show {
    background-color: rgba(var(--theme-primary-rgb, 13, 148, 136), 0.3) !important;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 13, 148, 136), 0.25);
}

@media (max-width: 768px) {
    .main-dropdown-menu {
        min-width: 260px;
    }

    .main-dropdown-item {
        padding: 10px 12px;
    }

    .tools-button span {
        display: none;
    }
}

/* ============================================================
   Tools launcher — grouped app-launcher panel
   Colour derives from --theme-primary / --theme-primary-rgb,
   which ThemeSwitcher (legacy-app.js) sets from data-user-theme,
   so the panel follows the user's chosen theme automatically.
   ============================================================ */
.main-dropdown-menu.sp-tools-menu {
    min-width: 360px;
    max-width: min(380px, calc(100vw - 24px));
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    background-color: #151517;
    border: 1px solid rgba(var(--theme-primary-rgb, 13, 148, 136), 0.22);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sp-tools-group { list-style: none; }

.sp-tools-label {
    display: block;
    padding: 12px 12px 6px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}
.sp-tools-group:first-child .sp-tools-label { padding-top: 4px; }

.sp-tools-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 2px;
    padding: 8px 10px !important;
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

/* Tame the legacy item hover (old translateX slide + green shadow). */
.sp-tools-item:hover,
.sp-tools-item:focus {
    transform: none;
    box-shadow: none;
}
.sp-tools-item:focus-visible {
    outline: 2px solid var(--theme-primary, #0d9488);
    outline-offset: 1px;
}

/* Icon tile — the signature: lights up to a solid theme-coloured
   "console key" on hover/focus (keyboard arrow-nav included). */
.sp-tools-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background-color: rgba(var(--theme-primary-rgb, 13, 148, 136), 0.14);
    color: var(--theme-primary, #0d9488);
    font-size: 1.05rem;
    transition: background-color .16s ease, color .16s ease,
                box-shadow .16s ease, transform .16s ease;
}
.sp-tools-item:hover .sp-tools-icon,
.sp-tools-item:focus .sp-tools-icon {
    background-color: var(--theme-primary, #0d9488);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb, 13, 148, 136), 0.45);
    transform: scale(1.06);
}

.sp-tools-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sp-tools-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: #f4f4f5;
}
.sp-tools-desc {
    font-size: 0.76rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .sp-tools-item,
    .sp-tools-icon {
        transition: none !important;
    }
    .sp-tools-item:hover .sp-tools-icon,
    .sp-tools-item:focus .sp-tools-icon {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .main-dropdown-menu.sp-tools-menu {
        min-width: min(340px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        padding: 8px;
    }
    .sp-tools-icon { width: 34px; height: 34px; font-size: 0.98rem; }
    .sp-tools-item { padding: 7px 8px !important; gap: 10px; }
}

.converter-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.upload-area {
    border: 2px dashed rgba(13, 148, 136, 0.5);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(13, 148, 136, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
}

.upload-area.dragover {
    border-color: #0d9488;
    background: rgba(13, 148, 136, 0.15);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: #0d9488;
    margin-bottom: 1rem;
}

.settings-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.format-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.format-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.format-option:hover,
.format-option.active {
    border-color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    transform: translateY(-2px);
}

.files-list {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.file-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-item .file-info {
    flex: 1;
}

.file-item .remove-btn {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.file-item .remove-btn:hover {
    opacity: 1;
}

.convert-btn {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.convert-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.results-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: none;
}

.download-item {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.converter-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.converter-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

@media (max-width: 768px) {
    .converter-container {
        padding: 1.5rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .format-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .settings-panel {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .track-details-container {
        flex-direction: column;
    }

    .track-header-section {
        padding: 1rem;
    }

    .track-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .track-artwork-container {
        width: 180px;
        height: 180px;
        margin-bottom: 1rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-card {
        margin-bottom: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: scale(0.98);
        transition: transform 0.3s ease;
    }

    .details-card:active {
        transform: scale(0.96);
    }
}

.sort-tracks {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.25rem 2rem 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-tracks:hover {
    border-color: rgba(29, 185, 84, 0.5);
}

.sort-tracks:focus {
    border-color: #1DB954;
    box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.25);
    outline: none;
}

.tracks-filter-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .tracks-filter-controls {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .sort-tracks,
    .artist-tracks-search {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .track-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .track-meta-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 80px;
        gap: 2px;
    }

    .track-meta-value {
        font-size: 1rem;
        margin: 0;
        line-height: 1.2;
    }

    .track-meta-label {
        font-size: 0.8rem;
        margin-top: 2px;
    }

    .track-meta-item i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }
}

@media (max-width: 375px) {
    .track-meta {
        gap: 8px;
    }

    .track-meta-item {
        min-width: 70px;
        gap: 1px;
    }

    .track-meta-value {
        font-size: 0.9rem;
    }

    .track-meta-label {
        font-size: 0.75rem;
        margin-top: 1px;
    }
}


.stream-stats-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.metric-card {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(29, 185, 84, 0.2);
    color: #1DB954;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.metric-data {
    flex: 1;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: white;
}

.metric-value.positive {
    color: #1DB954;
}

.metric-value.negative {
    color: #e74c3c;
}

.metric-label {
    font-size: 0.85rem;
    color: #aaa;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .stream-stats-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-card {
        padding: 12px;
    }

    .metric-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 10px;
    }

    .metric-value {
        font-size: 1.2rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }
}

.data-source-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(29, 185, 84, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 500;
    border: 1px solid rgba(29, 185, 84, 0.2);
}

.data-source-badge i {
    margin-right: 4px;
    font-size: 10px;
    color: rgba(29, 185, 84, 0.8);
}

@media (max-width: 768px) {
    .data-source-badge {
        margin-left: 0;
        margin-top: 5px;
    }
}


.skeleton {
    position: relative;
    background-color: #1a1a1a;
    border-radius: 4px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.skeleton::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(13, 148, 136, 0.02) 10%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(13, 148, 136, 0.02) 90%,
            rgba(255, 255, 255, 0));
    animation: shimmer 1.2s infinite;
    z-index: 2;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}


.dark-theme .skeleton::after {
    background-image: linear-gradient(90deg,
            rgba(13, 148, 136, 0) 0,
            rgba(13, 148, 136, 0.05) 20%,
            rgba(13, 148, 136, 0.15) 50%,
            rgba(13, 148, 136, 0.05) 80%,
            rgba(13, 148, 136, 0));
    box-shadow: 0 0 15px 2px rgba(13, 148, 136, 0.08);
    animation: shimmer 1.2s infinite ease-in-out;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}


.skeleton-card {
    background-color: #171717;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    position: relative;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
}

.skeleton-header {
    height: 32px;
    width: 85%;
    margin-bottom: 16px;
    border-radius: 4px;
}

.skeleton-text {
    height: 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-text.medium {
    width: 70%;
}

.skeleton-text.long {
    width: 90%;
}

.skeleton-button {
    height: 36px;
    width: 120px;
    border-radius: 4px;
    margin: 8px 0;
}

.skeleton-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


.skeleton-pin {
    display: flex;
    background-color: #171717;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    gap: 12px;
}

.skeleton-pin-image {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.skeleton-pin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.skeleton-track {
    background-color: #171717;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.skeleton-track-image {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
}

.skeleton-track-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.skeleton-stats {
    background-color: #171717;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.skeleton-stat-card {
    background-color: #202020;
    border-radius: 8px;
    height: 100px;
    padding: 16px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .skeleton-track-image {
        width: 120px;
        height: 120px;
    }

    .skeleton-button {
        width: 100px;
        height: 32px;
    }
}


.settings-button-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

.settings-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #1DB954;
    color: white;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.settings-icon-wrapper:hover {
    background-color: #1ed760;
    transform: rotate(15deg);
}

.settings-icon-wrapper i {
    font-size: 22px;
}


.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.settings-modal-content {
    background-color: #171717;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.settings-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s;
}

.settings-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.settings-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}


.settings-section {
    margin-bottom: 20px;
}

.settings-header {
    display: flex;
    align-items: center;
    padding: 5px 0;
    font-weight: bold;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 10px;
}

.settings-header i {
    margin-right: 10px;
    color: #1DB954;
    font-size: 18px;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.setting-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 8px;
    color: #e0e0e0;
}

.setting-option:hover {
    background-color: rgba(29, 185, 84, 0.15);
}

.setting-option.active {
    background-color: rgba(29, 185, 84, 0.3);
    font-weight: bold;
}

.lang-flag {
    margin-right: 10px;
    font-size: 18px;
}

.option-label {
    font-size: 15px;
}

.key-display {
    cursor: default;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
}

.key-display:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.user-key {
    font-family: monospace;
    letter-spacing: 1px;
    word-break: break-all;
}

.neumorphic-card {
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 5px 5px 10px #151515, -5px -5px 10px #202020;
    border: none;
}

.album-card {
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.album-card:hover {
    transform: rotateY(180deg);
}

.album-front,
.album-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
}

.album-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #1e1e1e, #121212);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.gradient-border {
    position: relative;
    border-radius: 16px;
    background: #121212;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0d9488, #3b82f6, #8b5cf6);
    border-radius: 18px;
    z-index: -1;
    animation: gradientBorder 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WHOIS LOOKUP STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Globe placeholder */
.whois-globe-placeholder {
    background: linear-gradient(135deg, #0d9488, #0891b2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whois-globe-placeholder i {
    font-size: 2.5rem;
    color: #fff;
}

/* Header meta */
.whois-header-meta {
    flex-wrap: wrap;
    gap: 8px;
}

/* Loading state */
.whois-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.whois-spin {
    animation: whoisSpin 1.5s ease-in-out infinite;
}

@keyframes whoisSpin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Overview grid */
.whois-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.whois-overview-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.whois-overview-item:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 148, 136, 0.3);
}

.whois-overview-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.whois-overview-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e0e0e0;
}

/* Name servers list */
.whois-ns-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whois-ns-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
    font-size: 0.85rem;
    color: #b0b0b0;
    transition: border-color 0.2s ease;
}

.whois-ns-item:hover {
    border-color: rgba(13, 148, 136, 0.4);
}

.whois-ns-item i {
    color: #0d9488;
    font-size: 0.9rem;
}

/* Status list */
.whois-status-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.whois-status-item {
    display: inline-flex;
}

/* Badge variants */
.whois-badge-success {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-weight: 500;
    padding: 5px 10px;
    font-size: 0.78rem;
}

.whois-badge-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-weight: 500;
    padding: 5px 10px;
    font-size: 0.78rem;
}

.whois-badge-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25);
    font-weight: 500;
    padding: 5px 10px;
    font-size: 0.78rem;
}

.whois-badge-info {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.25);
    font-weight: 500;
    padding: 5px 10px;
    font-size: 0.78rem;
}

.whois-badge-secondary {
    background: rgba(156, 163, 175, 0.12) !important;
    color: #9ca3af !important;
    border: 1px solid rgba(156, 163, 175, 0.2);
    font-weight: 500;
    padding: 5px 10px;
    font-size: 0.78rem;
}

/* DNS Records */
.whois-dns-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whois-dns-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.whois-dns-group:last-child {
    border-bottom: none;
}

.whois-dns-type {
    min-width: 60px;
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 6px;
    padding: 4px 10px;
    text-align: center;
    flex-shrink: 0;
}

.whois-dns-values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.whois-dns-value {
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
    font-size: 0.82rem;
    color: #b0b0b0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 4px 10px;
    word-break: break-all;
}

.whois-txt-record {
    font-size: 0.75rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.whois-mx-priority {
    color: #f59e0b;
    font-weight: 600;
    margin-right: 4px;
}

/* SAN list */
.whois-san-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Security badges */
.whois-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Raw data */
.whois-raw-header {
    cursor: default;
}

.whois-raw-body {
    padding: 0 !important;
}

.whois-raw-content {
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
    font-size: 0.78rem;
    color: #888;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    margin: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 12px 12px;
    line-height: 1.5;
}

.whois-raw-content::-webkit-scrollbar {
    width: 6px;
}

.whois-raw-content::-webkit-scrollbar-track {
    background: transparent;
}

.whois-raw-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.whois-raw-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whois-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whois-dns-group {
        flex-direction: column;
        gap: 6px;
    }

    .whois-dns-type {
        min-width: auto;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .whois-overview-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Security Scan Styles ────────────────────────────────────────────────── */

/* Risk indicator */
.whois-sec-risk-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 100px;
    border-radius: 16px;
    padding: 16px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid;
}

.whois-sec-risk-icon {
    font-size: 2rem;
    line-height: 1;
}

.whois-sec-risk-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

/* Clean state */
.whois-sec-clean {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #10b981;
    text-align: center;
}

.whois-sec-clean i {
    font-size: 3rem;
    margin-bottom: 12px;
}

.whois-sec-clean p {
    color: #888;
    margin: 0;
}

/* Security overview */
.whois-sec-overview {
    display: flex;
    gap: 24px;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.whois-sec-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whois-sec-total {
    font-size: 0.82rem;
    color: #777;
}

.whois-sec-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.whois-sec-summary i {
    margin-right: 3px;
}

.whois-sec-summary .whois-sec-critical {
    color: #ef4444;
    font-weight: 600;
}

.whois-sec-summary .whois-sec-fail {
    color: #f97316;
}

.whois-sec-summary .whois-sec-warn {
    color: #f59e0b;
}

.whois-sec-summary .whois-sec-pass {
    color: #10b981;
}

.whois-sec-summary .whois-sec-info {
    color: #6b7280;
}

/* Security details */
.whois-sec-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.whois-sec-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whois-sec-category-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}

.whois-sec-category-label i {
    font-size: 0.9rem;
}

.whois-sec-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.whois-sec-checks {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.whois-sec-check {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease;
}

.whois-sec-check:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.whois-sec-check-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whois-sec-check-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #d0d0d0;
    flex: 1;
    font-family: 'SFMono-Regular', 'Consolas', monospace;
}

.whois-sec-severity-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.whois-sev-critical {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.whois-sev-high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.whois-sev-medium {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.whois-sev-low {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.whois-sev-info {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.25);
}

.whois-sec-check-detail {
    font-size: 0.78rem;
    color: #888;
    padding-left: 24px;
    word-break: break-word;
}

.whois-sec-check-url {
    font-size: 0.75rem;
    padding-left: 24px;
}

.whois-sec-check-url a {
    word-break: break-all;
}

/* Check severity border colors */
.whois-sec-check.whois-sec-critical {
    border-left: 3px solid #ef4444;
}

.whois-sec-check.whois-sec-critical .whois-sec-check-header i {
    color: #ef4444;
}

.whois-sec-check.whois-sec-fail {
    border-left: 3px solid #f97316;
}

.whois-sec-check.whois-sec-fail .whois-sec-check-header i {
    color: #f97316;
}

.whois-sec-check.whois-sec-warn {
    border-left: 3px solid #f59e0b;
}

.whois-sec-check.whois-sec-warn .whois-sec-check-header i {
    color: #f59e0b;
}

.whois-sec-check.whois-sec-pass {
    border-left: 3px solid #10b981;
}

.whois-sec-check.whois-sec-pass .whois-sec-check-header i {
    color: #10b981;
}

.whois-sec-check.whois-sec-info {
    border-left: 3px solid #6b7280;
}

.whois-sec-check.whois-sec-info .whois-sec-check-header i {
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .whois-sec-overview {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .whois-sec-risk-indicator {
        min-width: auto;
        min-height: auto;
        padding: 16px;
        flex-direction: row;
        gap: 10px;
    }

    .whois-sec-risk-icon {
        font-size: 1.5rem;
    }

    .whois-sec-summary {
        justify-content: center;
    }
}
