/* ============================================
   YouTube CMS Finance Manager - Styles
   PT. Duta Harmoni Production Indonesia
   ============================================ */

:root {
    --primary: #123c69;
    --primary-light: #1f5b98;
    --primary-deep: #0b2742;
    --accent: #f05d23;
    --accent-dark: #c43f14;
    --success: #0f9d7a;
    --success-light: #3ed6a4;
    --warning: #f2b134;
    --danger: #d64545;
    --info: #3793ff;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --text: #16324a;
    --muted: #6b7a8a;
    --line: rgba(18, 60, 105, 0.12);
    
    --bg-gradient:
        radial-gradient(circle at top left, rgba(240, 93, 35, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(55, 147, 255, 0.22), transparent 24%),
        linear-gradient(140deg, #f3f7fb 0%, #e6f0f8 48%, #eef5ec 100%);
    --card-shadow: 0 22px 60px rgba(17, 46, 77, 0.12);
    --hover-shadow: 0 26px 70px rgba(17, 46, 77, 0.18);
    
    --radius: 24px;
    --radius-sm: 16px;
    --radius-xs: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
    background-attachment: fixed;
}

.landing-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.landing-hero-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.landing-note {
    position: absolute;
    color: rgba(18, 60, 105, 0.16);
    font-size: clamp(34px, 5vw, 70px);
    filter: drop-shadow(0 18px 26px rgba(18, 60, 105, 0.12));
    animation: landingFloat 12s ease-in-out infinite;
}

.landing-note.note-1 { left: 6%; top: 14%; animation-delay: 0s; }
.landing-note.note-2 { right: 8%; top: 18%; animation-delay: 1.7s; }
.landing-note.note-3 { left: 12%; bottom: 16%; animation-delay: 3.4s; }
.landing-note.note-4 { right: 10%; bottom: 18%; animation-delay: 5.1s; }

.landing-orb {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(42px);
    opacity: 0.6;
    animation: landingPulse 10s ease-in-out infinite;
}

.landing-orb.orb-a {
    left: -180px;
    top: -220px;
    background: radial-gradient(circle at 30% 30%, rgba(240, 93, 35, 0.55), transparent 60%);
}

.landing-orb.orb-b {
    right: -220px;
    bottom: -260px;
    background: radial-gradient(circle at 40% 40%, rgba(55, 147, 255, 0.55), transparent 62%);
    animation-delay: 1.4s;
}

.landing-wave {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 1200px;
    height: 1200px;
    transform: translate(-50%, -50%);
    border-radius: 42%;
    opacity: 0.2;
    background: radial-gradient(circle at center, rgba(240, 93, 35, 0.22), transparent 60%);
    animation: landingWave 18s linear infinite;
}

.landing-wave.wave-b {
    width: 1400px;
    height: 1400px;
    opacity: 0.14;
    background: radial-gradient(circle at center, rgba(18, 60, 105, 0.26), transparent 62%);
    animation-duration: 24s;
    animation-direction: reverse;
}

@keyframes landingFloat {
    0%, 100% { transform: translateY(0) rotate(-6deg); opacity: 0.7; }
    50% { transform: translateY(-24px) rotate(8deg); opacity: 1; }
}

@keyframes landingPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(14px) scale(1.05); }
}

@keyframes landingWave {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.landing-header {
    position: sticky;
    top: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, 94%);
    margin: 14px auto 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(18, 60, 105, 0.12);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(17, 46, 77, 0.14);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-logo {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    display: grid;
    place-items: center;
    box-shadow: 0 18px 44px rgba(18, 60, 105, 0.18);
    padding: 4px;
    border: 1px solid rgba(18, 60, 105, 0.12);
}

.landing-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.landing-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.landing-brand-kicker {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-brand-title {
    font-weight: 900;
    color: var(--primary-deep);
}

.landing-nav {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 720px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(18, 60, 105, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.landing-nav::-webkit-scrollbar {
    display: none;
}

.landing-nav-link {
    border: none;
    background: transparent;
    color: var(--primary-deep);
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.landing-nav-link:hover {
    background: rgba(18, 60, 105, 0.08);
    transform: translateY(-1px);
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(18, 60, 105, 0.06);
    border: 1px solid rgba(18, 60, 105, 0.12);
    color: var(--primary-deep);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.landing-social-link:hover {
    transform: translateY(-1px);
    background: rgba(18, 60, 105, 0.1);
    box-shadow: 0 14px 24px rgba(18, 60, 105, 0.16);
}

.landing-content {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 40px 0 56px;
    position: relative;
    z-index: 1;
}

.landing-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 60, 105, 0.12);
    box-shadow: 0 26px 80px rgba(17, 46, 77, 0.14);
    overflow: hidden;
}

.landing-hero h1 {
    font-size: clamp(1.8rem, 3.8vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--primary-deep);
    margin-top: 12px;
}

.landing-accent {
    background: linear-gradient(90deg, var(--accent), #6d28d9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-hero p {
    margin-top: 14px;
    color: var(--muted);
    font-weight: 600;
}

.landing-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.landing-hero-cards {
    display: grid;
    gap: 14px;
}

.landing-stat-card {
    border-radius: 20px;
    padding: 16px 16px 14px;
    background: rgba(18, 60, 105, 0.04);
    border: 1px solid rgba(18, 60, 105, 0.08);
}

.landing-stat-label {
    color: var(--muted);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.landing-stat-value {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-deep);
}

.landing-stat-meta {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.landing-section {
    margin-top: 34px;
}

.landing-section-header {
    margin-bottom: 16px;
}

.landing-section-header h2 {
    font-size: 1.55rem;
    letter-spacing: -0.01em;
    color: var(--primary-deep);
}

.landing-section-header p {
    color: var(--muted);
    font-weight: 600;
    margin-top: 6px;
}

.landing-grid {
    display: grid;
    gap: 16px;
}

.landing-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-feature-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 60, 105, 0.12);
    box-shadow: 0 22px 54px rgba(17, 46, 77, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 66px rgba(17, 46, 77, 0.16);
}

.landing-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(240, 93, 35, 0.14);
    color: var(--accent-dark);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.landing-feature-card h3 {
    color: var(--primary-deep);
    font-weight: 900;
    margin-bottom: 6px;
}

.landing-feature-card p {
    color: var(--muted);
    font-weight: 600;
}

.landing-artist-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 60, 105, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 22px 54px rgba(17, 46, 77, 0.12);
}

.landing-artist-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: linear-gradient(140deg, rgba(18, 60, 105, 0.9), rgba(109, 40, 217, 0.86));
}

.landing-artist-name {
    font-weight: 900;
    color: var(--primary-deep);
}

.landing-artist-meta {
    color: var(--muted);
    font-weight: 600;
    margin-top: 6px;
    font-size: 0.9rem;
}

.artist-marquee {
    margin-top: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 60, 105, 0.12);
    box-shadow: 0 22px 54px rgba(17, 46, 77, 0.12);
    overflow: hidden;
    position: relative;
}

.artist-marquee::before,
.artist-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.artist-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}

.artist-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}

.artist-marquee-track {
    display: flex;
    gap: 14px;
    padding: 14px 18px;
    width: max-content;
    animation: artistMarquee 120s linear infinite;
}

.artist-marquee:hover .artist-marquee-track {
    animation-play-state: paused;
}

.artist-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border-radius: 999px;
    background: rgba(18, 60, 105, 0.06);
    border: 1px solid rgba(18, 60, 105, 0.1);
    min-width: 220px;
    max-width: 320px;
}

.artist-chip .artist-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
}

.artist-chip-name {
    font-weight: 900;
    color: var(--primary-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-chip-ig {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

@keyframes artistMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .artist-marquee-track {
        animation: none;
    }
}

.landing-video-grid .youtube-video-card {
    animation: landingCardIn 0.45s ease both;
}

#landingNewsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.landing-news-card {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 60, 105, 0.12);
    box-shadow: 0 22px 54px rgba(17, 46, 77, 0.12);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 66px rgba(17, 46, 77, 0.16);
}

.landing-news-thumb-link {
    display: block;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(18, 60, 105, 0.12);
    background: rgba(18, 60, 105, 0.04);
    align-self: center;
    text-decoration: none;
}

.landing-news-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-news-title {
    font-weight: 900;
    color: var(--primary-deep);
    line-height: 1.35;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.7em;
}

.landing-news-actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.landing-news-read-btn {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
}

@keyframes landingCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-about-card {
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 60, 105, 0.12);
    box-shadow: 0 26px 70px rgba(17, 46, 77, 0.12);
}

.landing-about-layout {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: flex-start;
}

.landing-about-logo-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.landing-about-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(18, 60, 105, 0.14);
    box-shadow: 0 10px 22px rgba(17, 46, 77, 0.16);
    padding: 6px;
}

.landing-about-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.landing-about-content p {
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.landing-about-card p {
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.landing-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.landing-about-grid h3 {
    color: var(--primary-deep);
    font-weight: 900;
    margin-bottom: 8px;
}

.landing-footer {
    padding: 34px 0;
    background: rgba(18, 60, 105, 0.94);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.landing-footer-inner {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 22px;
    align-items: start;
}

.landing-footer-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.landing-footer-logo {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px;
}

.landing-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    display: block;
}

.landing-footer-title {
    font-weight: 900;
    letter-spacing: 0.03em;
}

.landing-footer-address {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 600;
}

.landing-footer-heading {
    font-weight: 900;
    margin-bottom: 10px;
}

.landing-footer-text {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 600;
    line-height: 1.55;
}

.landing-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
    text-decoration: none;
}

.landing-footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.landing-footer-bottom {
    width: min(1120px, 92%);
    margin: 18px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    text-align: center;
}

.inventory-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.inventory-status-badge.active {
    background: rgba(15, 157, 122, 0.14);
    color: #0a7c60;
}

.inventory-status-badge.inactive {
    background: rgba(214, 69, 69, 0.12);
    color: var(--danger);
}

.inventory-loan-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.inventory-loan-badge.borrowed {
    background: rgba(240, 93, 35, 0.14);
    color: var(--accent-dark);
}

.inventory-loan-badge.available {
    background: rgba(15, 157, 122, 0.14);
    color: #0a7c60;
}

.signature-pad {
    border-radius: 16px;
    border: 1px solid rgba(18, 60, 105, 0.12);
    background: rgba(18, 60, 105, 0.04);
    padding: 12px;
}

.signature-canvas {
    width: 100%;
    height: 160px;
    display: block;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(18, 60, 105, 0.12);
    touch-action: none;
}

.signature-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

.signature-actions .form-control {
    flex: 1;
}

@media (max-width: 1040px) {
    .landing-hero {
        grid-template-columns: 1fr;
    }
    .landing-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .landing-footer-inner {
        grid-template-columns: 1fr;
    }
    .landing-about-layout {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }
    .landing-about-logo {
        width: 64px;
        height: 64px;
        border-radius: 14px;
        padding: 5px;
    }
}

@media (max-width: 640px) {
    .landing-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        justify-content: center;
        top: 8px;
        width: 94%;
        margin: 8px auto 0;
        border-radius: 22px;
    }
    .landing-brand {
        gap: 10px;
    }
    .landing-logo {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        padding: 3px;
    }
    .landing-brand-kicker {
        font-size: 0.7rem;
    }
    .landing-brand-title {
        font-size: 0.95rem;
    }
    .landing-nav {
        width: 100%;
        max-width: 100%;
        gap: 6px;
        padding: 6px;
        margin-top: 4px;
    }
    .landing-nav-link {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
    .landing-actions {
        width: 100%;
        justify-content: space-between;
        padding: 0 4px;
    }
    .landing-social-links {
        gap: 8px;
    }
    .landing-social-link {
        width: 36px;
        height: 36px;
        font-size: 0.86rem;
    }
    .landing-grid-4,
    .landing-grid-3,
    .landing-about-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-music-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

.login-container::after {
    content: '';
    position: absolute;
    inset: 8% 12%;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.45), transparent 55%),
        radial-gradient(circle at center, rgba(240, 93, 35, 0.08), transparent 72%);
    filter: blur(24px);
    opacity: 0.75;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 50px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.88);
}

.login-box::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 20px;
    border: 1px solid rgba(18, 60, 105, 0.06);
    pointer-events: none;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.company-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #e0e0e0;
}

.company-logo {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-sm);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255,0,0,0.3);
    position: relative;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(18, 60, 105, 0.12);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--radius-sm) - 8px);
    position: relative;
    z-index: 2;
}

.company-logo::after {
    content: '';
    position: absolute;
    inset: -30%;
    background: linear-gradient(135deg, transparent 20%, rgba(255,255,255,0.2) 48%, transparent 70%);
    animation: logoShine 4.5s linear infinite;
}

.logo-equalizer {
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    z-index: 2;
}

.logo-equalizer i {
    width: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    animation: logoBeat 1.2s ease-in-out infinite;
}

.logo-equalizer i:nth-child(1) { height: 10px; animation-delay: 0s; }
.logo-equalizer i:nth-child(2) { height: 18px; animation-delay: 0.15s; }
.logo-equalizer i:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.logo-equalizer i:nth-child(4) { height: 20px; animation-delay: 0.45s; }

.music-note {
    position: absolute;
    color: rgba(18, 60, 105, 0.16);
    font-size: clamp(34px, 5vw, 64px);
    animation: floatMusic 10s ease-in-out infinite;
    text-shadow: 0 8px 26px rgba(18, 60, 105, 0.08);
}

.note-a {
    left: 10%;
    top: 18%;
    animation-delay: 0s;
}

.note-b {
    right: 12%;
    top: 22%;
    animation-delay: 1.6s;
}

.note-c {
    left: 14%;
    bottom: 18%;
    animation-delay: 3s;
}

.note-d {
    right: 10%;
    bottom: 20%;
    animation-delay: 4.5s;
}

.music-orb {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.45;
    animation: driftOrb 14s ease-in-out infinite;
}

.orb-left {
    left: -60px;
    top: 8%;
    background: radial-gradient(circle, rgba(240, 93, 35, 0.32), transparent 70%);
}

.orb-right {
    right: -60px;
    bottom: 10%;
    background: radial-gradient(circle, rgba(55, 147, 255, 0.28), transparent 72%);
    animation-delay: 2.2s;
}

.company-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.login-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
}

.login-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.login-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.1);
}

.login-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,0,0,0.4);
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: var(--radius-xs);
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.error-message.show {
    display: flex;
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-size: 0.85rem;
}

@keyframes floatMusic {
    0%, 100% { transform: translateY(0) rotate(-6deg) scale(1); }
    25% { transform: translateY(-18px) rotate(4deg) scale(1.04); }
    50% { transform: translateY(14px) rotate(-2deg) scale(0.98); }
    75% { transform: translateY(-10px) rotate(6deg) scale(1.03); }
}

@keyframes driftOrb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(26px, -18px, 0) scale(1.08); }
}

@keyframes logoBeat {
    0%, 100% { transform: scaleY(0.7); opacity: 0.75; }
    50% { transform: scaleY(1.28); opacity: 1; }
}

@keyframes logoShine {
    0% { transform: translateX(-120%) rotate(18deg); }
    100% { transform: translateX(120%) rotate(18deg); }
}

/* ============================================
   MAIN APP
   ============================================ */

.main-app {
    display: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 20px 40px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 24px;
}

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

.logo {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 28px rgba(240, 93, 35, 0.28);
    padding: 6px;
    border: 1px solid rgba(18, 60, 105, 0.12);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--radius-sm) - 6px);
    display: block;
}

.eyebrow {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 4px;
}

.header-info h1 {
    color: var(--primary-deep);
    font-size: 1.55rem;
    margin-bottom: 2px;
}

.header-info .subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 620px;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-badge {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 14px 24px rgba(15, 157, 122, 0.2);
}

/* Buttons */
.refresh-btn {
    background: linear-gradient(135deg, var(--info) 0%, #6ec8ff 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

.notification-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--danger) 0%, #cc0000 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(214, 69, 69, 0.35);
}

.rk-notif-source {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.rk-notif-source.direktur {
    background: rgba(15, 157, 122, 0.14);
    color: #0a7c60;
    border-color: rgba(15, 157, 122, 0.22);
}

.rk-notif-source.admin {
    background: rgba(240, 93, 35, 0.14);
    color: var(--accent-dark);
    border-color: rgba(240, 93, 35, 0.24);
}

.rk-notif-source.dapur_rekaman {
    background: rgba(55, 147, 255, 0.14);
    color: #1f5b98;
    border-color: rgba(55, 147, 255, 0.26);
}

.refresh-btn.spinning {
    animation: spin 1s linear infinite;
}

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

.logout-btn {
    background: rgba(18, 60, 105, 0.08);
    color: var(--primary-deep);
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: var(--danger);
    color: white;
}

.nav-menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

.nav-btn {
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.nav-btn.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
}

.nav-btn.secondary {
    background: rgba(18, 60, 105, 0.08);
    color: var(--primary-deep);
}

.nav-btn.gold {
    background: linear-gradient(135deg, var(--warning) 0%, #FFA500 100%);
    color: #333;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 14px 24px rgba(18, 60, 105, 0.22);
}

#youtubeNavBtn span {
    color: #ff0033;
    font-size: 0.95rem;
}

#youtubeNavBtn.active span {
    color: white;
}

/* Info Boxes */
.last-updated, .sync-status, .year-info, .kurs-info {
    padding: 15px 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.last-updated {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.sync-status {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
}

.year-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.kurs-info {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f5e9 100%);
    border: 2px solid #c8e6c9;
}

.kurs-text {
    font-weight: 700;
    color: #2e7d32;
    font-size: 1.1rem;
}

.kurs-date {
    font-size: 0.9rem;
    color: #666;
}

.kurs-input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-xs);
    font-size: 1rem;
    width: 150px;
}

.kurs-input:focus {
    outline: none;
    border-color: var(--success);
}

.year-summary-text {
    margin-top: 6px;
    font-size: 0.92rem;
    color: var(--primary-deep);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
    gap: 20px;
    margin-bottom: 22px;
    padding: 26px 28px;
    border-radius: var(--radius);
    background:
        linear-gradient(120deg, rgba(18, 60, 105, 0.94), rgba(31, 91, 152, 0.9)),
        linear-gradient(135deg, rgba(240, 93, 35, 0.2), transparent);
    color: white;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
}

.hero-copy h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero-copy p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.hero-stat {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.hero-stat-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 8px;
}

.hero-stat strong {
    font-size: 1.6rem;
    line-height: 1.1;
}

#emailUserAddress {
    font-size: 1.05rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.94));
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.card::after {
    content: '';
    position: absolute;
    inset: auto -30px -40px auto;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(31, 91, 152, 0.08), transparent 70%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.icon-revenue { background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%); color: white; }
.icon-ads { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.icon-subs { background: linear-gradient(135deg, var(--info) 0%, #00f2fe 100%); color: white; }
.icon-shorts { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: white; }

.amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-deep);
    margin-bottom: 5px;
    line-height: 1.1;
}

.amount-idr {
    font-size: 1.2rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed #ddd;
}

.change {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.change.positive { color: var(--success); }
.change.negative { color: var(--danger); }
.change.neutral { color: #666; }

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    transition: width 0.3s ease;
}

/* Chart Container */
.chart-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.section-surface {
    position: relative;
    overflow: hidden;
}

.section-surface::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--info));
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.chart-title {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
}

.section-subtitle {
    color: var(--muted);
    margin-top: 4px;
    font-size: 0.92rem;
}

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

.catalog-filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.catalog-filter-select {
    flex: 0 0 280px;
}

.catalog-search-input {
    flex: 1 1 320px;
    min-width: 260px;
}

.digital-revenue-summary {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(18, 60, 105, 0.1);
    background: linear-gradient(135deg, rgba(18, 60, 105, 0.06) 0%, rgba(90, 169, 255, 0.1) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.digital-revenue-summary-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5f7691;
    margin-bottom: 4px;
}

.digital-revenue-summary strong {
    font-size: 1.5rem;
    color: var(--primary-deep);
}

.digital-revenue-summary-meta {
    color: #38516e;
    font-weight: 600;
}

.digital-balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.digital-balance-card {
    background: linear-gradient(135deg, rgba(18, 60, 105, 0.96) 0%, rgba(48, 134, 255, 0.94) 100%);
    color: white;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 36px rgba(18, 60, 105, 0.18);
}

.digital-balance-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.digital-balance-top h3 {
    margin: 6px 0 0;
    font-size: 1.35rem;
}

.digital-balance-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.digital-balance-top strong {
    font-size: 1.8rem;
    white-space: nowrap;
}

.digital-balance-meta {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.84);
    min-height: 44px;
}

.digital-balance-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.digital-balance-actions .btn {
    border: none;
}

.catalog-youtube-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}

.catalog-youtube-input-group .form-control {
    flex: 1 1 320px;
}

.catalog-search-btn {
    white-space: nowrap;
}

.filter-section {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-xs);
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-light);
}

.chart-wrapper {
    position: relative;
    height: 400px;
}

/* Table */
.data-table-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(18, 60, 105, 0.08);
}

tr:hover {
    background: rgba(55, 147, 255, 0.05);
}

.revenue-type {
    font-weight: 600;
    color: var(--primary);
}

.currency-usd {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary);
}

.currency-idr {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--success);
    font-size: 0.9rem;
}

.conversion-detail {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
    font-style: italic;
}

/* Bank Data Grid */
.bank-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.report-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 5px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(42, 82, 152, 0.05) 100%);
    pointer-events: none;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.84rem;
}

.report-simple-stats {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.report-simple-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(18, 60, 105, 0.05);
}

.report-simple-label {
    color: var(--muted);
    font-weight: 600;
}

.report-simple-value {
    color: var(--primary-deep);
    font-weight: 800;
    text-align: right;
}

.report-action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.report-action-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.report-action-btn.secondary {
    background: rgba(18, 60, 105, 0.08);
    color: var(--primary-deep);
}

.report-action-btn.google {
    background: rgba(66, 133, 244, 0.12);
    color: #225ecb;
}

.report-action-btn:hover {
    transform: translateY(-1px);
}

.report-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.kurs-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #f57c00;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid var(--warning);
}

.kurs-sync-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.stat {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: var(--radius-xs);
    transition: all 0.3s ease;
}

.stat:hover {
    background: #e3f2fd;
    transform: scale(1.05);
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-value.idr {
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 600;
    padding-top: 4px;
    border-top: 1px dashed #ddd;
    margin-top: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delete-btn {
    background: linear-gradient(135deg, var(--danger) 0%, #cc0000 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUpModal 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 60px rgba(5, 25, 43, 0.28);
}

@keyframes slideUpModal {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    margin-bottom: 25px;
}

.tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.tour-overlay.active {
    display: block;
}

.tour-overlay-shade {
    position: absolute;
    inset: 0;
    background: rgba(6, 20, 33, 0.65);
    backdrop-filter: blur(3px);
}

.tour-highlight {
    position: absolute;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 0 0 9999px rgba(6, 20, 33, 0.65),
        0 18px 44px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.tour-popover {
    position: absolute;
    width: min(420px, calc(100vw - 32px));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.98));
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 60px rgba(5, 25, 43, 0.35);
    padding: 16px;
}

.tour-step {
    font-weight: 900;
    color: rgba(18, 60, 105, 0.75);
    font-size: 0.85rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.tour-title {
    margin-top: 6px;
    font-weight: 900;
    color: var(--primary-deep);
    font-size: 1.1rem;
    line-height: 1.25;
}

.tour-desc {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.55;
}

.tour-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tour-actions .btn {
    margin: 0;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.tab {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    border-radius: var(--radius-xs);
    transition: all 0.3s ease;
}

.tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 12px 24px rgba(18, 60, 105, 0.16);
}

.tab:hover:not(.active) {
    background: #f0f0f0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 40px;
    text-align: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: linear-gradient(180deg, rgba(31, 91, 152, 0.04), rgba(240, 93, 35, 0.03));
}

.upload-area:hover, .upload-area.dragover {
    background: #f0f4ff;
    border-color: var(--accent);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.file-input, .file-input-multiple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-xs);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
}

.kurs-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f4ff;
    border-radius: var(--radius-xs);
}

.kurs-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.kurs-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.kurs-help {
    color: #666;
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
}

.auto-kurs-info {
    margin-top: 10px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    color: #2e7d32;
}

/* Preview Table */
.upload-preview {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--radius-xs);
}

.preview-table-container {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
}

.preview-table-container table {
    font-size: 0.8rem;
}

.preview-table-container th,
.preview-table-container td {
    padding: 8px;
}

/* File List */
.file-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-xs);
    padding: 10px;
}

.file-list-header {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.file-item:last-child {
    border-bottom: none;
}

.file-name {
    color: var(--primary);
    font-weight: 600;
}

.file-size {
    color: #666;
    font-size: 0.8rem;
}

.file-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending { background: #fff3e0; color: #e65100; }
.status-success { background: #e8f5e9; color: #2e7d32; }
.status-error { background: #ffebee; color: #c62828; }

/* Buttons */
.btn-group {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

/* Info Boxes */
.bulk-upload-info, .kurs-historis-info {
    padding: 15px;
    border-radius: var(--radius-xs);
    margin-bottom: 20px;
    border-left: 4px solid;
}

.bulk-upload-info {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.kurs-historis-info {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-color: var(--warning);
}

.bulk-upload-text, .kurs-historis-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.bulk-upload-text { color: #2e7d32; }
.kurs-historis-text { color: #f57c00; }

/* Format Help */
.format-help {
    background: #f5f5f5;
    padding: 15px;
    border-radius: var(--radius-xs);
    margin-bottom: 20px;
}

.format-help h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.format-help code {
    display: block;
    background: white;
    padding: 10px;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

/* Kurs Table */
.filter-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kurs-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-xs);
}

.kurs-table-container th {
    background: linear-gradient(135deg, var(--warning) 0%, #ff8f00 100%);
    color: #333;
    padding: 12px;
    font-size: 0.9rem;
}

.kurs-table-container td {
    padding: 10px 12px;
    font-size: 0.9rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px 30px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.notification.show {
    display: flex;
}

@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.notification-icon.success { background: #d4edda; color: #155724; }
.notification-icon.error { background: #f8d7da; color: #721c24; }

.notification-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.notification-message {
    font-size: 0.9rem;
    color: #666;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: white;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.empty-state.compact {
    padding: 28px 12px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.catalog-hero {
    margin-bottom: 28px;
}

.catalog-artist,
.catalog-title {
    font-weight: 600;
    color: var(--primary-deep);
}

.catalog-asset-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.catalog-asset-badge.dhpi {
    background: rgba(15, 157, 122, 0.14);
    color: #0a7c60;
}

.catalog-asset-badge.drr {
    background: rgba(240, 93, 35, 0.14);
    color: #b6461a;
}

.catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 700;
    text-decoration: none;
}

.catalog-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.catalog-thumb-link {
    display: inline-flex;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(18, 60, 105, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-thumb-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(18, 60, 105, 0.2);
}

.catalog-thumb-image {
    display: block;
    width: 120px;
    height: 68px;
    object-fit: cover;
    background: rgba(18, 60, 105, 0.08);
}

.charts-hero {
    margin-bottom: 20px;
}

.charts-status-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(18, 60, 105, 0.08), rgba(55, 147, 255, 0.12));
    border: 1px solid rgba(18, 60, 105, 0.12);
}

.charts-status-title {
    font-weight: 800;
    color: var(--primary-deep);
    margin-bottom: 4px;
}

.charts-status-text,
.charts-status-meta {
    color: var(--muted);
    font-size: 0.92rem;
}

.charts-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.charts-summary-card {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(18, 60, 105, 0.05);
}

.charts-summary-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.charts-summary-card strong {
    color: var(--primary-deep);
    font-size: 1.05rem;
}

.charts-rank-badge {
    display: inline-flex;
    min-width: 58px;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(240, 93, 35, 0.14);
    color: var(--accent-dark);
    font-weight: 800;
}

.charts-move {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.82rem;
    line-height: 1;
}

.charts-move.up {
    color: #0a7c60;
    background: rgba(15, 157, 122, 0.14);
}

.charts-move.down {
    color: var(--danger);
    background: rgba(214, 69, 69, 0.12);
}

.charts-move.same {
    color: var(--muted);
    background: rgba(18, 60, 105, 0.08);
}

.charts-move.new {
    color: #1f3a93;
    background: rgba(31, 58, 147, 0.12);
}

.youtube-channel-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.youtube-channel-card {
    border: 1px solid rgba(18, 60, 105, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    padding: 16px 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.youtube-channel-card:hover,
.youtube-channel-card.active {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(18, 60, 105, 0.12);
    border-color: rgba(18, 60, 105, 0.3);
}

.youtube-channel-card strong {
    display: block;
    color: var(--primary-deep);
    margin-bottom: 6px;
}

.youtube-channel-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.youtube-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 20px;
    margin-bottom: 24px;
}

.youtube-popular-card {
    min-height: 100%;
}

.youtube-popular-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.youtube-thumb-link {
    display: block;
    border: none;
    background: transparent;
    padding: 0;
    text-align: inherit;
    cursor: pointer;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(18, 60, 105, 0.16);
}

.youtube-thumb-link img {
    display: block;
    width: 100%;
    height: auto;
}

.youtube-popular-meta h3,
.youtube-video-card h3 {
    color: var(--primary-deep);
    margin-bottom: 8px;
    line-height: 1.35;
}

.youtube-popular-meta p,
.youtube-video-card p {
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.youtube-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.youtube-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.youtube-video-card {
    border-radius: 18px;
    background: rgba(18, 60, 105, 0.04);
    padding: 14px;
}

.youtube-video-card .youtube-thumb-link {
    margin-bottom: 12px;
}

.artist-avatar {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(18, 60, 105, 0.08);
    border: 1px solid rgba(18, 60, 105, 0.12);
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-initials {
    font-weight: 900;
    color: var(--primary-deep);
    letter-spacing: 0.06em;
}

.account-role-badge,
.account-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.account-role-badge {
    background: rgba(18, 60, 105, 0.08);
    color: var(--primary-deep);
}

.account-role-badge.admin {
    background: rgba(240, 93, 35, 0.14);
    color: var(--accent-dark);
}

.account-role-badge.viewer {
    background: rgba(107, 122, 138, 0.16);
    color: #425261;
}

.account-role-badge.direktur {
    background: rgba(55, 147, 255, 0.18);
    color: #1b5fb6;
}

.account-role-badge.produksi {
    background: rgba(109, 40, 217, 0.16);
    color: #4f1aa9;
}

.account-role-badge.dapur_rekaman {
    background: rgba(242, 177, 52, 0.18);
    color: #b05a00;
}

.account-status-badge.active {
    background: rgba(15, 157, 122, 0.14);
    color: #0a7c60;
}

.account-status-badge.inactive {
    background: rgba(214, 69, 69, 0.12);
    color: var(--danger);
}

.charts-thumb-btn,
.charts-title-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.charts-thumb-btn {
    display: inline-flex;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(18, 60, 105, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.charts-thumb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(18, 60, 105, 0.22);
}

.charts-thumb-image {
    display: block;
    width: 120px;
    height: 68px;
    object-fit: cover;
    background: rgba(18, 60, 105, 0.08);
}

.charts-thumb-placeholder {
    color: var(--muted);
    font-weight: 700;
}

.charts-title-btn {
    color: var(--primary-deep);
    font-weight: 700;
    text-align: left;
}

.charts-title-btn:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.charts-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.music-video-modal-content {
    max-width: 960px;
}

.music-video-frame-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #0f1720;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.music-video-frame-wrap iframe {
    display: block;
    width: 100%;
    height: min(70vh, 540px);
    border: none;
}

.table-action-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-action-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.table-action-btn.edit {
    background: rgba(55, 147, 255, 0.12);
    color: var(--primary-light);
}

.table-action-btn.delete {
    background: rgba(214, 69, 69, 0.12);
    color: var(--danger);
}

.table-action-btn:hover {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .company-title {
        font-size: 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-panel {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }

    .hero-stat strong {
        font-size: 1.35rem;
    }

    #emailUserAddress {
        font-size: 1rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-section {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .modal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .bank-data-grid {
        grid-template-columns: 1fr;
    }
    
    .report-stats {
        grid-template-columns: 1fr;
    }

    .charts-status-banner {
        align-items: flex-start;
    }

    .youtube-overview-grid,
    .youtube-popular-layout {
        grid-template-columns: 1fr;
    }

    .charts-thumb-image {
        width: 96px;
        height: 54px;
    }

    .catalog-thumb-image {
        width: 96px;
        height: 54px;
    }

    .music-video-frame-wrap iframe {
        height: 260px;
    }
    
    .kurs-input-group {
        flex-direction: column;
    }
    
    .kurs-input, .form-control {
        width: 100%;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }

    .catalog-youtube-input-group {
        flex-direction: column;
    }

    .user-section {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   BUKTI PEMBAYARAN STYLES
   ============================================ */

/* Bukti cell in table */
.bukti-cell {
    text-align: center;
    vertical-align: middle;
}

/* Button to view bukti */
.btn-bukti-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #4caf50;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-bukti-view:hover {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Button to upload bukti */
.btn-bukti-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ff9800;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-bukti-upload:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

/* Bukti modal content */
.bukti-modal-content {
    max-width: 900px;
    width: 95%;
}

/* Bukti preview container */
.bukti-preview-container {
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Bukti not found state */
.bukti-not-found {
    text-align: center;
    color: #666;
}

.bukti-not-found .empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.bukti-not-found h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Bukti image */
#buktiImage {
    max-width: 100%;
    max-height: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Bukti PDF iframe */
#buktiPdf {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Upload bukti area */
#buktiUploadArea {
    border-color: #ff9800;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
}

#buktiUploadArea:hover,
#buktiUploadArea.dragover {
    border-color: #f57c00;
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .bukti-modal-content {
        max-width: 100%;
        padding: 20px;
    }

    #buktiPdf {
        height: 400px;
    }

    .btn-bukti-view,
    .btn-bukti-upload {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
