@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


:root {
    --bg-primary: #000000;
    --bg-card: #0a0a0a;
    --bg-card-hover: #111111;
    --bg-input: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent: #A855F7;
    --accent-dim: rgba(168, 85, 247, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.06);
    --sidebar-width: 260px;
    --font-mono: 'JetBrains Mono', monospace;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    background: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    overflow: hidden;
    line-height: 1.5;
}

input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

/* Main App Container */
.main-app {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}


.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
    pointer-events: none;
}

.bg-gradient,
.bg-grid,
.bg-vignette {
    display: none;
}


.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 10;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo img {
    width: 28px;
    height: 28px;
}

.sidebar-logo-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 12px;
    margin-bottom: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 2px;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-subtle);
}

.nav-item i {
    width: 18px;
    font-size: 14px;
    opacity: 0.6;
    text-align: center;
}

.nav-item.active i,
.nav-item:hover i {
    opacity: 1;
    color: var(--accent);
}

.nav-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.nav-item.active svg,
.nav-item:hover svg {
    opacity: 1;
}

.nav-item-badge {
    margin-left: auto;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-subtle);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    transition: all 0.15s ease;
}

.user-card:hover {
    border-color: var(--border-subtle);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--accent-dim);
    border: 1px solid var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-plan {
    font-size: 11px;
    color: var(--text-muted);
}

.logout-btn {
    padding: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.logout-btn:hover {
    background: rgba(255, 100, 100, 0.1);
    color: #ff6666;
}

.logout-btn svg {
    width: 16px;
    height: 16px;
}


.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-primary);
}

.content-header {
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
}

.page-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
}

.mobile-close-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-close-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}


.page-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.page-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reset-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.reset-timer svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.reset-timer strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.header-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page {
    display: none;
    width: 100%;
    max-width: 1000px;
}

.page.active {
    display: block;
}


.chart-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.chart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.chart-panel-title {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.chart-panel-value {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-panel-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent);
    margin-top: 4px;
}

.chart-time-selector {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 8px;
}

.time-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.time-btn:hover {
    color: var(--text-primary);
}

.time-btn.active {
    background: var(--accent);
    color: #000;
}

.chart-container {
    height: 200px;
    margin-bottom: 16px;
}

.chart-legend {
    display: flex;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.legend-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.stats-row-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card-enhanced {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.15s ease;
}

.stat-card-enhanced:hover {
    border-color: var(--border-subtle);
}

.stat-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stat-icon-small {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-small svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.stat-label-small {
    font-size: 12px;
    color: var(--text-muted);
}

.stat-value-large {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 32px;
}

.mini-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.15s ease;
}

.mini-bar.active {
    background: var(--accent);
}

.stat-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.stat-progress-label {
    font-size: 11px;
    color: var(--text-muted);
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent);
}

.db-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.db-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.db-panel-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.db-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.db-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.db-stat-item {
    text-align: center;
}

.db-stat-number {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.db-stat-name {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.db-stat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.db-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

.home-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quick-actions-panel,
.plan-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 24px;
}

.panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

.quick-action-btn i {
    color: var(--accent);
    font-size: 14px;
}

.plan-display {
    text-align: center;
}

.plan-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.plan-features {
    margin-bottom: 16px;
}

.plan-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 0;
}

.plan-feature svg {
    color: var(--accent);
}

.upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.upgrade-btn:hover {
    filter: brightness(1.1);
}


.search-container {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    width: 100%;
    transition: border-color 0.2s ease;
}

.search-container:focus-within {
    border-color: var(--accent);
}

.search-header {
    margin-bottom: 24px;
    text-align: center;
}

.search-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.search-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.search-type-selector {
    flex-shrink: 0;
}

.search-type-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.search-type-select:focus {
    border-color: var(--accent);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px 16px 14px 48px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.15s ease;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.search-btn {
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.search-btn:hover {
    filter: brightness(1.1);
}

.search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.search-btn .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.search-btn.loading .btn-text {
    display: none;
}

.search-btn.loading .spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.results-container {
    width: 100%;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.results-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.results-count strong {
    color: var(--accent);
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.15s ease;
}

.result-card:hover {
    border-color: var(--border-subtle);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.result-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.result-date {
    font-size: 12px;
    color: var(--text-muted);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.result-field {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.result-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.result-value {
    font-size: 13px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    word-break: break-all;
}

.result-value.password {
    color: var(--accent);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}


.support-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ticket-list {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 24px;
}

.ticket-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ticket-item:hover {
    border-color: var(--border-subtle);
}

.ticket-item.active {
    border-color: var(--accent);
}

.ticket-subject {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ticket-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-status.open {
    background: var(--accent-dim);
    color: var(--accent);
}

.ticket-status.closed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 28px;
    max-width: 480px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.modal-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.modal-btn.primary {
    background: var(--accent);
    color: #000;
    border: none;
}

.modal-btn.primary:hover {
    filter: brightness(1.1);
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 14px 18px;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-color: var(--accent);
}

.toast.error {
    border-color: #ff6b6b;
}

.toast-icon {
    width: 20px;
    height: 20px;
}

.toast.success .toast-icon {
    color: var(--accent);
}

.toast.error .toast-icon {
    color: #ff6b6b;
}

.toast-message {
    font-size: 13px;
    color: var(--text-primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.banned-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.banned-overlay.hidden {
    display: none;
}

.banned-content {
    text-align: center;
    max-width: 400px;
    padding: 40px;
}

.banned-icon {
    width: 64px;
    height: 64px;
    color: #ff6b6b;
    margin-bottom: 24px;
}

.banned-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.banned-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.banned-btn {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.banned-btn:hover {
    filter: brightness(1.1);
}


.pricing-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pricing-card-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.15s ease;
}

.pricing-card-dashboard:hover {
    border-color: var(--border-subtle);
}

.pricing-card-dashboard.featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-card-dashboard.featured::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
}


@media (max-width: 1024px) {
    .stats-row-enhanced {
        grid-template-columns: 1fr 1fr;
    }

    .db-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-bottom-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -100%;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .sidebar.open {
        left: 0;
    }

    .mobile-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .content-header {
        padding: 16px 20px;
    }

    .header-badge {
        display: none;
    }

    .content-area {
        padding: 20px;
    }

    .stats-row-enhanced {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .search-btn {
        justify-content: center;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .support-container {
        grid-template-columns: 1fr;
    }

    .pricing-grid-dashboard {
        grid-template-columns: 1fr;
    }
}



.idleakcheck-form {
    display: block;
    max-width: none;
}

.idleakcheck-form-container {
    width: 100%;
}

.form-section {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: 12px;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.form-section-title svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.form-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.form-grid:last-child {
    margin-bottom: 0;
}

.form-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.form-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.form-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.input-group {
    position: relative;
}

.input-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.input-group .search-input {
    padding-left: 42px;
}

.search-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.construction-item {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.construction-item::after {
    content: 'Soon';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.main-app {
    display: flex;
    width: 100%;
    height: 100%;
}

.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.create-ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.create-ticket-btn:hover {
    filter: brightness(1.1);
}

.create-ticket-btn svg {
    width: 16px;
    height: 16px;
}

.ticket-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 24px;
}

.ticket-messages {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.ticket-message {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 12px;
}

.ticket-message.admin {
    background: var(--accent-dim);
    border-left: 3px solid var(--accent);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
}

.message-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reply-form {
    display: flex;
    gap: 12px;
}

.reply-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    resize: none;
}

.reply-input:focus {
    outline: none;
    border-color: var(--accent);
}

.reply-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.reply-btn:hover {
    filter: brightness(1.1);
}

.results-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.results-loading .spinner {
    display: block;
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--accent);
    margin-bottom: 16px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.no-results h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.error-message {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copy-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.copy-btn.copied {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.stat-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

@media (max-width: 768px) {

    .form-grid.two-col,
    .form-grid.three-col,
    .form-grid.four-col {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


.construction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.construction-overlay.active {
    opacity: 1;
    visibility: visible;
}

.construction-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.2s ease;
}

.construction-overlay.active .construction-modal {
    transform: scale(1);
}

.construction-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.construction-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.construction-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.construction-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.construction-btn:hover {
    filter: brightness(1.1);
}


.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-card);
}

.results-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.results-actions {
    display: flex;
    gap: 8px;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.export-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--accent);
}

.export-btn svg {
    width: 14px;
    height: 14px;
}

.results-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.results-container.show {
    display: block;
}


.stealer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.15s ease;
}

.stealer-card:hover {
    border-color: var(--border-subtle);
}

.stealer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.stealer-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stealer-icon svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.stealer-source {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stealer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.stealer-field {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px;
    padding-right: 36px;
}

.stealer-field:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stealer-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stealer-value {
    font-size: 13px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    word-break: break-all;
    line-height: 1.4;
}

.stealer-value.blurred {
    filter: blur(5px);
    user-select: none;
    color: var(--text-muted);
    position: relative;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.stealer-value.blurred::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: transparent;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.stealer-value.blurred:hover {
    filter: blur(3px);
}

.stealer-value.blurred:hover::after {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Unlock overlay for blurred values */
.blur-unlock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
}

.stealer-field:hover .blur-unlock-overlay,
.result-field:hover .blur-unlock-overlay {
    opacity: 1;
    visibility: visible;
}

.blur-unlock-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent);
    color: #000;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.blur-unlock-content:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.blur-unlock-content i {
    font-size: 11px;
}

.copy-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s ease;
    border-radius: 4px;
}

.copy-icon:hover {
    color: var(--accent);
    background: rgba(164, 230, 55, 0.1);
}

.copy-icon.copied {
    color: var(--accent);
}

.copy-icon svg {
    width: 14px;
    height: 14px;
}


.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.15s ease;
}

.platform-card:hover {
    border-color: var(--border-subtle);
}

.platform-card.found {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-info {
    flex: 1;
    min-width: 0;
}

.platform-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.platform-status {
    font-size: 12px;
    color: var(--text-muted);
}

.platform-status.found {
    color: var(--accent);
}

.platform-field {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: 8px;
}

.field-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.field-value {
    font-size: 12px;
    color: var(--text-primary);
    font-family: var(--font-mono);
}


.lazy-load-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 12px;
}

.lazy-load-indicator .spinner {
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.lazy-load-indicator p {
    font-size: 13px;
    color: var(--text-muted);
}

.lazy-load-info {
    text-align: center;
    padding: 16px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-card);
    margin-top: 16px;
}


.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-results-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
}

.no-results h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.no-results p {
    font-size: 14px;
    color: var(--text-muted);
}


.shodan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 12px;
}

.shodan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.shodan-ip {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.shodan-tag {
    background: var(--accent-dim);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.shodan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.shodan-field {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px;
}

.shodan-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.shodan-value {
    font-size: 13px;
    color: var(--text-primary);
}


.idleak-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 12px;
}

.idleak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}


.snusbase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 12px;
}

.snusbase-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.snusbase-source {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}


.turnstile-modal-overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.turnstile-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
}

.turnstile-modal h3 {
    color: var(--text-primary);
}

.turnstile-modal p {
    color: var(--text-muted);
}

.turnstile-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.turnstile-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}


.idleakcheck-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.15s ease;
}

.idleakcheck-result-card:hover {
    border-color: var(--border-subtle);
}

.idleakcheck-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-card);
}

.idleakcheck-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.idleakcheck-icon i {
    font-size: 18px;
    color: var(--accent);
}

.idleakcheck-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.idleakcheck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.idleakcheck-field {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 14px 16px;
    position: relative;
}

.idleakcheck-field:hover {
    background: rgba(255, 255, 255, 0.05);
}

.idleakcheck-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.idleakcheck-value {
    font-size: 14px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    word-break: break-word;
    line-height: 1.5;
}


.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 800px;
    }
}

@media (max-width: 760px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 520px;
    }

    .pricing-card {
        padding: 26px;
        border-radius: 16px;
    }

    .pricing-price {
        font-size: 36px;
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .pricing-price .price-discounted {
        font-size: 36px;
    }

    .pricing-price .price-original {
        font-size: 14px;
    }

    .pricing-price .promo-chip {
        padding: 4px 10px;
        font-size: 10px;
        margin-top: 2px;
    }

    .pricing-card[data-discounted="true"] .price-stack {
        gap: 6px;
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.2s ease;
    text-align: left;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.plan-pro {
    border-color: var(--accent);
    position: relative;
    background: var(--bg-card);
}

.pricing-card.plan-pro::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 50%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

.pricing-card.plan-pro::after {
    content: none;
}

.pricing-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: none;
}

.pricing-price {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    row-gap: 4px;
    min-height: 48px;
    position: relative;
    transition: all 0.2s ease;
}

.pricing-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-stack {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: nowrap;
    transition: all 0.2s ease;
}

.pricing-price .price-original {
    font-size: 18px;
    color: #6b7280;
    position: relative;
    text-decoration: line-through;
    opacity: 0.7;
    transition: opacity 0.2s ease, font-size 0.2s ease;
    order: 1;
}

.pricing-card[data-discounted="true"] .price-original {
    opacity: 0.85;
}

.price-original::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: 55%;
    height: 2px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.7), rgba(239, 68, 68, 0.2));
    border-radius: 1px;
}

.pricing-price .price-discounted {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    order: 2;
}

.pricing-price .price-period {
    font-size: 14px;
    color: var(--text-muted);
    order: 3;
    flex-shrink: 0;
}

.pricing-card[data-discounted="false"] .price-original {
    display: none;
}

.pricing-card[data-discounted="false"] .price-discounted {
    font-size: 40px;
    font-weight: 600;
}

.pricing-card[data-discounted="true"] .price-discounted {
    color: #34d399;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.pricing-card[data-discounted="true"] .price-stack {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
}

.promo-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    letter-spacing: 0.3px;
    margin-left: 0;
    white-space: nowrap;
    flex-shrink: 0;
    animation: promoChipAppear 0.3s ease-out;
    order: 4;
}

@keyframes promoChipAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.pricing-price .promo-chip {
    font-size: 11px;
    color: #10b981;
    margin-top: 0;
}

.pricing-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: none;
}

.pricing-features svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pricing-card .pricing-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.pricing-card .pricing-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-card.plan-pro .pricing-btn {
    background: var(--accent);
    color: #000;
    border: none;
}

.pricing-card.plan-pro .pricing-btn:hover {
    filter: brightness(1.1);
}

.card-payment-banner {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 32px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-payment-banner:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.card-payment-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-payment-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-payment-icon i {
    font-size: 20px;
    color: var(--accent);
}

.card-payment-text {
    flex: 1;
}

.card-payment-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.card-payment-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.card-payment-arrow {
    color: var(--accent);
    font-size: 16px;
}


.support-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.support-options {
    width: 100%;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.support-option:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.support-option-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-option-icon i {
    font-size: 22px;
    color: var(--accent);
}

.support-option.discord .support-option-icon {
    background: rgba(88, 101, 242, 0.15);
}

.support-option.discord .support-option-icon i {
    color: #5865f2;
}

.support-option-content {
    flex: 1;
}

.support-option-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.support-option-content p {
    font-size: 13px;
    color: var(--text-muted);
}

.support-option-arrow {
    color: var(--text-muted);
    font-size: 14px;
    transition: transform 0.2s ease;
}

.support-option:hover .support-option-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.support-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.ticket-count-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.create-ticket-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-left: auto;
}

.create-ticket-btn:hover {
    filter: brightness(1.1);
}

.create-ticket-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ticket-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ticket-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ticket-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.ticket-tab.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ticket-item:hover {
    border-color: var(--border-subtle);
}

.ticket-item.unread {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.08);
}

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.ticket-status-dot.open {
    background: var(--accent);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.ticket-status-dot.closed {
    background: rgba(255, 255, 255, 0.3);
}

.ticket-info {
    flex: 1;
    min-width: 0;
}

.ticket-subject {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.ticket-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}

.ticket-status.open {
    background: var(--accent-dim);
    color: var(--accent);
}

.ticket-status.closed {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.ticket-status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.ticket-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-id {
    font-family: var(--font-mono);
}

.ticket-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.ticket-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.tickets-loading {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.tickets-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
    transition: all 0.2s ease;
}

.tickets-empty svg {
    width: 120px;
    height: 120px;
    color: var(--text-muted);
    opacity: 0.15;
    margin-bottom: 24px;
}

.tickets-empty p {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .support-container {
        grid-template-columns: 1fr;
    }
}

.tickets-loading .spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

.ticket-chat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    margin-bottom: 20px;
}

.chat-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.15s ease;
}

.chat-back-btn:hover {
    color: var(--text-primary);
}

.chat-ticket-info {
    flex: 1;
}

.chat-ticket-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.chat-ticket-id {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.chat-ticket-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--accent-dim);
    color: var(--accent);
}

.ticket-chat-messages {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.support-chat-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.chat-message {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    max-width: 85%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.05);
    margin-left: auto;
}

.chat-message.admin {
    background: var(--accent-dim);
    border-left: 3px solid var(--accent);
}

.chat-message-bubble {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

.chat-message-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.chat-message-author {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.chat-message.admin .chat-message-author {
    color: var(--accent);
}

.chat-message-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

.chat-message-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

.ticket-chat-input {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 12px 14px;
}

.ticket-chat-input textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: none;
    min-height: 40px;
    outline: none;
}

.ticket-chat-input.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.send-message-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.send-message-btn:hover {
    filter: brightness(1.1);
}

.send-message-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ticket-chat-form {
    display: flex;
    gap: 12px;
}

.chat-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    resize: none;
    min-height: 48px;
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent);
}

.chat-send-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-send-btn:hover {
    filter: brightness(1.1);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bulk-textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    font-family: var(--font-mono);
    color: var(--text-primary);
    resize: vertical;
    margin-bottom: 12px;
}

.bulk-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.bulk-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bulk-actions {
    display: flex;
    justify-content: center;
}

.bulk-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bulk-download-btn:hover {
    filter: brightness(1.1);
}

.bulk-download-btn svg {
    width: 18px;
    height: 18px;
}

.bulk-progress {
    height: 6px;
    background: var(--border-card);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 16px;
}

.bulk-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.enterprise-only-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.enterprise-only-badge svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .support-header {
        flex-wrap: wrap;
    }

    .create-ticket-btn {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .ticket-chat-header {
        flex-wrap: wrap;
    }
}

/* ========================================
   MOBILE RESPONSIVE STYLES - REWRITTEN
======================================== */

/* Mobile Menu Button - hidden by default, shown on mobile */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 12px;
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
}

/* Mobile Sidebar Overlay - controlled by JS inline styles */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Tablet Styles */
@media (max-width: 900px) {
    .stats-row-enhanced {
        grid-template-columns: 1fr 1fr;
    }

    .db-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-bottom-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile Styles - 768px and below */
@media (max-width: 768px) {

    /* BODY: Break flex, prevent horizontal scroll */
    body {
        display: block !important;
        overflow-x: hidden !important;
    }

    /* MOBILE MENU BUTTON: Show it */
    .mobile-menu-btn {
        display: flex !important;
    }

    /* OVERLAY: Position it (opacity/visibility controlled by JS) */
    .mobile-sidebar-overlay {
        display: block !important;
    }

    /* SIDEBAR: Fixed position, starts off-screen (left controlled by JS) */
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -300px;
        width: 280px !important;
        height: 100% !important;
        height: 100dvh !important;
        z-index: 9999 !important;
        background: #0a0a0a !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: left 0.25s ease !important;
        overflow-y: auto !important;
    }

    /* MAIN CONTENT: Full width */
    .main-content {
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* Header adjustments */
    .content-header {
        padding: 12px 16px;
    }

    .page-header {
        gap: 8px;
    }

    .page-title {
        font-size: 16px;
    }

    .page-subtitle {
        font-size: 11px;
    }

    .page-icon {
        display: none;
    }

    .header-right {
        display: none;
    }

    /* Content area */
    .content-area {
        padding: 16px;
    }

    /* Search form */
    .search-form {
        flex-direction: column;
    }

    .search-type-selector,
    .search-type-select,
    .search-btn {
        width: 100%;
    }

    .search-btn {
        justify-content: center;
    }

    /* Stats */
    .stats-row-enhanced {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card-enhanced {
        padding: 16px;
    }

    /* DB Panel */
    .db-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .db-panel,
    .chart-panel {
        padding: 16px;
    }

    .chart-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Other panels */
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 24px;
    }

    .result-card,
    .stealer-card,
    .breachvip-card {
        padding: 16px;
    }

    .stealer-grid,
    .idleakcheck-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 16px;
        max-height: calc(100vh - 32px);
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .sidebar {
        width: 100% !important;
        left: -100% !important;
    }

    .content-area {
        padding: 12px;
    }

    .search-container {
        padding: 16px;
    }

    .search-header h2 {
        font-size: 18px;
    }

    .quick-actions-grid {
        gap: 8px;
    }

    .quick-action-btn {
        padding: 12px;
        font-size: 11px;
    }

    .quick-action-btn i {
        font-size: 16px;
    }

    .db-stats-row {
        grid-template-columns: 1fr;
    }

    .ticket-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ticket-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 140px;
    font-family: 'Inter', sans-serif;
}

.custom-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a0a0a;
    border: 1px solid var(--border-card);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 50px;
}

.custom-dropdown-trigger:hover {
    border-color: var(--border-subtle);
    background: #111;
}

.custom-dropdown.active .custom-dropdown-trigger {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.selected-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.custom-dropdown-trigger svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.custom-dropdown.active .custom-dropdown-trigger svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    /* Dropdown */
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 6px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.custom-dropdown.active .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-item.active {
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 500;
}

/* Rate Limit Notice */
.rate-limit-notice {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 0.3s ease;
}

.rate-limit-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
}

.rate-limit-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.rate-limit-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Discord Banner Styles */
.discord-banner-section {
    margin-bottom: 24px;
    animation: fadeIn 0.5s ease-out;
}

.discord-banner {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.05));
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.discord-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(88, 101, 242, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.discord-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.discord-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px -4px rgba(88, 101, 242, 0.3);
}

.discord-icon-wrapper i {
    font-size: 28px;
    color: #fff;
}

.discord-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-info h3::after {
    content: 'OFFICIAL';
    font-size: 10px;
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.discord-info p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 600px;
}

.discord-join-btn {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #5865f2;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.discord-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #f0f9ff;
}

.discord-join-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.discord-join-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .discord-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .discord-join-btn {
        width: 100%;
        justify-content: center;
    }

    .discord-info p {
        font-size: 13px;
    }
}

/* Combined Search Styles */
.combined-progress {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.combined-progress.hidden {
    display: none;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.progress-step.active {
    background: rgba(168, 85, 247, 0.05);
    border-color: var(--accent);
}

.progress-step.completed.success {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
}

.progress-step.completed.empty {
    opacity: 0.6;
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.step-status {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.step-status.success {
    color: #22c55e;
}

.step-status.error {
    color: #ef4444;
}

.step-status.running {
    color: var(--accent);
}

.combined-section {
    margin-bottom: 32px;
    animation: fadeIn 0.4s ease-out;
}

.combined-section-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.combined-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.combined-section-count {
    background: var(--accent-dim);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Combined Summary Card */
.combined-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    animation: fadeIn 0.4s ease-out;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.summary-item.success {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.1);
}

.summary-item.error {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.1);
}

.summary-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.summary-item.success .summary-name {
    color: var(--text-primary);
}

.summary-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.summary-item.success .summary-count {
    color: #22c55e;
}

.summary-item.error .summary-count {
    color: #ef4444;
}

/* Combined Search Result Sections */
.combined-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.combined-section-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s ease;
}

.combined-section-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.combined-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.combined-section-count {
    background: rgba(168, 85, 247, 0.15);
    /* Purple tint */
    color: #a855f7;
    /* Purple accent */
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.combined-section-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.combined-section-toggle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.combined-section-body {
    border-top: 1px solid var(--border-subtle);
    animation: slideDownSection 0.3s ease;
}

@keyframes slideDownSection {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.combined-section-content {
    padding: 20px;
}

/* Lazy Load Indicators */
.lazy-load-indicator {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    border-top: 1px solid var(--border-subtle);
}

.lazy-load-info {
    text-align: center;
    padding: 12px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

/* Export Dropdown */
.export-container {
    position: relative;
    margin-right: 12px;
}

.export-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.export-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.export-btn svg {
    width: 14px;
    height: 14px;
}

.export-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 4px;
    min-width: 140px;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.export-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.export-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.export-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.export-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* Export All Button for Combined Search */
.export-all-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-card);
}

.export-all-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #9333ea 100%);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.export-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.export-all-btn svg {
    width: 16px;
    height: 16px;
}

.export-all-container .export-menu {
    bottom: 100%;
    top: auto;
    margin-bottom: 6px;
    margin-top: 0;
}

/* Fix for dropdown clipping and corner radius */
.combined-section {
    overflow: visible !important;
}

.combined-section-header {
    border-radius: 12px;
    z-index: 5;
    position: relative;
}

.combined-section.expanded .combined-section-header {
    border-radius: 12px 12px 0 0;
}

/* Shodan Card Styling */
.shodan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 24px;
}

.shodan-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.shodan-flag {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.shodan-main-info {
    flex: 1;
}

.shodan-ip {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.shodan-ip.blurred {
    filter: blur(5px);
    user-select: none;
}

.shodan-location {
    font-size: 14px;
    color: var(--text-secondary);
}

.shodan-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shodan-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shodan-section-title svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.shodan-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.shodan-field {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    padding: 12px;
    border-radius: 8px;
}

.shodan-field-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.shodan-field-value {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.shodan-ports {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shodan-port {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.shodan-port-more {
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 8px;
}

.shodan-services {
    display: grid;
    gap: 12px;
}

.shodan-service {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shodan-service-port {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    min-width: 60px;
}

.shodan-service-name {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
}

.shodan-service-transport {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ========================================= */
/* RESPONSIVE - MOBILE (COMPLETE REWRITE)   */
/* ========================================= */

/* Mobile Overlay - used to dim background when sidebar is open */
.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mobile-sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Tablet adjustments */
@media screen and (max-width: 1024px) {
    .stats-row-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .db-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-bottom-row {
        grid-template-columns: 1fr;
    }

    .content-area {
        padding: 20px;
    }

    .content-header {
        padding: 16px 20px;
    }
}

/* Mobile - 768px and below */
@media screen and (max-width: 768px) {

    /* Show hamburger menu */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Sidebar - hidden off-screen by default */
    .sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100%;
        z-index: 999;
        background-color: #0d0d0d;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    /* Sidebar when shown */
    .sidebar.show {
        left: 0;
    }

    /* Main content full width */
    .main-content {
        width: 100%;
        margin-left: 0;
    }

    /* Hide header right section on mobile */
    .header-right {
        display: none;
    }

    .page-icon {
        width: 36px;
        height: 36px;
    }

    .page-icon svg {
        width: 16px;
        height: 16px;
    }

    .page-title {
        font-size: 16px;
    }

    .page-subtitle {
        font-size: 11px;
    }

    .stats-row-enhanced {
        grid-template-columns: 1fr;
    }

    .stat-value-large {
        font-size: 24px;
    }

    .chart-panel-value {
        font-size: 26px;
    }

    .chart-container {
        height: 160px;
    }

    .chart-panel-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .search-container {
        padding: 20px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .db-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .db-stat-number {
        font-size: 16px;
    }

    .db-stat-name {
        font-size: 10px;
    }

    .content-area {
        padding: 16px;
    }

    .content-header {
        padding: 12px 16px;
    }
}

/* Small mobile - 480px and below */
@media screen and (max-width: 480px) {
    .sidebar {
        width: 260px;
        left: -280px;
    }

    .sidebar.show {
        left: 0;
    }

    .page-header {
        gap: 10px;
    }

    .page-icon {
        display: none;
    }

    .page-title {
        font-size: 15px;
    }

    .chart-panel,
    .db-panel,
    .quick-actions-panel,
    .plan-info-panel {
        padding: 16px;
        border-radius: 12px;
    }

    .stat-card-enhanced {
        padding: 14px;
    }

    .stat-value-large {
        font-size: 22px;
    }

    .db-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stealer-card {
        padding: 14px;
    }

    .stealer-grid {
        gap: 10px;
    }

    .plan-name {
        font-size: 20px;
    }
}

/* Additional Fields Toggle */
.additional-fields {
    margin-top: 12px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 12px;
}

.additional-fields-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.additional-fields-toggle:hover {
    color: var(--text-primary);
}

.additional-fields-toggle i {
    transition: transform 0.2s ease;
    font-size: 10px;
}

.additional-fields-toggle.expanded i {
    transform: rotate(180deg);
}

.additional-fields-content {
    display: none;
    margin-top: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border-subtle);
}

.additional-fields-content.show {
    display: block;
}

.additional-fields-content .field {
    margin-bottom: 6px;
    font-size: 12px;
}

.additional-fields-content .field:last-child {
    margin-bottom: 0;
}

.additional-fields-content .label {
    color: var(--text-muted);
    font-weight: 500;
}

.additional-fields-content .value {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 11px;
}

/* Legal Page Styles */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.legal-card:hover {
    border-color: var(--accent-dim);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.1);
}

.legal-card h2 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.legal-card h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-card h3:first-child {
    margin-top: 0;
}

.legal-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.legal-warning strong {
    color: #ef4444;
    font-weight: 600;
}

.legal-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.legal-footer p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.legal-footer p:last-child {
    margin-bottom: 0;
}

.last-updated {
    font-style: italic;
}

/* Upgrade Banner Styles */
.upgrade-banner-section {
    margin-bottom: 20px;
}

.upgrade-banner {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.upgrade-banner::before {
    display: none;
}

.upgrade-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.upgrade-icon-wrapper {
    width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    flex-shrink: 0;
}

.upgrade-icon-wrapper i {
    color: var(--accent);
    font-size: 18px;
}

.upgrade-info h3 {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.upgrade-info p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.upgrade-btn {
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.upgrade-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.upgrade-btn i {
    transition: transform 0.15s ease;
    font-size: 12px;
}

.upgrade-btn:hover i {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .upgrade-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
        padding: 18px 20px;
    }

    .upgrade-btn {
        width: 100%;
        justify-content: center;
    }

    .upgrade-info p {
        font-size: 12px;
    }
}

/* Mobile close button visibility */
@media screen and (max-width: 768px) {
    .mobile-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Billing Toggle */
.pricing-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 0;
}

.billing-toggle-container {
    background: #0f1115;
    /* Dark background as seen in screenshot */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 4px;
    display: flex;
    position: relative;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.billing-toggle-option {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    /* Light gray for readability on dark */
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.billing-toggle-option:hover {
    color: #e5e7eb;
}



.billing-toggle-option.active {
    color: #000;
    font-weight: 600;
}

.billing-toggle-option.active:hover {
    color: #000;
}

.billing-toggle-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: var(--accent);
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
    width: 90px;
    /* Initial width matching option width, updated by JS */
}

.discount-badge {
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 100px;
}

/* Custom Banners - Unified Professional Design */
.custom-banner-section {
    margin: 24px 0;
    width: 100%;
}

.custom-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    transition: all 0.2s ease;
}

.custom-banner:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

/* Telegram / API Access variant - subtle accent */
.custom-banner.telegram {
    border-color: var(--border-card);
    background: var(--bg-card);
}

.custom-banner.telegram:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.custom-banner.telegram::before {
    display: none;
}

/* Promo banner variant - accent highlight */
.custom-banner.promo-banner {
    border-color: var(--accent);
    background: var(--bg-card);
    flex-wrap: wrap;
    box-shadow: 0 0 20px rgba(164, 230, 55, 0.08);
}

.custom-banner.promo-banner:hover {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(164, 230, 55, 0.12);
}

.custom-banner.promo-banner::before {
    display: none;
}

.promo-icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    box-shadow: none;
}

.promo-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.promo-input {
    min-width: 160px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-card);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    outline: none;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.promo-apply-btn {
    background: var(--accent);
    color: #000;
    border: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.promo-apply-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.promo-clear-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-card);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.promo-clear-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.promo-feedback {
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: left;
}

.promo-feedback:empty {
    display: none;
    margin: 0;
}

.promo-feedback.success {
    color: #34d399;
}

.promo-feedback.error {
    color: #f87171;
}

.custom-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.custom-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
}

.custom-banner.telegram .custom-banner-icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    box-shadow: none;
    border: 1px solid var(--border-card);
}

.custom-banner-info {
    flex: 1;
    min-width: 0;
}

.custom-banner-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.custom-banner-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.custom-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.custom-banner-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-banner.telegram .custom-banner-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}

.custom-banner.telegram .custom-banner-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .custom-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .custom-banner-content {
        flex-direction: column;
        gap: 12px;
    }

    .custom-banner-btn {
        width: 100%;
        justify-content: center;
    }

    .promo-controls {
        width: 100%;
        justify-content: center;
    }
}

/* Combined Search Service Selector */
.combined-service-selector {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-out;
}

.service-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.service-selector-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-selector-title svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.service-selector-actions {
    display: flex;
    gap: 8px;
}

.service-select-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-select-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.service-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.service-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.service-checkbox-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-subtle);
}

.service-checkbox-item:has(input:checked) {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.3);
}

.service-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-subtle);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.service-checkbox-item:has(input:checked) .service-checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.service-checkbox-item:has(input:checked) .service-checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateX(-1px) translateY(-1px);
}

.service-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.service-credit {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.service-checkbox-item:has(input:checked) .service-credit {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent);
}

.service-selector-footer {
    padding-top: 12px;
    border-top: 1px solid var(--border-card);
}

.credit-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.credit-estimate svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.credit-estimate strong {
    color: var(--accent);
    font-weight: 700;
}

/* Credits used counter badge in results */
.credits-used-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
}

.credits-used-badge svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .service-selector-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .service-selector-grid {
        grid-template-columns: 1fr;
    }

    .service-checkbox-item {
        padding: 10px 12px;
    }
}
