﻿/* =========================
   ROOT COLOR VARIABLES
========================= */

:root {
    /* Core Brand */
    --primary: #2563eb;
    --accent: #2563eb;
    /* Text */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #ffffff;
    --text-dark: #35444a;
    --text-soft-dark: #3b4348;
    --text-nav: #fff;
    /* Backgrounds */
    --bg-body: rgba(0,0,0,0.01);
    --bg-light: #f9fafb;
    --bg-soft-blue: #bdd4dc;
    --bg-input: #cde0e7;
    --bg-subtle: rgba(0,0,0,0.035);
    --bg-topbar: #d1e3e9;
    --bg-password-recovery: #d8e7ed;
    --bg-floating: #5d6e80;
    --bg-warning: #fff1ae;
    --bg-tooltip: #496c91;
    --bg-hover-light-red: #fef2f2;
    --bg-serial-hover: #f9fafb;
    --bg-details-hover: #eff6ff;
    /* Buttons */
    --btn-primary: #31b0e5;
    --btn-primary-hover: #269fd2;
    --btn-secondary: #2ca2d6;
    --btn-secondary-hover: #45b7e9;
    /* Status */
    --success: #17b110;
    --error: #d53e3e;
    --info: #0c72a7;
    --warning-text: #604e04;
    /* Borders */
    --border: #e5e7eb;
    --border-light: #f0f0f0;
    --border-soft: #d5e2e8;
    --tooltip-arrow: #0f5a89;
    /* Navigation */
    --nav-bg: rgba(0,0,0,0.6);
    --nav-border: #e5e7eb;
    --logout-red: #dc2626;
    --blue-button: #00a7d2;
}

/* =========================
   BASE
========================= */

body {
    margin: 0;
    padding: 0;
    background: var(--bg-body);
    font-family: Roboto, Calibri;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size:12px;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.main-wrapper {
    max-width: 650px;
    width: -webkit-fill-available;
}

.sidebar-wrapper {
    width: 250px;
    background-color: rgba(0, 0, 0, 0.03);
    margin-left: 10px;
    padding: 10px;
    border-radius: 2px;
    border-bottom:3px solid rgba(0,0,0,0.3)
}

.sidebar-list {
    margin-left: 0px;
    padding-left: 0px;
}
    .sidebar-list > li {
        list-style-type: none;
        padding-left: 10px;
        line-height: 32px;
        color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-bottom:1px solid rgba(0,0,0,0.1);
        width:220px;
    }
    .sidebar-list > li:hover {
        background-color:rgba(0,0,0,0.02);
    }
        .sidebar-list > li > a {
            text-decoration: none;
            color: rgba(0,0,0,0.5);
        }
        .sidebar-list > li > a:hover {
            text-decoration:underline;
        }
        .sidebar-list > li > i {
            font-size:18px;
            margin-right:5px;
            min-width:20px;
        }
        /* =========================
   MAIN LOGIN
========================= */

        .main-header {
            padding-top: 30px;
            margin-bottom: 20px;
        }

            .main-header > h1 {
                color: var(--text-muted);
                font-size: 25px;
                margin: 0 auto;
                width: 450px;
                text-align: center;
                padding-bottom: 15px;
                border-bottom: 1px solid var(--bg-soft-blue);
            }

.main-login {
    width: fit-content;
    background: var(--bg-soft-blue);
    margin: 0 auto;
    border-radius: 4px;
}

.main-login-password-recovery {
    width: 300px;
    background: #d8e7ed3b;
    margin: 0 auto;
    border-radius: 4px;
    padding: 10px 0px 10px 0px;
    color: #6f9faf;
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}

    .main-login-password-recovery > div {
        padding: 0px 10px;
    }

.tooltip-link-blue {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding: 5px 16px;
    background-image: url(/images/tooltip_s_blue.png);
    font-weight: normal;
}

        .value-tag {
            padding: 2px 5px;
            background-color: rgba(0,0,0,0.05);
            border-radius: 2px;
            font-weight: 400;
            width: fit-content;
        }

.page-tag {
    padding: 3px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 2px;
}

.page-tag > a{
    color: rgba(0,0,0,0.8);
    text-decoration:none;
}

.page-tag-selected {
    padding: 3px;
    background-color: #00a7d2;
    border-radius: 2px;
}

    .page-tag-selected > a {
        color: #fff;
    }

        .comment-tag {
            padding: 3px 8px;
            background-color: rgba(70,110,210,0.1);
            border-radius: 2px;
            width: fit-content;
            font-size: 10px;
            margin-left: 5px;
        }

        input {
            margin: 0px;
            padding: 7px 8px;
            background: var(--bg-subtle);
            border: 0;
            border-radius: 2px;
            color: var(--text-soft-dark);
            width: -webkit-fill-available;
            font-size: 12px;
        }

            input[type=submit] {
                color: var(--text-light);
                cursor: pointer;
                transition: all 0.3s;
                margin-top: 0;
                width: 150px;
            }

                input[type=submit]:hover {
                    background: var(--btn-primary-hover);
                }
#loginf {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#loginf > input, #forgot_password {
    margin: 15px 15px 0px 15px;
    padding: 10px;
    background: #cde0e7;
    border: 0;
    border-radius: 2px;
    color: var(--text-soft-dark);
    width: -webkit-fill-available;
}

    #loginf > div > input[type=submit] {
        color: var(--text-light);
        cursor: pointer;
        transition: all 0.3s;
        margin-top: 0;
        width: 150px;
        background: #31b0e5;
        height: 40px;
        border-radius: 2px;
    }

        #loginf > div > input[type=submit]:hover {
            background: var(--btn-primary-hover);
        }

        .main-captcha {
            margin: 15px;
            width: 305px;
            background: var(--bg-input);
            padding: 10px;
            height: 75px;
        }

.welcome-username{
    margin:0px 5px;
}
/* =========================
   STATUS MESSAGES
========================= */
.blue-button {
    background-color: var(--blue-button);
    border: 0px;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    transition: box-shadow .15s, transform .15s;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow, transform;
    font-size: 13px;
    text-decoration: none;
}

        .green-button {
            background-color: #659309;
            border: 0px;
            border-radius: 2px;
            color: #fff;
            cursor: pointer;
            transition: box-shadow .15s, transform .15s;
            -webkit-user-select: none;
            touch-action: manipulation;
            white-space: nowrap;
            will-change: box-shadow, transform;
            font-size: 13px;
        }

            .green-button > a {
                color: #fff;
            }

        .form-button {
            font-size: 12px;
            padding: 5px;
            min-width: 100px;
            text-align: center;
            display: inline;
            margin-right: 5px;
        }

        .main-error,
        .main-info,
        .main-success {
            color: var(--text-light);
            margin: 0 auto 10px auto;
            padding: 15px 10px;
            border-radius: 4px;
        }

        .main-error {
            background: var(--error);
            width: 375px;
        }

        .main-info {
            background: var(--info);
            width: 375px;
        }

        .main-success {
            background: var(--success);
            width: 345px;
            padding-left: 40px;
            transition: all 0.3s;
            display: none;
            background-image: url('/images/clm/loading_24.gif');
            background-repeat: no-repeat;
            background-position: 10px center;
        }

            .main-error a,
            .main-info a,
            .main-success a {
                color: var(--text-light);
            }
        /* =========================
   CUSTOMER LAYOUT
========================= */

        .customer-top,
        .customer-bottom {
            width: 100%;
            background: var(--bg-topbar);
            color: var(--text-muted);
        }

        .customer-top {
            position: absolute;
            top: 0;
            left: 0;
            font-size: 24px;
        }

        .customer-bottom {
            position: fixed;
            bottom: 0;
            left: 0;
        }

            .customer-top > div,
            .customer-bottom > div {
                width: 1000px;
                margin: 0 auto;
            }

        .customer-content {
            width: 100%;
        }

            .customer-content > div {
                max-width: 800px;
                margin: 0 auto;
                min-height: 500px;
            }

        .customer-content-title {
            padding: 0px 10px;
            background: var(--nav-bg);
            color: var(--text-light);
            margin: 0px 0px;
        }

            .customer-content-title > p {
                padding: 10px 0px;
                margin: 0px;
            }

        .customer-content-header {
            background-color: rgba(0, 0, 0, 0.7);
            margin-top: 0px;
            color: #fff !important;
        }

        .customer-content-subtitle {
            padding: 10px;
            background: var(--bg-subtle);
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        .customer-content-flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .customer-content-inside {
            padding: 10px;
            display: flex;
            width: 100%;
            color: var(--text-soft-dark);
            border-bottom: 1px solid var(--border-soft);
            justify-content: flex-start;
            box-sizing: border-box;
        }

        .customer-content-button {
            padding: 5px 30px;
            border-radius: 3px;
            background: var(--btn-secondary);
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }

            .customer-content-button:hover {
                background: var(--btn-secondary-hover);
            }
        /* =========================
   TOOLTIP
========================= */

        .tooltip-inner {
            max-width: 350px;
            padding: 10px;
            color: var(--text-light);
            background-color: var(--bg-tooltip);
            border-radius: 2px;
        }

        .tooltip.top .tooltip-arrow,
        .tooltip.right .tooltip-arrow,
        .tooltip.left .tooltip-arrow,
        .tooltip.bottom .tooltip-arrow {
            border-color: var(--tooltip-arrow);
        }
        /* =========================
   WARNING
========================= */

.warning {
    background: var(--bg-warning);
    color: var(--warning-text);
    font-size: 12px;
    margin-bottom: 10px;
    background-image: url('/Images/clm/warning.png');
    background-repeat: no-repeat;
    background-position: 10px center;
    padding: 10px 10px 10px 50px;
    display: flow;
}
        /* =========================
   NAV
========================= */

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1.5rem;
            background-color: var(--nav-bg);
            border-bottom: 1px solid var(--nav-border);
            min-height: 50px;
            color: var(--text-nav);
            margin-bottom: 20px;
        }

        .nav-col1 a {
            text-decoration: none;
        }

        .nav-col2 {
            background-color: rgba(0, 0, 0, 0.4);
            padding: 10px;
            border-radius: 2px;
        }

            .nav-col2 a {
                text-decoration: none;
                color: #eee;
                background-color: var(--logout-red);
                padding: 4px 8px;
                border-radius: 1px;
                transition: background 0.2s;
            }

                .nav-col2 a:hover {
                    background-color: var(--logout-red);
                }

        .logo-wrapper {
        }

            .logo-wrapper > div:nth-of-type(1) {
                font-size: 11px;
            }

            .logo-wrapper > div:nth-of-type(2) > span {
                font-size: 12px;
                color: rgba(255, 255, 255, 0.8);
            }

        .customer-welcome-left > a {
            font-size: 16px;
            color: var(--text-nav);
        }
        /* =========================
   SERIAL LIST
========================= */
        .customer-serials {
            max-width: 800px;
        }

            .customer-serials > .serial-row:nth-child(odd) {
                background-color: rgba(0, 0, 0, 0.05);
            }

            .customer-serials > .serial-row:nth-child(even) {
                background-color: rgba(0, 0, 0, 0.01);
            }

        .data-table > .data-row:nth-child(odd) {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .data-table > .data-row:nth-child(even) {
            background-color: rgba(0, 0, 0, 0.01);
        }

        .product-group-header {
            margin: 15px 0 5px 0;
            padding: 0 4px 4px 4px;
            border-bottom: 1px solid var(--border);
        }

        .serial-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border-bottom: 1px solid var(--border-light);
            transition: background 0.1s;
        }

            .serial-row:hover {
                background: var(--bg-serial-hover);
            }

        .serial-info-stack {
            display: flex;
            align-items: baseline;
            gap: 15px;
        }

        .serial-number {
            font-size: 12px;
            color: var(--text-main);
        }

        .serial-date {
            font-size: 12px;
            color: var(--text-main);
        }
        /* =========================
   FOOTER
========================= */

        .footer {
            margin-top: 20px;
            padding: 20px 0;
            border-top: 1px solid var(--nav-border);
            background-color: var(--bg-light);
        }

        .customer-bottom-right {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: right;
        }
        /* =========================
   WIDTH
========================= */

        .w75 {
            width: 75px;
            min-width:75px;
        }

        .w120 {
            width: 120px;
        }

        .w130 {
            width: 130px;
        }

        .w150 {
            width: 150px;
        }

        .w180 {
            width: 180px;
            min-width:180px;
        }

        .w200 {
            width: 200px;
        }

        .w240 {
            width: 240px;
            min-width: 240px;
        }

        .wfit {
            width: fit-content;
            display: flex;
            align-items: center;
        }

        .wfill {
            width: -webkit-fill-available;
        }