/* ==========================================
    BODY/HTML
============================================*/
:root {
    /*colors*/
    --soletis-orange: #FCA521;
    --soletis-blue-light: #D6EBFF;
    --soletis-blue: #29A9E5; /*NON TEXT*/
    --soletis-blue-dark: #029EE8; /*TEXT*/
    --background-color: white;
    --red-color: #FC3838;
    --gray-color: #E4E4E4;
    --gray-color-dark: #b5b5b5;
    --gray-color-xdark: #a6a6a6;
    --black-light: #4D4D4D;
    /*border*/
    --border-radius-small: 1rem;
    --border-radius-medium: 1.2rem;
    --border-radius: 1.5rem;
    --border: 3px solid var(--soletis-blue);
    --border-small: 2px solid var(--soletis-blue);
    /*margin & padding*/
    --padding-singular: 3rem;
    --padding: 1rem 3rem;
    --margin: 3rem;
    /*text*/
    --font-size-small: 1.1rem;
    --font-size-medium: 1.3rem;
    --font-size-big: 1.6rem;
}

body, html {
    font-family: "Inter", sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1;
    min-height: 100vh;
    border: var(--border);
}

.app-container {
    margin: 0 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    flex-grow: 1;
}

/* ==========================================
    GENERAL
============================================*/
h2 {
    font-size: var(--font-size-big);
    color: var(--black-light);
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

i {
    font-size: var(--font-size-medium);
}

p {
    margin: 0;
    padding: 0;
    color: var(--black-light);
}

.label {
    color: var(--black-light);
}

ul {
    padding: 0;
    margin: 0;
}

.row {
    margin: 0;
}

.form-check-input {
    font-size: 1.4rem;
    margin: 0;
}

    .form-check-input:checked {
        background-color: var(--soletis-blue);
        border-color: var(--soletis-blue);
    }

    .form-check-input:focus {
        outline: none;
        box-shadow: none;
    }

.align-center {
    text-align: center;
}

.btn-nav {
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    border: none;
    color: white;
    font-weight: bold;
    background-color: var(--soletis-blue);
}

/* ==========================================
    GENERAL - ITEMS
============================================*/
.btn-main {
    padding: .5rem 1rem;
    border: none;
    font-size: var(--font-size-small);
    border-radius: var(--border-radius-medium);
    font-weight: bold;
    text-decoration: none;
    min-width: 10rem;
    height: 2.7rem;
}

    .btn-main:hover {
        opacity: 0.9;
    }

.btn-orange {
    background-color: var(--soletis-orange);
    color: white;
}

    .btn-orange:hover {
        background-color: #fc8021;
    }

.btn-blue {
    background-color: white;
    border: var(--border-small);
    color: var(--soletis-blue-dark);
}

    .btn-blue:hover {
        background-color: var(--soletis-blue);
        color: white;
        border: var(--border-small);
    }

.select-blue {
    border: var(--border-small);
    border-radius: var(--border-radius-medium);
    color: var(--soletis-blue-dark);
    background-color: white;
    height: 2.7rem;
}

    .select-blue:focus {
        outline: none;
        box-shadow: none;
        border: var(--border-small);
    }

.btn-main.btn-reset-filter {
    min-width: auto;
    padding: 0.5rem 1.5rem;
}

.btn-red {
    background-color: white;
    border: var(--border-small);
    border-color: var(--red-color);
    color: var(--red-color);
}

    .btn-red:hover {
        background-color: var(--red-color);
        color: white;
    }

.txt-blue {
    color: var(--soletis-blue-dark);
}

.txt-orange {
    color: var(--soletis-orange);
}

.search-main {
    width: 160px;
    border: 2px solid black;
    font-size: 1.2rem;
    border-radius: var(--border-radius-medium);
    padding: 10px;
    min-width: 10rem;
    height: 2.7rem;
}

.search-orange {
    border: 2px solid var(--soletis-orange);
}

    .search-orange:focus {
        outline: none;
        border-color: var(--soletis-orange);
    }

    .search-orange:hover {
        border-color: #fc8021;
    }

.search-blue {
    border-color: var(--soletis-blue);
}

    .search-blue:focus {
        outline: none;
        border-color: var(--soletis-blue);
    }

.emoji {
    height: 1rem;
    width: 1rem;
}

label {
    color: var(--black-light);
}

input {
    color: var(--black-light);
}

/* ==========================================
    GENERAL - CARDS
============================================*/
.cards {
    display: flex;
    flex-direction: column;
    gap: var(--margin);
}

.card {
    min-height: 10rem;
    border: var(--border);
    border-radius: var(--border-radius);
    background-color: var(--soletis-blue-light);
    padding: var(--padding);
}

    .card .row {
        margin: 0.5rem 0;
    }

.form-groups {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .form-groups label {
        font-weight: bold;
    }

.header-card {
    display: flex;
    justify-content: space-between;
    border: none;
    border-radius: var(--border-radius);
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 1px 2px 2px rgba(0,0,0,0.44);
    align-items: center;
}

.input-card {
    flex-direction: row;
    min-height: 10rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 1px 2px 2px rgba(0,0,0,0.44);
}

.input-card-heading {
    display: flex;
    justify-content: space-between;
}

.input-card .form-group {
    margin: 1rem 0;
}

    .input-card .form-group label {
        font-weight: 550;
    }

.carriers-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.disabled-card {
    border-color: var(--gray-color-dark);
    pointer-events: none;
    cursor: not-allowed;
    background-color: var(--gray-color)
}

    .disabled-card * {
        cursor: not-allowed !important;
    }

    .disabled-card table thead {
        background-color: var(--gray-color-dark);
    }

    .disabled-card .txt-blue {
        color: var(--gray-color-xdark);
    }

    .disabled-card .btn-main {
        border-color: var(--gray-color-xdark);
        color: var(--gray-color-xdark);
    }

    .disabled-card .form-check-input {
        border-color: var(--gray-color-xdark);
        color: var(--gray-color-xdark);
        background-color: var(--gray-color-dark);
    }

/* ==========================================
    GENERAL - TABLE
============================================*/
table {
    width: 100%;
    border-collapse: separate;
}

th, td {
    vertical-align: middle;
}

thead {
    background-color: var(--soletis-blue);
}

    thead th {
        font-weight: bold;
        border-bottom: none;
        opacity: 0.9;
        text-transform: uppercase;
    }

    thead th:first-child {
        border-top-left-radius: var(--border-radius-small);
    }

    thead th:last-child {
        border-top-right-radius: var(--border-radius-small);
    }

tbody {
    background-color: white;
}

    tbody tr {
        color: var(--black-light);
    }

    tbody tr:last-child td:first-child {
        border-bottom-left-radius: var(--border-radius-small);
    }

    tbody tr:last-child td:last-child {
        border-bottom-right-radius: var(--border-radius-small);
    }
    
.inpt-main {
    border: var(--border-small);
    max-width: 10rem;
    font-size: var(--font-size-small);
    border-radius: var(--border-radius);
    text-align: center;
    height: 2.7rem;
}

    .inpt-main:disabled {
        background-color: white;
    }

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem auto;
    border: var(--border-small);
    background-color: white;
    width: 120px;
    border-radius: var(--border-radius);
    margin: 0 auto;
    padding: 0;
}

    .pagination-controls a.disabled {
        color: var(--gray-color-xdark);
    }

.page-number {
    font-size: var(--font-size-medium);
}

.i-nav {
    font-size: 1.7rem;
    color: var(--soletis-blue-dark);
}

    .i-nav:hover {
        cursor: pointer;
    }

th i.fa-arrow-up, th i.fa-arrow-down {
    font-size: var(--font-size-small);
    font-weight: bold;
}

/* ==========================================
    NAVBAR
============================================*/
.nav {
    margin-bottom: var(--margin);
    background-color: var(--soletis-blue-light);
    justify-content: space-between;
    padding: 0 var(--padding-singular);
    border-bottom: var(--border);
}

.nav-logo {
    background: url('../img/ST_logo.PNG') no-repeat center;
    background-size: contain;
    width: 60px;
    height: 60px;
}

.nav-actions {
    display: flex;
}

    .nav-actions ul {
        display: flex;
        list-style: none;
        gap: var(--padding);
        align-items: center;
        height: 100%;
        font-size: var(--font-size-medium);
    }

    .nav-actions a {
        color: var(--soletis-blue-dark);
        font-weight: bold;
        text-decoration: none;
    }

        .nav-actions a:hover {
            color: var(--black-light);
            transition: font-size 0.2s ease;
        }

        .nav-actions a i {
            font-size: var(--font-size-medium);
            color: var(--black-light);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, font-size 0.2s ease;
        }

        .nav-actions a:hover i {
            opacity: 1;
            visibility: visible;
        }

        .nav-actions li.active a {
            color: var(--black-light);
            border-bottom: var(--border);
            border-color: var(--black-light);
            padding: 0.3rem;
        }

        .nav-actions li.active a i {
            opacity: 1;
            visibility: visible;
        }

.nav-logout {
    display: flex;
    align-content: center;
}

.nav-button {
    font-size: var(--font-size-medium);
    color: var(--black-light);
    font-weight: bold;
    border: none;
    background-color: transparent;
}

/* ==========================================
    FOOTER
============================================*/
.page-footer {
    display: flex;
    flex-direction: column;
    background-color: var(--soletis-blue-light);
    margin-top: var(--margin);
    max-height: 10rem;
}

.footer-contact {
    padding: 0.5rem 1.5rem;
    border-top: var(--border);
}

.footer-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border: var(--border);
    border-bottom: none;
}

    .footer-logo {
        background: url('../img/ST_logo.PNG') no-repeat center;
        background-size: contain;
        width: 100%;
        height: 160px;
        border: none;
    }

.footer-navigation {
    padding: 0.5rem 1.5rem;
    text-align: right;
    border-top: var(--border);
}

.footer-header {
    color: var(--soletis-blue-dark);
    font-weight: bold;
    font-size: var(--font-size-big);
}

.footer-ul {
    list-style: none;
}

    .footer-ul li {
        padding: 0.3rem;
        color: var(--black-light);

    }
    .footer-ul a {
        text-decoration: none;
        color: var(--black-light);
    }

/* ==========================================
    CUSTOMER MANAGEMENT
============================================*/
.customer-management-tiles {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 60%;
    gap: var(--padding-singular);
    height: 100%;
    justify-content: center;
    align-content: center;
}

.tile {
    position: relative;
    display: block;
    text-decoration: none;
    background-color: var(--soletis-blue-light);
    width: 45%;
    min-height: 8rem;
    padding: 1rem 1.5rem;
    border: var(--border);
    border-radius: var(--border-radius);
}

.tile h2 {
    font-weight: bold;
    color: var(--soletis-blue-dark);
}

.tile p {
    color: var(--black-light);
    padding-right: var(--font-size-medium);
}

.tile-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--soletis-blue-dark);
    transition: transform 0.2s ease;
}

.tile:hover .arrow-icon {
    transform: translateY(-50%) translateX(5px);
    color: var(--black-light);
}

.tile:hover {
    border: var(--border);
    border-color: var(--black-light);
    transition: border 0.2s ease;
}

    .tile:hover h2 {
        color: var(--black-light);
        transition: color 0.2s ease;
    }

/* ==========================================
    LOGIN
============================================*/
.login-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 50vw;
    height: 100%;
    justify-content: center;
    align-content: center;
}

.login-container label {
    color: var(--black-light);
}

    .login-container h2 {
        text-align: center;
    }

    .login-container .form-group {
        text-align: center;
        font-weight: bold;
    }

    .login-container .form-group input {
        text-align: center; 
    }

    .login-container .button-container {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: var(--black-light) !important;
    caret-color: var(--black-light);
    transition: background-color 9999s ease-in-out 0s;
}

/* ==========================================
    BATCHES
============================================*/
.batch-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.batch-card {
    display: flex;
    gap: 1.5rem;
}

.batch-information-card {
    border: var(--border-small);
    border-radius: var(--border-radius);
    background-color: white;
    width: 25%;
    padding: 0 2rem 1rem 2rem;
}

.batch-information-card-symbol {
    font-weight: bold;
    font-size: 2.5rem;
}

.batch-information-card-value {
    font-weight: bold;
    font-size: var(--font-size-big);
}

.batch-information-card-header {
    font-size: var(--font-size-medium);
}

.batch-information-card-small {
    border: var(--border-small);
    border-radius: var(--border-radius);
    background-color: white;
    width: 20%;
    padding: 0.5rem 1rem;
}

.batch-information-card-value-small {
    font-weight: bold;
    font-size: var(--font-size-medium);
}

.batch-information-card-header-small {
    font-size: var(--font-size-medium);
}

.fileData-list {
    list-style: none;
}

.fileData-list-item {

}

.fileData-list a {
    color: var(--soletis-blue-dark);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--soletis-blue-dark);
}

/* ==========================================
    FILEDATAS
============================================*/
.download-icon {
    font-size: var(--font-size-medium);
    color: var(--black-light);
}

/* ==========================================
    LOGOUT
============================================*/
.logout-container {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-content: center;
}

    .logout-container label {
        text-align: center;
    }

    .logout-container h2 {
        text-align: center;
    }

    .logout-container .form-group {
        text-align: center;
        font-weight: bold;
    }

    .logout-container .form-group input {
        text-align: center;
    }

    .logout-container .button-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

/* ==========================================
    PROCESSING
============================================*/
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    text-align: center;
}

    #loadingOverlay .loading-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        color: var(--soletis-blue-light);
    }