:root {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #0f172a;
    background: #f8fafc;

    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;

    --border: #e2e8f0;
    --border-soft: #cbd5e1;

    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #eff6ff;

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);

    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);

    --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);

    --radius: 12px;
}


* {
    box-sizing: border-box;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}


body {
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
}

body.app-page {
    overflow-x: hidden;
}


a {
    color: inherit;

    text-decoration: none;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   AUTH
   ========================================================= */


.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #f8fafc;
}

.auth-container {
    width: 100%;
    max-width: 430px;
}

.auth-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}


.auth-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 34px;
}


.brand-mark {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    flex: 0 0 auto;

    color: #fff;

    background:
        var(--primary);

    border-radius:
        12px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing:
        0.08em;
}


.brand-mark.small {

    width: 34px;

    height: 34px;

    border-radius:
        10px;
}


.brand-title {

    font-weight: 800;

    letter-spacing:
        -0.02em;
}


.brand-subtitle {

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 13px;
}


.auth-heading {

    margin-bottom: 24px;
}


.auth-heading h1 {

    margin:
        0 0 8px;

    font-size:
        25px;

    letter-spacing:
        -0.03em;
}


.auth-heading p {

    margin: 0;

    color:
        var(--text-muted);

    line-height:
        1.6;
}


.auth-footer {

    margin-top: 24px;

    padding-top: 18px;

    border-top:
        1px solid
        var(--border-soft);

    color:
        var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   FORM
   ========================================================= */


.form {

    display:
        flex;

    flex-direction:
        column;

    gap: 18px;
}


.field {

    display:
        grid;

    gap: 8px;
}


.field label {

    color:
        var(--text-secondary);

    font-size:
        14px;

    font-weight:
        600;
}


.field input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}


/* =========================================================
   BUTTON
   ========================================================= */


.button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #ffffff;
    background: var(--primary);
    font-size: 13px;
    font-weight: 600;
    transition: all .15s ease;
}


.button:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}


.button:active {
    transform: translateY(1px);
}


.button:disabled {
    opacity: 0.6;
    cursor: wait;
}


.button-primary {
    background: var(--primary);
    color: #ffffff;
}


.button-secondary {
    color: #334155;
    background: #ffffff;
    border-color: #cbd5e1;
}


.button-secondary:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}


.button-block {
    width: 100%;
}


.button-icon {
    font-size: 16px;
    line-height: 1;
}


/* =========================================================
   ALERT
   ========================================================= */


.alert {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}


.alert.success {
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}


.alert.error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}


/* =========================================================
   TOPBAR
   ========================================================= */


.topbar {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
}

.topbar-brand .brand-title {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.topbar-brand .brand-mark {
    background: #2563eb;
    color: #ffffff;
}

.topbar-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: #eff6ff;
    color: #2563eb;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
}

.desktop-menu-bar {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #e2e8f0;
}

.desktop-menu-item {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    padding: 4px 9px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.desktop-menu-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}

@media (max-width: 992px) {
    .desktop-menu-bar {
        display: none;
    }
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 6px 14px;
    border-radius: 7px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.nav-link:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.nav-link.active {
    color: #ffffff;
    background: #2563eb;
    font-weight: 600;
}

.nav-logout {
    color: #dc2626;
}

.nav-logout:hover {
    background: #fef2f2;
    color: #991b1b;
}


/* =========================================================
   PAGE
   ========================================================= */


.page-container {
    width: min(1680px, 96vw);
    max-width: 1680px;
    margin: 28px auto 60px;
    padding: 0 12px;
}


.page-container-small {
    width: min(1680px, 96vw);
    max-width: 1680px;
}


.page-header {

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        24px;

    margin-bottom:
        24px;
}


.eyebrow {

    margin-bottom:
        7px;

    color:
        var(--text-muted);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        .12em;
}


.page-header h1 {

    margin:
        0 0 8px;

    font-size:
        29px;

    line-height:
        1.1;

    letter-spacing:
        -0.035em;
}


.page-header p {

    max-width:
        700px;

    margin:
        0;

    color:
        var(--text-muted);

    line-height:
        1.6;
}


.page-actions {

    flex: 0 0 auto;
}


/* =========================================================
   CARDS
   ========================================================= */


.card {

    margin-bottom:
        18px;

    padding:
        22px;

    background:
        var(--surface);

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

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.section-heading {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        18px;
}


.section-heading h2 {

    margin:
        0 0 5px;

    font-size:
        18px;

    letter-spacing:
        -0.02em;
}


.section-heading p {

    margin:
        0;

    color:
        var(--text-muted);

    font-size:
        14px;
}


.count-badge {

    min-width:
        32px;

    height:
        32px;

    display:
        grid;

    place-items:
        center;

    padding:
        0 10px;

    color:
        var(--text-secondary);

    background:
        var(--surface-soft);

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

    border-radius:
        999px;

    font-size:
        13px;

    font-weight:
        700;
}


/* =========================================================
   STATUS GRID
   ========================================================= */


.stats-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        14px;

    margin-bottom:
        18px;
}


.status-card {

    padding:
        19px;

    background:
        var(--surface);

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

    border-radius:
        14px;

    box-shadow:
        var(--shadow);
}


.status-card-header {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    margin-bottom:
        14px;
}


.status-label {

    color:
        var(--text-muted);

    font-size:
        13px;

    font-weight:
        600;
}


.status-dot {

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;
}


.status-online {

    background:
        #12b76a;

    box-shadow:
        0 0 0 4px
        #ecfdf3;
}


.status-offline {

    background:
        #f04438;

    box-shadow:
        0 0 0 4px
        #fff1f3;
}


.status-value {

    margin-bottom:
        7px;

    font-size:
        20px;

    font-weight:
        750;

    letter-spacing:
        -0.02em;
}


.status-description {

    color:
        var(--text-muted);

    font-size:
        13px;
}


/* =========================================================
   QUICK ACTIONS
   ========================================================= */


.quick-card {

    margin-bottom:
        18px;
}


.quick-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        10px;
}


.quick-action {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.quick-action:hover {
    background: var(--surface-soft);
    border-color: var(--primary);
    text-decoration: none;
}

.quick-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: #2563eb;
    border-radius: 10px;
    font-weight: 800;
}

.quick-action strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    color: var(--text);
}

.quick-action span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

/* =========================================================
   LAYER TABLE
   ========================================================= */

.layer-table {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.layer-row {
    display: grid;
    grid-template-columns: 2.3fr .7fr 1.1fr 1.1fr .45fr;
    align-items: center;
    gap: 15px;
    padding: 14px 15px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    transition: background 0.15s ease;
}

.layer-row:hover {
    background: var(--surface-soft);
}

.layer-row:last-child {
    border-bottom: 0;
}

.layer-row-head {
    color: var(--text-secondary);
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.layer-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
}

.layer-slug {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 11px;
    font-weight: 700;
}

.layer-meta {
    color: var(--text-secondary);
    font-size: 13px;
}

.layer-srid {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.service-links {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.15s ease;
}

.service-link:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    text-decoration: none;
}

.row-actions {
    display: flex;
    justify-content: flex-end;
}

.icon-button {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 19px;
    line-height: 1;
}

.danger-button {
    color: #ef4444;
}

.danger-button:hover {
    background: var(--danger-bg);
    color: #dc2626;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    padding: 55px 20px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 13px;
    background: #ffffff;
}


.empty-icon {

    width:
        44px;

    height:
        44px;

    display:
        grid;

    place-items:
        center;

    margin:
        0 auto 15px;

    border-radius:
        12px;

    color:
        var(--text-secondary);

    background:
        #eef2f6;

    font-size:
        24px;
}


.empty-state h3 {

    margin:
        0 0 7px;

    font-size:
        17px;
}


.empty-state p {

    max-width:
        550px;

    margin:
        0 auto 18px;

    color:
        var(--text-muted);

    line-height:
        1.6;
}


/* =========================================================
   SERVICES
   ========================================================= */


.service-list {

    display:
        grid;

    gap:
        10px;
}


.service-item {

    display:
        grid;

    grid-template-columns:
        180px 1fr auto;

    align-items:
        center;

    gap:
        14px;

    padding:
        14px;

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

    border-radius:
        11px;

    background:
        var(--surface-soft);
}


.service-item strong {

    display:
        block;

    margin-bottom:
        3px;

    font-size:
        14px;
}


.service-item span {

    display:
        block;

    color:
        var(--text-muted);

    font-size:
        12px;
}


.service-item code {

    padding:
        9px 10px;

    overflow-x:
        auto;

    color:
        #475467;

    background:
        #fff;

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

    border-radius:
        8px;

    font-size:
        12px;
}


/* =========================================================
   UPLOAD
   ========================================================= */


.upload-card {

    padding:
        26px;
}


.upload-zone {

    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        290px;

    padding:
        25px;

    border:
        1.5px dashed
        #c5ccd5;

    border-radius:
        15px;

    text-align:
        center;

    background:
        #fafbfc;
}


.upload-icon {

    width:
        52px;

    height:
        52px;

    display:
        grid;

    place-items:
        center;

    margin-bottom:
        13px;

    border-radius:
        14px;

    color:
        var(--text);

    background:
        #eef2f6;

    font-size:
        25px;

    font-weight:
        700;
}


.upload-zone h2 {

    margin:
        0 0 7px;

    font-size:
        18px;
}


.upload-zone p {

    margin:
        0 0 18px;

    color:
        var(--text-muted);

    font-size:
        14px;
}


.upload-zone input[type="file"] {

    position:
        absolute;

    width:
        1px;

    height:
        1px;

    opacity:
        0;

    pointer-events:
        none;
}


.upload-zone label {

    cursor:
        pointer;
}


.selected-file {

    margin-top:
        12px;

    color:
        var(--text-muted);

    font-size:
        12px;
}


.format-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        10px;

    margin-top:
        18px;
}


.format-card {

    padding:
        14px;

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

    border-radius:
        11px;

    background:
        var(--surface);
}


.format-card strong {

    display:
        block;

    margin-bottom:
        4px;

    font-size:
        13px;
}


.format-card span {

    display:
        block;

    color:
        var(--text-muted);

    font-size:
        11px;
}


.publish-info {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        22px;

    padding:
        14px;

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

    border-radius:
        12px;

    background:
        var(--surface-soft);
}


.publish-step {

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    color:
        var(--text-secondary);

    font-size:
        12px;

    white-space:
        nowrap;
}


.publish-step span {

    width:
        24px;

    height:
        24px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        8px;

    color:
        var(--text);

    background:
        #fff;

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

    font-size:
        10px;

    font-weight:
        800;
}


.publish-line {

    flex:
        1;

    height:
        1px;

    background:
        #d0d5dd;
}


.form-actions {

    display:
        flex;

    justify-content:
        flex-end;

    gap:
        9px;

    margin-top:
        24px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


@media (max-width: 1100px) {

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .quick-grid {

        grid-template-columns:
            1fr;
    }


    .layer-row {

        grid-template-columns:
            2fr 1fr 1fr 1fr .4fr;
    }

}


@media (max-width: 820px) {

    .topbar {

        padding:
            0 4vw;
    }


    .topbar-nav {

        gap:
            2px;
    }


    .nav-link {

        padding:
            8px;

        font-size:
            12px;
    }


    .page-header {

        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .format-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .service-item {

        grid-template-columns:
            1fr;
    }


    .publish-info {

        align-items:
            stretch;

        flex-direction:
            column;
    }


    .publish-line {

        width:
            1px;

        height:
            14px;

        margin-left:
            12px;
    }

}


@media (max-width: 620px) {

    .stats-grid {

        grid-template-columns:
            1fr;
    }


    .auth-card {

        padding:
            25px;
    }


    .topbar-left .brand-title {

        display:
            none;
    }


    .nav-link {

        font-size:
            11px;
    }


    .page-container {

        width:
            94vw;

        margin-top:
            24px;
    }


    .card {

        padding:
            18px;
    }


    .format-grid {

        grid-template-columns:
            1fr 1fr;
    }


    .form-actions {

        flex-direction:
            column-reverse;
    }


    .form-actions .button {

        width:
            100%;
    }

}
/* =========================================================
   DUPLICATE LAYER
   ========================================================= */

.duplicate-card {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.duplicate-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 13px;
    color: #8a6100;
    background: #fff7e6;
    border: 1px solid #f4d58d;
    font-size: 23px;
    font-weight: 800;
}

.duplicate-card h1 {
    margin: 0 0 8px;
    font-size: 25px;
    letter-spacing: -0.03em;
}

.duplicate-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0;
}

.duplicate-info > div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface-soft);
}

.duplicate-info span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 12px;
}

.duplicate-info strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.duplicate-actions {
    display: grid;
    gap: 10px;
}

.duplicate-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left;
}

.duplicate-option:hover {
    background: var(--surface-soft);
}

.duplicate-option.primary {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.duplicate-option.primary:hover {
    background: var(--primary-hover);
}

.duplicate-option.cancel {
    background: var(--surface-soft);
}

.duplicate-option-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: var(--text);
    background: #eef2f6;
    font-size: 20px;
    font-weight: 700;
}

.duplicate-option.primary .duplicate-option-icon {
    color: #fff;
    background: rgba(255,255,255,.12);
}

.duplicate-option strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}

.duplicate-option small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.duplicate-option.primary small {
    color: rgba(255,255,255,.78);
}

@media (max-width: 620px) {

    .duplicate-info {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   MOBİL VE RESPONSIVE UYUMLULUK SİSTEMİ (MOBILE OPTIMIZATION)
   ========================================================= */

.mobile-topbar-toggle {
    display: none;
    background: transparent;
    border: 1px solid #334155;
    color: #f8fafc;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    place-items: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mobile-topbar-toggle:hover {
    background: #1e293b;
    border-color: #3b82f6;
}

@media (max-width: 768px) {
    .mobile-topbar-toggle {
        display: grid;
    }

    .topbar-nav {
        display: none;
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        background: #0f172a;
        border-bottom: 1px solid #334155;
        flex-direction: column;
        padding: 10px 16px;
        gap: 6px;
        z-index: 2000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .topbar-nav.mobile-open {
        display: flex;
    }

    .topbar-nav .nav-link {
        padding: 10px 14px;
        width: 100%;
        border-radius: 8px;
        font-size: 14px;
    }

    .app-container {
        padding: 12px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }

    .layer-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }

    .layer-row-head {
        display: none;
    }

    .service-links {
        justify-content: flex-start;
    }
}

.hidden,
#progress-container.hidden {
    display: none !important;
}

/* =========================================================
   ANIMATED UPLOAD PROGRESS BAR
   ========================================================= */
.progress-container {
    margin-top: 24px;
    padding: 18px 22px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #eff6ff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: #1e40af;
}

.progress-percent-badge {
    padding: 3px 10px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.progress-bar-track {
    width: 100%;
    height: 12px;
    background: #dbeafe;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    border: 1px solid #bfdbfe;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    border-radius: 999px;
    transition: width 0.2s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: progress-shimmer 1.5s linear infinite;
}

@keyframes progress-shimmer {
    from { background-position: -200% center; }
    to   { background-position:  200% center; }
}

.progress-details-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */

.app-footer {
    margin-top: 60px;
    background: #0f172a;
    color: #cbd5e1;
    border-top: 1px solid #1e293b;
    padding: 48px 0 24px;
}

.footer-container {
    width: min(1680px, 96vw);
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-title {
    display: block;
    font-size: 16px;
    color: #ffffff;
}

.footer-subtitle {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.footer-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
}

.footer-links-col h4,
.footer-tech-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links-col a:hover {
    color: #38bdf8;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-badge {
    background: #1e293b;
    color: #38bdf8;
    border: 1px solid #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
}

.footer-bottom {
    width: min(1680px, 96vw);
    max-width: 1680px;
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    border: 1px solid #334155;
    padding: 4px 12px;
    border-radius: 999px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 11px;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
