:root {
    --bg: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --panel: #111111;
    --panel-elevated: #161616;
    --border: #1a1a1a;
    --border-light: #222222;
    --accent: #71717a;
    --accent-hover: #52525b;
    --accent-bright: #a1a1aa;
    --warn: #d4d4d8;
    --danger: #dc2626;
    --success: #71717a;
    --text: #e4e4e7;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* Prevent horizontal overflow globally */
html, body {
    overflow: hidden; /* Lock the main window so scrolling happens in .view */
    max-width: 100vw;
    height: 100%; /* Ensure full height */
    width: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    display: flex;
    font-size: 13px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.main-container {
    display: flex;
    width: 100%;
    max-width: 100vw;
    height: 100%; /* Fill body height */
    min-width: 0;
    overflow: hidden;
    position: relative;
}

/* Sidebar */
.sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    background: var(--panel);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    height: 100%;
    overflow-y: auto; /* Internal sidebar scroll */
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    flex-shrink: 0;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-mono);
}

.brand-text {
    flex: 1;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.brand-tagline {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.nav-item:hover {
    background: var(--bg-secondary);
    color: var(--text);
}

.nav-item.active {
    background: rgba(113, 113, 122, 0.15);
    color: var(--accent-bright);
    border: 1px solid rgba(113, 113, 122, 0.3);
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Content Area */
.content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%; /* Crucial for child scroll */
}

.top-bar {
    height: 72px;
    width: 100%;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: var(--panel);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    box-sizing: border-box;
}

.top-bar-left {
    flex: 1;
}

.stat-group {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-mono);
}

.stat-accent .stat-value {
    color: var(--accent-bright);
}

.top-bar-right {
    display: flex;
    gap: 8px;
}

.header-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--border-light);
    color: var(--text);
}

/* Views - FIX: Added flex: 1 and height handling */
/* Views - FIX: Added flex: 1 and height handling */
.view {
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0; /* Critical for flex scrolling */
    overflow-y: auto; /* Enable scroll here */
    overflow-x: hidden;
    padding: 28px;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    flex: 1 1 0; /* Grow, shrink, 0 basis */
}

.view > * {
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.view > * > * {
    max-width: 100%;
    box-sizing: border-box;
}

.view.active {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.page-header {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Cards */
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: border-color 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.card:hover {
    border-color: var(--border-light);
}

.card-full-height {
    /* Adjusted for header (72px) + paddings */
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: -0.2px;
}

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

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-body {
    flex: 1;
}

.dashboard-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    transition: border-color 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.dashboard-card:hover {
    border-color: var(--border-light);
}

/* Inputs */
.search-container {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.search-input-group {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.search-input {
    flex: 1;
    min-width: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    transition: all 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-bright);
    background: var(--panel);
}

.search-input::placeholder {
    color: var(--text-dim);
}

.search-select,
.select-custom {
    min-width: 0;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 11px 36px 11px 15px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 42px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    max-width: 100%;
    box-sizing: border-box;
}

.search-select:focus,
.select-custom:focus {
    outline: none;
    border-color: var(--accent-bright);
    background-color: var(--panel);
    box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.1);
}

/* Buttons */
.btn-primary {
    background: var(--accent-bright);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(113, 113, 122, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-secondary:hover {
    background: var(--panel-elevated);
    border-color: var(--border-light);
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--panel-elevated);
    color: var(--text);
    border-color: var(--border-light);
}

.btn-icon-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.btn-icon-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

/* Key Display */
.key-display,
.key-display-inline {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.key-display input,
.key-display-inline input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.info-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-mono);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.stat-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}

.stat-box-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-box-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.stat-box-accent .stat-box-value {
    color: var(--accent-bright);
}

.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.admin-stat {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.admin-stat:hover {
    border-color: var(--border-light);
}

.admin-stat-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.admin-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
}

.admin-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.admin-section h4 {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-orders-list {
    max-height: 500px;
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item {
    background: var(--panel);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s ease;
}

.order-item:hover {
    border-color: var(--border);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.order-id {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-bright);
    font-weight: 600;
}

.order-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-processing {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.status-completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-cancelled {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.status-failed {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.order-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 12px;
}

.order-detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-label {
    color: var(--text-dim);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-value {
    color: var(--text);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 12px;
}

.order-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.order-actions .btn-sm {
    flex: 1;
}

.admin-activity-list {
    max-height: 300px;
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

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

.activity-key {
    font-family: var(--font-mono);
    color: var(--accent-bright);
    font-weight: 600;
    min-width: 120px;
}

.activity-endpoint {
    flex: 1;
    color: var(--text-muted);
    margin: 0 12px;
    font-family: var(--font-mono);
    font-size: 11px;
}

.activity-time {
    color: var(--text-dim);
    font-size: 11px;
}

.admin-keys-list {
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.key-list-item {
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--panel);
    transition: all 0.2s ease;
}

.key-list-item:hover {
    border-color: var(--border);
    background: var(--panel-elevated);
}

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

.key-list-item.banned {
    opacity: 0.6;
    border-color: var(--danger);
}

.key-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.key-list-key {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

.key-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.key-badge.banned {
    background: rgba(220, 38, 38, 0.2);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.key-list-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.no-data {
    text-align: center;
    padding: 24px;
    color: var(--text-dim);
    font-size: 13px;
}

.key-display-settings {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.key-display-settings input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
}

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

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-description {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
}

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

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .info-label {
    color: var(--text-muted);
    font-size: 13px;
}

.info-row .info-value {
    color: var(--text);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 13px;
}

.info-grid-settings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.settings-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.osint-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.key-display-modal {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.key-display-modal input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.key-info-modal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.key-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.key-info-item span:first-child {
    color: var(--text-muted);
}

.key-info-item span:last-child {
    color: var(--text);
    font-weight: 600;
    font-family: var(--font-mono);
}

.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    min-width: 300px;
    padding: 12px 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.toast-success {
    border-left: 3px solid var(--accent-bright);
}

.toast-error {
    border-left: 3px solid var(--danger);
}

.toast-info {
    border-left: 3px solid var(--accent);
}

/* Results */
.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
    gap: 16px;
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.result-card:hover {
    border-color: var(--border-light);
    background: var(--panel);
}

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

.result-card-actions {
    display: flex;
    gap: 4px;
}

.btn-icon-sm {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon-sm:hover {
    background: var(--panel-elevated);
    color: var(--text);
    border-color: var(--border-light);
}

.result-card h4 {
    color: var(--accent-bright);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.result-card pre {
    color: var(--text-muted);
    font-size: 12px;
    white-space: pre-wrap;
    overflow: auto;
    max-height: 300px;
    font-family: var(--font-mono);
    line-height: 1.6;
}

/* OSINT Options */
.osint-options {
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-bright);
    cursor: pointer;
}

/* OSINT Progress */
.osint-progress {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.progress-header {
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.progress-count {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: var(--panel);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-bright);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--panel);
    border-radius: 6px;
    font-size: 12px;
}

.progress-service {
    font-family: var(--font-mono);
    color: var(--text);
}

.progress-status {
    color: var(--text-dim);
}

.progress-item.processing .progress-status {
    color: var(--accent-bright);
}

/* Summary View */
.summary-container {
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.summary-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.summary-count {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

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

.summary-table table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table th {
    text-align: left;
    padding: 12px;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.summary-table td {
    padding: 12px;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.summary-table tr:hover {
    background: var(--bg-secondary);
}

.tag-src {
    display: inline-block;
    padding: 4px 8px;
    background: var(--panel);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.tag-type {
    font-weight: 600;
    color: var(--text-dim);
    font-size: 11px;
    text-transform: uppercase;
}

.tag-pass {
    color: var(--warn);
    font-family: var(--font-mono);
}

.tag-email {
    color: var(--text);
    font-weight: 600;
}

.tag-info {
    color: var(--text-muted);
    font-size: 12px;
}

.result-failed {
    opacity: 0.7;
}

.result-error {
    color: var(--danger);
    font-size: 12px;
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 4px;
}

.error-message {
    padding: 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    color: var(--danger);
}

/* Service Status */
.service-status-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.status-pill {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    background: var(--panel);
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill.online {
    border-color: rgba(113, 113, 122, 0.4);
    color: var(--accent-bright);
    background: rgba(113, 113, 122, 0.1);
}

/* Database Filters */
.db-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.db-filters-container {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.db-row {
    display: flex;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.db-row select {
    min-width: 160px;
    background: var(--panel);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.db-row input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 8px;
    font-size: 13px;
}

.db-row input:focus {
    outline: none;
}

.db-row button {
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.db-row button:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Map */
.map-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.map-container {
    flex: 1;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* Subscription */
.credit-type-selector {
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.radio-group {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--panel);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-label:hover {
    border-color: var(--border-light);
    background: var(--panel-elevated);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    background: var(--accent-bright);
    border-color: var(--accent-bright);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    opacity: 1;
}

.radio-label input[type="radio"]:checked ~ .radio-text {
    color: #fff;
}

.radio-label:has(input:checked) {
    border-color: var(--accent-bright);
    background: rgba(113, 113, 122, 0.1);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.radio-text {
    flex: 1;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.radio-title {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 3px;
}

.radio-subtitle {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
}

.pricing-section {
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.slider-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.slider-container {
    position: relative;
    margin-bottom: 24px;
}

.slider {
    width: 100%;
    height: 6px;
    background: var(--panel);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-bright);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(113, 113, 122, 0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-bright);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.credit-input {
    width: 120px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.credit-input:focus {
    outline: none;
    border-color: var(--accent-bright);
    background: var(--panel);
}

.credit-input::-webkit-inner-spin-button,
.credit-input::-webkit-outer-spin-button {
    opacity: 1;
    height: 20px;
}

.slider-info-left,
.slider-info-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slider-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
}

.slider-value-editable {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 140px;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.slider-value-editable:focus {
    outline: none;
    border-color: var(--accent-bright);
    background: var(--panel);
}

.slider-value-editable::-webkit-inner-spin-button,
.slider-value-editable::-webkit-outer-spin-button {
    opacity: 1;
    height: 24px;
}

.slider-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-bright);
    font-family: var(--font-mono);
}

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

.pack-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pack-card:hover,
.pack-card:active {
    border-color: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(113, 113, 122, 0.15);
}

.pack-card.pack-featured {
    border-color: var(--accent-bright);
    background: rgba(113, 113, 122, 0.1);
}

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

.pack-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-bright);
    font-family: var(--font-mono);
}

.pack-badge {
    font-size: 10px;
    padding: 4px 8px;
    background: var(--panel);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.pack-badge-featured {
    background: var(--accent-bright);
    color: #000;
    border-color: var(--accent-bright);
}

.pack-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pack-credits {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.pack-savings {
    font-size: 12px;
    color: var(--accent-bright);
    font-weight: 500;
}

/* API Docs */
.doc-section {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

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

.doc-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.doc-method {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--accent-bright);
    color: #000;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
}

.doc-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.code-block {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    overflow-x: auto;
}

.code-header {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.code-content {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text);
    white-space: pre-wrap;
    line-height: 1.6;
}

.doc-note {
    margin-top: 16px;
    padding: 12px;
    background: rgba(113, 113, 122, 0.1);
    border-left: 3px solid var(--accent-bright);
    border-radius: 4px;
    color: var(--text);
    font-size: 13px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 500px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-large {
    max-width: 700px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text);
}

.modal-body {
    padding: 24px;
}

.modal-description {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.profile-section {
    margin-bottom: 24px;
}

.profile-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* Responsive - Mobile & iOS */
@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }
    
    .results-container {
        grid-template-columns: 1fr;
    }
    
    .info-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        position: relative;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 10px;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--panel);
    }
    
    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        overflow-x: auto;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-item {
        padding: 8px 10px;
        font-size: 11px;
        white-space: nowrap;
        min-height: 40px;
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }
    
    .nav-item span {
        display: none;
    }
    
    .nav-icon {
        width: 16px;
        height: 16px;
    }
    
    .top-bar {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 10px;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 99;
        background: var(--bg);
    }
    
    .stat-group {
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .view {
        padding: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        min-height: 0;
        width: 100%;
    }
    
    .page-header {
        margin-bottom: 12px;
    }
    
    .page-header h1 {
        font-size: 18px;
    }
    
    .dashboard-grid {
        gap: 10px;
    }
    
    .admin-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .admin-stat {
        padding: 10px;
    }
    
    .admin-stat-value {
        font-size: 18px;
    }
    
    .key-list-details {
        flex-direction: column;
        gap: 6px;
    }
    
    .search-input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-input,
    .search-select {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .btn-search {
        width: 100%;
        min-height: 44px;
    }
    
    .packs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .pack-card {
        min-height: 80px;
        padding: 12px;
    }
    
    .pack-price {
        font-size: 18px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .slider-wrapper {
        padding: 12px;
    }
    
    .slider-info {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .slider-info-left,
    .slider-info-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .slider-value-editable {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px;
        min-height: 44px;
    }
    
    .slider-value {
        font-size: 18px;
    }
    
    .slider-price {
        font-size: 18px;
    }
    
    .slider-container {
        margin-bottom: 16px;
    }
    
    .payment-method-selector .radio-group {
        gap: 8px;
    }
    
    .credit-type-selector {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .radio-label {
        padding: 12px;
        min-height: 60px;
    }
    
    .pricing-section {
        margin-top: 16px;
    }
    
    .packs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .pack-card {
        padding: 12px;
        min-height: 80px;
    }
    
    /* Better mobile navigation */
    .brand {
        padding: 8px 10px 12px;
    }
    
    .brand-name {
        font-size: 14px;
    }
    
    .brand-tagline {
        font-size: 9px;
    }
    
    /* Better spacing on mobile */
    .page-header {
        margin-bottom: 12px;
    }
    
    .page-description {
        font-size: 11px;
    }
    
    /* Improve card readability */
    .card-body {
        padding: 12px;
    }
    
    /* Better button spacing */
    .btn-block {
        min-height: 48px;
        font-size: 14px;
    }
    
    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 10px;
        z-index: 10000;
    }
    
    .modal {
        max-width: 100%;
        width: 100%;
        margin: 0;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-large {
        max-width: 100%;
    }
    
    .modal-header {
        padding: 12px;
        position: sticky;
        top: 0;
        background: var(--panel);
        z-index: 1;
    }
    
    .modal-header h2 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .info-grid,
    .info-grid-settings {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .admin-keys-list,
    .admin-orders-list,
    .admin-activity-list {
        max-height: 300px;
    }
    
    .order-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn-sm {
        width: 100%;
    }
    
    .key-list-item > div:last-child {
        flex-direction: column;
        gap: 6px;
    }
    
    .key-list-item > div:last-child button {
        width: 100%;
        min-height: 44px;
    }
    
    /* Fix card spacing on mobile */
    .card {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .card-header {
        padding-bottom: 10px;
        margin-bottom: 12px;
    }
    
    /* Fix button sizes */
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-sm {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Fix admin section filters */
    .admin-section > div:first-child {
        flex-direction: column;
        gap: 8px;
    }
    
    .admin-section input,
    .admin-section select {
        width: 100%;
        font-size: 16px; /* Prevent zoom */
    }
    
    /* Fix header buttons */
    .header-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }
    
    /* Fix brand */
    .brand {
        padding: 0 10px 16px;
    }
    
    .brand-name {
        font-size: 14px;
    }
}

/* iOS Safari & Chrome specific fixes */
@supports (-webkit-touch-callout: none) {
    .search-input,
    .search-select,
    .db-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .modal-overlay {
        -webkit-overflow-scrolling: touch;
        position: fixed;
        overflow-y: auto;
    }
    
    .view {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix iOS Chrome viewport issues */
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
    }
    
    .main-container {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* Touch-friendly buttons for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .header-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-item {
        min-height: 44px;
    }
    
    .key-list-item > div:last-child button {
        min-height: 40px;
    }
}/ *    
   *   C o m p r e h e n s i v e   U I / U X   I m p r o v e m e n t s  
   *   A p p e n d   t h e s e   s t y l e s   t o   s t y l e s . c s s   f o r   b e t t e r   v i s u a l   c o n s i s t e n c y  
   * /  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       A P I   D O C S   I M P R O V E M E N T S  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 / *   T o n e   d o w n   t h e   b l u e   a c c e n t   * /  
 : r o o t   {  
         - - a c c e n t :   # 6 3 6 6 f 1 ;  
         / *   S o f t e r   i n d i g o   i n s t e a d   o f   b r i g h t   b l u e   * /  
         - - a c c e n t - b r i g h t :   # 8 1 8 c f 8 ;  
         / *   L e s s   h a r s h   * /  
         - - a c c e n t - d i m :   # 4 f 4 6 e 5 ;  
 }  
  
 . a p i - c r e d i t s - b l o c k   l i : : b e f o r e   {  
         c o n t e n t :   " â  ¸ " ;  
         / *   B e t t e r   b u l l e t   t h a n   a r r o w   * /  
 }  
  
 . a p i - c r e d i t s - b l o c k   a   {  
         c o l o r :   # a 7 8 b f a ;  
         / *   S o f t e r   p u r p l e   f o r   l i n k s   * /  
 }  
  
 . a p i - c r e d i t s - b l o c k   a : h o v e r   {  
         c o l o r :   # c 4 b 5 f d ;  
 }  
  
 / *   B e t t e r   c o d e   b l o c k s   f o r   A P I   d o c s   * /  
 . c o d e - b l o c k   {  
         b a c k g r o u n d :   # 1 e 1 e 2 e ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b o r d e r - r a d i u s :   8 p x ;  
         p a d d i n g :   1 6 p x ;  
         o v e r f l o w - x :   a u t o ;  
         f o n t - f a m i l y :   ' J e t B r a i n s   M o n o ' ,   m o n o s p a c e ;  
         f o n t - s i z e :   1 3 p x ;  
         l i n e - h e i g h t :   1 . 6 ;  
 }  
  
 . c o d e - b l o c k   c o d e   {  
         c o l o r :   # c d d 6 f 4 ;  
 }  
  
 . c o d e - h e a d e r   {  
         d i s p l a y :   b l o c k ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         f o n t - s i z e :   1 1 p x ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         l e t t e r - s p a c i n g :   0 . 5 p x ;  
         m a r g i n - b o t t o m :   8 p x ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       O S I N T   S E R V I C E   C A R D S   -   C O M P A C T   V E R S I O N  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . o s i n t - p r o g r e s s - e n h a n c e d   {  
         m a r g i n :   2 0 p x   0 ;  
         p a d d i n g :   1 6 p x ;  
 }  
  
 . s e r v i c e - s t a t u s - g r i d   {  
         g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( a u t o - f i l l ,   m i n m a x ( 2 0 0 p x ,   1 f r ) ) ;  
         / *   S m a l l e r   c a r d s   * /  
         g a p :   8 p x ;  
 }  
  
 . s e r v i c e - c a r d   {  
         p a d d i n g :   1 0 p x ;  
         f o n t - s i z e :   1 2 p x ;  
 }  
  
 . s e r v i c e - i c o n   {  
         f o n t - s i z e :   1 8 p x ;  
         w i d t h :   2 4 p x ;  
         h e i g h t :   2 4 p x ;  
 }  
  
 . s e r v i c e - n a m e   {  
         f o n t - s i z e :   1 2 p x ;  
         f o n t - w e i g h t :   6 0 0 ;  
 }  
  
 . s e r v i c e - s t a t u s   {  
         f o n t - s i z e :   1 0 p x ;  
         m a r g i n - t o p :   2 p x ;  
 }  
  
 . s e r v i c e - r e s u l t s   {  
         f o n t - s i z e :   1 0 p x ;  
         c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
         f o n t - w e i g h t :   6 0 0 ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       R E S U L T S   D I S P L A Y   -   C O D E   B L O C K S   W I T H   C O P Y   B U T T O N S  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . r e s u l t s - b l o c k   {  
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b o r d e r - r a d i u s :   8 p x ;  
         m a r g i n :   1 6 p x   0 ;  
         o v e r f l o w :   h i d d e n ;  
 }  
  
 . r e s u l t s - h e a d e r   {  
         d i s p l a y :   f l e x ;  
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;  
         a l i g n - i t e m s :   c e n t e r ;  
         p a d d i n g :   1 2 p x   1 6 p x ;  
         b a c k g r o u n d :   v a r ( - - p a n e l ) ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
 }  
  
 . r e s u l t s - h e a d e r   h 4   {  
         m a r g i n :   0 ;  
         f o n t - s i z e :   1 4 p x ;  
         f o n t - w e i g h t :   6 0 0 ;  
         c o l o r :   v a r ( - - t e x t ) ;  
 }  
  
 . r e s u l t s - b l o c k   p r e   {  
         m a r g i n :   0 ;  
         p a d d i n g :   1 6 p x ;  
         b a c k g r o u n d :   # 0 d 0 d 0 d ;  
         o v e r f l o w - x :   a u t o ;  
         m a x - h e i g h t :   5 0 0 p x ;  
         o v e r f l o w - y :   a u t o ;  
 }  
  
 . r e s u l t s - b l o c k   c o d e   {  
         f o n t - f a m i l y :   ' J e t B r a i n s   M o n o ' ,   m o n o s p a c e ;  
         f o n t - s i z e :   1 2 p x ;  
         l i n e - h e i g h t :   1 . 6 ;  
         c o l o r :   # 8 9 d c e b ;  
         / *   C y a n   f o r   J S O N   * /  
 }  
  
 / *   I n d i v i d u a l   s e r v i c e   r e s u l t   b l o c k s   * /  
 . s e r v i c e - r e s u l t - b l o c k   {  
         b a c k g r o u n d :   v a r ( - - p a n e l ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b o r d e r - r a d i u s :   8 p x ;  
         m a r g i n - b o t t o m :   1 2 p x ;  
         o v e r f l o w :   h i d d e n ;  
 }  
  
 . s e r v i c e - r e s u l t - h e a d e r   {  
         d i s p l a y :   f l e x ;  
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;  
         a l i g n - i t e m s :   c e n t e r ;  
         p a d d i n g :   1 0 p x   1 4 p x ;  
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         c u r s o r :   p o i n t e r ;  
 }  
  
 . s e r v i c e - r e s u l t - h e a d e r : h o v e r   {  
         b a c k g r o u n d :   r g b a ( 1 3 9 ,   9 2 ,   2 4 6 ,   0 . 1 ) ;  
 }  
  
 . s e r v i c e - r e s u l t - n a m e   {  
         f o n t - s i z e :   1 3 p x ;  
         f o n t - w e i g h t :   6 0 0 ;  
         c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
         t e x t - t r a n s f o r m :   c a p i t a l i z e ;  
 }  
  
 . s e r v i c e - r e s u l t - c o u n t   {  
         f o n t - s i z e :   1 1 p x ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         b a c k g r o u n d :   v a r ( - - b g ) ;  
         p a d d i n g :   3 p x   8 p x ;  
         b o r d e r - r a d i u s :   4 p x ;  
 }  
  
 . s e r v i c e - r e s u l t - b o d y   {  
         p a d d i n g :   0 ;  
         m a x - h e i g h t :   0 ;  
         o v e r f l o w :   h i d d e n ;  
         t r a n s i t i o n :   m a x - h e i g h t   0 . 3 s   e a s e ;  
 }  
  
 . s e r v i c e - r e s u l t - b o d y . e x p a n d e d   {  
         m a x - h e i g h t :   6 0 0 p x ;  
         o v e r f l o w - y :   a u t o ;  
 }  
  
 . s e r v i c e - r e s u l t - b o d y   p r e   {  
         m a r g i n :   0 ;  
         p a d d i n g :   1 4 p x ;  
         b a c k g r o u n d :   # 0 d 0 d 0 d ;  
 }  
  
 / *   C o p y   b u t t o n   s t y l i n g   * /  
 . b t n - c o p y   {  
         p a d d i n g :   4 p x   1 0 p x ;  
         f o n t - s i z e :   1 1 p x ;  
         b a c k g r o u n d :   v a r ( - - b g ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         b o r d e r - r a d i u s :   4 p x ;  
         c u r s o r :   p o i n t e r ;  
         t r a n s i t i o n :   a l l   0 . 2 s ;  
 }  
  
 . b t n - c o p y : h o v e r   {  
         b a c k g r o u n d :   v a r ( - - a c c e n t ) ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   v a r ( - - a c c e n t ) ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       M A P   R E S U L T S   S I D E B A R  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . m a p - r e s u l t s - s i d e b a r   {  
         p o s i t i o n :   a b s o l u t e ;  
         r i g h t :   2 0 p x ;  
         t o p :   2 0 p x ;  
         w i d t h :   3 2 0 p x ;  
         m a x - h e i g h t :   c a l c ( 1 0 0 %   -   4 0 p x ) ;  
         b a c k g r o u n d :   v a r ( - - p a n e l ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b o r d e r - r a d i u s :   1 2 p x ;  
         b o x - s h a d o w :   0   4 p x   2 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ;  
         o v e r f l o w - y :   a u t o ;  
         z - i n d e x :   1 0 ;  
 }  
  
 . m a p - r e s u l t s - p a n e l   h 4   {  
         m a r g i n :   0 ;  
         p a d d i n g :   1 6 p x ;  
         f o n t - s i z e :   1 5 p x ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
         b o r d e r - r a d i u s :   1 2 p x   1 2 p x   0   0 ;  
 }  
  
 . m a p - a d d r e s s   {  
         p a d d i n g :   1 2 p x   1 6 p x ;  
         f o n t - s i z e :   1 2 p x ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
 }  
  
 . m a p - r e s u l t s - l i s t   {  
         p a d d i n g :   1 2 p x ;  
 }  
  
 . m a p - r e s u l t - c a r d   {  
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b o r d e r - r a d i u s :   6 p x ;  
         p a d d i n g :   1 0 p x ;  
         m a r g i n - b o t t o m :   8 p x ;  
 }  
  
 . r e s u l t - n a m e   {  
         f o n t - w e i g h t :   6 0 0 ;  
         f o n t - s i z e :   1 3 p x ;  
         c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
         m a r g i n - b o t t o m :   6 p x ;  
 }  
  
 . r e s u l t - p h o n e   {  
         f o n t - s i z e :   1 1 p x ;  
         c o l o r :   v a r ( - - t e x t ) ;  
         m a r g i n - b o t t o m :   4 p x ;  
 }  
  
 . r e s u l t - i n f o   {  
         f o n t - s i z e :   1 1 p x ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         l i n e - h e i g h t :   1 . 5 ;  
         m a r g i n - b o t t o m :   6 p x ;  
 }  
  
 . r e s u l t - s o u r c e   {  
         f o n t - s i z e :   1 0 p x ;  
         c o l o r :   v a r ( - - t e x t - d i m ) ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         l e t t e r - s p a c i n g :   0 . 5 p x ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       P A Y M E N T   H I S T O R Y   S E C T I O N   ( S e t t i n g s )  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . p a y m e n t - h i s t o r y - s e c t i o n   {  
         m a r g i n - t o p :   2 4 p x ;  
 }  
  
 . p a y m e n t - t a b l e   {  
         w i d t h :   1 0 0 % ;  
         b o r d e r - c o l l a p s e :   c o l l a p s e ;  
         f o n t - s i z e :   1 2 p x ;  
 }  
  
 . p a y m e n t - t a b l e   t h e a d   {  
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
 }  
  
 . p a y m e n t - t a b l e   t h   {  
         t e x t - a l i g n :   l e f t ;  
         p a d d i n g :   1 0 p x ;  
         f o n t - w e i g h t :   6 0 0 ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         f o n t - s i z e :   1 1 p x ;  
         l e t t e r - s p a c i n g :   0 . 5 p x ;  
 }  
  
 . p a y m e n t - t a b l e   t d   {  
         p a d d i n g :   1 0 p x ;  
         b o r d e r - t o p :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
 }  
  
 . p a y m e n t - s t a t u s   {  
         d i s p l a y :   i n l i n e - b l o c k ;  
         p a d d i n g :   3 p x   8 p x ;  
         b o r d e r - r a d i u s :   3 p x ;  
         f o n t - s i z e :   1 0 p x ;  
         f o n t - w e i g h t :   6 0 0 ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
 }  
  
 . p a y m e n t - s t a t u s . s u c c e s s   {  
         b a c k g r o u n d :   r g b a ( 1 6 ,   1 8 5 ,   1 2 9 ,   0 . 1 5 ) ;  
         c o l o r :   # 1 0 b 9 8 1 ;  
 }  
  
 . p a y m e n t - s t a t u s . p e n d i n g   {  
         b a c k g r o u n d :   r g b a ( 2 5 1 ,   1 9 1 ,   3 6 ,   0 . 1 5 ) ;  
         c o l o r :   # f b b f 2 4 ;  
 }  
  
 . p a y m e n t - s t a t u s . f a i l e d ,  
 . p a y m e n t - s t a t u s . e x p i r e d   {  
         b a c k g r o u n d :   r g b a ( 2 3 9 ,   6 8 ,   6 8 ,   0 . 1 5 ) ;  
         c o l o r :   # e f 4 4 4 4 ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       T O S   M O D A L   ( A P I   K e y   C r e a t i o n )  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . t o s - c o n t a i n e r   {  
         b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b o r d e r - r a d i u s :   8 p x ;  
         p a d d i n g :   1 6 p x ;  
         m a r g i n - b o t t o m :   1 6 p x ;  
         m a x - h e i g h t :   2 0 0 p x ;  
         o v e r f l o w - y :   a u t o ;  
 }  
  
 . t o s - c o n t a i n e r   h 4   {  
         m a r g i n :   0   0   1 2 p x   0 ;  
         f o n t - s i z e :   1 4 p x ;  
         c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
 }  
  
 . t o s - c o n t a i n e r   p r e   {  
         f o n t - f a m i l y :   ' J e t B r a i n s   M o n o ' ,   m o n o s p a c e ;  
         f o n t - s i z e :   1 1 p x ;  
         l i n e - h e i g h t :   1 . 6 ;  
         c o l o r :   v a r ( - - t e x t ) ;  
         w h i t e - s p a c e :   p r e - w r a p ;  
         m a r g i n :   0 ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       M O B I L E   R E S P O N S I V E   I M P R O V E M E N T S  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   {  
         . s e r v i c e - s t a t u s - g r i d   {  
                 g r i d - t e m p l a t e - c o l u m n s :   1 f r ;  
         }  
  
         . m a p - r e s u l t s - s i d e b a r   {  
                 p o s i t i o n :   r e l a t i v e ;  
                 r i g h t :   0 ;  
                 t o p :   0 ;  
                 w i d t h :   1 0 0 % ;  
                 m a r g i n - t o p :   1 6 p x ;  
         }  
  
         . r e s u l t s - b l o c k   p r e   {  
                 f o n t - s i z e :   1 0 p x ;  
                 m a x - h e i g h t :   3 0 0 p x ;  
         }  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       C O L L A P S I B L E   S E R V I C E   R E S U L T S  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . s e r v i c e - c o l l a p s e - t o g g l e   {  
         b a c k g r o u n d :   n o n e ;  
         b o r d e r :   n o n e ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         f o n t - s i z e :   1 6 p x ;  
         c u r s o r :   p o i n t e r ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 2 s ;  
 }  
  
 . s e r v i c e - c o l l a p s e - t o g g l e . e x p a n d e d   {  
         t r a n s f o r m :   r o t a t e ( 9 0 d e g ) ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       L O A D I N G   &   E M P T Y   S T A T E S  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . l o a d i n g   {  
         t e x t - a l i g n :   c e n t e r ;  
         p a d d i n g :   4 0 p x ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         f o n t - s i z e :   1 4 p x ;  
 }  
  
 . l o a d i n g : : b e f o r e   {  
         c o n t e n t :   " " ;  
         d i s p l a y :   i n l i n e - b l o c k ;  
         w i d t h :   2 0 p x ;  
         h e i g h t :   2 0 p x ;  
         b o r d e r :   2 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         b o r d e r - t o p - c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
         b o r d e r - r a d i u s :   5 0 % ;  
         a n i m a t i o n :   s p i n   0 . 6 s   l i n e a r   i n f i n i t e ;  
         m a r g i n - r i g h t :   8 p x ;  
         v e r t i c a l - a l i g n :   m i d d l e ;  
 }  
  
 . n o - r e s u l t s   {  
         t e x t - a l i g n :   c e n t e r ;  
         p a d d i n g :   4 0 p x ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         f o n t - s i z e :   1 4 p x ;  
 }  
  
 . e r r o r   {  
         t e x t - a l i g n :   c e n t e r ;  
         p a d d i n g :   2 0 p x ;  
         c o l o r :   # e f 4 4 4 4 ;  
         b a c k g r o u n d :   r g b a ( 2 3 9 ,   6 8 ,   6 8 ,   0 . 1 ) ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 3 9 ,   6 8 ,   6 8 ,   0 . 3 ) ;  
         b o r d e r - r a d i u s :   8 p x ;  
         f o n t - s i z e :   1 3 p x ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       T R A N S A C T I O N   H I S T O R Y   T A B L E   S T Y L E S  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . p a y m e n t - t a b l e   {  
     w i d t h :   1 0 0 % ;  
     b o r d e r - c o l l a p s e :   s e p a r a t e ;  
     b o r d e r - s p a c i n g :   0 ;  
     f o n t - s i z e :   1 3 p x ;  
 }  
  
 . p a y m e n t - t a b l e   t h e a d   t h   {  
     p a d d i n g :   1 4 p x   1 6 p x ;  
     t e x t - a l i g n :   l e f t ;  
     b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - b o r d e r ) ;  
     f o n t - w e i g h t :   6 0 0 ;  
     f o n t - s i z e :   1 2 p x ;  
     t e x t - t r a n s f o r m :   u p p e r c a s e ;  
     l e t t e r - s p a c i n g :   0 . 5 p x ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
     p o s i t i o n :   s t i c k y ;  
     t o p :   0 ;  
     z - i n d e x :   1 0 ;  
 }  
  
 . p a y m e n t - t a b l e   t h e a d   t h : l a s t - c h i l d   {  
     t e x t - a l i g n :   c e n t e r ;  
 }  
  
 . p a y m e n t - t a b l e   t b o d y   t r . t r a n s a c t i o n - r o w   {  
     b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
     t r a n s i t i o n :   b a c k g r o u n d   0 . 2 s ;  
 }  
  
 . p a y m e n t - t a b l e   t b o d y   t r . t r a n s a c t i o n - r o w : h o v e r   {  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
 }  
  
 . p a y m e n t - t a b l e   t b o d y   t d   {  
     p a d d i n g :   1 6 p x ;  
     v e r t i c a l - a l i g n :   m i d d l e ;  
 }  
  
 . t r a n s a c t i o n - d a t e   {  
     w h i t e - s p a c e :   n o w r a p ;  
     m i n - w i d t h :   1 4 0 p x ;  
 }  
  
 . t r a n s a c t i o n - d a t e - m a i n   {  
     f o n t - w e i g h t :   5 0 0 ;  
     c o l o r :   v a r ( - - t e x t ) ;  
     m a r g i n - b o t t o m :   4 p x ;  
 }  
  
 . t r a n s a c t i o n - t i m e   {  
     f o n t - s i z e :   1 1 p x ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
 }  
  
 . t r a n s a c t i o n - t y p e   {  
     f o n t - w e i g h t :   5 0 0 ;  
     c o l o r :   v a r ( - - t e x t ) ;  
     m i n - w i d t h :   1 2 0 p x ;  
 }  
  
 . t r a n s a c t i o n - m e t h o d   {  
     f o n t - s i z e :   1 2 p x ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
     m i n - w i d t h :   1 0 0 p x ;  
 }  
  
 . t r a n s a c t i o n - a m o u n t   {  
     t e x t - a l i g n :   r i g h t ;  
     f o n t - w e i g h t :   5 0 0 ;  
     c o l o r :   v a r ( - - t e x t ) ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
     m i n - w i d t h :   8 0 p x ;  
 }  
  
 . t r a n s a c t i o n - c r e d i t s   {  
     t e x t - a l i g n :   r i g h t ;  
     c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
     f o n t - w e i g h t :   6 0 0 ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
     m i n - w i d t h :   8 0 p x ;  
 }  
  
 . t r a n s a c t i o n - s t a t u s   {  
     t e x t - a l i g n :   c e n t e r ;  
     m i n - w i d t h :   1 0 0 p x ;  
 }  
  
 . t r a n s a c t i o n - l i n k - c e l l   {  
     t e x t - a l i g n :   c e n t e r ;  
     m i n - w i d t h :   6 0 p x ;  
 }  
  
 . t r a n s a c t i o n - l i n k   {  
     c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
     t e x t - d e c o r a t i o n :   n o n e ;  
     d i s p l a y :   i n l i n e - f l e x ;  
     a l i g n - i t e m s :   c e n t e r ;  
     j u s t i f y - c o n t e n t :   c e n t e r ;  
     p a d d i n g :   4 p x   8 p x ;  
     b o r d e r - r a d i u s :   4 p x ;  
     t r a n s i t i o n :   a l l   0 . 2 s ;  
 }  
  
 . t r a n s a c t i o n - l i n k : h o v e r   {  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
     c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
     t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ;  
 }  
  
 . t r a n s a c t i o n - l i n k   s v g   {  
     d i s p l a y :   b l o c k ;  
 }  
  
 . p a y m e n t - s t a t u s   {  
     d i s p l a y :   i n l i n e - b l o c k ;  
     p a d d i n g :   4 p x   1 2 p x ;  
     b o r d e r - r a d i u s :   1 2 p x ;  
     f o n t - s i z e :   1 1 p x ;  
     f o n t - w e i g h t :   5 0 0 ;  
     t e x t - t r a n s f o r m :   c a p i t a l i z e ;  
 }  
  
 . p a y m e n t - s t a t u s . s u c c e s s   {  
     b a c k g r o u n d :   r g b a ( 3 4 ,   1 9 7 ,   9 4 ,   0 . 1 5 ) ;  
     c o l o r :   # 2 2 c 5 5 e ;  
 }  
  
 . p a y m e n t - s t a t u s . p e n d i n g   {  
     b a c k g r o u n d :   r g b a ( 2 5 1 ,   1 9 1 ,   3 6 ,   0 . 1 5 ) ;  
     c o l o r :   # f b b f 2 4 ;  
 }  
  
 . p a y m e n t - s t a t u s . f a i l e d   {  
     b a c k g r o u n d :   r g b a ( 2 3 9 ,   6 8 ,   6 8 ,   0 . 1 5 ) ;  
     c o l o r :   # e f 4 4 4 4 ;  
 }  
  
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       C O N S O L E - S T Y L E   O S I N T   R E S U L T S  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
  
 . c o n s o l e - c o n t a i n e r   {  
     b a c k g r o u n d :   # 0 d 1 1 1 7 ;  
     b o r d e r :   1 p x   s o l i d   # 2 1 2 6 2 d ;  
     b o r d e r - r a d i u s :   6 p x ;  
     o v e r f l o w :   h i d d e n ;  
     m a r g i n - b o t t o m :   1 6 p x ;  
     f o n t - f a m i l y :   ' J e t B r a i n s   M o n o ' ,   ' C o u r i e r   N e w ' ,   m o n o s p a c e ;  
     f o n t - s i z e :   1 1 p x ;  
     l i n e - h e i g h t :   1 . 5 ;  
 }  
  
 . c o n s o l e - h e a d e r   {  
     b a c k g r o u n d :   # 1 6 1 b 2 2 ;  
     b o r d e r - b o t t o m :   1 p x   s o l i d   # 2 1 2 6 2 d ;  
     p a d d i n g :   8 p x   1 2 p x ;  
     d i s p l a y :   f l e x ;  
     j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;  
     a l i g n - i t e m s :   c e n t e r ;  
 }  
  
 . c o n s o l e - t i t l e   {  
     f o n t - w e i g h t :   6 0 0 ;  
     c o l o r :   # 5 8 a 6 f f ;  
     t e x t - t r a n s f o r m :   u p p e r c a s e ;  
     f o n t - s i z e :   1 0 p x ;  
     l e t t e r - s p a c i n g :   0 . 5 p x ;  
 }  
  
 . c o n s o l e - a c t i o n s   {  
     d i s p l a y :   f l e x ;  
     g a p :   8 p x ;  
 }  
  
 . c o n s o l e - b t n   {  
     b a c k g r o u n d :   # 2 1 2 6 2 d ;  
     b o r d e r :   1 p x   s o l i d   # 3 0 3 6 3 d ;  
     c o l o r :   # c 9 d 1 d 9 ;  
     p a d d i n g :   4 p x   8 p x ;  
     b o r d e r - r a d i u s :   4 p x ;  
     f o n t - s i z e :   1 0 p x ;  
     c u r s o r :   p o i n t e r ;  
     t r a n s i t i o n :   a l l   0 . 2 s ;  
     f o n t - f a m i l y :   i n h e r i t ;  
     d i s p l a y :   i n l i n e - f l e x ;  
     a l i g n - i t e m s :   c e n t e r ;  
     g a p :   4 p x ;  
 }  
  
 . c o n s o l e - b t n : h o v e r   {  
     b a c k g r o u n d :   # 3 0 3 6 3 d ;  
     b o r d e r - c o l o r :   # 5 8 a 6 f f ;  
     c o l o r :   # 5 8 a 6 f f ;  
 }  
  
 . c o n s o l e - c o n t e n t   {  
     p a d d i n g :   1 2 p x ;  
     m a x - h e i g h t :   4 0 0 p x ;  
     o v e r f l o w - y :   a u t o ;  
     o v e r f l o w - x :   a u t o ;  
     b a c k g r o u n d :   # 0 d 1 1 1 7 ;  
 }  
  
 . c o n s o l e - c o n t e n t : : - w e b k i t - s c r o l l b a r   {  
     w i d t h :   8 p x ;  
     h e i g h t :   8 p x ;  
 }  
  
 . c o n s o l e - c o n t e n t : : - w e b k i t - s c r o l l b a r - t r a c k   {  
     b a c k g r o u n d :   # 1 6 1 b 2 2 ;  
 }  
  
 . c o n s o l e - c o n t e n t : : - w e b k i t - s c r o l l b a r - t h u m b   {  
     b a c k g r o u n d :   # 3 0 3 6 3 d ;  
     b o r d e r - r a d i u s :   4 p x ;  
 }  
  
 . c o n s o l e - c o n t e n t : : - w e b k i t - s c r o l l b a r - t h u m b : h o v e r   {  
     b a c k g r o u n d :   # 4 8 4 f 5 8 ;  
 }  
  
 . c o n s o l e - o u t p u t   {  
     c o l o r :   # c 9 d 1 d 9 ;  
     w h i t e - s p a c e :   p r e - w r a p ;  
     w o r d - b r e a k :   b r e a k - w o r d ;  
     f o n t - s i z e :   1 1 p x ;  
     l i n e - h e i g h t :   1 . 6 ;  
 }  
  
 . c o n s o l e - o u t p u t   . j s o n - k e y   {  
     c o l o r :   # 7 9 c 0 f f ;  
 }  
  
 . c o n s o l e - o u t p u t   . j s o n - s t r i n g   {  
     c o l o r :   # a 5 d 6 f f ;  
 }  
  
 . c o n s o l e - o u t p u t   . j s o n - n u m b e r   {  
     c o l o r :   # 7 9 c 0 f f ;  
 }  
  
 . c o n s o l e - o u t p u t   . j s o n - b o o l e a n   {  
     c o l o r :   # f f 7 b 7 2 ;  
 }  
  
 . c o n s o l e - o u t p u t   . j s o n - n u l l   {  
     c o l o r :   # 8 b 9 4 9 e ;  
 }  
  
 . c o n s o l e - o u t p u t   . j s o n - p u n c t u a t i o n   {  
     c o l o r :   # c 9 d 1 d 9 ;  
 }  
  
 . c o n s o l e - e r r o r   {  
     c o l o r :   # f 8 5 1 4 9 ;  
 }  
  
 . c o n s o l e - s u c c e s s   {  
     c o l o r :   # 3 f b 9 5 0 ;  
 }  
  
 . c o n s o l e - w a r n i n g   {  
     c o l o r :   # d 2 9 9 2 2 ;  
 }  
  
 . c o n s o l e - i n f o   {  
     c o l o r :   # 5 8 a 6 f f ;  
 }  
  
 / *   S u m m a r y   v i e w   s t y l e s   * /  
 . s u m m a r y - c o n t a i n e r   {  
     b a c k g r o u n d :   v a r ( - - p a n e l ) ;  
     b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
     b o r d e r - r a d i u s :   8 p x ;  
     p a d d i n g :   2 0 p x ;  
     m a r g i n - t o p :   1 6 p x ;  
 }  
  
 . s u m m a r y - h e a d e r   {  
     d i s p l a y :   f l e x ;  
     j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;  
     a l i g n - i t e m s :   c e n t e r ;  
     m a r g i n - b o t t o m :   2 0 p x ;  
     p a d d i n g - b o t t o m :   1 2 p x ;  
     b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
 }  
  
 . s u m m a r y - h e a d e r   h 3   {  
     m a r g i n :   0 ;  
     f o n t - s i z e :   1 6 p x ;  
     c o l o r :   v a r ( - - t e x t ) ;  
 }  
  
 . s u m m a r y - c o u n t   {  
     f o n t - s i z e :   1 2 p x ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
 }  
  
 . s u m m a r y - t a b l e   {  
     o v e r f l o w - x :   a u t o ;  
 }  
  
 . s u m m a r y - t a b l e   t a b l e   {  
     w i d t h :   1 0 0 % ;  
     b o r d e r - c o l l a p s e :   c o l l a p s e ;  
     f o n t - s i z e :   1 2 p x ;  
 }  
  
 . s u m m a r y - t a b l e   t h   {  
     p a d d i n g :   1 0 p x   1 2 p x ;  
     t e x t - a l i g n :   l e f t ;  
     b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
     f o n t - w e i g h t :   6 0 0 ;  
     f o n t - s i z e :   1 1 p x ;  
     t e x t - t r a n s f o r m :   u p p e r c a s e ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
 }  
  
 . s u m m a r y - t a b l e   t d   {  
     p a d d i n g :   1 0 p x   1 2 p x ;  
     b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
     c o l o r :   v a r ( - - t e x t ) ;  
 }  
  
 . s u m m a r y - t a b l e   t r : h o v e r   {  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
 }  
  
 . t a g - s r c   {  
     d i s p l a y :   i n l i n e - b l o c k ;  
     p a d d i n g :   2 p x   6 p x ;  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
     b o r d e r - r a d i u s :   3 p x ;  
     f o n t - s i z e :   1 0 p x ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
 }  
  
 . t a g - t y p e   {  
     d i s p l a y :   i n l i n e - b l o c k ;  
     p a d d i n g :   2 p x   6 p x ;  
     b a c k g r o u n d :   r g b a ( 1 1 3 ,   1 1 3 ,   1 2 2 ,   0 . 2 ) ;  
     b o r d e r - r a d i u s :   3 p x ;  
     f o n t - s i z e :   1 0 p x ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
     c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
 }  
  
 . t a g - p a s s   {  
     c o l o r :   # 2 2 c 5 5 e ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
 }  
  
 . t a g - e m a i l   {  
     c o l o r :   # 5 8 a 6 f f ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
 }  
  
 . t a g - i n f o   {  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
     f o n t - s i z e :   1 1 p x ;  
 }  
  
 / *   A P I   D o c s   i m p r o v e m e n t s   * /  
 . d o c - n o t e   {  
     m a r g i n - t o p :   1 2 p x ;  
     p a d d i n g :   1 0 p x   1 2 p x ;  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
     b o r d e r - l e f t :   3 p x   s o l i d   v a r ( - - a c c e n t - b r i g h t ) ;  
     b o r d e r - r a d i u s :   4 p x ;  
     f o n t - s i z e :   1 2 p x ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
 }  
  
 . d o c - n o t e   s t r o n g   {  
     c o l o r :   v a r ( - - a c c e n t - b r i g h t ) ;  
     f o n t - w e i g h t :   6 0 0 ;  
 }  
  
 . c o d e - b l o c k   {  
     b a c k g r o u n d :   v a r ( - - b g - s e c o n d a r y ) ;  
     b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
     b o r d e r - r a d i u s :   6 p x ;  
     o v e r f l o w :   h i d d e n ;  
     m a r g i n :   1 2 p x   0 ;  
 }  
  
 . c o d e - h e a d e r   {  
     d i s p l a y :   b l o c k ;  
     p a d d i n g :   8 p x   1 2 p x ;  
     b a c k g r o u n d :   v a r ( - - p a n e l ) ;  
     b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
     f o n t - s i z e :   1 1 p x ;  
     f o n t - w e i g h t :   6 0 0 ;  
     t e x t - t r a n s f o r m :   u p p e r c a s e ;  
     l e t t e r - s p a c i n g :   0 . 5 p x ;  
     c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
 }  
  
 . c o d e - c o n t e n t   {  
     d i s p l a y :   b l o c k ;  
     p a d d i n g :   1 2 p x ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - m o n o ) ;  
     f o n t - s i z e :   1 1 p x ;  
     l i n e - h e i g h t :   1 . 6 ;  
     c o l o r :   v a r ( - - t e x t ) ;  
     w h i t e - s p a c e :   p r e - w r a p ;  
     o v e r f l o w - x :   a u t o ;  
 }  
  
 
/* ============================================
   ENHANCED OSINT PROGRESS DISPLAY
   ============================================ */

.progress-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-number {
    color: var(--accent-bright);
    font-family: var(--font-mono);
    font-weight: 700;
}

.progress-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stat-success, .stat-failed, .stat-processing {
    font-size: 12px;
    font-family: var(--font-mono);
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--panel);
    border: 1px solid var(--border-light);
}

.stat-success {
    color: #3fb950;
    border-color: rgba(63, 185, 80, 0.3);
    background: rgba(63, 185, 80, 0.1);
}

.stat-failed {
    color: #f85149;
    border-color: rgba(248, 81, 73, 0.3);
    background: rgba(248, 81, 73, 0.1);
}

.stat-processing {
    color: var(--accent-bright);
    border-color: rgba(161, 161, 170, 0.3);
    background: rgba(161, 161, 170, 0.1);
}

.progress-eta {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    padding: 6px 10px;
    background: var(--panel);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: inline-block;
}

.progress-bar-container {
    height: 8px;
    background: var(--panel);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-bright), var(--accent));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

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

.service-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.service-card:hover {
    border-color: var(--border);
    background: var(--panel-elevated);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-card.pending {
    opacity: 0.7;
}

.service-card.processing {
    border-color: var(--accent-bright);
    background: rgba(161, 161, 170, 0.05);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: var(--accent-bright); }
    50% { border-color: var(--accent); }
}

.service-card.success {
    border-color: #3fb950;
    background: rgba(63, 185, 80, 0.05);
}

.service-card.failed {
    border-color: #f85149;
    background: rgba(248, 81, 73, 0.05);
    opacity: 0.8;
}

.service-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.service-card.pending .service-icon {
    color: var(--text-dim);
}

.service-card.processing .service-icon {
    color: var(--accent-bright);
    animation: spin-icon 1.5s linear infinite;
}

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

.service-card.success .service-icon {
    color: #3fb950;
}

.service-card.failed .service-icon {
    color: #f85149;
}

.service-info {
    flex: 1;
    min-width: 0;
}

.service-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.service-status {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-icon {
    font-size: 12px;
    display: inline-block;
}

.status-pulse {
    animation: pulse-opacity 1.5s ease-in-out infinite;
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.service-time {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-dim);
    padding: 2px 6px;
    background: var(--bg-secondary);
    border-radius: 4px;
    white-space: nowrap;
}

@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

