@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    overflow-x: hidden;
    max-width: 100%;
}


.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.page main {
    flex: 1;
}

/* ===== Layout ===== */
body {
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: #e2e8f0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.app-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* ===== Typography ===== */
.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    outline:none !important;
}

.subtitle {
    color: #94a3b8;
    margin-bottom: 25px;
}

/* ===== Card ===== */
.upload-card {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

/* ===== Upload Box ===== */
.upload-box {
    display: block;
    border: 2px dashed #334155;
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 120px;
}

    .upload-box:hover {
        border-color: #22c55e;
        background-color: rgba(34, 197, 94, 0.05);
    }

    /* Hide actual input */
    .upload-box input {
        position: absolute;
        inset: 0; /* cleaner than width/height */
        opacity: 0;
        cursor: pointer;
    }

.upload-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.upload-text {
    font-weight: 500;
}

.upload-subtext {
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== Button ===== */
.btn-download {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #22c55e;
    color: #020617;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-download:hover {
        background: #16a34a;
        transform: translateY(-1px);
    }

/* ===== Status ===== */
.status-text {
    margin-top: 15px;
    font-size: 0.95rem;
}

.status-success {
    color: #4ade80;
}

.status-error {
    color: #f87171;
}

/* ===== Loader ===== */
.loader {
    margin: 20px auto 10px;
    border: 4px solid #334155;
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

input, button {
    font-size: 16px;
}


/* ===== Footer ===== */
.footer-text {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #64748b;
}


/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {

    .container {
        padding: 0 16px;
    }

    .title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .upload-card {
        padding: 20px;
        border-radius: 12px;
    }

    .upload-box {
        padding: 20px;
    }

    .upload-icon {
        font-size: 1.5rem;
    }

    .upload-text {
        font-size: 0.95rem;
    }

    .upload-subtext {
        font-size: 0.75rem;
    }

    .btn-download {
        width: 100%;
        padding: 12px;
        font-size: 0.95rem;
    }

    .status-text {
        font-size: 0.9rem;
    }

    .footer-text {
        font-size: 0.7rem;
        padding: 0 10px;
    }
}




/* ===== SEO INTRO BLOCK ===== */

/* Slight spacing adjustment for intro section */
.seo-intro-section {
    margin-top: 40px;
}

.seo-intro {
    max-width: 700px;
    margin: 60px auto 40px;
    padding: 0 20px;
    text-align: center;
}

    /* Paragraphs */
    .seo-intro p {
        color: #94a3b8;
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    /* Heading */
    .seo-intro h2 {
        color: #f8fafc;
        font-size: 1.5rem;
        margin: 25px 0 10px;
    }


/* ===== SEO SECTION ===== */
.seo-wrapper {
    margin-top: 80px;
    padding: 40px 20px;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.6));
    border-top: 1px solid #1e293b;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

    /* Headings */
    .seo-content h2 {
        font-size: 1.8rem;
        color: #f8fafc;
        text-align: center;
        margin-bottom: 15px;
    }

    .seo-content > p {
        text-align: center;
        color: #94a3b8;
        max-width: 600px;
        margin: 0 auto 30px;
        line-height: 1.6;
    }

/* Grid layout */
.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Cards */
.seo-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

    .seo-card:hover {
        border-color: #22c55e;
        transform: translateY(-2px);
    }

    /* Card headings */
    .seo-card h3 {
        color: #f8fafc;
        margin-bottom: 10px;
    }

    /* Text */
    .seo-card p {
        color: #cbd5f5;
        line-height: 1.6;
    }

    /* List */
    .seo-card ul {
        padding-left: 18px;
        margin: 0;
    }

    .seo-card li {
        margin-bottom: 6px;
        color: #cbd5f5;
    }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }

    .seo-wrapper {
        padding: 30px 15px;
    }

    .seo-content h2 {
        font-size: 1.5rem;
    }
}



/* ===== FAQ SECTION ===== */
.seo-faq {
    margin-top: 80px;
    padding: 40px 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

    .seo-faq h2 {
        text-align: center;
        font-size: 1.8rem;
        color: #f8fafc;
        margin-bottom: 30px;
    }

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual FAQ Card */
.faq-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.2s ease;
}

    /* Hover effect */
    .faq-item:hover {
        border-color: #22c55e;
        transform: translateY(-2px);
    }

    /* Question */
    .faq-item h3 {
        font-size: 1.05rem;
        color: #f8fafc;
        margin-bottom: 6px;
    }

    /* Answer */
    .faq-item p {
        color: #cbd5f5;
        font-size: 0.95rem;
        line-height: 1.6;
    }


@media (max-width: 768px) {
    .seo-faq {
        padding: 30px 15px;
    }

    .faq-item {
        padding: 16px;
    }

        .faq-item h3 {
            font-size: 1rem;
        }
}




.json-preview {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 15px;
    max-height: 400px;
    overflow: auto;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cbd5f5;
    white-space: pre-wrap;
    word-break: break-word;
}








/* ===== VIEWER LAYOUT ===== */

.viewer-section {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== PANELS ===== */

.viewer-panel {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 18px;
}

/* Subtle distinction */
.schema-panel {
    max-width: 700px;
    margin: 0 auto;
}

.data-panel {
    width: 100%;
}

/* ===== HEADER ===== */

.viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

    .viewer-header h2 {
        font-size: 1.3rem;
        margin: 0;
    }

.viewer-sub {
    font-size: 0.8rem;
    color: #64748b;
    margin: 2px 0 0;
}

/* ===== BADGE ===== */

.badge {
    font-size: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 4px 10px;
    border-radius: 999px;
}

/* ===== TABLE WRAPPERS ===== */

.table-wrapper.compact {
    max-height: 300px;
}

.table-wrapper.wide {
    max-height: 500px;
}

/* ===== TABLE IMPROVEMENTS ===== */

.data-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.data-table td {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== SCHEMA TABLE ===== */

.col-name {
    font-weight: 600;
    color: #f8fafc;
}

.col-type {
    font-family: monospace;
    color: #38bdf8;
}

/* ===== HOVER CLEANUP ===== */

.table-dark-preview tr:hover td {
    background: rgba(34, 197, 94, 0.03);
}


/* ===== VIEWER CLEAN LAYOUT ===== */

.viewer-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.viewer-results {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.viewer-block {
    text-align: left;
}

/* Header */
.viewer-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .viewer-title h2 {
        font-size: 1.4rem;
        margin: 0;
    }

    .viewer-title span {
        font-size: 0.75rem;
        color: #22c55e;
    }

/* Tables */
.viewer-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

    .viewer-table th {
        text-align: left;
        padding: 10px;
        font-size: 0.7rem;
        text-transform: uppercase;
        color: #64748b;
        border-bottom: 1px solid #1e293b;
    }

    .viewer-table td {
        padding: 10px;
        border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    }

/* Scroll for big data */
.table-scroll {
    max-height: 400px;
    overflow: auto;
    border: 1px solid #1e293b;
    border-radius: 10px;
}

.viewer-table thead th {
    position: sticky;
    top: 0;
    background: #020617;
    z-index: 2;
}

.table-scroll::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

.table-scroll::-webkit-scrollbar-track {
    background: transparent;
}

/* Schema styling */
.schema .col-name {
    font-weight: 600;
    color: #f8fafc;
}

.schema .col-type {
    font-family: monospace;
    color: #38bdf8;
}

/* Data table */
.data td {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== SCHEMA SCROLL (smaller, tighter) ===== */

.schema-scroll {
    max-height: 250px;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}





.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.blog-card-link {
    text-decoration: none;
}

.blog-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 22px;
    height: 100%;
    transition: all 0.2s ease;
}

    .blog-card:hover {
        border-color: #22c55e;
        transform: translateY(-3px);
    }

.blog-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #22c55e;
    margin-bottom: 10px;
}

.blog-card h2 {
    font-size: 1.2rem;
    color: #f8fafc;
    margin-bottom: 10px;
}

.blog-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}








.blog-page {
    min-height: 100vh;
    padding: 40px 20px 80px;
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.08), transparent 20%), radial-gradient(circle at top, #0f172a, #020617);
    color: #e2e8f0;
}

.blog-shell {
    max-width: 980px;
    margin: 0 auto;
}

.blog-breadcrumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 28px;
    color: #94a3b8;
    font-size: 0.92rem;
}

    .blog-breadcrumbs a {
        color: #94a3b8;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .blog-breadcrumbs a:hover {
            color: #22c55e;
        }

    .blog-breadcrumbs .active {
        color: #f8fafc;
    }

.blog-hero {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid #334155;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    margin-bottom: 34px;
}

.blog-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.20);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.blog-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 16px;
    color: #f8fafc;
    font-weight: 800;
    outline: none !important;
}

.blog-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #cbd5e1;
    max-width: 760px;
    margin-bottom: 24px;
}

.blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.blog-btn-primary {
    background: #22c55e;
    color: #052e16;
}

    .blog-btn-primary:hover {
        background: #16a34a;
        transform: translateY(-1px);
    }

.blog-btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
    border-color: #334155;
}

    .blog-btn-secondary:hover {
        border-color: #22c55e;
        color: #f8fafc;
        transform: translateY(-1px);
    }

.blog-article {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-section {
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 30px;
}

    .blog-section h2 {
        font-size: 1.7rem;
        color: #f8fafc;
        margin: 0 0 14px;
    }

    .blog-section h3 {
        color: #f8fafc;
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 1.05rem;
    }

    .blog-section p {
        color: #cbd5e1;
        line-height: 1.85;
        font-size: 1rem;
        margin-bottom: 14px;
    }

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.blog-card {
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.2s ease;
}

    .blog-card:hover {
        border-color: #22c55e;
        transform: translateY(-2px);
    }

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid #334155;
    border-radius: 14px;
    margin-top: 16px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

    .comparison-table th,
    .comparison-table td {
        padding: 14px 16px;
        text-align: left;
        border-bottom: 1px solid rgba(51, 65, 85, 0.65);
    }

    .comparison-table th {
        background: rgba(2, 6, 23, 0.92);
        color: #f8fafc;
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .comparison-table td {
        color: #cbd5e1;
        background: rgba(15, 23, 42, 0.75);
    }

.blog-note {
    margin-top: 14px;
    color: #94a3b8 !important;
}

.blog-list {
    padding-left: 20px;
    margin: 16px 0;
}

    .blog-list li {
        color: #cbd5e1;
        margin-bottom: 10px;
        line-height: 1.75;
    }

.blog-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.blog-link-card {
    display: block;
    text-decoration: none;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.2s ease;
}

    .blog-link-card:hover {
        border-color: #22c55e;
        transform: translateY(-2px);
    }

    .blog-link-card h3 {
        color: #f8fafc;
        margin-bottom: 10px;
    }

    .blog-link-card p {
        color: #cbd5e1;
        margin: 0;
    }

.faq-section {
    margin-bottom: 10px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.faq-item {
    background: rgba(30, 41, 59, 0.62);
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.2s ease;
}

    .faq-item:hover {
        border-color: #22c55e;
        transform: translateY(-2px);
    }

    .faq-item p {
        margin-bottom: 0;
    }


.code-block {
    background: rgba(2, 6, 23, 0.9);
    border: 1px solid #334155;
    padding: 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #cbd5f5;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .blog-page {
        padding: 24px 14px 60px;
    }

    .blog-hero,
    .blog-section {
        padding: 22px;
        border-radius: 16px;
    }

        .blog-hero h1 {
            font-size: 2rem;
        }

    .blog-lead {
        font-size: 1rem;
        line-height: 1.75;
    }

    .blog-card-grid,
    .blog-link-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-actions {
        flex-direction: column;
    }

    .blog-btn {
        width: 100%;
    }

    .blog-section h2 {
        font-size: 1.4rem;
    }
}






/* ===== REGISTER FORM ===== */

/* ===== REGISTER PAGE LAYOUT ===== */

/* ===== REGISTER PAGE ===== */

.register-page-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    align-items: center;
}

/* LEFT SIDE */

.register-info {
    text-align: left;
}

    .register-info h1 {
        font-size: 2.3rem;
        color: #f8fafc;
        margin-bottom: 10px;
        outline:none !important;
    }

    .register-info .subtitle {
        color: #94a3b8;
        margin-bottom: 20px;
    }

/* FEATURES */

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

    .feature-list li {
        margin-bottom: 12px;
        color: #cbd5e1;
        font-size: 0.95rem;
    }

/* TRUST BOX */

.trust-box {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #94a3b8;
    padding: 12px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.4);
}

/* RIGHT SIDE CARD */

.register-card {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
}

/* FORM */

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

    .form-group label {
        font-size: 0.85rem;
        color: #94a3b8;
        margin-bottom: 6px;
        display: block;
    }

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid #334155;
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #22c55e;
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
    }

    .form-input::placeholder {
        color: #64748b;
    }

/* VALIDATION */

.validation-text {
    font-size: 0.75rem;
    color: #f87171;
    margin-top: 4px;
}

/* BUTTON */

.btn-primary {
    margin-top: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    transition: all 0.2s ease;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
    }

/* LOADING */

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top: 2px solid #022c22;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* FOOTER TEXT */

.form-footer {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
}

    .form-footer a {
        color: #22c55e;
        text-decoration: none;
    }

/* ALERTS */

.alert {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.alert-error {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

/* MOBILE */

@media (max-width: 900px) {
    .register-page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .register-info {
        text-align: center;
    }
}











/* ===== DASHBOARD ===== */

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard-header h1 {
    font-size: 2.2rem;
    color: #f8fafc;
    outline:none !important;
}

.dashboard-header .subtitle {
    color: #94a3b8;
    margin-bottom: 30px;
}

/* CARD */

.dashboard-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 20px;
    margin-top:20px;
    margin-bottom: 20px;
}

/* GRID */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* API KEY */

.api-key-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
}

    .api-key-box code {
        font-size: 0.85rem;
        color: #22c55e;
    }

/* COPY BUTTON */

.copy-btn {
    background: #22c55e;
    border: none;
    color: #022c22;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

    .copy-btn:hover {
        background: #16a34a;
    }

/* STATS */

.stat {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f8fafc;
}

/* SUBTEXT */

.card-subtext {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* MOBILE */

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}



/* ===== PRICING SECTION ===== */

.pricing-section {
    margin-top: 60px;
    text-align: center;
}

.pricing-title {
    font-size: 1.8rem;
    color: #f8fafc;
    margin-bottom: 10px;
}

.pricing-subtitle {
    color: #94a3b8;
    margin-bottom: 30px;
}

/* GRID */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* CARD */

.pricing-card {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 25px;
    text-align: left;
    transition: all 0.2s ease;
}

    .pricing-card:hover {
        border-color: #22c55e;
        transform: translateY(-3px);
    }

    /* FEATURED */

    .pricing-card.featured {
        border: 1px solid #22c55e;
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.15);
    }

    /* BADGE */

    .pricing-card .badge {
        position: absolute;
        top: -10px;
        right: 15px;
        background: #22c55e;
        color: #022c22;
        font-size: 0.7rem;
        padding: 4px 10px;
        border-radius: 999px;
    }

/* PRICE */

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0 15px;
    color: #f8fafc;
}

    .price span {
        font-size: 0.9rem;
        color: #94a3b8;
    }

/* FEATURES */

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

    .pricing-features li {
        margin-bottom: 10px;
        color: #cbd5e1;
        font-size: 0.9rem;
    }


a.btn-primary {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

/* MOBILE */

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}








/* ===== FOOTER UPGRADE ===== */

.footer {
    margin-top: 60px;
    border-top: 1px solid #1e293b;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Left side */
.footer-left {
    font-size: 0.8rem;
    color: #64748b;
}

/* Links */
.footer-links {
    display: flex;
    gap: 18px;
}

    .footer-links a {
        font-size: 0.8rem;
        color: #94a3b8;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .footer-links a:hover {
            color: #22c55e;
        }

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}


    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }



.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top: 2px solid #022c22;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}