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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 8% 0%, rgba(0, 255, 136, 0.10), transparent 30rem),
        radial-gradient(circle at 92% 18%, rgba(96, 165, 250, 0.09), transparent 26rem),
        #0b1020;
    color: #eaeaea;
    line-height: 1.5;
}

.app-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 28px 60px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-container main {
    flex: 1;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.header-left {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.header-logo {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: baseline;
    cursor: pointer;
}

.header-logo h1 {
    margin: 0;
    padding: 4px 0;
}

.header-logo:hover h1 {
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
}

.app-header h1 {
    color: #00ff88;
    font-size: 24px;
    margin: 0;
    transition: text-shadow 0.2s;
}

.pixel-counter {
    font-size: 14px;
    color: #6b7280;
}

.app-header nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.app-header nav a:not(.btn-login):not(.btn-logout) {
    color: #eaeaea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.app-header nav a:not(.btn-login):not(.btn-logout):hover {
    color: #00ff88;
}

.btn-mcp {
    padding: 9px 13px !important;
    border-radius: 8px;
    background: #6366f1;
    color: #fff !important;
    font-weight: 700;
}

.btn-login, .btn-logout {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.btn-login {
    background-color: #00ff88;
    color: #1a1a2e;
    font-weight: 600;
}

.btn-login:hover {
    background-color: #00cc6a;
}

.btn-logout {
    background-color: #e94560;
    color: white;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover {
    filter: brightness(1.1);
}

.canvas-container {
    margin-top: 54px;
}

.canvas-container h2 {
    margin: 8px 0 10px;
    color: #f8fafc;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-heading {
    max-width: 1000px;
    width: 1000px;
    margin: 0 auto;
}

.hero-subtitle {
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 9px;
    background: #00ff88;
    color: #07131a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    color: #07131a;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.3);
}

.hero-cta span {
    font-size: 18px;
}

.hero-trust {
    color: #94a3b8;
    font-size: 12px;
}

.canvas-wrapper {
    position: relative;
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0, 255, 136, 0.45);
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 0 0 7px rgba(0, 255, 136, 0.03), 0 22px 70px rgba(0, 0, 0, 0.35);
}

.pixel-canvas {
    display: block;
    background-color: #080d18;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 13px;
}

.pixel-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    border-radius: 6px;
    overflow: hidden;
}

.canvas-info {
    max-width: 1000px;
    width: 1000px;
    margin: 15px auto 0;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.canvas-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    max-width: 1000px;
    width: 1000px;
    margin: 26px auto 10px;
    padding: 12px 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    font-size: 13px;
}

.canvas-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 12px #00ff88;
}

.canvas-toolbar-muted,
.canvas-toolbar-hint {
    color: #94a3b8;
}

.canvas-toolbar-muted {
    margin-left: 12px;
}

.canvas-tagline {
    margin-top: 8px;
    font-size: 15px;
    color: #9ca3af;
    line-height: 1.5;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.canvas-tagline a {
    color: #60a5fa;
    text-decoration: underline;
}

.canvas-tagline a:hover {
    color: #93c5fd;
}

.project-intro {
    max-width: 1000px;
    width: 1000px;
    margin: 28px auto 34px;
    padding: 26px;
    border: 1px solid rgba(0, 255, 136, 0.24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.42), rgba(13, 13, 26, 0.78));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.project-intro h3 {
    margin-bottom: 10px;
    color: #00ff88;
    font-size: 20px;
}

.intro-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.intro-kicker {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.mcp-guide-link {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 9px;
    background: rgba(0, 255, 136, 0.10);
    color: #00ff88;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.mcp-guide-link span {
    margin-left: 5px;
    font-size: 16px;
}

.mcp-guide-link:hover {
    background: rgba(0, 255, 136, 0.18);
    transform: translateY(-2px);
}

.step-link {
    color: #00ff88;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.purchase-step .step-link:hover {
    color: #86efac;
}

.project-intro p {
    color: #d1d5db;
    line-height: 1.6;
}

.project-intro-note {
    margin-top: 12px;
    color: #fbbf24 !important;
}

.payment-safety {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 6px;
    background: rgba(30, 64, 175, 0.18);
    color: #bfdbfe !important;
}

.purchase-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.purchase-step {
    display: flex;
    gap: 10px;
    height: 100%;
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, 0.10);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    transition: transform 0.2s, border-color 0.2s;
}

.purchase-step:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 136, 0.38);
}

.purchase-step-number {
    display: inline-flex;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #00ff88;
    color: #1a1a2e;
    font-weight: 700;
}

.purchase-step strong,
.purchase-step span:last-child {
    display: block;
}

.purchase-step strong {
    margin-bottom: 4px;
    color: #eaeaea;
}

.purchase-step span:last-child {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.4;
}

/* Purchase Panel */
.purchase-panel {
    margin-top: 30px;
    padding: 20px;
    background-color: #16213e;
    border-radius: 10px;
    border: 1px solid #0f3460;
}

.purchase-panel h3 {
    margin-bottom: 15px;
    color: #00ff88;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #eaeaea;
}

.form-group input[type="file"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #0f3460;
    background-color: #1a1a2e;
    color: #eaeaea;
    font-size: 14px;
    min-width: 280px;
}

.form-group input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #29456f;
    border-radius: 8px;
    background: rgba(8, 13, 24, 0.8);
    color: #f8fafc;
    font-size: 15px;
}

.price-display {
    background-color: #0f3460;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 18px;
    text-align: center;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #00ff88;
    color: #1a1a2e;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #00cc6a;
}

.btn-primary:disabled {
    background-color: #4a5568;
    color: #a0aec0;
    cursor: not-allowed;
}

.moderation-result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.moderation-result.safe {
    background-color: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
}

.moderation-result.unsafe {
    background-color: rgba(233, 69, 96, 0.1);
    border: 1px solid #e94560;
    color: #e94560;
}

/* Canvas Tooltip */
.canvas-tooltip {
    position: fixed;
    background-color: #16213e;
    border: 1px solid #0f3460;
    border-radius: 8px;
    padding: 12px 16px;
    z-index: 1000;
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 300px;
    backdrop-filter: blur(10px);
}

.tooltip-description {
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.tooltip-url {
    margin-bottom: 4px;
}

.tooltip-url a {
    color: #60a5fa;
    font-size: 12px;
    word-break: break-all;
    text-decoration: underline;
    cursor: pointer;
}

.tooltip-url a:hover {
    color: #93c5fd;
}

.tooltip-owner {
    color: #9ca3af;
    font-size: 12px;
}

/* Purchase Modal */
.purchase-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.purchase-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

/* В сжатом состоянии — скрыть затемнение через контейнер модалки */
.purchase-modal.is-collapsed .purchase-modal-backdrop {
    display: none;
}

.purchase-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #172544, #10182d);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 18px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, left, top, width;
    z-index: 10002;
}

/* Сжатое состояние — правый верхний угол канваса */
.purchase-modal-content.collapsed {
    position: fixed;
    top: auto;
    left: auto;
    transform: none !important;
    width: 280px !important;
    max-width: 280px !important;
    max-height: none !important;
    padding: 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Скрываем элементы в сжатом состоянии */
.purchase-modal-content.collapsed .purchase-modal-header h3 {
    display: none;
}

.purchase-modal-content.collapsed .purchase-coords,
.purchase-modal-content.collapsed .form-group:not(.collapsed-visible),
.purchase-modal-content.collapsed #purchaseStatus {
    display: none !important;
}

/* Превью в сжатом состоянии */
.purchase-modal-content.collapsed #purchaseImagePreview {
    display: block !important;
    margin: 0 0 8px 0;
}

.purchase-modal-content.collapsed #purchaseImagePreview img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* Цена в сжатом состоянии */
.purchase-modal-content.collapsed #purchasePriceDisplay {
    margin: 6px 0;
    padding: 6px;
    font-size: 14px;
}

.purchase-modal-content.collapsed #purchasePriceDisplay span {
    color: #00ff88;
    font-weight: 700;
}

/* Кнопки в сжатом состоянии */
.purchase-modal-content.collapsed .btn-primary {
    padding: 8px;
    font-size: 13px;
    margin-top: 6px;
}

.purchase-modal-content.collapsed .btn-replace {
    display: block;
    width: 100%;
    padding: 6px;
    font-size: 12px;
    margin-top: 4px;
}

.btn-replace.replace-image-btn {
    background-color: #0f3460;
    color: #eaeaea;
    border: 1px solid #00ff88;
}

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

.purchase-modal-header h3 {
    color: #00ff88;
    margin: 0;
}

.purchase-modal-close {
    background: none;
    border: none;
    color: #eaeaea;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
}

.purchase-modal-close:hover {
    background-color: rgba(233, 69, 96, 0.2);
    color: #e94560;
}

.purchase-coords {
    padding: 10px 14px;
    background-color: #0f3460;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.purchase-coords strong {
    color: #00ff88;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #0f3460;
    background-color: #1a1a2e;
    color: #eaeaea;
    font-size: 14px;
    cursor: pointer;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #00ff88;
}

/* FAQ Section */
.faq-section {
    margin-top: 50px;
    padding: 40px 0 60px;
    border-top: 1px solid #16213e;
}

.faq-section h2 {
    color: #00ff88;
    font-size: 28px;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.faq-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    margin: 12px auto 0;
    border-radius: 2px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 12px;
    padding: 22px 24px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #00ff88;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.faq-item:hover {
    border-color: #00ff88;
    box-shadow: 0 4px 24px rgba(0, 255, 136, 0.1);
    transform: translateX(4px);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    color: #eaeaea;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question::before {
    content: '❓';
    font-size: 16px;
    flex-shrink: 0;
}

.faq-answer {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    padding-left: 26px;
}

.faq-answer br {
    margin-bottom: 4px;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #16213e;
    border-top: 1px solid #0f3460;
    padding: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.cookie-banner-content {
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-accept-btn {
    padding: 10px 24px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .app-container {
        padding: 12px 16px 40px;
    }

    .app-header {
        align-items: flex-start;
        gap: 14px;
        padding: 14px;
    }

    .header-left {
        display: block;
    }

    .pixel-counter {
        display: block;
        margin-top: 4px;
        font-size: 11px;
    }

    .app-header nav {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .app-header nav a:not(.btn-login):not(.btn-logout) {
        display: none;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .intro-title-row {
        flex-direction: column;
        gap: 12px;
    }

    .canvas-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .canvas-toolbar-hint {
        font-size: 12px;
    }

    .purchase-steps {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        flex-direction: column;
        padding: 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-content p {
        min-width: auto;
    }
}

/* Pixel List */
.pixel-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pixel-list-table th {
    text-align: left;
    padding: 8px 10px;
    background: #16213e;
    color: #888;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.pixel-list-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #16213e;
    vertical-align: middle;
}

.pixel-list-table tr:hover td {
    background: rgba(15, 52, 96, 0.3);
}

.pixel-list-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #0f3460;
}

.pixel-list-link {
    color: #00ff88;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: inline-block;
}

.pixel-list-link:hover {
    text-decoration: underline;
}

.pixel-list-desc {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #aaa;
}

.pixel-list-empty {
    text-align: center;
    color: #888;
    padding: 40px 0;
}

/* Preview Overlay */
#previewOverlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

#previewImageContainer {
    position: absolute;
    pointer-events: auto;
    cursor: move;
    border: 2px dashed #00ff88;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
    background: rgba(0, 0, 0, 0.3);
    transition: none;
}

#previewImageContainer:hover {
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    border-color: #00cc6a;
}

#previewImageContainer:active {
    cursor: grabbing;
}

.resize-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #00ff88;
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: auto;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.resize-handle:hover {
    background: #00cc6a;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

#previewInfoBadge {
    position: absolute;
    bottom: -30px;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff88;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    font-weight: 600;
}

/* Admin dropdown */
.admin-dropdown {
    position: relative;
    display: inline-block;
}
.admin-dropdown-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
    line-height: 1;
}
.admin-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.admin-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    padding: 6px 0;
    min-width: 180px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
.admin-dropdown:hover .admin-dropdown-menu {
    display: block;
}
.admin-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #eaeaea;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s;
}
.admin-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}
.admin-dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0;
}
.admin-dropdown-menu a:last-child {
    border-radius: 0 0 10px 10px;
}

/* Inline styles moved from Index.cshtml */
.text-error {
    color: #e94560;
    font-size: 13px;
    margin-top: 5px;
}

.field-hint {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 12px;
}

.image-preview-container {
    margin-top: 10px;
}

.preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 6px;
    border: 1px solid #0f3460;
}

.pixel-list-modal-content {
    max-width: 800px;
}

.pixel-list-body {
    max-height: 60vh;
    overflow-y: auto;
}

.pixel-list-search {
    margin-bottom: 15px;
}

.pixel-list-search-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #0f3460;
    background: #16213e;
    color: #eaeaea;
}

.pixel-list-stats {
    margin-bottom: 10px;
    font-size: 14px;
    color: #888;
}

.text-muted {
    color: #888;
}

.mcp-description {
    color: #9ca3af;
    font-size: 14px;
    margin: 0 0 0;
    line-height: 1.6;
}

.mcp-section-desc {
    color: #9ca3af;
    font-size: 13px;
    margin: 0 0 12px;
}

.mcp-section-desc-top {
    color: #9ca3af;
    font-size: 13px;
    margin: 12px 0 0;
}

.mcp-client-desc {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 8px;
}

.replace-image-btn {
    background-color: #0f3460;
    color: #eaeaea;
    border: 1px solid #00ff88;
}

/* MCP Help Button */
.btn-mcp {
    background-color: #6366f1;
    color: white !important;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}
.btn-mcp:hover {
    background-color: #4f46e5;
}

/* MCP Help Modal */
.mcp-help-content {
    max-width: 700px !important;
}

.mcp-modal-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #8b95ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mcp-hero-note {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(139, 149, 255, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(15, 52, 96, 0.75));
    color: #cbd5ff;
    font-size: 13px;
    line-height: 1.55;
}

.mcp-hero-note strong {
    color: #fff;
    font-size: 15px;
}

.mcp-oauth-flow-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
    padding: 12px 14px;
    border-left: 3px solid #00ff88;
    background: rgba(0, 255, 136, 0.06);
    color: #aeb7c9;
    font-size: 12px;
    line-height: 1.5;
}

.mcp-oauth-flow-note strong {
    color: #00ff88;
}

.mcp-help-content .purchase-modal-body {
    padding-right: 0;
}

.mcp-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #16213e;
}

.mcp-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mcp-section h4 {
    color: #00ff88;
    font-size: 16px;
    margin: 0 0 12px;
    font-weight: 600;
}

.mcp-section h5 {
    color: #eaeaea;
    font-size: 14px;
    margin: 0 0 8px;
    font-weight: 600;
}

.mcp-code-block {
    background-color: #0d0d1a;
    border: 1px solid #0f3460;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.mcp-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background-color: #16213e;
    font-size: 12px;
    color: #888;
}

.mcp-code-header span {
    font-weight: 600;
    color: #aaa;
}

.mcp-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
    line-height: 1;
}

.mcp-copy-btn:hover {
    background-color: rgba(0, 255, 136, 0.1);
}

.mcp-code-block code {
    display: block;
    padding: 14px;
    font-size: 12px;
    color: #00ff88;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
}

.mcp-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.mcp-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    background-color: #0f3460;
    border-radius: 6px;
}

.mcp-info-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.mcp-info-item code {
    font-size: 13px;
    color: #00ff88;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.mcp-client-config {
    margin-bottom: 16px;
}

.mcp-client-config:last-child {
    margin-bottom: 0;
}

.mcp-tools-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mcp-tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background-color: #0f3460;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.mcp-tool-item:hover {
    background-color: #16213e;
    border: 1px solid #00ff88;
}

.mcp-tool-name {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: #00ff88;
    font-weight: 600;
    white-space: nowrap;
    min-width: 180px;
}

.mcp-tool-desc {
    font-size: 13px;
    color: #9ca3af;
}

.mcp-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcp-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background-color: #0f3460;
    border-radius: 6px;
}

.mcp-flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #00ff88;
    color: #1a1a2e;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.mcp-flow-text {
    font-size: 13px;
    color: #eaeaea;
    line-height: 1.5;
}

.mcp-flow-text code {
    background-color: #16213e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    color: #00ff88;
}

.mcp-notes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcp-notes li {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.mcp-notes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: 700;
}

.mcp-notes li code {
    background-color: #16213e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    color: #00ff88;
}

@media (max-width: 768px) {
    .mcp-info-grid {
        grid-template-columns: 1fr;
    }

    .mcp-tool-name {
        min-width: auto;
    }

    .mcp-tool-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* === MCP OAuth UI Styles === */

.mcp-auth-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 16px;
}

.mcp-auth-method {
    padding: 16px;
    background: #0f3460;
    border-radius: 8px;
    border: 1px solid #16213e;
}

.mcp-auth-method h5 {
    color: #00ff88;
    font-size: 14px;
    margin-bottom: 8px;
}

.mcp-auth-method p {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.btn-mcp-auth {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.btn-mcp-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-oauth {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.btn-oauth:hover:not(:disabled) {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-token {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #1a1a2e;
}

.btn-token:hover:not(:disabled) {
    background: linear-gradient(135deg, #00cc6a, #00aa5a);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.btn-clear {
    background: #e94560;
    color: white;
}

.btn-clear:hover {
    background: #d63d56;
}

.mcp-token-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcp-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #0f3460;
    background-color: #1a1a2e;
    color: #eaeaea;
    font-size: 14px;
}

.mcp-input:focus {
    outline: none;
    border-color: #00ff88;
}

.mcp-auth-status {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.mcp-status-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
}

.mcp-status-error {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid #e94560;
    color: #e94560;
}

.mcp-status-info {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid #60a5fa;
    color: #60a5fa;
}

.mcp-token-display {
    margin-top: 16px;
    padding: 16px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid #00ff88;
    border-radius: 8px;
}

.mcp-token-display h5 {
    color: #00ff88;
    font-size: 14px;
    margin-bottom: 12px;
}

.mcp-token-display code {
    font-size: 11px !important;
    word-break: break-all !important;
    max-height: 100px;
    overflow-y: auto;
}

/* === New Simplified MCP Help Styles === */

/* Steps List */
.mcp-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.mcp-step-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.mcp-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #1a1a2e;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-top: 1px;
}

.mcp-step-item strong {
    color: #eaeaea;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.mcp-step-item p {
    margin: 4px 0 0;
}

/* Client Tabs */
.mcp-client-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.mcp-client-card {
    display: flex;
    flex-direction: column;
    min-height: 272px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(15, 52, 96, 0.95), rgba(13, 13, 26, 0.85));
    border-radius: 12px;
    border: 1px solid rgba(139, 149, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s, transform 0.2s;
}

.mcp-client-card:hover {
    border-color: rgba(0, 255, 136, 0.6);
    transform: translateY(-2px);
}

.mcp-client-card-header {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 40px;
    margin-bottom: 14px;
}

.mcp-client-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 255, 136, 0.1);
    font-size: 21px;
}

.mcp-client-badge {
    color: #9ca3af;
    font-size: 11px;
}

.mcp-client-card h5 {
    color: #00ff88;
    font-size: 15px;
    margin: 0 0 2px;
}

.mcp-client-card .mcp-section-desc {
    margin-bottom: 8px;
}

.mcp-client-card .mcp-code-block {
    margin-top: auto;
}

.mcp-client-hint {
    margin: 10px 0 0;
    color: #aeb7c9;
    font-size: 12px;
    line-height: 1.5;
}

.mcp-client-hint strong {
    color: #eaeaea;
}

/* Prompts List */
.mcp-prompts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.mcp-prompt-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #0f3460;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.mcp-prompt-icon {
    flex-shrink: 0;
    font-size: 16px;
    width: 24px;
    text-align: center;
    line-height: 1.5;
    padding-top: 1px;
}

.mcp-prompt-item code {
    color: #00ff88;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 600;
    flex: 1;
}

.mcp-prompt-result {
    color: #9ca3af;
    font-size: 12px;
    white-space: nowrap;
}

/* Payment Notice */
.mcp-payment-notice {
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(30, 64, 175, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 8px;
    color: #bfdbfe;
    font-size: 13px;
    line-height: 1.6;
}

.mcp-payment-notice strong {
    color: #93c5fd;
}

/* Abilities Grid */
.mcp-abilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.mcp-ability {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #0f3460;
    border-radius: 8px;
    transition: background 0.2s;
}

.mcp-ability:hover {
    background: #16213e;
}

.mcp-ability-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.mcp-ability-text {
    color: #eaeaea;
    font-size: 13px;
    line-height: 1.4;
}

/* Security List */
.mcp-security-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.mcp-security-list li {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
}

.mcp-security-list li::before {
    content: '🔒';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
}

.mcp-security-list li strong {
    color: #00ff88;
}

@media (max-width: 768px) {
    .mcp-client-tabs {
        grid-template-columns: 1fr;
    }

    .mcp-abilities-grid {
        grid-template-columns: 1fr;
    }

    .mcp-prompt-item {
        flex-direction: column;
        gap: 4px;
    }

    .mcp-prompt-result {
        white-space: normal;
    }
}

/* === Footer === */
.app-footer {
    margin-top: auto;
    padding: 20px;
    background: rgba(13, 13, 26, 0.95);
    border-top: 1px solid #16213e;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #00ff88;
}

.footer-copy {
    color: #4b5563;
    font-size: 13px;
}

/* === Profile Page === */
.profile-section {
    max-width: 700px;
    margin: 40px auto;
}

.profile-card {
    background: linear-gradient(145deg, #172544, #10182d);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.profile-card h3 {
    color: #00ff88;
    margin: 0 0 16px;
    font-size: 18px;
}

.profile-card h4 {
    color: #eaeaea;
    margin: 0 0 12px;
    font-size: 16px;
}

.profile-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    font-size: 14px;
}

.profile-info dt {
    color: #9ca3af;
    font-weight: 600;
}

.profile-info dd {
    color: #eaeaea;
    word-break: break-all;
}

/* Danger Zone */
.danger-zone {
    border-color: rgba(233, 69, 96, 0.3);
    background: linear-gradient(145deg, #2d1018, #1a0a10);
}

.danger-zone h3 {
    color: #e94560 !important;
}

.danger-zone p {
    color: #fca5a5;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.btn-danger {
    background-color: #e94560;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-danger:hover {
    background-color: #d63d56;
}

/* Pixel Items */
.pixel-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #16213e;
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(15, 23, 42, 0.5);
}

.pixel-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #0f3460;
    flex-shrink: 0;
}

.pixel-details h4 {
    color: #eaeaea;
    margin: 0 0 6px;
    font-size: 14px;
}

.pixel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
}

.pixel-meta a {
    color: #60a5fa;
}

.status-approved {
    color: #00ff88 !important;
}

.status-pending {
    color: #fbbf24 !important;
}

.status-rejected {
    color: #e94560 !important;
}

.loading-state {
    text-align: center;
    color: #9ca3af;
    padding: 20px;
}

.empty-state {
    text-align: center;
    color: #888;
    padding: 20px;
    font-size: 14px;
}

.empty-state a {
    color: #00ff88;
}

/* === Admin Users Page === */
.admin-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.admin-section h2 {
    color: #00ff88;
    margin: 0 0 20px;
    font-size: 22px;
}

.admin-search {
    display: flex;
    gap: 10px;
}

.admin-count {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 16px;
}

.admin-table-wrapper {
    overflow-x: auto;
    border: 1px solid #16213e;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.5);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    text-align: left;
    padding: 12px 14px;
    background: #16213e;
    color: #888;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #0f3460;
}

.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #16213e;
    color: #eaeaea;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(15, 52, 96, 0.2);
}

.admin-table td:last-child {
    white-space: nowrap;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-danger {
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
    border: 1px solid rgba(233, 69, 96, 0.3);
}

/* Ban reason */
.ban-reason {
    color: #fca5a5;
    font-size: 12px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

/* Action buttons */
.btn-ban {
    background-color: #e94560;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-ban:hover {
    background-color: #d63d56;
}

.btn-unban {
    background-color: #00ff88;
    color: #1a1a2e;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-unban:hover {
    background-color: #00cc6a;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    background: #16213e;
    color: #eaeaea;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid #0f3460;
    transition: all 0.2s;
}

.page-link:hover {
    background: #1e3a5f;
    border-color: #00ff88;
}

.page-active {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    background: #00ff88;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 600;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.alert-error {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    color: #e94560;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(145deg, #172544, #10182d);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.modal-content .form-group {
    margin-bottom: 12px;
}

.modal-content label {
    display: block;
    color: #eaeaea;
    font-size: 14px;
    margin-bottom: 6px;
}

/* Empty state */
.empty-state {
    text-align: center;
    color: #888;
    padding: 40px 0;
    font-size: 14px;
}

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

    .footer-links {
        justify-content: center;
    }

    .profile-section {
        margin: 20px 16px;
    }

    .profile-card {
        padding: 16px;
    }

    .admin-section {
        margin: 20px 16px;
    }

    .admin-search {
        flex-direction: column;
    }

    .admin-table {
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px 10px;
    }
}
