
/* Cabeçalho */
.cs-topbar {
    min-height: 76px;
    height: 76px;
    background: #100653;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    position: relative;
    z-index: 10;
}

.cs-logo-image {
    display: flex;
    align-items: center;
    width: 220px;
    height: 58px;
    flex-shrink: 0;
    text-decoration: none;
    overflow: hidden;
}

.cs-logo-image img {
    display: block;
    width: 205px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.cs-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
}

.cs-nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity .2s ease;
}

.cs-nav a:hover {
    opacity: .8;
}

.cs-trial {
    background: #35306e;
    padding: 11px 17px;
    border-radius: 6px;
    white-space: nowrap;
}

.cs-primary {
    background: #3975ef;
    padding: 11px 17px;
    border-radius: 6px;
    white-space: nowrap;
}

.cs-help {
    color: #fff;
    font-weight: 700;
}

.cs-user {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cs-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #b12bd0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1050px) {
    .cs-nav {
        gap: 16px;
    }

    .cs-nav .cs-hide-mobile {
        display: none;
    }
}

@media (max-width: 800px) {
    .cs-topbar {
        padding: 0 15px;
    }

    .cs-logo-image {
        width: 175px;
    }

    .cs-logo-image img {
        width: 170px;
    }

    .cs-trial,
    .cs-primary {
        padding: 9px 11px;
        font-size: 12px;
    }
}

@media (max-width: 650px) {
    .cs-topbar {
        height: 64px;
        min-height: 64px;
    }

    .cs-logo-image {
        width: 150px;
        height: 48px;
    }

    .cs-logo-image img {
        width: 145px;
        max-height: 45px;
    }

    .cs-nav {
        gap: 8px;
    }

    .cs-nav > a,
    .cs-nav > .cs-help,
    .cs-nav > .cs-trial,
    .cs-nav > .cs-primary {
        display: none;
    }

    .cs-user {
        font-size: 12px;
    }
}

/* assets/css/style.css */

:root {
    --cs-purple: #100653;
    --cs-purple-2: #35306e;
    --cs-blue: #3975ef;
    --cs-text: #172033;
    --cs-muted: #737b88;
    --cs-border: #e2e5e9;
    --cs-bg: #f8f9fb;
    --cs-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cs-bg);
    color: var(--cs-text);
}

a {
    color: inherit;
}

.cs-main {
    min-height: calc(100vh - 76px);
}

/* Página de importação */

.cs-upload-page {
    display: flex;
    min-height: calc(100vh - 76px);
}

.cs-upload-main {
    flex: 1;
    min-width: 0;
    padding: 42px 22px 70px;
}

.cs-upload-side {
    width: 345px;
    flex: 0 0 345px;
    background: var(--cs-white);
    border-left: 1px solid #ddd;
    padding: 18px 20px;
    position: relative;
}

.cs-steps {
    width: min(650px, 100%);
    margin: 0 auto 25px;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.cs-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: #aaa;
}

.cs-step {
    width: 33.333%;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #777;
    font-size: 12px;
}

.cs-step-circle {
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
    border: 1px solid #aaa;
    border-radius: 50%;
    background: var(--cs-white);
    display: grid;
    place-items: center;
    font-weight: 600;
}

.cs-step.active {
    color: var(--cs-blue);
}

.cs-step.active .cs-step-circle {
    border-color: var(--cs-blue);
    color: var(--cs-blue);
}

.cs-dropzone {
    min-height: 505px;
    border: 2px dashed #d2d5d9;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.cs-dropzone:hover,
.cs-dropzone.drag {
    background: #f1f5ff;
    border-color: var(--cs-blue);
}

.cs-upload-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs-document-icon {
    width: 60px;
    height: 76px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    position: relative;
    margin-bottom: 18px;
}

.cs-document-icon::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    border-left: 18px solid transparent;
    border-bottom: 18px solid #e6edf3;
}

.cs-document-icon::after {
    content: "≋";
    position: absolute;
    left: 15px;
    top: 15px;
    color: #11a5ef;
    font-size: 25px;
    font-weight: bold;
}

.cs-button {
    border: 0;
    border-radius: 5px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.cs-button:hover {
    opacity: .92;
}

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

.cs-button-primary {
    background: var(--cs-blue);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}

.cs-upload-hint {
    margin-top: 12px;
    color: #8b919b;
    font-size: 13px;
}

.cs-upload-limit {
    margin-top: 9px;
    color: #707782;
    font-size: 13px;
}

.cs-selected-file {
    display: none;
    width: min(480px, 90%);
    margin-top: 18px;
    padding: 14px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
}

.cs-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-file-name {
    font-weight: 700;
    word-break: break-word;
}

.cs-file-size {
    margin-top: 4px;
    font-size: 12px;
    color: #888;
}

.cs-remove-file {
    margin-left: auto;
    border: 0;
    padding: 5px;
    background: none;
    color: #e34d59;
    cursor: pointer;
}

.cs-continue {
    display: none;
    margin: 20px auto 0;
}

.cs-side-title {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.cs-side-empty {
    margin-top: 10px;
    color: #9aa0aa;
    font-size: 13px;
}

.cs-usage {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    padding: 13px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}

.cs-usage-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
}

.cs-usage small {
    display: block;
    margin: 5px 0 10px;
    color: #999;
    line-height: 1.4;
}

.cs-progress {
    height: 8px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #eeeef5;
    border-radius: 10px;
}

.cs-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #dfe5ff;
    border-radius: 10px;
}

/* Página de documentos */

.cs-documents-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 20px 60px;
}

.cs-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.cs-page-title h1 {
    margin: 0;
    font-size: 25px;
}

.cs-card {
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: 9px;
    overflow: hidden;
}

.cs-document-row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 120px;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
}

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

.cs-document-head {
    background: #fafbfc;
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

.cs-document-name {
    font-weight: 700;
    word-break: break-word;
}

.cs-document-meta {
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.cs-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    background: #eef7ee;
    color: #34813b;
    font-size: 12px;
    font-weight: 700;
}

.cs-empty {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

.cs-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    padding: 12px 16px;
    background: #1f2937;
    color: #fff;
    border-radius: 7px;
    font-size: 13px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .18);
    z-index: 9999;
}

/* Responsivo */

@media (max-width: 900px) {
    .cs-upload-side {
        display: none;
    }
}

@media (max-width: 700px) {
    .cs-upload-main {
        padding: 25px 12px 45px;
    }

    .cs-dropzone {
        min-height: 430px;
    }

    .cs-document-row {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .cs-document-head {
        display: none;
    }

    .cs-documents-container {
        padding: 25px 12px 45px;
    }

    .cs-page-title {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cs-dropzone {
        min-height: 400px;
    }

    .cs-upload-limit {
        max-width: 280px;
        line-height: 1.5;
    }
}


/* Logo da LINESUL */
.cs-logo-image {
    display: flex;
    align-items: center;
    width: 225px;
    height: 54px;
    text-decoration: none;
    flex-shrink: 0;
}

.cs-logo-image img {
    display: block;
    width: 215px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}

.cs-help {
    font-weight: 700;
}

@media (max-width: 650px) {
    .cs-logo-image {
        width: 150px;
        height: 46px;
    }

    .cs-logo-image img {
        width: 145px;
        max-height: 44px;
    }
}
