/* ============================================
   CODE AUDITOR - METALLIC GREEN & PURPLE THEME
   ============================================ */

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

:root {
    --color-green: #00ff41;
    --color-purple: #9d00ff;
    --color-dark: #0a0e27;
    --color-darker: #050810;
    --color-gray: #1a1f3a;
    --color-gray-light: #2d3456;
    --glow-green: 0 0 20px rgba(0, 255, 65, 0.6), 0 0 40px rgba(0, 255, 65, 0.3);
    --glow-purple: 0 0 20px rgba(157, 0, 255, 0.6), 0 0 40px rgba(157, 0, 255, 0.3);
    --glow-mixed: 0 0 20px rgba(0, 255, 65, 0.4), 0 0 20px rgba(157, 0, 255, 0.4);
    --transition: all 0.3s ease;
}

body {
    background: linear-gradient(135deg, var(--color-darker) 0%, #1a0033 50%, var(--color-dark) 100%);
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    min-height: 100vh;
}

.app-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

/* ============ HEADER - TALL BANNER WITH ANIMATIONS ============ */
.hero-banner {
    position: relative;
    margin-bottom: 30px;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(157, 0, 255, 0.05) 100%);
    /* Animated border with gradient fade */
    background-image: 
        linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(157, 0, 255, 0.05) 100%),
        linear-gradient(135deg, var(--color-green), var(--color-purple), var(--color-green));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(0, 255, 65, 0.6),
            0 0 60px rgba(157, 0, 255, 0.4),
            inset 0 0 30px rgba(0, 255, 65, 0.15);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(0, 255, 65, 0.8),
            0 0 80px rgba(157, 0, 255, 0.6),
            inset 0 0 50px rgba(157, 0, 255, 0.15);
    }
}

.banner-frame {
    position: relative;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    filter: brightness(1.1) contrast(1.05);
}

.banner-subtext {
    padding: 30px;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.15) 0%, rgba(157, 0, 255, 0.15) 100%);
    border-top: 2px solid;
    border-image: linear-gradient(90deg, var(--color-green), var(--color-purple)) 1;
    text-align: center;
    animation: fadeGlow 3s ease-in-out infinite;
}

@keyframes fadeGlow {
    0%, 100% {
        background: linear-gradient(90deg, rgba(0, 255, 65, 0.15) 0%, rgba(157, 0, 255, 0.15) 100%);
        text-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
    }
    50% {
        background: linear-gradient(90deg, rgba(0, 255, 65, 0.25) 0%, rgba(157, 0, 255, 0.25) 100%);
        text-shadow: 0 0 20px rgba(0, 255, 65, 0.8), 0 0 20px rgba(157, 0, 255, 0.6);
    }
}

.pulse-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--color-green);
    border-radius: 50%;
    margin-right: 10px;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 10px rgba(0, 255, 65, 0.8), 0 0 20px rgba(0, 255, 65, 0.4);
        transform: scale(1);
    }
    50% { 
        opacity: 0.6; 
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), 0 0 40px rgba(0, 255, 65, 0.2);
        transform: scale(1.2);
    }
}

.banner-subtext h1 {
    color: var(--color-green);
    font-size: 26px;
    margin-top: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    animation: glowText 2s ease-in-out infinite;
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 65, 0.6), 0 0 20px rgba(157, 0, 255, 0.3);
        color: var(--color-green);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 65, 0.8), 0 0 30px rgba(157, 0, 255, 0.5);
        color: #00ff85;
    }
}

/* ============ CARDS WITH ANIMATED BORDERS ============ */
.dashboard-card {
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    transition: var(--transition);
    animation: cardBorderGlow 3s ease-in-out infinite;
}

@keyframes cardBorderGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 255, 65, 0.3),
            0 0 20px rgba(157, 0, 255, 0.2),
            inset 0 0 20px rgba(0, 255, 65, 0.05);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(0, 255, 65, 0.4),
            0 0 35px rgba(157, 0, 255, 0.3),
            inset 0 0 30px rgba(157, 0, 255, 0.1);
    }
}

.dashboard-card:hover {
    box-shadow: 
        0 0 40px rgba(0, 255, 65, 0.5),
        0 0 40px rgba(157, 0, 255, 0.4),
        inset 0 0 30px rgba(0, 255, 65, 0.15);
}

.main-header-card {
    margin-bottom: 30px;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.title-group h2 {
    color: var(--color-green);
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.sub-tag {
    color: var(--color-purple);
    font-size: 0.8em;
    text-shadow: 0 0 10px rgba(157, 0, 255, 0.5);
}

.card-desc {
    color: #a0a0c0;
    font-size: 14px;
    line-height: 1.5;
}

.stats-badge {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), rgba(157, 0, 255, 0.15));
    border: 2px solid var(--color-green);
    border-radius: 8px;
    padding: 15px 25px;
    color: var(--color-green);
    font-weight: bold;
    animation: badgeGlow 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 65, 0.8), 0 0 30px rgba(157, 0, 255, 0.3);
    }
}

/* ============ WORKSPACE GRID ============ */
.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .workspace-grid {
        grid-template-columns: 1fr;
    }
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--color-green), var(--color-purple)) 1;
}

.panel-title {
    color: var(--color-green);
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

/* ============ INPUT PANEL ============ */
.panel-input {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.textarea-wrapper {
    height: 500px;
    position: relative;
}

.code-input {
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 16, 0.9);
    border: 2px solid var(--color-purple);
    border-radius: 8px;
    padding: 15px;
    color: var(--color-green);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    resize: none;
    box-shadow: 
        0 0 20px rgba(157, 0, 255, 0.2),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
    transition: var(--transition);
}

.code-input:focus {
    outline: none;
    box-shadow: 
        0 0 30px rgba(157, 0, 255, 0.4),
        0 0 30px rgba(0, 255, 65, 0.2),
        inset 0 0 20px rgba(0, 255, 65, 0.1);
    border-color: var(--color-green);
}

.code-input::placeholder {
    color: rgba(157, 0, 255, 0.4);
}

/* ============ CONTROL PANEL ============ */
.panel-controls {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.control-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.language-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-selector label {
    color: var(--color-purple);
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
}

.metallic-select {
    background: linear-gradient(135deg, rgba(20, 25, 50, 0.9) 0%, rgba(30, 15, 50, 0.9) 100%);
    border: 2px solid var(--color-green);
    border-radius: 6px;
    padding: 12px 15px;
    color: var(--color-green);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
    transition: var(--transition);
}

.metallic-select:hover,
.metallic-select:focus {
    border-color: var(--color-purple);
    box-shadow: 0 0 25px rgba(157, 0, 255, 0.6);
    outline: none;
}

.metallic-select option {
    background: var(--color-darker);
    color: var(--color-green);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-neon-purple,
.btn-neon-green,
.btn-metallic,
.btn-metallic-subtle {
    padding: 12px 20px;
    border: 2px solid;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-neon-purple {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.3) 0%, rgba(157, 0, 255, 0.1) 100%);
    border-color: var(--color-purple);
    color: var(--color-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.5);
    animation: purpleGlow 2s ease-in-out infinite;
}

@keyframes purpleGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(157, 0, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(157, 0, 255, 0.8);
    }
}

.btn-neon-purple:hover {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.5) 0%, rgba(157, 0, 255, 0.3) 100%);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.9);
}

.btn-neon-green {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.3) 0%, rgba(0, 255, 65, 0.1) 100%);
    border-color: var(--color-green);
    color: var(--color-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    animation: greenGlow 2s ease-in-out infinite;
}

@keyframes greenGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
    }
}

.btn-neon-green:hover {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.5) 0%, rgba(0, 255, 65, 0.3) 100%);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.9);
}

.btn-metallic {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.2) 0%, rgba(0, 255, 65, 0.2) 100%);
    border-color: var(--color-gray-light);
    color: #c0c0d0;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.2), 0 0 15px rgba(0, 255, 65, 0.1);
}

.btn-metallic:hover {
    border-color: var(--color-green);
    color: var(--color-green);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.5), 0 0 25px rgba(157, 0, 255, 0.3);
}

.btn-metallic-subtle {
    background: rgba(45, 52, 86, 0.5);
    border-color: var(--color-gray-light);
    color: #a0a0c0;
}

.btn-metallic-subtle:hover {
    background: rgba(45, 52, 86, 0.8);
    border-color: var(--color-green);
    color: var(--color-green);
}

.stats-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.stat-item {
    background: rgba(20, 25, 50, 0.6);
    border-left: 3px solid var(--color-green);
    padding: 12px 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: #a0a0c0;
    font-size: 12px;
    font-weight: bold;
}

.stat-value {
    color: var(--color-green);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* ============ PREVIEW PANEL ============ */
.panel-preview {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.preview-area {
    background: rgba(5, 8, 16, 0.9);
    border: 2px solid var(--color-green);
    border-radius: 8px;
    padding: 20px;
    height: 450px;
    overflow-y: auto;
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-green);
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.2),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
}

.preview-placeholder,
.findings-placeholder {
    color: rgba(0, 255, 65, 0.4);
    text-align: center;
    padding: 40px 20px;
}

/* ============ FINDINGS PANEL ============ */
.panel-findings {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.findings-console {
    background: rgba(5, 8, 16, 0.9);
    border: 2px solid var(--color-purple);
    border-radius: 8px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    font-size: 12px;
    color: #e0e0e0;
    box-shadow: 
        0 0 20px rgba(157, 0, 255, 0.2),
        inset 0 0 20px rgba(157, 0, 255, 0.05);
}

.findings-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--color-gray-light);
}

.findings-footer button {
    flex: 1;
}

/* ============ ISSUE STYLING ============ */
.issue-card {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.15) 0%, rgba(0, 255, 65, 0.05) 100%);
    border-left: 4px solid;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 12px;
    transition: var(--transition);
    animation: slideIn 0.3s ease forwards;
}

.issue-card.critical {
    border-left-color: #ff4444;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15) 0%, rgba(255, 0, 0, 0.05) 100%);
}

.issue-card.high {
    border-left-color: #ffaa00;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.15) 0%, rgba(255, 100, 0, 0.05) 100%);
}

.issue-card.medium {
    border-left-color: var(--color-purple);
}

.issue-card.low {
    border-left-color: var(--color-green);
}

.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.issue-title {
    font-weight: bold;
    color: #e0e0e0;
}

.issue-severity {
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.3);
}

.issue-severity.critical {
    color: #ff4444;
}

.issue-severity.high {
    color: #ffaa00;
}

.issue-severity.medium {
    color: var(--color-purple);
}

.issue-severity.low {
    color: var(--color-green);
}

.issue-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-bottom: 8px;
}

.issue-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.issue-description code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--color-green);
}

.issue-fix-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.3), rgba(0, 255, 65, 0.1));
    border: 1px solid var(--color-green);
    border-radius: 4px;
    color: var(--color-green);
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.issue-fix-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.5), rgba(0, 255, 65, 0.3));
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 25, 50, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-green), var(--color-purple));
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4), 0 0 15px rgba(157, 0, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-purple), var(--color-green));
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.6), 0 0 25px rgba(157, 0, 255, 0.5);
}

/* ============ ANIMATIONS ============ */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   J710 FINAL UPGRADE
   Metallic Purple + Neon Green / 2x2 Dashboard / Paywall
   ========================================================= */

:root {
    --j710-green: #00ff41;
    --j710-purple: #9d00ff;
    --j710-dark: #050507;
    --j710-panel: #e4eee8;
    --j710-surface: var(--j710-metal);
    --j710-metal:
        linear-gradient(
            135deg,
            #00ff41 0%,
            #083d18 18%,
            #b5ffc8 30%,
            #00ff41 42%,
            #101014 50%,
            #9d00ff 62%,
            #e6b5ff 74%,
            #5b008d 86%,
            #9d00ff 100%
        );
}

/* Remove text/overlay sitting in front of Joker logo */
.banner-subtext {
    display: none !important;
}

/* Strong metallic outer panel effect */
.dashboard-card {
    position: relative;
    /* Solid saturated window borders: green top/left, purple bottom/right. */
    border: 3px solid var(--j710-green) !important;
    border-right-color: var(--j710-purple) !important;
    border-bottom-color: var(--j710-purple) !important;
    border-image: none;
    background:
        var(--j710-surface) padding-box,
        var(--j710-metal) border-box !important;

    box-shadow:
        0 0 10px rgba(0, 255, 65, 0.30),
        0 0 22px rgba(157, 0, 255, 0.24),
        inset 0 0 18px rgba(0, 255, 65, 0.035),
        inset 0 0 24px rgba(157, 0, 255, 0.04);

    overflow: hidden;
}

.dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255,255,255,0.04) 35%,
            rgba(0,255,65,0.08) 46%,
            rgba(157,0,255,0.10) 54%,
            rgba(255,255,255,0.03) 65%,
            transparent 100%
        );

    opacity: 0.65;
}

/* True four-window dashboard */
.workspace-grid {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr) !important;

    grid-template-areas:
        "input controls"
        "preview findings" !important;

    gap: 22px !important;
    align-items: stretch;
}

.panel-input {
    grid-area: input !important;
}

.panel-controls {
    grid-area: controls !important;
}

.panel-preview {
    grid-area: preview !important;
}

.panel-findings {
    grid-area: findings !important;
}

.panel-input,
.panel-controls,
.panel-preview,
.panel-findings {
    grid-column: auto !important;
    grid-row: auto !important;

    min-width: 0;
    min-height: 430px;

    margin-bottom: 0 !important;
}

/* Access bar */
.license-access-card {
    margin: 20px 0;
    padding: 15px 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.license-access-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    font-family: monospace;
    letter-spacing: 0.08em;
}

.license-status {
    color: var(--j710-green);
    font-weight: 900;

    text-shadow:
        0 0 6px rgba(0,255,65,0.9),
        0 0 14px rgba(0,255,65,0.45);
}

.license-divider {
    color: var(--j710-purple);
}

.scan-remaining-text {
    color: #d9d9df;
}

#scansRemaining {
    color: var(--j710-green);
    font-size: 1.08rem;
}

.lifetime-button {
    white-space: nowrap;
}

/* Purchase reference */
.purchase-reference-panel {
    margin: 0 0 20px;
    padding: 13px 16px;

    border: 1px solid rgba(157,0,255,0.75);
    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            rgba(0,255,65,0.05),
            rgba(157,0,255,0.09)
        );

    box-shadow:
        0 0 15px rgba(157,0,255,0.18);

    color: #ddd;

    font-family: monospace;
}

.purchase-reference-panel code {
    display: inline-block;
    margin: 6px 10px;

    color: var(--j710-green);
    word-break: break-all;
}

/* Full-screen payment modal */
.license-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 22px;

    background:
        radial-gradient(
            circle at center,
            rgba(157,0,255,0.14),
            rgba(0,0,0,0.94) 65%
        );

    backdrop-filter: blur(10px);
}

.license-modal[hidden] {
    display: none !important;
}

body.license-modal-open {
    overflow: hidden;
}

.license-modal-card {
    position: relative;

    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;

    padding: 34px 30px 28px;

    text-align: center;

    color: #f5f5f5;

    border: 3px solid transparent;
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(5,5,8,0.99),
            rgba(14,7,20,0.99)
        ) padding-box,
        var(--j710-metal) border-box;

    box-shadow:
        0 0 15px rgba(0,255,65,0.60),
        0 0 35px rgba(157,0,255,0.50),
        0 0 75px rgba(157,0,255,0.18),
        inset 0 0 25px rgba(0,255,65,0.05);
}

.license-close {
    position: absolute;
    top: 10px;
    right: 14px;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(157,0,255,0.7);
    border-radius: 50%;

    background: #08080b;
    color: #fff;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 0 10px rgba(157,0,255,0.30);
}

.license-close:hover {
    color: var(--j710-green);

    border-color:
        var(--j710-green);
}

.license-skull {
    margin-bottom: 5px;

    color: var(--j710-green);

    font-size: 3rem;

    text-shadow:
        0 0 8px rgba(0,255,65,0.9),
        0 0 20px rgba(157,0,255,0.7);
}

.license-modal-card h2 {
    margin: 5px 0;

    color: #fff;

    font-size: clamp(1.8rem, 5vw, 2.5rem);
    letter-spacing: 0.10em;

    text-shadow:
        0 0 8px rgba(157,0,255,0.8);
}

.license-modal-subtitle {
    color: var(--j710-purple);

    font-family: monospace;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.license-price {
    margin: 17px 0 8px;

    color: var(--j710-green);

    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 1000;

    text-shadow:
        0 0 8px rgba(0,255,65,0.95),
        0 0 25px rgba(0,255,65,0.45);
}

.license-description {
    max-width: 430px;

    margin:
        0 auto
        17px;

    color: #c9c9d0;

    line-height: 1.55;
}

.license-feature-list {
    display: grid;
    gap: 7px;

    margin: 18px 0 24px;

    text-align: left;

    color: #e5e5e8;
}

.license-feature-list span {
    padding: 8px 11px;

    border-left:
        2px solid
        var(--j710-green);

    background:
        linear-gradient(
            90deg,
            rgba(0,255,65,0.07),
            rgba(157,0,255,0.035),
            transparent
        );
}

.paypal-container {
    min-height: 48px;
    margin-top: 14px;
}

.paypal-loading {
    color: #ccc;
}

.paypal-error {
    color: #ff4d6d;
}

.license-security-note {
    margin-top: 15px;

    color: #81818b;

    font-size: 0.76rem;
    line-height: 1.4;
}

/* Toast notifications */
.joker-license-toast {
    position: fixed;
    left: 50%;
    bottom: 25px;

    z-index: 100000;

    transform:
        translate(-50%, 30px);

    opacity: 0;

    max-width: calc(100vw - 30px);

    padding: 12px 18px;

    border:
        1px solid
        var(--j710-purple);

    border-radius: 7px;

    background: rgba(5,5,8,0.97);

    color: #fff;

    font-family: monospace;
    font-weight: 800;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

    box-shadow:
        0 0 15px rgba(157,0,255,0.40);
}

.joker-license-toast.visible {
    opacity: 1;

    transform:
        translate(-50%, 0);
}

.joker-license-toast.success {
    border-color:
        var(--j710-green);

    box-shadow:
        0 0 15px rgba(0,255,65,0.40);
}

.joker-license-toast.warning {
    border-color: #ffd000;
}

.joker-license-toast.error {
    border-color: #ff355e;
}

/* Metallic form focus */
.code-input:focus,
.metallic-select:focus {
    outline: none;

    box-shadow:
        0 0 0 1px rgba(0,255,65,0.65),
        0 0 14px rgba(0,255,65,0.22),
        0 0 22px rgba(157,0,255,0.16);
}

/* Responsive dashboard */
@media (max-width: 900px) {
    .workspace-grid {
        grid-template-columns:
            minmax(0, 1fr) !important;

        grid-template-areas:
            "input"
            "controls"
            "preview"
            "findings" !important;
    }

    .panel-input,
    .panel-controls,
    .panel-preview,
    .panel-findings {
        min-height: 350px;
    }

    .license-access-card {
        flex-direction: column;
        align-items: stretch;
    }

    .lifetime-button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .license-modal-card {
        padding:
            30px 18px
            22px;
    }

    .license-access-left {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* J710 FINAL UPGRADE END */

/* =========================================================
   J710 BANNER LOGO FIT FIX
   Show the complete existing badge without cropping
   ========================================================= */

.hero-banner {
    width: 100%;
    margin: 0 auto 22px;
    padding: 0;
}

.banner-frame {
    position: relative;

    width: 100%;
    height: clamp(420px, 48vw, 700px);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(157, 0, 255, 0.18),
            rgba(0, 255, 65, 0.08) 45%,
            rgba(3, 5, 9, 0.98) 78%
        );

    border: 3px solid transparent;
    border-radius: 18px;

    background-clip: padding-box;
}

.banner-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;

    box-shadow:
        inset 0 0 0 2px rgba(0, 255, 65, 0.8),
        inset 0 0 25px rgba(157, 0, 255, 0.25),
        0 0 20px rgba(0, 255, 65, 0.35),
        0 0 35px rgba(157, 0, 255, 0.25);
}

.hero-image {
    display: block;

    width: 100%;
    height: 100%;

    /* IMPORTANT: shows the WHOLE badge */
    object-fit: contain !important;
    object-position: center center !important;

    padding: 10px;

    filter:
        drop-shadow(0 0 10px rgba(0, 255, 65, 0.25))
        drop-shadow(0 0 18px rgba(157, 0, 255, 0.28));
}

/* Keep all old text overlays off the badge */
.banner-subtext {
    display: none !important;
}

@media (max-width: 900px) {
    .banner-frame {
        height: clamp(360px, 65vw, 560px);
    }
}

@media (max-width: 560px) {
    .banner-frame {
        height: 420px;
    }

    .hero-image {
        padding: 6px;
    }
}

/* J710 BANNER LOGO FIT FIX END */

/* Readable metallic surfaces; retain the green/purple frame and glow. */
.dashboard-card { color: #101615; }
.dashboard-card::before { opacity: .85; }
.dashboard-card > * { position: relative; }
.dashboard-card h2, .dashboard-card p, .dashboard-card span,
.dashboard-card label, .dashboard-card strong, .dashboard-card code {
    color: #101615;
    text-shadow: none;
}
.panel-title, .license-status { font-weight: 900; }
.code-input, .preview-area, .findings-console, .metallic-select, .stat-item {
    background: #fff;
    color: #101615;
    font-weight: 700;
}
.metallic-select option { background: #edf4ef; color: #101615; }
.code-input::placeholder { color: #35433b; opacity: 1; }
.preview-area { white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-line-number { color: #642589; }
.issue-description { overflow-wrap: anywhere; }
.issue-severity { color: #161019; }
.dashboard-card button, .issue-fix-btn {
    color: #101615;
    background: linear-gradient(120deg, #93efa8, #f4fff7 43%, #d9b1f2 72%, #b27bda);
    font-weight: 900;
}
.dashboard-card .btn-neon-purple {
    background: linear-gradient(120deg, #bf8de4, #f4e5ff 45%, #a977d6);
}
button:disabled { opacity: .65; cursor: not-allowed; }
.repair-note { font-size: 12px; line-height: 1.5; }
.paypal-container { background: #fff; border-radius: 8px; padding: 16px; }
.paypal-loading { color: #26332c; }
.paypal-error { color: #9a1534; margin-bottom: 12px; }
.license-modal-subtitle { color: #d5a5ff; }
.license-security-note { color: #b8b8c3; }
@media (max-width: 560px) {
    .app-container { padding: 12px; }
    .dashboard-card { padding: 16px; }
    .card-header-flex { flex-direction: column; align-items: stretch; }
    .action-buttons { grid-template-columns: 1fr; }
    .findings-footer { flex-wrap: wrap; }
    .issue-header { flex-wrap: wrap; gap: 8px; }
}

/* Metallic window frames with white reading surfaces and black text. */
.dashboard-card .panel-header,
.dashboard-card .title-group,
.dashboard-card .license-access-left,
.dashboard-card .language-selector label,
.dashboard-card .repair-note,
.dashboard-card .stats-badge {
    background: #fff;
    color: #101615;
    border-radius: 6px;
    padding: 10px 12px;
}
.dashboard-card .panel-header { margin-bottom: 20px; }
.dashboard-card .issue-location,
.dashboard-card .issue-description { color: #101615; }
.dashboard-card .issue-description code { background: #fff; }
.dashboard-card .preview-placeholder,
.dashboard-card .findings-placeholder { color: #35433b; }
