/* DOTS consolidated application stylesheet.
   Legacy application foundation from app-blue.css, followed by modern DOTS overrides.
   Generated for DOTS V2 Patch 25. */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,800,700,600);
/*************************************************************
*						App Variables
**************************************************************/
/*************************************************************
*					  Colors Definitions
**************************************************************/
/*************************************************************
*					Common Element Variables
**************************************************************/
/* ***************************************************
*			Page Specific Element Variables
****************************************************** */
/*****************************************
*       Background-image: cover mixin
******************************************/
/*****************************************
*       Media Query Mixins
******************************************/
html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    min-height: 100%;
    font-family: 'Open Sans', sans-serif;
    color: #4f5f6f;
    overflow-x: hidden;
}

.main-wrapper {
    width: 100%;
    position: absolute;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

#ref .color-primary {
    color: #52BCD3;
}

#ref .chart .color-primary {
    color: #52BCD3;
}

#ref .chart .color-secondary {
    color: #7bccdd;
}

.app {
    position: relative;
    width: 100%;
    padding-left: 240px;
    min-height: 100vh;
    margin: 0 auto;
    left: 0;
    background-color: #f0f3f6;
    -webkit-box-shadow: 0 0 3px #ccc;
    box-shadow: 0 0 3px #ccc;
    -webkit-transition: left 0.3s ease, padding-left 0.3s ease;
    transition: left 0.3s ease, padding-left 0.3s ease;
    overflow: hidden;
}

    .app .content {
        padding: 95px 20px 75px 20px;
        min-height: 100vh;
    }

@media (min-width: 1200px) {
    .app .content {
        padding: 105px 40px 85px 40px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .app .content {
        padding: 100px 35px 80px 35px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .app .content {
        padding: 95px 20px 75px 20px;
    }
}

@media (max-width: 767.98px) {
    .app .content {
        padding: 70px 20px 70px 20px;
    }
}

@media (max-width: 991.98px) {
    .app {
        padding-left: 0;
    }
}

@media (max-width: 991.98px) {
    .app.sidebar-open {
        left: 0;
    }
}

.app.blank {
    background-color: #667380;
}

.auth {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    background-color: #667380;
    overflow-x: hidden;
    overflow-y: auto;
}

.auth-container {
    width: 450px;
    min-height: 330px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
}

    .auth-container .auth-header {
        text-align: center;
        border-bottom: 1px solid #52BCD3;
    }

    .auth-container .auth-title {
        color: #97A4B1;
        padding: 20px;
        line-height: 30px;
        font-size: 26px;
        font-weight: 600;
        margin: 0;
    }

    .auth-container .auth-content {
        padding: 30px 50px;
        min-height: 260px;
    }

    .auth-container .forgot-btn {
        line-height: 28px;
    }

    .auth-container .checkbox label {
        padding: 0;
    }

    .auth-container .checkbox a {
        vertical-align: text-top;
    }

    .auth-container .checkbox span {
        color: #4f5f6f;
    }

@media (max-width: 767.98px) {
    .auth-container {
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        -webkit-transform: inherit;
        transform: inherit;
        margin: 0;
        margin-bottom: 10px;
    }

        .auth-container .auth-content {
            padding: 30px 25px;
        }
}

/*****************************************
*       Background-image: cover mixin
******************************************/
/*****************************************
*       Media Query Mixins
******************************************/
.row-sm {
    margin-left: -10px;
    margin-right: -10px;
}

    .row-sm [class^='col'] {
        padding-left: 10px;
        padding-right: 10px;
    }

.title-block {
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #d7dde4;
}

    .title-block::after {
        display: block;
        clear: both;
        content: "";
    }

@media (max-width: 767.98px) {
    .title-block {
        margin-bottom: 20px;
    }
}

.subtitle-block {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #e0e5ea;
}

.section {
    display: block;
    margin-bottom: 15px;
}

@media (min-width: 1200px) {
    .section {
        margin-bottom: 25px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .section {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .section {
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .section {
        margin-bottom: 10px;
    }
}

.section:last-of-type {
    margin-bottom: 0;
}

.box-placeholder {
    margin-bottom: 15px;
    padding: 20px;
    border: 1px dashed #ddd;
    background: #fafafa;
    color: #444;
    cursor: pointer;
}

.underline-animation {
    position: absolute;
    top: auto;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #52BCD3;
    content: '';
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}

.stat-chart {
    border-radius: 50%;
}

.stat {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    margin-right: 10px;
}

    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }

    .stat.lg .name {
        font-size: 16px;
    }

.list-icon [class^='col'] {
    cursor: pointer;
}

    .list-icon [class^='col'] em {
        font-size: 14px;
        width: 40px;
        vertical-align: middle;
        margin: 0;
        display: inline-block;
        text-align: center;
        -webkit-transition: all 1s;
        transition: all 1s;
        line-height: 30px;
    }

    .list-icon [class^='col']:hover em {
        -webkit-transform: scale(2, 2);
        transform: scale(2, 2);
    }

.well {
    background-image: none;
    background-color: #fff;
}

.jumbotron {
    background-image: none;
    background-color: #fff;
    padding: 15px 30px;
}

    .jumbotron.jumbotron-fluid {
        padding-left: 0;
        padding-right: 0;
    }

.rounded {
    border-radius: 0.25rem;
}

.rounded-l {
    border-radius: 0.3rem;
}

.rounded-s {
    border-radius: 0.2rem;
}

.jqstooltip {
    height: 25px !important;
    width: auto !important;
    border-radius: 0.2rem;
}

.title {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0;
}

    .title.l {
        font-size: 1.6rem;
    }

    .title.s {
        font-size: 1.4rem;
    }

.card .title {
    font-size: 1.1rem;
    color: #4f5f6f;
}

.title-description {
    margin: 0;
    font-size: 0.9rem;
    font-weight: normal;
    color: #7e8e9f;
}

    .title-description.s {
        font-size: 0.8rem;
    }

@media (max-width: 767.98px) {
    .title-description {
        display: none;
    }
}

.subtitle {
    font-size: 1.2rem;
    margin: 0;
    color: #7e8e9f;
}

.text-primary {
    color: #52BCD3;
}

.text-muted {
    color: #9ba8b5;
}

pre {
    padding: 0;
    border: none;
    background: none;
}

.alert {
    background-image: none;
}

    .alert.alert-primary {
        color: #ffffff;
        background-color: #52BCD3;
        border-color: #52BCD3;
    }

        .alert.alert-primary hr {
            border-top-color: #3eb4ce;
        }

        .alert.alert-primary .alert-link {
            color: #e6e6e6;
        }

    .alert.alert-success {
        color: #ffffff;
        background-color: #4bcf99;
        border-color: #4bcf99;
    }

        .alert.alert-success hr {
            border-top-color: #37ca8e;
        }

        .alert.alert-success .alert-link {
            color: #e6e6e6;
        }

    .alert.alert-info {
        color: #ffffff;
        background-color: #76D4F5;
        border-color: #76D4F5;
    }

        .alert.alert-info hr {
            border-top-color: #5ecdf3;
        }

        .alert.alert-info .alert-link {
            color: #e6e6e6;
        }

    .alert.alert-warning {
        color: #ffffff;
        background-color: #fe974b;
        border-color: #fe974b;
    }

        .alert.alert-warning hr {
            border-top-color: #fe8832;
        }

        .alert.alert-warning .alert-link {
            color: #e6e6e6;
        }

    .alert.alert-danger {
        color: #ffffff;
        background-color: #FF4444;
        border-color: #FF4444;
    }

        .alert.alert-danger hr {
            border-top-color: #ff2b2b;
        }

        .alert.alert-danger .alert-link {
            color: #e6e6e6;
        }

    .alert.alert-inverse {
        color: #ffffff;
        background-color: #131e26;
        border-color: #131e26;
    }

        .alert.alert-inverse hr {
            border-top-color: #0b1115;
        }

        .alert.alert-inverse .alert-link {
            color: #e6e6e6;
        }

.animated {
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-delay: .1s;
    animation-delay: .1s;
}

.btn {
    background-image: none;
    border-radius: 0;
    margin-bottom: 5px;
    line-height: 1.2;
}

    .btn, .btn:hover {
        color: #ffffff;
    }

        .btn.btn-primary {
            color: #212529;
            background-color: #52BCD3;
            border-color: #52BCD3;
        }

            .btn.btn-primary:hover {
                color: #fff;
                background-color: #34b0cb;
                border-color: #31a7c1;
            }

            .btn.btn-primary:focus, .btn.btn-primary.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
            }

            .btn.btn-primary.disabled, .btn.btn-primary:disabled {
                color: #212529;
                background-color: #52BCD3;
                border-color: #52BCD3;
            }

            .btn.btn-primary:not(:disabled):not(.disabled):active, .btn.btn-primary:not(:disabled):not(.disabled).active,
            .show > .btn.btn-primary.dropdown-toggle {
                color: #fff;
                background-color: #31a7c1;
                border-color: #2e9eb7;
            }

                .btn.btn-primary:not(:disabled):not(.disabled):active:focus, .btn.btn-primary:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-primary.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
                }

            .btn.btn-primary, .btn.btn-primary:hover {
                color: #ffffff;
            }

        .btn.btn-secondary {
            color: #212529;
            background-color: #fff;
            border-color: #d7dde4;
        }

            .btn.btn-secondary:hover {
                color: #212529;
                background-color: #ececec;
                border-color: #b9c3cf;
            }

            .btn.btn-secondary:focus, .btn.btn-secondary.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
            }

            .btn.btn-secondary.disabled, .btn.btn-secondary:disabled {
                color: #212529;
                background-color: #fff;
                border-color: #d7dde4;
            }

            .btn.btn-secondary:not(:disabled):not(.disabled):active, .btn.btn-secondary:not(:disabled):not(.disabled).active,
            .show > .btn.btn-secondary.dropdown-toggle {
                color: #212529;
                background-color: #e6e6e6;
                border-color: #b1bdca;
            }

                .btn.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn.btn-secondary:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-secondary.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
                }

            .btn.btn-secondary, .btn.btn-secondary:hover {
                color: #4f5f6f;
            }

        .btn.btn-success {
            color: #212529;
            background-color: #4bcf99;
            border-color: #4bcf99;
        }

            .btn.btn-success:hover {
                color: #fff;
                background-color: #33c087;
                border-color: #31b680;
            }

            .btn.btn-success:focus, .btn.btn-success.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
            }

            .btn.btn-success.disabled, .btn.btn-success:disabled {
                color: #212529;
                background-color: #4bcf99;
                border-color: #4bcf99;
            }

            .btn.btn-success:not(:disabled):not(.disabled):active, .btn.btn-success:not(:disabled):not(.disabled).active,
            .show > .btn.btn-success.dropdown-toggle {
                color: #fff;
                background-color: #31b680;
                border-color: #2eac79;
            }

                .btn.btn-success:not(:disabled):not(.disabled):active:focus, .btn.btn-success:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-success.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
                }

        .btn.btn-info {
            color: #212529;
            background-color: #76D4F5;
            border-color: #76D4F5;
        }

            .btn.btn-info:hover {
                color: #212529;
                background-color: #52c9f2;
                border-color: #46c5f2;
            }

            .btn.btn-info:focus, .btn.btn-info.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
            }

            .btn.btn-info.disabled, .btn.btn-info:disabled {
                color: #212529;
                background-color: #76D4F5;
                border-color: #76D4F5;
            }

            .btn.btn-info:not(:disabled):not(.disabled):active, .btn.btn-info:not(:disabled):not(.disabled).active,
            .show > .btn.btn-info.dropdown-toggle {
                color: #212529;
                background-color: #46c5f2;
                border-color: #3bc1f1;
            }

                .btn.btn-info:not(:disabled):not(.disabled):active:focus, .btn.btn-info:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-info.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
                }

        .btn.btn-warning {
            color: #212529;
            background-color: #fe974b;
            border-color: #fe974b;
        }

            .btn.btn-warning:hover {
                color: #212529;
                background-color: #fe8125;
                border-color: #fe7a18;
            }

            .btn.btn-warning:focus, .btn.btn-warning.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
            }

            .btn.btn-warning.disabled, .btn.btn-warning:disabled {
                color: #212529;
                background-color: #fe974b;
                border-color: #fe974b;
            }

            .btn.btn-warning:not(:disabled):not(.disabled):active, .btn.btn-warning:not(:disabled):not(.disabled).active,
            .show > .btn.btn-warning.dropdown-toggle {
                color: #212529;
                background-color: #fe7a18;
                border-color: #fe720c;
            }

                .btn.btn-warning:not(:disabled):not(.disabled):active:focus, .btn.btn-warning:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-warning.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
                }

        .btn.btn-danger {
            color: #fff;
            background-color: #FF4444;
            border-color: #FF4444;
        }

            .btn.btn-danger:hover {
                color: #fff;
                background-color: #ff1e1e;
                border-color: #ff1111;
            }

            .btn.btn-danger:focus, .btn.btn-danger.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
            }

            .btn.btn-danger.disabled, .btn.btn-danger:disabled {
                color: #fff;
                background-color: #FF4444;
                border-color: #FF4444;
            }

            .btn.btn-danger:not(:disabled):not(.disabled):active, .btn.btn-danger:not(:disabled):not(.disabled).active,
            .show > .btn.btn-danger.dropdown-toggle {
                color: #fff;
                background-color: #ff1111;
                border-color: #ff0404;
            }

                .btn.btn-danger:not(:disabled):not(.disabled):active:focus, .btn.btn-danger:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-danger.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
                }

        .btn.btn-primary-outline {
            color: #52BCD3;
            background-color: transparent;
            background-image: none;
            border-color: #52BCD3;
        }

            .btn.btn-primary-outline:hover {
                color: #212529;
                background-color: #52BCD3;
                border-color: #52BCD3;
            }

            .btn.btn-primary-outline:focus, .btn.btn-primary-outline.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
            }

            .btn.btn-primary-outline.disabled, .btn.btn-primary-outline:disabled {
                color: #52BCD3;
                background-color: transparent;
            }

            .btn.btn-primary-outline:not(:disabled):not(.disabled):active, .btn.btn-primary-outline:not(:disabled):not(.disabled).active,
            .show > .btn.btn-primary-outline.dropdown-toggle {
                color: #212529;
                background-color: #52BCD3;
                border-color: #52BCD3;
            }

                .btn.btn-primary-outline:not(:disabled):not(.disabled):active:focus, .btn.btn-primary-outline:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-primary-outline.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(82, 188, 211, 0.5);
                }

        .btn.btn-secondary-outline {
            color: #d7dde4;
            background-color: transparent;
            background-image: none;
            border-color: #d7dde4;
        }

            .btn.btn-secondary-outline:hover {
                color: #212529;
                background-color: #d7dde4;
                border-color: #d7dde4;
            }

            .btn.btn-secondary-outline:focus, .btn.btn-secondary-outline.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
            }

            .btn.btn-secondary-outline.disabled, .btn.btn-secondary-outline:disabled {
                color: #d7dde4;
                background-color: transparent;
            }

            .btn.btn-secondary-outline:not(:disabled):not(.disabled):active, .btn.btn-secondary-outline:not(:disabled):not(.disabled).active,
            .show > .btn.btn-secondary-outline.dropdown-toggle {
                color: #212529;
                background-color: #d7dde4;
                border-color: #d7dde4;
            }

                .btn.btn-secondary-outline:not(:disabled):not(.disabled):active:focus, .btn.btn-secondary-outline:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-secondary-outline.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(215, 221, 228, 0.5);
                }

        .btn.btn-info-outline {
            color: #76D4F5;
            background-color: transparent;
            background-image: none;
            border-color: #76D4F5;
        }

            .btn.btn-info-outline:hover {
                color: #212529;
                background-color: #76D4F5;
                border-color: #76D4F5;
            }

            .btn.btn-info-outline:focus, .btn.btn-info-outline.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
            }

            .btn.btn-info-outline.disabled, .btn.btn-info-outline:disabled {
                color: #76D4F5;
                background-color: transparent;
            }

            .btn.btn-info-outline:not(:disabled):not(.disabled):active, .btn.btn-info-outline:not(:disabled):not(.disabled).active,
            .show > .btn.btn-info-outline.dropdown-toggle {
                color: #212529;
                background-color: #76D4F5;
                border-color: #76D4F5;
            }

                .btn.btn-info-outline:not(:disabled):not(.disabled):active:focus, .btn.btn-info-outline:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-info-outline.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(118, 212, 245, 0.5);
                }

        .btn.btn-success-outline {
            color: #4bcf99;
            background-color: transparent;
            background-image: none;
            border-color: #4bcf99;
        }

            .btn.btn-success-outline:hover {
                color: #212529;
                background-color: #4bcf99;
                border-color: #4bcf99;
            }

            .btn.btn-success-outline:focus, .btn.btn-success-outline.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
            }

            .btn.btn-success-outline.disabled, .btn.btn-success-outline:disabled {
                color: #4bcf99;
                background-color: transparent;
            }

            .btn.btn-success-outline:not(:disabled):not(.disabled):active, .btn.btn-success-outline:not(:disabled):not(.disabled).active,
            .show > .btn.btn-success-outline.dropdown-toggle {
                color: #212529;
                background-color: #4bcf99;
                border-color: #4bcf99;
            }

                .btn.btn-success-outline:not(:disabled):not(.disabled):active:focus, .btn.btn-success-outline:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-success-outline.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(75, 207, 153, 0.5);
                }

        .btn.btn-warning-outline {
            color: #fe974b;
            background-color: transparent;
            background-image: none;
            border-color: #fe974b;
        }

            .btn.btn-warning-outline:hover {
                color: #212529;
                background-color: #fe974b;
                border-color: #fe974b;
            }

            .btn.btn-warning-outline:focus, .btn.btn-warning-outline.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
            }

            .btn.btn-warning-outline.disabled, .btn.btn-warning-outline:disabled {
                color: #fe974b;
                background-color: transparent;
            }

            .btn.btn-warning-outline:not(:disabled):not(.disabled):active, .btn.btn-warning-outline:not(:disabled):not(.disabled).active,
            .show > .btn.btn-warning-outline.dropdown-toggle {
                color: #212529;
                background-color: #fe974b;
                border-color: #fe974b;
            }

                .btn.btn-warning-outline:not(:disabled):not(.disabled):active:focus, .btn.btn-warning-outline:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-warning-outline.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(254, 151, 75, 0.5);
                }

        .btn.btn-danger-outline {
            color: #FF4444;
            background-color: transparent;
            background-image: none;
            border-color: #FF4444;
        }

            .btn.btn-danger-outline:hover {
                color: #fff;
                background-color: #FF4444;
                border-color: #FF4444;
            }

            .btn.btn-danger-outline:focus, .btn.btn-danger-outline.focus {
                -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
                box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
            }

            .btn.btn-danger-outline.disabled, .btn.btn-danger-outline:disabled {
                color: #FF4444;
                background-color: transparent;
            }

            .btn.btn-danger-outline:not(:disabled):not(.disabled):active, .btn.btn-danger-outline:not(:disabled):not(.disabled).active,
            .show > .btn.btn-danger-outline.dropdown-toggle {
                color: #fff;
                background-color: #FF4444;
                border-color: #FF4444;
            }

                .btn.btn-danger-outline:not(:disabled):not(.disabled):active:focus, .btn.btn-danger-outline:not(:disabled):not(.disabled).active:focus,
                .show > .btn.btn-danger-outline.dropdown-toggle:focus {
                    -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
                    box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.5);
                }

        .btn.btn-pill-left:focus, .btn.btn-pill-right:focus, .btn.btn-oval:focus {
            outline: none;
            outline-offset: initial;
        }

        .btn.btn-pill-left {
            border-top-left-radius: 25px;
            border-bottom-left-radius: 25px;
        }

        .btn.btn-pill-right {
            border-top-right-radius: 25px;
            border-bottom-right-radius: 25px;
        }

        .btn.btn-oval {
            border-radius: 25px;
        }

        .btn.btn-link {
            text-decoration: none;
        }

        .btn strong {
            font-weight: 600;
        }

.btn-group .dropdown-menu > li:last-child a:hover:before {
    height: 0px;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}

.card {
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
    box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
    margin-bottom: 10px;
    border-radius: 0;
    border: none;
}

    .card .card {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .card .card-header {
        background-image: none;
        background-color: #ffffff;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        padding: 0;
        border-radius: 0;
        min-height: 50px;
        border: none;
    }

        .card .card-header::after {
            display: block;
            clear: both;
            content: "";
        }

        .card .card-header.bordered {
            border-bottom: 1px solid #d7dde4;
        }

        .card .card-header.card-header-sm {
            min-height: 40px;
        }

        .card .card-header > span {
            vertical-align: middle;
        }

        .card .card-header .pull-right {
            margin-left: auto;
        }

        .card .card-header .header-block {
            padding: 0.5rem 15px;
        }

@media (min-width: 1200px) {
    .card .card-header .header-block {
        padding: 0.5rem 20px;
    }
}

@media (max-width: 767.98px) {
    .card .card-header .header-block {
        padding: 0.5rem 10px;
    }
}

.card .card-header .title {
    color: #4f5f6f;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.card .card-header .btn {
    margin: 0;
}

.card .card-header .nav-tabs {
    border-color: transparent;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    top: 1px;
}

    .card .card-header .nav-tabs .nav-item {
        margin-left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-item-align: stretch;
        align-self: stretch;
    }

        .card .card-header .nav-tabs .nav-item .nav-link {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-item-align: stretch;
            align-self: stretch;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            color: #4f5f6f;
            opacity: 0.7;
            padding-left: 10px;
            padding-right: 10px;
            border-radius: 0;
            font-size: 14px;
            border-top-width: 2px;
            border-bottom: 1px solid #d7dde4;
            text-decoration: none;
        }

            .card .card-header .nav-tabs .nav-item .nav-link.active {
                border-top-color: #52BCD3;
                border-bottom-color: transparent;
                opacity: 1;
            }

                .card .card-header .nav-tabs .nav-item .nav-link.active:hover, .card .card-header .nav-tabs .nav-item .nav-link.active:focus {
                    opacity: 1;
                    background-color: #ffffff;
                    border-color: #d7dde4 #d7dde4 transparent;
                    border-top-color: #52BCD3;
                }

            .card .card-header .nav-tabs .nav-item .nav-link:hover, .card .card-header .nav-tabs .nav-item .nav-link:focus {
                opacity: 1;
                background-color: transparent;
                border-color: transparent;
            }

.card.card-default > .card-header {
    background-color: #fff;
    color: inherit;
}

.card.card-primary {
    border-color: #52BCD3;
}

    .card.card-primary > .card-header {
        background-color: #52BCD3;
        border-color: #52BCD3;
    }

.card.card-success > .card-header {
    background-color: #4bcf99;
}

.card.card-info > .card-header {
    background-color: #76D4F5;
}

.card.card-warning > .card-header {
    background-color: #fe974b;
}

.card.card-danger > .card-header {
    background-color: #FF4444;
}

.card.card-inverse > .card-header {
    background-color: #131e26;
}

.card .title-block,
.card .card-title-block {
    padding-bottom: 0;
    margin-bottom: 20px;
    border: none;
}

    .card .title-block::after,
    .card .card-title-block::after {
        display: block;
        clear: both;
        content: "";
    }

.card .section {
    margin-bottom: 20px;
}

    .card .example,
    .card .section.demo {
        margin-bottom: 20px;
    }

.card-block {
    padding: 15px;
}

    .card-block .tab-content {
        padding: 0;
        border-color: transparent;
    }

@media (min-width: 1200px) {
    .card-block {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .card-block {
        padding: 10px;
    }
}

.card-footer {
    background-color: #fafafa;
}

.easy-pie-chart {
    width: 50px;
    height: 50px;
    display: inline-block;
    background-color: #d7dde4;
    border-radius: 5px;
}

.dropdown-menu {
    float: left;
    -webkit-box-shadow: 2px 3px 6px rgba(126, 142, 159, 0.1);
    box-shadow: 2px 3px 6px rgba(126, 142, 159, 0.1);
    border: 1px solid rgba(126, 142, 159, 0.1);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

    .dropdown-menu .dropdown-item {
        display: block;
        padding: 0px 15px;
        clear: both;
        font-weight: normal;
        color: #4f5f6f;
        white-space: nowrap;
        -webkit-transition: none;
        transition: none;
    }

        .dropdown-menu .dropdown-item i {
            margin-right: 2px;
        }

        .dropdown-menu .dropdown-item:hover {
            color: #52BCD3 !important;
            background: none;
            background-color: whitesmoke;
        }

input,
textarea {
    outline: none;
}

.form-group .row {
    margin-left: -10px;
    margin-right: -10px;
}

    .form-group .row [class^='col'] {
        padding-left: 10px;
        padding-right: 10px;
    }

.form-group.has-error span.has-error {
    color: #FF4444;
    font-size: 13px;
    display: block !important;
}

.form-group.has-error .form-control-feedback {
    color: #FF4444;
}

.form-group.has-warning span.has-warning {
    color: #fe974b;
    font-size: 13px;
    display: block !important;
}

.form-group.has-warning .form-control-feedback {
    color: #fe974b;
}

.form-group.has-success span.has-success {
    color: #4bcf99;
    font-size: 13px;
    display: block !important;
}

.form-group.has-success .form-control-feedback {
    color: #4bcf99;
}

/* Input groups */
.input-group {
    margin-bottom: 10px;
}

    .input-group .form-control {
        padding-left: 5px;
    }

    .input-group .input-group-btn .btn {
        margin-bottom: 0;
    }

    .input-group span.input-group-addon {
        font-style: italic;
        border: none;
        border-radius: 0;
        border: none;
        background-color: #d7dde4;
        -webkit-transition: background-color ease-in-out 15s, color ease-in-out .15s;
        transition: background-color ease-in-out 15s, color ease-in-out .15s;
    }

        .input-group span.input-group-addon.focus {
            background-color: #52BCD3;
            color: #ffffff;
        }

label,
.control-label {
    font-weight: 600;
}

.form-control.underlined {
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: 1px solid #d7dde4;
}

    .form-control.underlined.indented {
        padding: .375rem .75rem;
    }

    .has-error .form-control.underlined:focus,
    .has-warning .form-control.underlined:focus,
    .has-success .form-control.underlined:focus, .form-control.underlined:focus {
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-bottom: 1px solid #52BCD3;
    }

.has-error .form-control.underlined {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #FF4444;
}

.has-warning .form-control.underlined {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #fe974b;
}

.has-success .form-control.underlined {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #4bcf99;
}

.form-control.boxed {
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .form-control.boxed:focus {
        border: 1px solid #52BCD3;
    }

.radio,
.checkbox {
    display: none;
}

    .radio + span,
    .checkbox + span {
        padding: 0;
        padding-right: 10px;
    }

        .radio + span:before,
        .checkbox + span:before {
            font-family: FontAwesome;
            font-size: 21px;
            display: inline-block;
            vertical-align: middle;
            letter-spacing: 10px;
            color: #c8d0da;
        }

    .radio:checked + span:before,
    .checkbox:checked + span:before {
        color: #52BCD3;
    }

    .radio:disabled + span:before,
    .checkbox:disabled + span:before {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .radio:checked:disabled + span:before,
    .checkbox:checked:disabled + span:before {
        color: #c8d0da;
    }

    .checkbox + span:before {
        content: "\f0c8";
    }

    .checkbox:checked + span:before {
        content: "\f14a";
    }

    .checkbox.rounded + span:before {
        content: "\f111";
    }

    .checkbox.rounded:checked + span:before {
        content: "\f058";
    }

    .radio + span:before {
        content: "\f111";
    }

    .radio:checked + span:before {
        content: "\f192";
    }

    .radio.squared + span:before {
        content: "\f0c8";
    }

    .radio.squared:checked + span:before {
        content: "\f14a";
    }

.form-control::-webkit-input-placeholder {
    font-style: italic;
    color: #c8d0da;
}

.form-control:-moz-placeholder {
    /* Firefox 18- */
    font-style: italic;
    color: #d7dde4;
}

.form-control::-moz-placeholder {
    /* Firefox 19+ */
    font-style: italic;
    color: #d7dde4;
}

.form-control:-ms-input-placeholder {
    font-style: italic;
    color: #d7dde4;
}

.images-container::after {
    display: block;
    clear: both;
    content: "";
}

.images-container .image-container {
    float: left;
    padding: 3px;
    margin-right: 10px;
    margin-bottom: 35px;
    position: relative;
    border: 1px solid #e6eaee;
    overflow: hidden;
}

    .images-container .image-container.active {
        border-color: #52BCD3;
    }

    .images-container .image-container:hover .controls {
        bottom: 0;
        opacity: 1;
    }

.images-container .controls {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    bottom: -35px;
    text-align: center;
    height: 35px;
    font-size: 24px;
    -webkit-transition: bottom 0.2s ease, opacity 0.2s ease;
    transition: bottom 0.2s ease, opacity 0.2s ease;
    background-color: #fff;
}

    .images-container .controls::after {
        display: block;
        clear: both;
        content: "";
    }

    .images-container .controls .control-btn {
        display: inline-block;
        color: #4f5f6f;
        cursor: pointer;
        width: 35px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        opacity: 0.5;
        -webkit-transition: opacity 0.3s ease;
        transition: opacity 0.3s ease;
    }

        .images-container .controls .control-btn:hover {
            opacity: 1;
        }

        .images-container .controls .control-btn.move {
            cursor: move;
        }

        .images-container .controls .control-btn.star {
            color: #FFB300;
        }

            .images-container .controls .control-btn.star i:before {
                content: "\f006";
            }

            .images-container .controls .control-btn.star.active i:before {
                content: "\f005";
            }

        .images-container .controls .control-btn.remove {
            color: #FF4444;
        }

.images-container .image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 130px;
    height: 135px;
    line-height: 135px;
    text-align: center;
}

.images-container .image-container.main {
    border-color: #FFB300;
}

.images-container .image-container.new {
    opacity: 0.6;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    border-style: dashed;
    border: 1px #52BCD3 solid;
    color: #52BCD3;
}

    .images-container .image-container.new .image {
        font-size: 2.5rem;
    }

    .images-container .image-container.new:hover {
        opacity: 1;
    }

.flex-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.flex-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.centralize-y {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* *******************************************
*		  Item List general styles
********************************************** */
.item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 0;
    line-height: 1.4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .item-list {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .item-list {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .item-list {
        font-size: 1.05rem;
    }
}

.item-list.striped > li {
    border-bottom: 1px solid #e9edf0;
}

    .item-list.striped > li:nth-child(2n + 1) {
        background-color: #fcfcfd;
    }

@media (max-width: 767.98px) {
    .item-list.striped > li:nth-child(2n + 1) {
        background-color: #f8f9fb;
    }
}

.item-list.striped .item-list-footer {
    border-bottom: none;
}

/* *******************************************
*			Item general styles
********************************************** */
.item-list .item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.item-list .item-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    min-width: 100%;
}

    .item-list .item-row.nowrap {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

.item-list .item-col {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 10px 10px 10px 0;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 3;
    -ms-flex-positive: 3;
    flex-grow: 3;
    -ms-flex-negative: 3;
    flex-shrink: 3;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}

    .item-list .item-col.fixed {
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }

    .item-list .item-col.pull-left {
        margin-right: auto;
    }

    .item-list .item-col.pull-right {
        margin-left: auto;
    }

    .item-list .item-col > div {
        width: 100%;
    }

    .item-list .item-col:last-child {
        padding-right: 0;
    }

.item-list .no-overflow {
    overflow: hidden;
}

.item-list .no-wrap {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* *******************************************
*				Item components
********************************************** */
.item-list {
    /********************************************
	*					Header
	*********************************************/
    /********************************************
	*					Heading
	*********************************************/
    /********************************************
	*					Checkbox
	*********************************************/
    /********************************************
	*					Image
	*********************************************/
    /********************************************
	*					Title
	*********************************************/
    /********************************************
	*					Stats
	*********************************************/
    /********************************************
	*				     Actions
	*********************************************/
    /********************************************
	*			   Something else?
	*********************************************/
}

    .item-list .item-list-header .item-col.item-col-header span {
        color: #999;
        font-size: 0.8rem;
        font-weight: 700 !important;
    }

    .item-list .item-heading {
        font-size: 0.9rem;
        display: none;
        color: #666;
        font-weight: 700;
        padding-right: 10px;
    }

@media (max-width: 767.98px) {
    .item-list .item-heading {
        display: block;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .item-list .item-heading {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .item-list .item-heading {
        width: 40%;
    }
}

.item-list .item-col.item-col-check {
    -ms-flex-preferred-size: 30px;
    flex-basis: 30px;
}

@media (max-width: 767.98px) {
    .item-list .item-col.item-col-check {
        -webkit-box-ordinal-group: -7;
        -ms-flex-order: -8;
        order: -8;
    }
}

.item-list .item-check {
    margin-bottom: 0;
}

    .item-list .item-check .checkbox + span {
        padding-right: 0;
    }

        .item-list .item-check .checkbox + span:before {
            width: 20px;
        }

.item-list .item-col.item-col-img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-preferred-size: 70px;
    flex-basis: 70px;
}

    .item-list .item-col.item-col-img.xs {
        -ms-flex-preferred-size: 40px;
        flex-basis: 40px;
    }

    .item-list .item-col.item-col-img.sm {
        -ms-flex-preferred-size: 50px;
        flex-basis: 50px;
    }

    .item-list .item-col.item-col-img.lg {
        -ms-flex-preferred-size: 100px;
        flex-basis: 100px;
    }

    .item-list .item-col.item-col-img.xl {
        -ms-flex-preferred-size: 120px;
        flex-basis: 120px;
    }

    .item-list .item-col.item-col-img a {
        width: 100%;
    }

.item-list .item-img {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    background-color: #efefef;
    padding-bottom: 100%;
    width: 100%;
    height: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 767.98px) {
    .item-list .item-col.item-col-title {
        -webkit-box-ordinal-group: -3;
        -ms-flex-order: -4;
        order: -4;
    }
}

.item-list .item-col.item-col-title a {
    display: block;
}

.item-list .item-title {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: 600;
}

.item-list .item-stats {
    height: 2rem;
}

.item-list .item-col.item-col-actions-dropdown {
    -ms-flex-preferred-size: 40px;
    flex-basis: 40px;
    text-align: center;
    padding-left: 0 !important;
}

@media (max-width: 767.98px) {
    .item-list .item-col.item-col-actions-dropdown {
        -webkit-box-ordinal-group: -2;
        -ms-flex-order: -3;
        order: -3;
        -ms-flex-preferred-size: 40px !important;
        flex-basis: 40px !important;
        padding-right: 10px;
    }
}

.item-list .item-actions-dropdown {
    position: relative;
    font-size: 1.1rem;
}

    .item-list .item-actions-dropdown.active .item-actions-block {
        max-width: 120px;
    }

    .item-list .item-actions-dropdown.active .item-actions-toggle-btn {
        color: #52BCD3;
    }

        .item-list .item-actions-dropdown.active .item-actions-toggle-btn .active {
            display: block;
        }

        .item-list .item-actions-dropdown.active .item-actions-toggle-btn .inactive {
            display: none;
        }

    .item-list .item-actions-dropdown .item-actions-toggle-btn {
        color: #9ba8b5;
        font-size: 1.2rem;
        cursor: pointer;
        width: 100%;
        line-height: 30px;
        text-align: center;
        text-decoration: none;
    }

        .item-list .item-actions-dropdown .item-actions-toggle-btn .active {
            display: none;
        }

    .item-list .item-actions-dropdown .item-actions-block {
        height: 30px;
        max-width: 0px;
        line-height: 30px;
        overflow: hidden;
        position: absolute;
        top: 0;
        right: 100%;
        background-color: #d7dde4;
        border-radius: 3px;
        -webkit-transition: all 0.15s ease-in-out;
        transition: all 0.15s ease-in-out;
    }

        .item-list .item-actions-dropdown .item-actions-block.direction-right {
            right: auto;
            left: 100%;
        }

        .item-list .item-actions-dropdown .item-actions-block .item-actions-list {
            padding: 0;
            list-style: none;
            white-space: nowrap;
            padding: 0 5px;
        }

            .item-list .item-actions-dropdown .item-actions-block .item-actions-list li {
                display: inline-block;
                padding: 0;
            }

            .item-list .item-actions-dropdown .item-actions-block .item-actions-list a {
                display: block;
                padding: 0 5px;
            }

                .item-list .item-actions-dropdown .item-actions-block .item-actions-list a.edit {
                    color: #38424C;
                }

                .item-list .item-actions-dropdown .item-actions-block .item-actions-list a.check {
                    color: #40B726;
                }

                .item-list .item-actions-dropdown .item-actions-block .item-actions-list a.remove {
                    color: #DB0E1E;
                }

/* *******************************************
*				Adjustments
********************************************** */
.card > .item-list .item > .item-row {
    padding: 0 15px;
}

@media (min-width: 1200px) {
    .card > .item-list .item > .item-row {
        padding: 0 20px;
    }
}

@media (max-width: 767.98px) {
    .card > .item-list .item > .item-row {
        padding: 0 10px;
    }
}

.logo {
    display: inline-block;
    width: 45px;
    margin-right: 5px;
    padding-right: 60px;
    position: relative;
}


.modal-body.modal-tab-container {
    padding: 0;
}

    .modal-body.modal-tab-container .modal-tabs {
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
        background-color: #ffffff;
        border-bottom: 1px solid #ddd;
        -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    }

        .modal-body.modal-tab-container .modal-tabs .nav-link {
            padding: 10px 20px;
            border: none;
        }

            .modal-body.modal-tab-container .modal-tabs .nav-link:hover, .modal-body.modal-tab-container .modal-tabs .nav-link.active {
                color: #52BCD3;
                border-bottom: 2px solid #52BCD3;
            }

            .modal-body.modal-tab-container .modal-tabs .nav-link.active {
                font-weight: 600;
            }

a:not(.btn) {
    -webkit-transition: initial;
    transition: initial;
    text-decoration: underline;
    color: #969696;
}

    a:not(.btn):hover {
        text-decoration: underline;
        color: #33aec9;
    }

        a:not(.btn):hover:before {
            -webkit-transform: scaleX(1);
            transform: scaleX(1);
        }

    a:not(.btn):focus {
        text-decoration: none;
    }

span a {
    vertical-align: text-bottom;
}

[class^='nav'] li > a,
[class*=' nav'] li > a {
    display: block;
}

    [class^='nav'] li > a:before,
    [class*=' nav'] li > a:before {
        display: none;
    }

.nav.nav-tabs-bordered {
    border-color: #52BCD3;
}

    .nav.nav-tabs-bordered + .tab-content {
        border-style: solid;
        border-width: 0 1px 1px 1px;
        border-color: #52BCD3;
        padding: 10px 20px 0;
    }

    .nav.nav-tabs-bordered .nav-item .nav-link {
        text-decoration: none;
    }

        .nav.nav-tabs-bordered .nav-item .nav-link:hover {
            color: #ffffff;
            background-color: #52BCD3;
            border: 1px solid #52BCD3;
        }

        .nav.nav-tabs-bordered .nav-item .nav-link.active {
            border-color: #52BCD3;
            border-bottom-color: transparent;
        }

            .nav.nav-tabs-bordered .nav-item .nav-link.active:hover {
                background-color: #ffffff;
                color: inherit;
            }

.nav.nav-pills + .tab-content {
    border: 0;
    padding: 5px;
}

.nav.nav-pills .nav-item .nav-link {
    text-decoration: none;
}

    .nav.nav-pills .nav-item .nav-link:hover {
        color: #4f5f6f;
        background-color: transparent;
        border: 0;
    }

    .nav.nav-pills .nav-item .nav-link.active {
        border-color: #52BCD3;
        border-bottom-color: transparent;
        background-color: #52BCD3;
    }

        .nav.nav-pills .nav-item .nav-link.active:hover {
            background-color: #52BCD3;
            color: #ffffff;
        }

#nprogress .bar {
    background: #52BCD3 !important;
}

    #nprogress .bar .peg {
        -webkit-box-shadow: 0 0 10px #52BCD3, 0 0 5px #52BCD3;
        box-shadow: 0 0 10px #52BCD3, 0 0 5px #52BCD3;
    }

#nprogress .spinner {
    top: 25px !important;
    right: 23px !important;
}

    #nprogress .spinner .spinner-icon {
        border-top-color: #52BCD3 !important;
        border-left-color: #52BCD3 !important;
    }

.pagination {
    margin-top: 0;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

    .pagination .page-item .page-link {
        color: #52BCD3;
    }

    .pagination .page-item.active .page-link,
    .pagination .page-item.active .page-link:focus,
    .pagination .page-item.active .page-link:hover {
        color: #fff;
        border-color: #52BCD3;
        background-color: #52BCD3;
    }

.sameheight {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.table label {
    margin-bottom: 0;
}

.table .checkbox + span {
    margin-bottom: 0;
}

    .table .checkbox + span:before {
        line-height: 20px;
    }

/* Let's get this party started */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 0;
    background: #3eb4ce;
}

    ::-webkit-scrollbar-thumb:window-inactive {
        background: #52BCD3;
    }

.error-card {
    width: 410px;
    min-height: 330px;
    margin: 60px auto;
}

    .error-card .error-title {
        font-size: 150px;
        line-height: 150px;
        font-weight: 700;
        color: #252932;
        text-align: center;
        text-shadow: rgba(61, 61, 61, 0.3) 0.5px 0.5px, rgba(61, 61, 61, 0.2) 1px 1px, rgba(61, 61, 61, 0.3) 1.5px 1.5px;
    }

    .error-card .error-sub-title {
        font-weight: 100;
        text-align: center;
    }

    .error-card .error-container {
        text-align: center;
        visibility: hidden;
    }

        .error-card .error-container.visible {
            visibility: visible;
        }

    .error-card.global {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translateY(-50%) translateX(-50%);
        transform: translateY(-50%) translateX(-50%);
        margin: 0;
    }

        .error-card.global .error-title {
            color: #ffffff;
        }

        .error-card.global .error-sub-title,
        .error-card.global .error-container {
            color: #ffffff;
        }

@media (min-width: 768px) and (max-width: 991.98px) {
    .error-card {
        width: 50%;
    }

        .error-card.global {
            position: relative;
            top: 25%;
            left: 0;
            -webkit-transform: inherit;
            transform: inherit;
            margin: 40px auto;
        }
}

@media (max-width: 767.98px) {
    .error-card {
        width: 90%;
    }

        .error-card.global {
            position: relative;
            top: 25%;
            left: 0;
            -webkit-transform: inherit;
            transform: inherit;
            margin: 40px auto;
        }
}

.wyswyg {
    border: 1px solid #d7dde4;
}

    .wyswyg .ql-container {
        border-top: 1px solid #d7dde4;
    }

    .wyswyg .toolbar .btn {
        margin: 0;
    }

    .wyswyg .ql-container {
        font-size: 1rem;
    }

        .wyswyg .ql-container .ql-editor {
            min-height: 200px;
        }

.footer {
    background-color: #fff;
    position: absolute;
    left: 240px;
    right: 0;
    bottom: 0;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer-fixed .footer {
    position: fixed;
}

.footer .footer-block {
    vertical-align: middle;
    margin-left: 20px;
    margin-right: 20px;
}

.footer .footer-github-btn {
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .footer {
        left: 0;
    }
}

.footer .author > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer .author > ul li {
        display: inline-block;
    }

        .footer .author > ul li:after {
            content: "|";
        }

        .footer .author > ul li:last-child:after {
            content: "";
        }

@media (max-width: 991.98px) {
    .footer .author > ul li {
        display: block;
        text-align: right;
    }

        .footer .author > ul li:after {
            content: "";
        }
}

@media (max-width: 991.98px) {
    .footer .author > ul {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .footer .author > ul {
        display: none;
    }
}

.modal .modal-content {
    border-radius: 0;
}

.modal .modal-header {
    background-color: #52BCD3;
    color: #ffffff;
}

.modal .modal-footer .btn {
    margin-bottom: 0;
}

.header {
    background-color: #d7dde4;
    height: 70px;
    position: absolute;
    left: 240px;
    right: 0;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media (max-width: 991.98px) {
    .header {
        left: 0;
    }
}

@media (max-width: 767.98px) {
    .header {
        left: 0;
        height: 50px;
    }
}

.header-fixed .header {
    position: fixed;
}

@media (max-width: 767.98px) {
    .header .header-block {
        padding: 5px;
    }
}

.sidebar {
    background-color: #3a4651;
    width: 240px;
    padding-bottom: 60px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    z-index: 20;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        left: -240px;
    }
}

.sidebar-fixed .sidebar {
    position: fixed;
}

.sidebar-open .sidebar {
    left: 0;
}

.sidebar .sidebar-container {
    position: absolute;
    top: 0;
    bottom: 51px;
    width: 100%;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

    .sidebar .sidebar-container::-webkit-scrollbar-track {
        background-color: #2c353e;
    }

.sidebar .label {
    font-size: .75em;
    display: inline-block;
    border-radius: .2em;
    padding: 2px 5px;
    background-color: #ccc;
    color: #000;
    margin: 0 3px;
}

.sidebar .label-screenful {
    color: #fff;
    background-color: #6769d4;
}

.sidebar .sidebar-menu {
    font-size: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .sidebar .sidebar-menu li a:focus,
    .open .sidebar .sidebar-menu li a:focus {
        background-color: inherit;
    }

    .sidebar .sidebar-menu ul {
        padding: 0;
        height: 0px;
        overflow: hidden;
    }

.loaded .sidebar .sidebar-menu ul {
    height: auto;
}

.sidebar .sidebar-menu li.active ul {
    height: auto;
}

.sidebar .sidebar-menu li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: block;
}

    .sidebar .sidebar-menu li a:hover,
    .sidebar .sidebar-menu li.open > a,
    .sidebar .sidebar-menu li.open a:hover {
        color: #ffffff;
        background-color: #2d363f;
    }

.sidebar .sidebar-menu .arrow {
    float: right;
    font-size: 18px;
    line-height: initial;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-right: 0;
}

    .sidebar .sidebar-menu .arrow:before {
        content: "\f105" !important;
    }

.sidebar .sidebar-menu li.open > a .arrow {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sidebar .sidebar-menu > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 15px;
}

.sidebar .sidebar-menu > li.active > a,
.sidebar .sidebar-menu > li.active > a:hover {
    background-color: #52BCD3 !important;
    color: #ffffff !important;
}

.sidebar .sidebar-menu > li.open > a {
    background-color: #333e48;
}

.sidebar .sidebar-menu > li > a i {
    margin-right: 5px;
    font-size: 16px;
}

    .sidebar .sidebar-menu > li > a i.arrow {
        font-size: 20px;
    }

.sidebar .sidebar-menu > li > .sidebar-nav > li a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 15px;
    background-color: #333e48;
}

.sidebar .sidebar-menu > li > .sidebar-nav > li.active a {
    color: #ffffff;
}

.sidebar .sidebar-menu > li > .sidebar-nav > li > .sidebar-nav > li a {
    padding-left: 60px;
    padding-right: 15px;
}

.sidebar .sidebar-menu > li > .sidebar-nav > li > .sidebar-nav > li > .sidebar-nav > li a {
    padding-left: 70px;
}

.sidebar-overlay {
    position: absolute;
    display: none;
    left: 200vw;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    z-index: 15;
}

@media (max-width: 991.98px) {
    .sidebar-overlay {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .sidebar-overlay {
        background-color: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 991.98px) {
    .sidebar-open .sidebar-overlay {
        left: 0;
        opacity: 1;
    }
}

.sidebar-mobile-menu-handle {
    display: none;
    position: absolute;
    top: 50px;
    background-color: transparent;
    width: 30px;
    bottom: 0;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .sidebar-mobile-menu-handle {
        display: block;
    }
}

.flot-chart {
    display: block;
    height: 225px;
}

    .flot-chart .flot-chart-content {
        width: 100%;
        height: 100%;
    }

    .flot-chart .flot-chart-pie-content {
        width: 225px;
        height: 225px;
        margin: auto;
    }

.dashboard-page #dashboard-downloads-chart,
.dashboard-page #dashboard-visits-chart {
    height: 220px;
}

@media (max-width: 575.98px) {
    .dashboard-page .items .card-header {
        border: none;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

        .dashboard-page .items .card-header .header-block {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            width: 100%;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            border-bottom: 1px solid #e9edf0;
        }
}

.dashboard-page .items .card-header .title {
    padding-right: 0px;
    margin-right: 5px;
}

.dashboard-page .items .card-header .search {
    margin: 0;
    vertical-align: middle;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 575.98px) {
    .dashboard-page .items .card-header .search {
        min-width: 50%;
    }
}

.dashboard-page .items .card-header .search .search-input {
    border: none;
    background-color: inherit;
    color: #C2CCD6;
    width: 100px;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

    .dashboard-page .items .card-header .search .search-input::-webkit-input-placeholder {
        /* WebKit, Blink, Edge */
        -webkit-transition: color 0.3s ease;
        transition: color 0.3s ease;
        color: #C2CCD6;
    }

    .dashboard-page .items .card-header .search .search-input:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        -webkit-transition: color 0.3s ease;
        transition: color 0.3s ease;
        color: #C2CCD6;
    }

    .dashboard-page .items .card-header .search .search-input::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        -webkit-transition: color 0.3s ease;
        transition: color 0.3s ease;
        color: #C2CCD6;
    }

    .dashboard-page .items .card-header .search .search-input:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        -webkit-transition: color 0.3s ease;
        transition: color 0.3s ease;
        color: #C2CCD6;
    }

@media (max-width: 575.98px) {
    .dashboard-page .items .card-header .search .search-input {
        min-width: 130px;
    }
}

.dashboard-page .items .card-header .search .search-input:focus {
    color: #7e8e9f;
}

    .dashboard-page .items .card-header .search .search-input:focus::-webkit-input-placeholder {
        /* WebKit, Blink, Edge */
        color: #aab4c0;
    }

    .dashboard-page .items .card-header .search .search-input:focus:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: #aab4c0;
    }

    .dashboard-page .items .card-header .search .search-input:focus::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: #aab4c0;
    }

    .dashboard-page .items .card-header .search .search-input:focus:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: #aab4c0;
    }

    .dashboard-page .items .card-header .search .search-input:focus + .search-icon {
        color: #7e8e9f;
    }

.dashboard-page .items .card-header .search .search-icon {
    color: #C2CCD6;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    padding-right: 6px;
}

.dashboard-page .items .card-header .pagination {
    display: inline-block;
    margin: 0;
}

.dashboard-page .items .item-list .item-col-title {
    -webkit-box-flex: 9;
    -ms-flex-positive: 9;
    flex-grow: 9;
}

.dashboard-page .items .item-list .item-col-date {
    text-align: right;
}

@media (min-width: 1200px) {
    .dashboard-page .items .item-list .item-col-date {
        -webkit-box-flex: 4;
        -ms-flex-positive: 4;
        flex-grow: 4;
    }
}

@media (max-width: 767.98px) {
    .dashboard-page .items .item-list .item-list-header {
        display: none;
    }

    .dashboard-page .items .item-list .item-row {
        padding: 0;
    }

    .dashboard-page .items .item-list .item-col {
        padding-left: 10px;
        padding-right: 10px;
    }

    .dashboard-page .items .item-list .item-col-img {
        padding-left: 10px;
        -ms-flex-preferred-size: 60px;
        flex-basis: 60px;
        padding-right: 0;
    }

    .dashboard-page .items .item-list .item-col-stats {
        text-align: center;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .dashboard-page .items .item-list .item-col-title {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        border-bottom: 1px solid #e9edf0;
    }

    .dashboard-page .items .item-list .item-col:not(.item-col-title):not(.item-col-img) {
        position: relative;
        padding-top: 35px;
    }

    .dashboard-page .items .item-list .item-heading {
        position: absolute;
        height: 30px;
        width: 100%;
        left: 0;
        top: 5px;
        line-height: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 575.98px) {
    .dashboard-page .items .item-list .item-col {
        border-bottom: 1px solid #e9edf0;
    }

    .dashboard-page .items .item-list .item-col-img {
        -ms-flex-preferred-size: 50px;
        flex-basis: 50px;
        -webkit-box-ordinal-group: -4;
        -ms-flex-order: -5;
        order: -5;
    }

    .dashboard-page .items .item-list .item-col-title {
        -ms-flex-preferred-size: calc(100% - 50px);
        flex-basis: calc(100% - 50px);
    }

    .dashboard-page .items .item-list .item-col:not(.item-col-title):not(.item-col-img) {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        text-align: left;
    }

        .dashboard-page .items .item-list .item-col:not(.item-col-title):not(.item-col-img) .item-heading {
            text-align: left;
        }

    .dashboard-page .items .item-list .item-col-date {
        border: none;
    }
}

.dashboard-page .stats .card-block {
    padding-bottom: 0;
}

.dashboard-page .stats .stat-col {
    margin-bottom: 20px;
    float: left;
    white-space: nowrap;
    overflow: hidden;
}

.dashboard-page .stats .stat-icon {
    color: #BDBDBD;
    display: inline-block;
    font-size: 26px;
    text-align: center;
    vertical-align: middle;
    width: 50px;
}

.dashboard-page .stats .stat-chart {
    margin-right: 5px;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .dashboard-page .stats .stat-chart {
        margin-right: 0.6vw;
    }
}

.dashboard-page .stats .stat {
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .dashboard-page .stats .stat .value {
        font-size: 1.3vw;
    }
}

@media (min-width: 1200px) {
    .dashboard-page .stats .stat .name {
        font-size: 0.9vw;
    }
}

.dashboard-page .stats .stat-progress {
    height: 2px;
    margin: 5px 0;
    color: #52BCD3;
    background-color: #dddddd;
}

    .dashboard-page .stats .stat-progress .progress-bar {
        background-color: #52BCD3;
    }

.dashboard-page #dashboard-sales-map .jqvmap-zoomin,
.dashboard-page #dashboard-sales-map .jqvmap-zoomout {
    background-color: #52BCD3;
    height: 20px;
    width: 20px;
    line-height: 14px;
}

.dashboard-page #dashboard-sales-map .jqvmap-zoomout {
    top: 32px;
}

.dashboard-page .sales-breakdown .dashboard-sales-breakdown-chart {
    margin: 0 auto;
    max-width: 250px;
    max-height: 250px;
}

.dashboard-page .tasks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
}

    .dashboard-page .tasks .title-block .title {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .dashboard-page .tasks label {
        width: 100%;
        margin-bottom: 0;
    }

        .dashboard-page .tasks label .checkbox:checked + span {
            text-decoration: line-through;
        }

        .dashboard-page .tasks label span {
            display: inline-block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 100%;
        }

    .dashboard-page .tasks .tasks-block {
        max-height: 400px;
        overflow-y: scroll;
        overflow-x: hidden;
        margin: 0;
        margin-right: -5px;
    }

    .dashboard-page .tasks .item-list .item-col {
        padding-top: 5px;
        padding-bottom: 5px;
    }

.items-list-page .title-search-block {
    position: relative;
}

@media (max-width: 767.98px) {
    .items-list-page .title-block {
        padding-bottom: 10px;
        margin-bottom: 13px;
    }
}

.items-list-page .title-block .action {
    display: inline;
}

    .items-list-page .title-block .action a {
        padding: 10px 15px;
    }

        .items-list-page .title-block .action a .icon {
            margin-right: 5px;
            text-align: center;
            width: 16px;
        }

@media (max-width: 767.98px) {
    .items-list-page .title-block .action {
        display: none;
    }
}

.items-list-page .items-search {
    position: absolute;
    margin-bottom: 15px;
    right: 0;
    top: 0;
}

@media (max-width: 767.98px) {
    .items-list-page .items-search {
        position: static;
    }
}

.items-list-page .items-search .search-button {
    margin: 0;
}

.items-list-page .item-list .item-col.item-col-check {
    text-align: left;
}

.items-list-page .item-list .item-col.item-col-img {
    text-align: left;
    width: auto;
    text-align: center;
    -ms-flex-preferred-size: 70px;
    flex-basis: 70px;
}

@media (min-width: 576px) {
    .items-list-page .item-list .item-col.item-col-img:not(.item-col-header) {
        height: 80px;
    }
}

.items-list-page .item-list .item-col.item-col-title {
    text-align: left;
    margin-left: 0 !important;
    margin-right: auto;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 9;
    -ms-flex-positive: 9;
    flex-grow: 9;
}

.items-list-page .item-list .item-col.item-col-sales {
    text-align: right;
    font-weight: 600;
}

.items-list-page .item-list .item-col.item-col-stats {
    text-align: center;
}

.items-list-page .item-list .item-col.item-col-category {
    text-align: left;
    font-weight: 600;
}

.items-list-page .item-list .item-col.item-col-author {
    text-align: left;
    -webkit-box-flex: 4.5;
    -ms-flex-positive: 4.5;
    flex-grow: 4.5;
}

.items-list-page .item-list .item-col.item-col-date {
    text-align: right;
}

@media (max-width: 767.98px) {
    .items-list-page .card.items {
        background: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .items-list-page .item-list .item {
        border: none;
        margin-bottom: 10px;
        background-color: #fff;
        -webkit-box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
        box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
    }

    .items-list-page .item-list .item-row {
        padding: 0 !important;
    }

    .items-list-page .item-list .item-col.item-col-author {
        -webkit-box-flex: 3;
        -ms-flex-positive: 3;
        flex-grow: 3;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .items-list-page .item-list .item-list-header {
        display: none;
    }

    .items-list-page .item-list .item {
        background-color: #fff;
        margin-bottom: 10px;
        -webkit-box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
        box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
    }

    .items-list-page .item-list .item-row {
        padding: 0;
    }

    .items-list-page .item-list .item-heading {
        width: 100%;
        display: block;
        position: absolute;
        top: 0;
        width: 100%;
        left: 0;
        line-height: 40px;
        padding-left: 0;
    }

    .items-list-page .item-list .item-col.item-col-check, .items-list-page .item-list .item-col.item-col-title, .items-list-page .item-list .item-col.item-col-actions-dropdown {
        border-bottom: 1px solid #d7dde4;
    }

        .items-list-page .item-list .item-col.item-col-check .item-heading, .items-list-page .item-list .item-col.item-col-title .item-heading, .items-list-page .item-list .item-col.item-col-actions-dropdown .item-heading {
            display: none;
        }

    .items-list-page .item-list .item-col.item-col-sales, .items-list-page .item-list .item-col.item-col-stats, .items-list-page .item-list .item-col.item-col-category, .items-list-page .item-list .item-col.item-col-author, .items-list-page .item-list .item-col.item-col-date {
        padding-top: 40px;
        position: relative;
    }

    .items-list-page .item-list .item-col.item-col-check {
        display: none;
    }

    .items-list-page .item-list .item-col.item-col-title {
        padding-left: 10px;
        text-align: center;
        margin-left: 0 !important;
        margin-right: auto;
        -ms-flex-preferred-size: calc(100% - 40px);
        flex-basis: calc(100% - 40px);
    }

    .items-list-page .item-list .item-col.item-col-img {
        padding-left: 10px;
        -ms-flex-preferred-size: 79px;
        flex-basis: 79px;
    }

    .items-list-page .item-list .item-col.item-col-sales {
        text-align: left;
    }

    .items-list-page .item-list .item-col.item-col-stats {
        text-align: center;
    }

    .items-list-page .item-list .item-col.item-col-category {
        text-align: center;
    }

    .items-list-page .item-list .item-col.item-col-author {
        text-align: center;
    }

    .items-list-page .item-list .item-col.item-col-date {
        padding-right: 10px;
        text-align: right;
        white-space: nowrap;
        -ms-flex-preferred-size: 100px;
        flex-basis: 100px;
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 3;
        -ms-flex-positive: 3;
        flex-grow: 6;
    }
}

@media (max-width: 575.98px) {
    .items-list-page .item-list-header {
        display: none;
    }

    .items-list-page .item-list .item {
        border: none;
        font-size: 0.9rem;
        margin-bottom: 10px;
        background-color: #fff;
        -webkit-box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
        box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
    }

        .items-list-page .item-list .item .item-col {
            text-align: right;
            border-bottom: 1px solid #d7dde4;
            padding-left: 10px;
        }

            .items-list-page .item-list .item .item-col[class^=item-col] {
                -ms-flex-preferred-size: 100%;
                flex-basis: 100%;
            }

            .items-list-page .item-list .item .item-col.item-col-check {
                display: none;
            }

            .items-list-page .item-list .item .item-col.item-col-img .item-img {
                padding-bottom: 65%;
            }

            .items-list-page .item-list .item .item-col.item-col-title {
                text-align: left;
                padding-bottom: 0;
                border: none;
                -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                flex-grow: 1;
                -ms-flex-preferred-size: 0;
                flex-basis: 0;
            }

                .items-list-page .item-list .item .item-col.item-col-title .item-heading {
                    display: none;
                }

                .items-list-page .item-list .item .item-col.item-col-title .item-title {
                    font-size: 1rem;
                    line-height: 1.4rem;
                }

            .items-list-page .item-list .item .item-col.item-col-actions-dropdown {
                border: none;
                padding-bottom: 0;
            }

            .items-list-page .item-list .item .item-col.item-col-sales {
                text-align: left;
            }

            .items-list-page .item-list .item .item-col.item-col-stats {
                text-align: left;
            }

            .items-list-page .item-list .item .item-col.item-col-category {
                text-align: left;
            }

            .items-list-page .item-list .item .item-col.item-col-author {
                text-align: left;
            }

            .items-list-page .item-list .item .item-col.item-col-date {
                text-align: left;
            }
}

.screenful-page .section {
    text-align: center;
}

.screenful-page .subtitle {
    margin-bottom: 30px;
}

.screenful-page .description {
    margin-bottom: 50px;
}

.screenful-page .screenful-logo {
    width: 300px;
    height: 160px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-image: url("../assets/screenful/logo.png");
    background-repeat: no-repeat;
    display: inline-block;
    margin-bottom: 20px;
}

.screenful-page .integrations-tools {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.screenful-page .integrations-title {
    margin-bottom: 40px;
}

.screenful-page .integration-item {
    margin: 0 1%;
    margin-bottom: 30px;
}

.screenful-page .integration-logo {
    width: 190px;
    height: 90px;
    border: 1px solid #fff;
    border-radius: 10px;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}

    .screenful-page .integration-logo:hover {
        border: 1px solid #6769d4;
    }

.screenful-page .benefits-title {
    margin-bottom: 70px;
}

.screenful-page .screen-colum {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.screenful-page .screen-item {
    max-width: 500px;
}

.screenful-page .ex-pic {
    width: 100%;
    border-radius: 10px;
    background-size: cover;
}

.screenful-page .title {
    margin-bottom: 20px;
}

.screenful-page a {
    text-decoration: none;
}

.screenful-page ul {
    display: inline-block;
    text-align: left;
    width: 100%;
}

.screenful-page .divider {
    background-color: #fff;
    padding-bottom: 1px;
    margin-bottom: 50px;
}

.table-flip-scroll table {
    width: 100%;
}

@media only screen and (max-width: 800px) {
    .table-flip-scroll .flip-content:after,
    .table-flip-scroll .flip-header:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

    .table-flip-scroll html .flip-content,
    .table-flip-scroll html .flip-header {
        -ms-zoom: 1;
        zoom: 1;
    }

    .table-flip-scroll *:first-child + html .flip-content,
    .table-flip-scroll *:first-child + html .flip-header {
        -ms-zoom: 1;
        zoom: 1;
    }

    .table-flip-scroll table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        display: block;
        position: relative;
    }

    .table-flip-scroll th,
    .table-flip-scroll td {
        margin: 0;
        vertical-align: top;
    }

        .table-flip-scroll th:last-child,
        .table-flip-scroll td:last-child {
            border-bottom: 1px solid #ddd;
        }

    .table-flip-scroll th {
        border: 0 !important;
        border-right: 1px solid #ddd !important;
        width: auto !important;
        display: block;
        text-align: right;
    }

    .table-flip-scroll td {
        display: block;
        text-align: left;
        border: 0 !important;
        border-bottom: 1px solid #ddd !important;
    }

    .table-flip-scroll thead {
        display: block;
        float: left;
    }

        .table-flip-scroll thead tr {
            display: block;
        }

    .table-flip-scroll tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap;
    }

        .table-flip-scroll tbody tr {
            display: inline-block;
            vertical-align: top;
            margin-left: -5px;
            border-left: 1px solid #ddd;
        }
}

#modal-media .modal-body {
    min-height: 250px;
}

#modal-media .modal-tab-content {
    min-height: 300px;
}

#modal-media .images-container {
    padding: 15px;
    text-align: center;
}

    #modal-media .images-container .image-container {
        margin: 0 auto 10px auto;
        cursor: pointer;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        display: inline-block;
        float: none;
    }

        #modal-media .images-container .image-container:hover {
            border-color: rgba(82, 188, 211, 0.5);
        }

        #modal-media .images-container .image-container.active {
            border-color: rgba(82, 188, 211, 0.5);
        }

#modal-media .upload-container {
    padding: 15px;
}

    #modal-media .upload-container .dropzone {
        position: relative;
        border: 2px dashed #52BCD3;
        height: 270px;
    }

        #modal-media .upload-container .dropzone .dz-message-block {
            position: absolute;
            top: 50%;
            left: 50%;
            -webkit-transform: translateY(-50%) translateX(-50%);
            transform: translateY(-50%) translateX(-50%);
        }

            #modal-media .upload-container .dropzone .dz-message-block .dz-message {
                margin: 0;
                font-size: 24px;
                color: #52BCD3;
                width: 230px;
            }

.header .header-block-buttons {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

    .header .header-block-buttons .btn.header-btn {
        background-color: transparent;
        border: 1px solid #64798d;
        color: #64798d;
        margin: 0 5px;
        border-radius: 0.2rem;
    }

        .header .header-block-buttons .btn.header-btn:hover, .header .header-block-buttons .btn.header-btn:focus {
            border: 1px solid #3a4651;
            color: #3a4651;
        }

@media (max-width: 767.98px) {
    .header .header-block-buttons .btn.header-btn span {
        display: none;
    }
}

.header .header-block-collapse {
    padding-right: 5px;
}

@media (max-width: 767.98px) {
    .header .header-block-collapse {
        width: 155px;
    }
}

.header .header-block-collapse .collapse-btn {
    background: none;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #52BCD3;
    font-size: 24px;
    line-height: 40px;
    border-radius: 0;
    outline: none;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: initial;
}

.header .header-block-nav {
    margin-left: auto;
    white-space: nowrap;
    padding-right: 15px;
}

@media (max-width: 767.98px) {
    .header .header-block-nav {
        padding-right: 25px;
    }
}

.header .header-block-nav::after {
    display: block;
    clear: both;
    content: "";
}

.header .header-block-nav a {
    text-decoration: none;
}

.header .header-block-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .header-block-nav > ul {
    display: table;
}

    .header .header-block-nav > ul > li {
        display: table-cell;
        position: relative;
    }

        .header .header-block-nav > ul > li:before {
            display: block;
            content: " ";
            width: 1px;
            height: 24px;
            top: 50%;
            margin-top: -12px;
            background-color: #8b9cb1;
            position: absolute;
            left: 0;
        }

        .header .header-block-nav > ul > li:first-child:before {
            display: none;
        }

        .header .header-block-nav > ul > li > a {
            padding: 0 15px;
            color: #4f5f6f;
        }

            .header .header-block-nav > ul > li > a:hover {
                color: #52BCD3;
            }

.header .header-block-nav .dropdown-menu {
    margin-top: 15px;
}

.header .header-block-search {
    margin-right: auto;
    padding-left: 20px;
}

@media (max-width: 767.98px) {
    .header .header-block-search {
        padding-left: 10px;
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .header .header-block-search {
        padding-left: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header .header-block-search {
        padding-left: 20px;
    }
}

@media (min-width: 1200px) {
    .header .header-block-search {
        padding-left: 35px;
    }
}

.header .header-block-search > form {
    float: right;
}

@media (max-width: 767.98px) {
    .header .header-block-search > form {
        padding-left: 0;
    }
}

.header .header-block-search .input-container {
    position: relative;
    color: #7e8e9f;
}

    .header .header-block-search .input-container i {
        position: absolute;
        pointer-events: none;
        display: block;
        height: 40px;
        line-height: 40px;
        left: 0;
    }

    .header .header-block-search .input-container input {
        background-color: transparent;
        border: none;
        padding-left: 25px;
        height: 40px;
        width: 480px;
    }

@media (max-width: 767.98px) {
    .header .header-block-search .input-container input {
        max-width: 140px;
    }
}

.header .header-block-search .input-container input:focus + .underline {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.customize {
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
    padding: 5px 15px;
    text-align: center;
}

    .customize .customize-header {
        margin-bottom: 10px;
    }

#customize-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 240px;
}

@media (max-width: 991.98px) {
    .sidebar-open #customize-menu {
        left: 0;
    }
}

@media (max-width: 991.98px) {
    #customize-menu {
        -webkit-transition: left 0.3s ease;
        transition: left 0.3s ease;
        left: -240px;
    }
}

#customize-menu > li > a {
    background-color: #3a4651;
    border-top: 1px solid rgba(45, 54, 63, 0.5);
}

    #customize-menu > li > a:hover,
    #customize-menu > li.open > a {
        background-color: #2d363f;
    }

#customize-menu .customize {
    width: 240px;
    color: rgba(255, 255, 255, 0.5);
    background-color: #2d363f;
    text-align: center;
    padding: 10px 15px;
    border-top: 2px solid #52BCD3;
}

    #customize-menu .customize .customize-item {
        margin-bottom: 15px;
    }

        #customize-menu .customize .customize-item .customize-header {
            margin-bottom: 10px;
        }

        #customize-menu .customize .customize-item label {
            font-weight: 400;
        }

            #customize-menu .customize .customize-item label.title {
                font-size: 14px;
            }

        #customize-menu .customize .customize-item .radio + span {
            padding: 0;
            padding-left: 5px;
        }

            #customize-menu .customize .customize-item .radio + span:before {
                font-size: 17px;
                color: #546273;
                cursor: pointer;
            }

        #customize-menu .customize .customize-item .radio:checked + span:before {
            color: #52BCD3;
        }

        #customize-menu .customize .customize-item .customize-colors {
            list-style: none;
        }

            #customize-menu .customize .customize-item .customize-colors li {
                display: inline-block;
                margin-left: 5px;
                margin-right: 5px;
            }

                #customize-menu .customize .customize-item .customize-colors li .color-item {
                    display: block;
                    height: 20px;
                    width: 20px;
                    border: 1px solid;
                    cursor: pointer;
                }

                    #customize-menu .customize .customize-item .customize-colors li .color-item.color-red {
                        background-color: #FB494D;
                        border-color: #FB494D;
                    }

                    #customize-menu .customize .customize-item .customize-colors li .color-item.color-orange {
                        background-color: #FE7A0E;
                        border-color: #FE7A0E;
                    }

                    #customize-menu .customize .customize-item .customize-colors li .color-item.color-green {
                        background-color: #8CDE33;
                        border-color: #8CDE33;
                    }

                    #customize-menu .customize .customize-item .customize-colors li .color-item.color-seagreen {
                        background-color: #4bcf99;
                        border-color: #4bcf99;
                    }

                    #customize-menu .customize .customize-item .customize-colors li .color-item.color-blue {
                        background-color: #52BCD3;
                        border-color: #52BCD3;
                    }

                    #customize-menu .customize .customize-item .customize-colors li .color-item.color-purple {
                        background-color: #7867A7;
                        border-color: #7867A7;
                    }

                    #customize-menu .customize .customize-item .customize-colors li .color-item.active {
                        position: relative;
                        font-family: FontAwesome;
                        font-size: 17px;
                        line-height: 17px;
                    }

                        #customize-menu .customize .customize-item .customize-colors li .color-item.active:before {
                            content: "\f00c";
                            position: absolute;
                            top: 0;
                            left: 0;
                            color: #fff;
                        }

.sidebar-header .brand {
    color: #fff;
    text-align: left;
    padding-left: 25px;
    line-height: 70px;
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .sidebar-header .brand {
        line-height: 50px;
        font-size: 16px;
    }
}

.header .header-block-nav .notifications {
    font-size: 16px;
}

    .header .header-block-nav .notifications a {
        padding-right: 10px;
    }

    .header .header-block-nav .notifications .counter {
        font-weight: bold;
        font-size: 14px;
        position: relative;
        top: -3px;
        left: -2px;
    }

    .header .header-block-nav .notifications.new .counter {
        color: #52BCD3;
        font-weight: bold;
    }

@media (max-width: 767.98px) {
    .header .header-block-nav .notifications {
        position: static;
    }
}

.header .header-block-nav .notifications-dropdown-menu {
    white-space: normal;
    left: auto;
    right: 0;
    min-width: 350px;
}

    .header .header-block-nav .notifications-dropdown-menu:before {
        position: absolute;
        right: 20px;
        bottom: 100%;
        margin-right: -1px;
    }

    .header .header-block-nav .notifications-dropdown-menu:after {
        position: absolute;
        right: 20px;
        bottom: 100%;
    }

    .header .header-block-nav .notifications-dropdown-menu .notifications-container .notification-item {
        border-bottom: 1px solid rgba(126, 142, 159, 0.1);
        padding: 5px;
    }

        .header .header-block-nav .notifications-dropdown-menu .notifications-container .notification-item:hover {
            background-color: #f5f5f5;
        }

    .header .header-block-nav .notifications-dropdown-menu .notifications-container .img-col {
        display: table-cell;
        padding: 5px;
    }

    .header .header-block-nav .notifications-dropdown-menu .notifications-container .body-col {
        padding: 5px;
        display: table-cell;
    }

    .header .header-block-nav .notifications-dropdown-menu .notifications-container .img {
        width: 40px;
        height: 40px;
        border-radius: 3px;
        vertical-align: top;
        display: inline-block;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .header .header-block-nav .notifications-dropdown-menu .notifications-container p {
        color: #4f5f6f;
        display: inline-block;
        line-height: 18px;
        font-size: 13px;
        margin: 0;
        vertical-align: top;
    }

        .header .header-block-nav .notifications-dropdown-menu .notifications-container p .accent {
            font-weight: bold;
        }

    .header .header-block-nav .notifications-dropdown-menu footer {
        text-align: center;
    }

        .header .header-block-nav .notifications-dropdown-menu footer a {
            color: #212529;
            -webkit-transition: none;
            transition: none;
        }

            .header .header-block-nav .notifications-dropdown-menu footer a:hover {
                background-color: #f5f5f5;
                color: #52BCD3;
            }

@media (max-width: 767.98px) {
    .header .header-block-nav .notifications-dropdown-menu {
        min-width: 100px;
        width: 100%;
        margin-top: 5px;
    }

        .header .header-block-nav .notifications-dropdown-menu:before, .header .header-block-nav .notifications-dropdown-menu:after {
            right: 107px;
        }
}

.header .header-block-nav .profile .img {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    background-color: #8b9cb1;
    color: #ffffff;
    text-align: center;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    vertical-align: middle;
}

.header .header-block-nav .profile .name {
    display: inline-block;
    margin-right: 9px;
    font-weight: bold;
}

@media (max-width: 767.98px) {
    .header .header-block-nav .profile .name {
        display: none;
    }
}

.header .header-block-nav .profile .arrow {
    color: #52BCD3;
}

.header .header-block-nav .profile-dropdown-menu {
    left: auto;
    right: 0;
    min-width: 180px;
    white-space: normal;
}

    .header .header-block-nav .profile-dropdown-menu:before {
        position: absolute;
        right: 10px;
        bottom: 100%;
        margin-right: -1px;
    }

    .header .header-block-nav .profile-dropdown-menu:after {
        position: absolute;
        right: 10px;
        bottom: 100%;
    }

    .header .header-block-nav .profile-dropdown-menu a {
        padding: 10px 15px;
    }

        .header .header-block-nav .profile-dropdown-menu a .icon {
            color: #52BCD3;
            text-align: center;
            width: 16px;
        }

        .header .header-block-nav .profile-dropdown-menu a span {
            display: inline-block;
            padding-left: 5px;
            text-align: left;
            color: #7e8e9f;
        }

    .header .header-block-nav .profile-dropdown-menu .profile-dropdown-menu-icon {
        padding: 0;
    }

    .header .header-block-nav .profile-dropdown-menu .profile-dropdown-menu-topic {
        color: #7e8e9f;
        padding: 0;
    }

    .header .header-block-nav .profile-dropdown-menu .dropdown-divider {
        margin: 0;
    }

    .header .header-block-nav .profile-dropdown-menu .logout {
        border-top: 1px solid rgba(126, 142, 159, 0.1);
    }

@media (max-width: 767.98px) {
    .header .header-block-nav .profile-dropdown-menu {
        margin-top: 8px;
    }
}

#localSearch {
    background-image: url('/assets/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

/* ============================================================
   MODERN DOTS OVERRIDES
   ============================================================ */

:root {
    --dots-primary: #0aa7d7;
    --dots-primary-strong: #087ca8;
    --dots-accent: #116ed8;
    --dots-navy: #13233d;
    --dots-text: #20324d;
    --dots-muted: #66758c;
    --dots-border: #dce5ef;
    --dots-border-soft: #e9eff5;
    --dots-bg: #f5f8fb;
    --dots-panel: #ffffff;
    --dots-panel-soft: #f8fafc;
    --dots-header: rgba(255, 255, 255, .94);
    --dots-sidebar: #ffffff;
    --dots-sidebar-text: #2d405f;
    --dots-sidebar-muted: #718198;
    --dots-hover: #eef6ff;
    --dots-input: #ffffff;
    --dots-radius-sm: 8px;
    --dots-radius: 14px;
    --dots-radius-lg: 18px;
    --dots-shadow: 0 8px 28px rgba(33, 61, 94, .07);
    --dots-shadow-hover: 0 14px 34px rgba(33, 61, 94, .12);
    --dots-success: #25a45a;
    --dots-warning: #e39a22;
    --dots-danger: #d65353;
    --dots-purple: #7b4fd1;
}

html[data-theme="dark"] {
    --dots-primary: #32b8df;
    --dots-primary-strong: #64c9e7;
    --dots-accent: #5fa8ff;
    --dots-navy: #e7eef9;
    --dots-text: #dbe5f2;
    --dots-muted: #9eacc0;
    --dots-border: #33435a;
    --dots-border-soft: #29384c;
    --dots-bg: #111a28;
    --dots-panel: #182334;
    --dots-panel-soft: #1d2a3d;
    --dots-header: rgba(20, 30, 45, .95);
    --dots-sidebar: #141f30;
    --dots-sidebar-text: #d6e1ef;
    --dots-sidebar-muted: #94a4bb;
    --dots-hover: #203652;
    --dots-input: #152235;
    --dots-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    --dots-shadow-hover: 0 16px 38px rgba(0, 0, 0, .34);
}

html, body { background: var(--dots-bg); color: var(--dots-text); }
body { transition: background-color .18s ease, color .18s ease; }
a { color: var(--dots-accent); }
a:hover { color: var(--dots-primary-strong); }
.app { background: var(--dots-bg); padding-left: 218px; box-shadow: none; }
.app .content { padding: 104px 28px 68px; }

/* Header */
.header {
    height: 72px;
    left: 218px;
    background: var(--dots-header);
    border-bottom: 1px solid var(--dots-border-soft);
    box-shadow: 0 2px 12px rgba(27, 49, 76, .04);
    backdrop-filter: blur(14px);
}
.header .header-block { height: 72px; }
.header-block-search { flex: 1 1 auto; max-width: 760px; padding-left: 30px; }
.header-block-search form { width: 100%; }
.header-block-search .input-container { width: min(100%, 540px); position: relative; }
.header-block-search .input-container i { color: var(--dots-muted); left: 14px; top: 13px; z-index: 1; }
.header-block-search input[type="search"] {
    width: 100%;
    height: 42px;
    padding: 0 16px 0 42px;
    color: var(--dots-text);
    background: var(--dots-input);
    border: 1px solid var(--dots-border);
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(33, 61, 94, .03);
}
.header-block-search input[type="search"]:focus { border-color: var(--dots-primary); box-shadow: 0 0 0 3px rgba(10, 167, 215, .12); }
.header-block-search .underline { display: none; }
.header-block-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; padding-right: 18px; }
.header-block-nav .nav-profile { margin: 0; }
.header .nav-profile .profile > a { color: var(--dots-text); padding: 0 10px; }
.header .nav-profile .profile .name { color: var(--dots-text); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.header .dropdown-menu { background: var(--dots-panel); border: 1px solid var(--dots-border); border-radius: 12px; box-shadow: var(--dots-shadow-hover); }
.header .dropdown-item { color: var(--dots-text); }
.header .dropdown-item:hover { color: var(--dots-accent); background: var(--dots-hover); }
.dots-theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--dots-border);
    border-radius: 10px;
    background: var(--dots-panel);
    color: var(--dots-text);
    cursor: pointer;
    transition: all .16s ease;
}
.dots-theme-toggle:hover { color: var(--dots-accent); border-color: var(--dots-primary); transform: translateY(-1px); }

/* Sidebar */
.sidebar {
    width: 218px;
    background: var(--dots-sidebar);
    border-right: 1px solid var(--dots-border-soft);
    box-shadow: 4px 0 18px rgba(24, 50, 78, .03);
}
.dots-sidebar-container { min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 18px; }
.dots-sidebar-header { height: auto; padding: 20px 18px 16px; border-bottom: 1px solid var(--dots-border-soft); }
.dots-brand { display: flex; align-items: center; gap: 11px; text-decoration: none !important; }
.dots-brand img { width: 39px; height: 39px; object-fit: contain; }
.dots-brand-copy { display: flex; flex-direction: column; min-width: 0; }
.dots-brand-copy strong { color: var(--dots-navy); font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.dots-brand-copy small { margin-top: 6px; color: var(--dots-primary-strong); font-size: 9px; font-weight: 700; line-height: 1.3; }
.dots-menu { flex: 1 1 auto; padding: 13px 0 18px; overflow-y: auto; }
.sidebar .sidebar-menu > li > a,
.sidebar .sidebar-menu > li > .sidebar-nav > li > a {
    color: var(--dots-sidebar-text);
}
.sidebar .sidebar-menu > li > a {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 3px 10px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.sidebar .sidebar-menu > li > a i:first-child { width: 20px; text-align: center; color: var(--dots-sidebar-muted); font-size: 16px; }
.sidebar .sidebar-menu > li > a .arrow { margin-left: auto; }
.sidebar .sidebar-menu > li.active > a,
.sidebar .sidebar-menu > li > a:hover {
    background: var(--dots-hover);
    color: var(--dots-accent);
    transform: translateX(1px);
}
.sidebar .sidebar-menu > li.active > a { box-shadow: inset 3px 0 0 var(--dots-accent); }
.sidebar .sidebar-menu > li.active > a i:first-child,
.sidebar .sidebar-menu > li > a:hover i:first-child { color: var(--dots-accent); }
.sidebar .sidebar-nav { background: transparent; padding: 2px 0 5px; }
.sidebar .sidebar-nav > li > a { margin: 1px 12px 1px 42px; padding: 8px 10px; border-radius: 7px; color: var(--dots-sidebar-muted); font-size: 12px; }
.sidebar .sidebar-nav > li.active > a,
.sidebar .sidebar-nav > li > a:hover { color: var(--dots-accent); background: var(--dots-hover); }
.dots-sidebar-help {
    margin: 0 12px;
    padding: 13px;
    display: flex;
    gap: 10px;
    border: 1px solid var(--dots-border);
    border-radius: 12px;
    background: var(--dots-panel-soft);
    color: var(--dots-text);
}
.dots-sidebar-help > i { color: var(--dots-accent); margin-top: 2px; }
.dots-sidebar-help div { display: flex; flex-direction: column; gap: 3px; }
.dots-sidebar-help strong { font-size: 12px; }
.dots-sidebar-help a { font-size: 11px; line-height: 1.35; }

/* Shared surfaces */
.dots-page { max-width: 1740px; margin: 0 auto; }
.dots-page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.dots-page-header h1, .dots-page .title-block .title { color: var(--dots-navy); font-weight: 750; letter-spacing: -.025em; }
.dots-page-header h1 { margin: 0 0 6px; font-size: 29px; }
.dots-page-header p { margin: 0; color: var(--dots-muted); }
.dots-eyebrow { margin: 0 0 5px !important; color: var(--dots-primary-strong) !important; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dots-btn, .btn { border-radius: 9px; font-weight: 650; box-shadow: none; }
.dots-btn { padding: 9px 14px; }
.dots-btn-secondary, .btn-secondary { background: var(--dots-panel); border: 1px solid var(--dots-border); color: var(--dots-text); }
.dots-btn-secondary:hover, .btn-secondary:hover { border-color: var(--dots-primary); color: var(--dots-primary-strong); background: var(--dots-hover); }
.btn-primary, .dots-page .btn-primary { background: var(--dots-accent); border-color: var(--dots-accent); color: #fff; }
.btn-primary:hover, .dots-page .btn-primary:hover { background: #0c5fc2; border-color: #0c5fc2; color: #fff; }
.card, .dots-panel {
    background: var(--dots-panel);
    border: 1px solid var(--dots-border);
    border-radius: var(--dots-radius);
    box-shadow: var(--dots-shadow);
    overflow: hidden;
}
.card-header, .dots-page .card-header { background: var(--dots-panel); border-bottom: 1px solid var(--dots-border-soft); color: var(--dots-text); }
.card-block, .card-body, .dots-page .card-block, .dots-page .card-body { background: var(--dots-panel); }
.dots-page .title-block { border: 0; margin-bottom: 22px; padding-bottom: 0; }
.dots-page .title-block .title { margin: 0; font-size: 28px; }

/* Dashboard */
.dashboard-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.metric-card {
    --accent: var(--dots-accent);
    min-height: 144px;
    padding: 18px;
    display: grid;
    grid-template-columns: 50px 1fr 18px;
    align-items: center;
    gap: 12px;
    background: var(--dots-panel);
    border: 1px solid var(--dots-border);
    border-radius: var(--dots-radius);
    color: var(--dots-text);
    box-shadow: var(--dots-shadow);
    text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.metric-card:hover { transform: translateY(-2px); box-shadow: var(--dots-shadow-hover); border-color: var(--accent); color: var(--dots-text); }
.metric-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: rgba(10, 167, 215, .11); font-size: 19px; }
.metric-content { display: flex; flex-direction: column; min-width: 0; }
.metric-label { color: var(--dots-text); font-size: 13px; font-weight: 700; line-height: 1.3; }
.metric-content strong { margin-top: 8px; color: var(--accent); font-size: 28px; line-height: 1; }
.metric-content small { margin-top: 5px; color: var(--dots-muted); font-size: 11px; line-height: 1.3; }
.metric-link { display: contents; }
.metric-link span { display: none; }
.metric-link i { color: var(--dots-muted); }
.metric-ready { --accent: #1c9d58; }.metric-art { --accent: #e69520; }.metric-product { --accent: #7c4fd3; }.metric-hold { --accent: #586778; }
.metric-production { --accent: #1a9b52; }.metric-ship { --accent: #15839d; }.metric-total { --accent: #1775d1; }.metric-shipped { --accent: #1775d1; }.metric-unpaid { --accent: #c45b2a; }.metric-invoice-pending { --accent: #7b61b8; }
.dots-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--dots-border-soft); }
.dots-panel-header h2 { margin: 0 0 3px; color: var(--dots-navy); font-size: 17px; font-weight: 750; }
.dots-panel-header p { margin: 0; color: var(--dots-muted); font-size: 12px; }
.dots-text-link { color: var(--dots-accent); font-weight: 700; white-space: nowrap; }
.dashboard-note { margin-top: 16px; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: rgba(17, 110, 216, .07); border: 1px solid rgba(17, 110, 216, .18); border-radius: 11px; color: var(--dots-text); }
.dashboard-note i { color: var(--dots-accent); margin-top: 2px; }
.dashboard-note div { display: flex; flex-direction: column; gap: 2px; }
.dashboard-note span { color: var(--dots-muted); font-size: 12px; }

/* Tables and DataTables */
.table, .dots-page .table { color: var(--dots-text); background: var(--dots-panel); }
.table thead th, .dots-table thead th, .dots-page .table thead th {
    background: var(--dots-panel-soft);
    color: var(--dots-muted);
    border-color: var(--dots-border-soft);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 13px 14px;
}
.table tbody td, .dots-table tbody td, .dots-page .table td, .dots-page .table th { border-color: var(--dots-border-soft); padding: 13px 14px; vertical-align: middle; }
.table-striped tbody tr:nth-of-type(odd), .dots-page .table-striped tbody tr:nth-of-type(odd) { background: rgba(98, 124, 154, .035); }
.table-hover tbody tr:hover, .dots-table tbody tr:hover { background: var(--dots-hover); }
.dots-order-link { display: flex; flex-direction: column; color: var(--dots-accent); font-weight: 700; }
.dots-order-link span { margin-top: 2px; color: var(--dots-muted); font-size: 11px; font-weight: 500; }
.status-badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: rgba(10, 167, 215, .11); color: var(--dots-primary-strong); font-size: 11px; font-weight: 750; }
.order-stepper, .progress { display: flex; gap: 2px; background: transparent; border-radius: 8px; overflow: visible; }
.order-stepper span, .progress .progress-bar { min-width: 34px; height: 24px; line-height: 24px; text-align: center; padding: 0 5px; border-radius: 6px; font-size: 9px; font-weight: 750; color: #fff; box-shadow: none; }
.order-stepper .is-complete, .progress .bg-success { background: var(--dots-success) !important; }
.order-stepper .is-active, .progress .bg-warning { background: var(--dots-warning) !important; }
.order-stepper .is-pending, .progress .bg-dark { background: #566577 !important; }
.dataTables_wrapper { color: var(--dots-text); }
.dataTables_wrapper .dataTables_scroll { border: 1px solid var(--dots-border); border-radius: 11px; overflow: hidden; }
.dataTables_wrapper .dataTables_processing { color: var(--dots-text); background: var(--dots-panel); border: 1px solid var(--dots-border); border-radius: 10px; box-shadow: var(--dots-shadow); }
.dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--dots-text) !important; border-radius: 7px; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--dots-accent) !important; border-color: var(--dots-accent) !important; color: #fff !important; }
.dataTables_wrapper .dataTables_info { color: var(--dots-muted); }

/* Inputs, filters, tabs and modals */
input, select, textarea, .form-control, .input-group, .dots-page input.form-control, .dots-page select.form-control, .dots-page textarea.form-control {
    color: var(--dots-text);
    background: var(--dots-input);
    border-color: var(--dots-border);
    border-radius: 9px;
}
input:focus, select:focus, textarea:focus, .form-control:focus { color: var(--dots-text); background: var(--dots-input); border-color: var(--dots-primary); box-shadow: 0 0 0 3px rgba(10, 167, 215, .11); }
select option { background: var(--dots-panel); color: var(--dots-text); }
.nav-tabs, .dots-page .nav-tabs { border-bottom: 1px solid var(--dots-border-soft); background: var(--dots-panel); }
.nav-tabs .nav-link, .dots-page .nav-tabs .nav-link { color: var(--dots-muted); border: 0; padding: 13px 16px; background: transparent; }
.nav-tabs .nav-link.active, .dots-page .nav-tabs .nav-link.active { color: var(--dots-accent); background: transparent; border-bottom: 3px solid var(--dots-accent); font-weight: 750; }
.tab-content { background: var(--dots-panel); color: var(--dots-text); }
.modal-content { color: var(--dots-text); background: var(--dots-panel); border: 1px solid var(--dots-border); border-radius: 15px; box-shadow: var(--dots-shadow-hover); }
.modal-header, .modal-footer { border-color: var(--dots-border-soft); }
.modal-header { background: var(--dots-panel-soft); }
.close { color: var(--dots-text); text-shadow: none; opacity: .75; }

/* Orders and designs */
.orders-list-page .card-block, .designs-list-page .card-block { padding: 20px; }
.orders-list-page #dllSortBy, .designs-list-page #ddlDesignTypeId { min-height: 36px; padding: 6px 10px; border: 1px solid var(--dots-border); }
.order-detail-page > .title-block {
    padding: 0 22px 20px;
    background: var(--dots-panel);
    border: 1px solid var(--dots-border);
    border-radius: var(--dots-radius);
    box-shadow: var(--dots-shadow);
}
.order-detail-page > .title-block .card-header { margin: 0 -22px 16px; padding: 18px 22px; color: var(--dots-navy); background: var(--dots-panel-soft); border-bottom: 1px solid var(--dots-border-soft); font-size: 23px; }
.order-detail-page > .title-block .table { max-width: 620px; margin-bottom: 0; }
.order-detail-page > .title-block .table th { color: var(--dots-muted); }
.order-detail-page > .section > .row > .col-md-12 > .card { margin-top: 5px; }
.design-detail-page embed, .design-detail-page iframe { border: 1px solid var(--dots-border); border-radius: 12px; box-shadow: var(--dots-shadow); background: #fff; }
.design-detail-page .title-block { background: var(--dots-panel); border: 1px solid var(--dots-border); border-radius: var(--dots-radius); padding: 16px 20px; box-shadow: var(--dots-shadow); }

/* Dark mode compatibility with legacy theme selectors */
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .card,
html[data-theme="dark"] .card-header,
html[data-theme="dark"] .card-block,
html[data-theme="dark"] .card-body,
html[data-theme="dark"] .table,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dropdown-menu { background-color: var(--dots-panel) !important; color: var(--dots-text); }
html[data-theme="dark"] .table td,
html[data-theme="dark"] .table th,
html[data-theme="dark"] .card,
html[data-theme="dark"] .card-header { border-color: var(--dots-border-soft); }
html[data-theme="dark"] .text-dark { color: var(--dots-text) !important; }
html[data-theme="dark"] .text-muted { color: var(--dots-muted) !important; }
html[data-theme="dark"] .ui-widget-content { color: var(--dots-text); background: var(--dots-panel); border-color: var(--dots-border); }

@media (max-width: 1250px) {
    .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .app { padding-left: 0; }
    .header { left: 0; }
    .sidebar { width: 218px; }
    .header-block-search { padding-left: 12px; }
}
@media (max-width: 767.98px) {
    .app .content { padding: 88px 14px 60px; }
    .header-block-search { display: none; }
    .dots-page-header, .dots-panel-header { flex-direction: column; align-items: flex-start; }
    .dashboard-metrics { grid-template-columns: 1fr; }
    .metric-card { min-height: 126px; }
    .dashboard-recent .table-responsive { overflow-x: auto; }
    .dashboard-recent table { min-width: 900px; }
    .dots-theme-toggle { width: 36px; height: 36px; }
}

/* Page-specific toolbars */
.orders-toolbar-card, .designs-filter-card { margin-bottom: 0; }
.orders-toolbar, .designs-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.orders-toolbar-copy, .designs-filter-copy { display: flex; flex-direction: column; gap: 4px; }
.orders-toolbar-copy strong { color: var(--dots-navy); font-size: 14px; }
.orders-toolbar-copy span, .designs-filter-copy span { color: var(--dots-muted); font-size: 12px; }
.orders-sort-control, .designs-filter-control { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.orders-sort-control label, .designs-filter-control label { margin: 0; color: var(--dots-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.orders-sort-control select, .designs-filter-control select { min-width: 210px; height: 40px; padding: 0 34px 0 11px; }
.designs-filter-copy { flex-direction: row; align-items: center; gap: 9px; }
.designs-filter-copy i { color: var(--dots-accent); }
.orders-list-page .dataTables_scrollBody, .designs-list-page .dataTables_scrollBody { background: var(--dots-panel); }
.orders-list-page #currentOrderList .btn-primary, .designs-list-page #designlist .btn-primary { min-width: 86px; background: transparent; color: var(--dots-accent); border-color: var(--dots-border); }
.orders-list-page #currentOrderList .btn-primary:hover, .designs-list-page #designlist .btn-primary:hover { color: #fff; background: var(--dots-accent); border-color: var(--dots-accent); }

@media (max-width: 767.98px) {
    .orders-toolbar, .designs-filter-row { align-items: flex-start; flex-direction: column; }
    .orders-sort-control, .designs-filter-control { width: 100%; align-items: flex-start; flex-direction: column; }
    .orders-sort-control select, .designs-filter-control select { width: 100%; min-width: 0; }
}

/* ========================================================================== */
/* DOTS V2 visual refresh patch 02                                             */
/* ========================================================================== */

:root {
    --dots-bg: #f5f8fc;
    --dots-surface: #ffffff;
    --dots-surface-soft: #f8fbff;
    --dots-border: #dfe7f1;
    --dots-border-strong: #cfd9e6;
    --dots-text: #17233d;
    --dots-muted: #6d7d96;
    --dots-blue: #0b78e3;
    --dots-blue-soft: #e8f3ff;
    --dots-cyan: #16b4e8;
    --dots-green: #16a34a;
    --dots-green-soft: #e9f8ef;
    --dots-orange: #f59e0b;
    --dots-orange-soft: #fff4df;
    --dots-purple: #7c3aed;
    --dots-purple-soft: #f1eaff;
    --dots-red: #dc3545;
    --dots-red-soft: #ffe9ec;
    --dots-shadow: 0 8px 28px rgba(35, 55, 85, .08);
    --dots-shadow-sm: 0 3px 14px rgba(35, 55, 85, .07);
    --dots-radius: 14px;
}

html[data-theme="dark"] {
    --dots-bg: #0f1724;
    --dots-surface: #172132;
    --dots-surface-soft: #1c293b;
    --dots-border: #2c3b50;
    --dots-border-strong: #3b4c63;
    --dots-text: #edf4ff;
    --dots-muted: #9eacc0;
    --dots-blue: #55a7ff;
    --dots-blue-soft: #183a5d;
    --dots-green-soft: #173d2b;
    --dots-orange-soft: #4b3412;
    --dots-purple-soft: #36275a;
    --dots-red-soft: #4a232b;
    --dots-shadow: 0 12px 30px rgba(0,0,0,.25);
    --dots-shadow-sm: 0 5px 16px rgba(0,0,0,.22);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .app,
html[data-theme="dark"] .content {
    background: var(--dots-bg) !important;
    color: var(--dots-text);
}

html[data-theme="dark"] .header,
html[data-theme="dark"] .sidebar,
html[data-theme="dark"] .card,
html[data-theme="dark"] .dots-panel,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .dots-summary-card,
html[data-theme="dark"] .orders-toolbar-card,
html[data-theme="dark"] .designs-filter-card {
    background: var(--dots-surface) !important;
    color: var(--dots-text);
    border-color: var(--dots-border) !important;
}

html[data-theme="dark"] .table,
html[data-theme="dark"] .table td,
html[data-theme="dark"] .table th,
html[data-theme="dark"] table.dataTable tbody tr,
html[data-theme="dark"] .tabs-bordered,
html[data-theme="dark"] .tab-content,
html[data-theme="dark"] .modal-content {
    background: var(--dots-surface) !important;
    color: var(--dots-text) !important;
    border-color: var(--dots-border) !important;
}

html[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd),
html[data-theme="dark"] table.dataTable tbody tr:nth-of-type(odd) {
    background: var(--dots-surface-soft) !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .dataTables_wrapper .dataTables_filter input {
    background: var(--dots-surface-soft) !important;
    color: var(--dots-text) !important;
    border-color: var(--dots-border-strong) !important;
}

/* Main shell */
.app { background: var(--dots-bg) !important; }
.app .content { max-width: 1540px; margin: 0 auto; }
.header { height: 72px; border-bottom: 1px solid var(--dots-border); box-shadow: none !important; }
.header .header-block-search { flex: 1; max-width: 760px; }
.header .header-block-search .input-container { width: min(100%, 620px); }
.header .header-block-search input { width: 100%; height: 42px; border: 1px solid var(--dots-border); border-radius: 10px; padding: 0 18px 0 42px; background: var(--dots-surface); }
.sidebar { width: 220px !important; border-right: 1px solid var(--dots-border); box-shadow: none !important; }
.app { padding-left: 220px !important; }
.sidebar-header { min-height: 82px; }
.sidebar .sidebar-menu > li > a { min-height: 46px; border-radius: 8px; margin: 2px 10px; padding: 12px 14px; }
.sidebar .sidebar-menu > li.active > a,
.sidebar .sidebar-menu > li > a:hover { background: var(--dots-blue-soft) !important; color: var(--dots-blue) !important; }
.sidebar .sidebar-nav > li > a { margin: 2px 14px 2px 30px; border-radius: 7px; padding: 9px 12px; background: transparent !important; }
.sidebar .sidebar-nav > li > a:hover { color: var(--dots-blue) !important; background: var(--dots-blue-soft) !important; }

/* Page headings */
.dots-page { padding-top: 104px !important; }
.dots-page-header { align-items: center; margin-bottom: 24px; }
.dots-page-header h1,
.dots-detail-heading h1 { color: var(--dots-text); font-size: 30px; letter-spacing: -.02em; }
.dots-page-header p,
.dots-detail-subtitle { color: var(--dots-muted); }
.dots-eyebrow { color: var(--dots-blue) !important; letter-spacing: .12em; font-size: 11px !important; font-weight: 800 !important; }

/* Dashboard cards, sized to match the approved mockup */
.dashboard-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; margin-bottom: 22px; }
.metric-card { min-height: 116px !important; padding: 18px 20px !important; display: grid !important; grid-template-columns: 52px 1fr 24px !important; align-items: center !important; gap: 14px !important; border: 1px solid var(--dots-border) !important; border-radius: var(--dots-radius) !important; box-shadow: var(--dots-shadow-sm) !important; }
.metric-card:hover { transform: translateY(-2px); box-shadow: var(--dots-shadow) !important; border-color: #bfd6ef !important; }
.metric-icon { width: 48px !important; height: 48px !important; border-radius: 50% !important; align-self: center !important; }
.metric-content { min-width: 0; }
.metric-label { font-size: 14px !important; font-weight: 700 !important; color: var(--dots-text) !important; line-height: 1.2; }
.metric-content strong { display: block; font-size: 28px !important; line-height: 1.05; margin: 5px 0 4px; }
.metric-content small { font-size: 11px !important; color: var(--dots-muted) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-link { position: static !important; font-size: 0 !important; color: var(--dots-text) !important; justify-self: end; }
.metric-link i { font-size: 16px !important; }
.dashboard-recent { border: 1px solid var(--dots-border); border-radius: var(--dots-radius); box-shadow: var(--dots-shadow-sm); overflow: hidden; }
.dots-panel-header { min-height: 70px; padding: 18px 22px; }
.dots-panel-header h2 { font-size: 18px; margin: 0; }
.dots-panel-header p { margin: 3px 0 0; font-size: 12px; color: var(--dots-muted); }

/* Modern tables */
.card,
.dots-panel { border: 1px solid var(--dots-border) !important; border-radius: var(--dots-radius) !important; box-shadow: var(--dots-shadow-sm) !important; overflow: hidden; }
.card-block { padding: 0 !important; }
.table-responsive { border-radius: inherit; }
.table,
table.dataTable { margin: 0 !important; border-collapse: separate !important; border-spacing: 0 !important; }
.table thead th,
table.dataTable thead th { border: 0 !important; border-bottom: 1px solid var(--dots-border) !important; background: var(--dots-surface-soft) !important; color: #53647d !important; font-size: 11px !important; letter-spacing: .04em; text-transform: uppercase; padding: 14px 16px !important; }
.table tbody td,
table.dataTable tbody td { border: 0 !important; border-bottom: 1px solid var(--dots-border) !important; padding: 15px 16px !important; vertical-align: middle !important; color: var(--dots-text); }
.table tbody tr:last-child td,
table.dataTable tbody tr:last-child td { border-bottom: 0 !important; }
.table tbody tr:hover,
table.dataTable tbody tr:hover { background: var(--dots-surface-soft) !important; }
.dataTables_wrapper { padding: 0 !important; }
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate { padding: 16px 18px !important; color: var(--dots-muted) !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 8px !important; border: 1px solid var(--dots-border) !important; background: var(--dots-surface) !important; color: var(--dots-text) !important; margin: 0 3px !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--dots-blue) !important; color: white !important; border-color: var(--dots-blue) !important; }

/* Order list */
.orders-toolbar-card,
.designs-filter-card { margin-bottom: 20px; }
.orders-toolbar-card .card-block,
.designs-filter-card .card-block { padding: 18px 20px !important; }
.orders-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.orders-toolbar-copy { display: flex; flex-direction: column; gap: 3px; }
.orders-toolbar-copy strong { color: var(--dots-text); font-size: 15px; }
.orders-toolbar-copy span { color: var(--dots-muted); font-size: 12px; }
.orders-sort-control { display: flex; align-items: center; gap: 10px; }
.orders-sort-control label { margin: 0; color: var(--dots-muted); font-size: 12px; font-weight: 700; }
.orders-sort-control select,
.designs-filter-control select { min-width: 220px; height: 40px; border: 1px solid var(--dots-border-strong); border-radius: 9px; padding: 0 12px; background: var(--dots-surface); color: var(--dots-text); }
#currentOrderList td:first-child a,
#designlist td:first-child a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 11px; border: 1px solid #cfe1f5; border-radius: 8px; background: var(--dots-surface); color: var(--dots-blue); font-weight: 700; text-decoration: none; box-shadow: none; }
#currentOrderList td:nth-child(4) { font-weight: 600; color: #293852; }
html[data-theme="dark"] #currentOrderList td:nth-child(4) { color: var(--dots-text); }

/* Status progression, matched to the approved mockups */
.progress,
.order-stepper { display: inline-flex !important; align-items: stretch; gap: 0 !important; width: auto !important; min-width: 0 !important; height: 28px !important; background: transparent !important; overflow: visible !important; box-shadow: none !important; }
.progress-bar,
.order-stepper > span { min-width: 42px !important; width: auto !important; height: 28px !important; padding: 0 8px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border: 1px solid var(--dots-border-strong) !important; border-right-width: 0 !important; background: var(--dots-surface-soft) !important; color: #637289 !important; font-size: 9px !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: .02em; text-shadow: none !important; animation: none !important; }
.progress-bar:first-child,
.order-stepper > span:first-child { border-radius: 8px 0 0 8px !important; }
.progress-bar:last-child,
.order-stepper > span:last-child { border-right-width: 1px !important; border-radius: 0 8px 8px 0 !important; }
.progress-bar.bg-success,
.order-stepper > .is-complete { background: #def5e5 !important; border-color: #72cd8d !important; color: #147b37 !important; }
.progress-bar.bg-warning,
.order-stepper > .is-active { background: #fff2d8 !important; border-color: #f2b84b !important; color: #9a6000 !important; }
.progress-bar.bg-dark,
.order-stepper > .is-pending { background: var(--dots-surface-soft) !important; border-color: var(--dots-border-strong) !important; color: #66758a !important; }
html[data-theme="dark"] .progress-bar.bg-success,
html[data-theme="dark"] .order-stepper > .is-complete { background: #1b5132 !important; color: #9ae6ae !important; border-color: #347a4e !important; }
html[data-theme="dark"] .progress-bar.bg-warning,
html[data-theme="dark"] .order-stepper > .is-active { background: #4a3514 !important; color: #ffd283 !important; border-color: #8e6726 !important; }

/* Order detail */
.dots-detail-back { margin-bottom: 18px; }
.dots-detail-back a { color: var(--dots-text); font-weight: 700; }
.dots-detail-hero { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; margin-bottom: 22px; }
.dots-detail-actions { gap: 10px; }
.dots-detail-actions .dots-btn { height: 42px; border-radius: 9px; padding: 0 16px; }
.order-summary-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px !important; margin-bottom: 22px; }
.dots-summary-card { min-height: 82px !important; border: 1px solid var(--dots-border) !important; border-radius: 12px !important; padding: 15px 16px !important; box-shadow: var(--dots-shadow-sm) !important; }
.dots-summary-card small { font-size: 10px !important; text-transform: uppercase; letter-spacing: .04em; color: var(--dots-muted) !important; }
.dots-summary-card strong { font-size: 13px !important; line-height: 1.25; color: var(--dots-text) !important; }
.dots-summary-icon { width: 38px !important; height: 38px !important; border-radius: 10px !important; }
.dots-detail-tabs-section .card-block { padding: 0 !important; }
.nav-tabs-bordered { padding: 0 18px !important; border-bottom: 1px solid var(--dots-border) !important; background: var(--dots-surface); flex-wrap: wrap; }
.nav-tabs-bordered .nav-link { min-height: 58px; display: inline-flex; align-items: center; gap: 8px; border: 0 !important; border-bottom: 3px solid transparent !important; color: var(--dots-muted) !important; padding: 0 15px !important; }
.nav-tabs-bordered .nav-link.active { color: var(--dots-blue) !important; border-bottom-color: var(--dots-blue) !important; background: transparent !important; }
.tabs-bordered { padding: 22px !important; border: 0 !important; }
.order-detail-page .tab-pane > div[style*="overflow"] { overflow-x: auto !important; }
.order-detail-page .tab-pane table,
.design-detail-page .tab-pane table { border: 1px solid var(--dots-border) !important; border-radius: 10px; overflow: hidden; }
.order-detail-page .tab-pane .btn.btn-primary,
.design-detail-page .tab-pane .btn.btn-primary { border-radius: 7px; min-height: 34px; padding: 6px 10px; }

/* Design list */
.designs-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.designs-filter-control { display: flex; align-items: center; gap: 10px; }
.designs-filter-control label { margin: 0; font-size: 12px; font-weight: 700; color: var(--dots-muted); }
.designs-filter-copy { color: var(--dots-muted); font-size: 12px; }
.design-preview-empty { width: 54px; height: 54px; border: 1px dashed var(--dots-border-strong); border-radius: 9px; background: var(--dots-surface-soft); }
#designlist td:nth-child(3) { font-weight: 600; }

/* Design detail */
.design-summary-grid { grid-template-columns: 2fr repeat(5, minmax(0, 1fr)) !important; margin-bottom: 18px; }
.design-preview-panel { min-height: 430px; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--dots-surface); border: 1px solid var(--dots-border); border-radius: var(--dots-radius); box-shadow: var(--dots-shadow-sm); margin-bottom: 20px; overflow: hidden; }
.design-preview-panel embed,
.design-preview-panel img { width: min(100%, 900px) !important; max-width: 100% !important; min-height: 380px; object-fit: contain; border: 0; margin: 0 !important; }
.design-detail-page .tabs-bordered { min-height: 220px; }
.design-detail-page #artfiles td:last-child,
.design-detail-page #artProofs td:last-child { width: 130px; text-align: right; }

/* Modals and thread break details */
.modal-content { border: 1px solid var(--dots-border) !important; border-radius: 14px !important; overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.25) !important; }
.modal-header { background: var(--dots-surface) !important; color: var(--dots-text) !important; border-bottom: 1px solid var(--dots-border) !important; }
.modal-body { background: var(--dots-surface) !important; }
.modal-footer { border-top: 1px solid var(--dots-border) !important; background: var(--dots-surface-soft) !important; }

/* Forms */
.form-control,
input[type="text"],
input[type="search"],
input[type="date"],
select,
textarea { border-radius: 8px !important; border-color: var(--dots-border-strong) !important; }
.btn { border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--dots-blue) !important; border-color: var(--dots-blue) !important; }
.btn-outline-primary { color: var(--dots-blue) !important; border-color: #a9caec !important; background: var(--dots-surface) !important; }

@media (max-width: 1199px) {
    .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .order-summary-grid,
    .design-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 991px) {
    .app { padding-left: 0 !important; }
    .sidebar { width: 220px !important; }
    .dots-page { padding-top: 90px !important; }
    .orders-toolbar,
    .designs-filter-row { align-items: stretch; flex-direction: column; }
}

@media (max-width: 767px) {
    .dashboard-metrics,
    .order-summary-grid,
    .design-summary-grid { grid-template-columns: 1fr !important; }
    .metric-card { min-height: 104px !important; }
    .dots-page-header,
    .dots-detail-hero { align-items: flex-start !important; flex-direction: column !important; }
    .dots-detail-actions { width: 100%; flex-wrap: wrap; }
    .dots-detail-actions .btn { flex: 1 1 180px; }
    .progress,
    .order-stepper { transform-origin: left center; transform: scale(.9); }
}


/* Patch 04 layout and interaction refinements */
html, body, button, input, select, textarea { font-family: "Inter", "Segoe UI", Arial, sans-serif !important; }

.metric-card { text-align: left; cursor: pointer; appearance: none; }
.metric-card.is-selected { border-color: var(--accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent), var(--dots-shadow) !important; }
.dashboard-empty { padding: 32px; text-align: center; color: var(--dots-muted); }

.dots-summary-grid { display: grid !important; width: 100%; }
.dots-detail-hero { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 24px !important; }
.dots-detail-heading { min-width: 0; }
.dots-detail-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dots-detail-title-row h1 { margin: 0; color: var(--dots-navy); font-size: 31px; font-weight: 750; letter-spacing: -.03em; }
.dots-detail-subtitle { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; color: var(--dots-muted); }
.dots-detail-actions { display: flex !important; justify-content: flex-end; flex-wrap: wrap; }
.dots-summary-card { display: flex !important; align-items: center !important; gap: 12px !important; background: var(--dots-panel) !important; }
.dots-summary-card > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dots-summary-icon { display: grid; place-items: center; flex: 0 0 auto; color: var(--dots-accent); background: #e9f3ff; }
html[data-theme="dark"] .dots-summary-icon { background: #243b59; }

#currentOrderList td:first-child a.dots-order-number,
#currentOrderList td:first-child a.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 64px !important;
    height: 38px !important;
    padding: 0 12px !important;
    color: var(--dots-accent) !important;
    background: var(--dots-panel) !important;
    border: 1px solid #bdd6f0 !important;
    border-radius: 8px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
#currentOrderList td:first-child a.dots-order-number:hover,
#currentOrderList td:first-child a.btn-primary:hover { color: #fff !important; background: var(--dots-accent) !important; }

#currentOrderList th:last-child,
#currentOrderList td:last-child { min-width: 350px !important; white-space: nowrap !important; }
.progress, .order-stepper { flex-wrap: nowrap !important; white-space: nowrap !important; }
.progress-bar, .order-stepper > span { min-width: 44px !important; padding: 0 7px !important; }

.order-detail-page .dots-summary-grid { grid-template-columns: repeat(6, minmax(145px, 1fr)) !important; }
.order-detail-page .tabs-bordered { padding: 24px !important; }
.order-detail-page .tab-pane table th { white-space: nowrap; }
.order-detail-page .tab-pane table td { vertical-align: middle !important; }

.design-detail-page .design-summary-grid { grid-template-columns: 2fr repeat(4, minmax(135px, 1fr)) !important; }
.design-detail-page .design-preview-panel { min-height: 470px; }
.design-detail-page .design-preview-panel img { max-height: 430px; min-height: 0 !important; width: auto !important; max-width: 100% !important; }
.design-preview-cell { width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--dots-border); border-radius: 10px; background: var(--dots-panel-soft); }
.design-preview-cell img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 1350px) {
    .order-detail-page .dots-summary-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)) !important; }
    .design-detail-page .design-summary-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)) !important; }
}
@media (max-width: 767px) {
    .dots-detail-hero { flex-direction: column !important; }
    .dots-detail-actions { justify-content: flex-start !important; width: 100%; }
    .order-detail-page .dots-summary-grid,
    .design-detail-page .design-summary-grid { grid-template-columns: 1fr !important; }
    #currentOrderList th:last-child,
    #currentOrderList td:last-child { min-width: 320px !important; }
}


/* Order hold indicators */
.order-stepper > .hold-full,
.progress.order-stepper > .hold-full,
.progress .hold-full {
    min-width: 72px !important;
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #b91c1c !important;
    font-weight: 850 !important;
}

.order-stepper > .hold-partial,
.progress.order-stepper > .hold-partial,
.progress .hold-partial {
    min-width: 92px !important;
    background: #fff2d8 !important;
    border-color: #f2b84b !important;
    color: #9a6000 !important;
    font-weight: 850 !important;
}

html[data-theme="dark"] .order-stepper > .hold-full,
html[data-theme="dark"] .progress .hold-full {
    background: #5f1f25 !important;
    border-color: #dc4b57 !important;
    color: #fecaca !important;
}

html[data-theme="dark"] .order-stepper > .hold-partial,
html[data-theme="dark"] .progress .hold-partial {
    background: #4a3514 !important;
    border-color: #8e6726 !important;
    color: #ffd283 !important;
}


/* Patch 10: keep order progress on the primary row */
.orders-list-page #currentOrderList th:nth-child(4),
.orders-list-page #currentOrderList td:nth-child(4) { width: 30% !important; max-width: 30% !important; }
.orders-list-page #currentOrderList th:last-child,
.orders-list-page #currentOrderList td:last-child { width: 34% !important; min-width: 390px !important; }
.orders-list-page .order-stepper > span,
.orders-list-page .progress .progress-bar { min-width: 40px !important; padding-left: 6px !important; padding-right: 6px !important; }
.orders-list-page .order-stepper > .hold-partial,
.orders-list-page .progress .hold-partial { min-width: 64px !important; }
@media (max-width: 1250px) {
    .orders-list-page #currentOrderList th:last-child,
    .orders-list-page #currentOrderList td:last-child { min-width: 365px !important; }
}


/* Patch 11: keep progress on the primary row at all desktop widths */
.orders-list-page .dataTables_wrapper,
.orders-list-page .dataTables_scroll,
.orders-list-page .dataTables_scrollBody {
    width: 100% !important;
}

.orders-list-page .dataTables_scrollBody {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

.orders-list-page #currentOrderList {
    min-width: 1120px !important;
    table-layout: fixed !important;
}

.orders-list-page #currentOrderList th:nth-child(1),
.orders-list-page #currentOrderList td:nth-child(1) { width: 105px !important; }
.orders-list-page #currentOrderList th:nth-child(2),
.orders-list-page #currentOrderList td:nth-child(2) { width: 145px !important; }
.orders-list-page #currentOrderList th:nth-child(3),
.orders-list-page #currentOrderList td:nth-child(3) { width: 120px !important; }
.orders-list-page #currentOrderList th:nth-child(4),
.orders-list-page #currentOrderList td:nth-child(4) { width: 390px !important; max-width: 390px !important; }
.orders-list-page #currentOrderList th:nth-child(5),
.orders-list-page #currentOrderList td:nth-child(5) { width: 140px !important; }
.orders-list-page #currentOrderList th:nth-child(6),
.orders-list-page #currentOrderList td:nth-child(6) { width: 335px !important; min-width: 335px !important; }

.orders-list-page #currentOrderList td:nth-child(4) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orders-list-page .order-stepper,
.orders-list-page .progress.order-stepper {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: 26px !important;
    overflow: visible !important;
    flex-wrap: nowrap !important;
    vertical-align: middle;
}

.orders-list-page .order-stepper .progress-bar {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 36px !important;
    height: 26px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
}

.orders-list-page .order-stepper .hold-full {
    min-width: 56px !important;
    padding: 0 6px !important;
}

.orders-list-page .order-stepper .hold-partial {
    min-width: 58px !important;
    padding: 0 6px !important;
}

.orders-list-page table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
.orders-list-page table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    display: none !important;
}

/* Patch 12: full portal polish */
.dots-menu .sidebar-menu > li.active > a,
.dots-menu .sidebar-menu > li.open > a { color:#0878df !important; background:#eaf4ff !important; }
.dots-menu .sidebar-menu > li.active > a i,
.dots-menu .sidebar-menu > li.open > a i { color:#0878df !important; }
.dots-menu .sidebar-nav li.active > a { color:#0878df !important; background:#f2f8ff !important; font-weight:700; }
.dots-sidebar-header { min-height:92px; padding:16px 18px; display:flex; align-items:center; border-bottom:1px solid var(--dots-border); }
.dots-brand { width:100%; gap:12px; align-items:center; }
.dots-brand img { width:38px !important; height:38px !important; object-fit:contain; flex:0 0 38px; }
.dots-brand-copy strong { font-size:24px; line-height:1; letter-spacing:-.03em; }
.dots-brand-copy small { margin-top:6px; max-width:110px; font-size:9px; line-height:1.25; font-weight:700; color:#0878df; }
.header-block-search { flex:1; display:flex; justify-content:center; align-items:center; padding:0 24px; }
.header-block-search #formSearch { width:min(720px,100%); display:flex; justify-content:center; align-items:center; gap:14px; }
.header-block-search .input-container:first-child { width:min(520px,100%); margin:0 !important; }
.header-block-search .input-container:first-child input { width:100%; }
.header-block-search #formSearch:has(#startDateField) { flex-wrap:wrap; justify-content:flex-start; }
.header-block-search #formSearch:has(#startDateField) .input-container:first-child { flex-basis:100%; max-width:520px; }
.dots-page-shell { max-width:1500px; margin:0 auto; }
.dots-page-header { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:24px; }
.dots-page-header h1 { margin:2px 0 4px; font-size:30px; letter-spacing:-.035em; }
.dots-page-header p { margin:0; color:var(--dots-muted); }
.dots-eyebrow { color:#0878df; text-transform:uppercase; letter-spacing:.14em; font-size:11px; font-weight:800; }
.dots-filter-card,.dots-modern-card { background:var(--dots-surface); border:1px solid var(--dots-border); border-radius:16px; box-shadow:0 8px 24px rgba(26,51,84,.06); }
.dots-filter-card { padding:18px 20px; margin-bottom:18px; }
.dots-filter-row { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.dots-filter-row .form-group { margin:0; min-width:170px; }
.dots-filter-row label { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; font-weight:800; color:var(--dots-muted); margin-bottom:6px; }
.dots-modern-card .card-header-clean { display:flex; align-items:center; justify-content:space-between; padding:20px 22px; border-bottom:1px solid var(--dots-border); }
.dots-modern-card .card-header-clean h2 { margin:0; font-size:19px; }
.dots-modern-card .card-header-clean p { margin:3px 0 0; color:var(--dots-muted); }
.dots-modern-card .card-body-clean { padding:20px 22px; }
.dots-date-range { display:flex; gap:12px; align-items:end; flex-wrap:wrap; }
#notificationsList td:first-child a,.dots-id-link { color:#0878df !important; background:transparent !important; border:0 !important; padding:0 !important; font-weight:800; }
#orderHistoryList.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
#orderHistoryList.dtr-inline.collapsed > tbody > tr > th.dtr-control:before { display:none !important; }
#orderHistoryList td,#orderHistoryList th { font-size:13px; }
#orderHistoryList .btn-primary { background:transparent !important; border:0 !important; color:#0878df !important; padding:0 !important; box-shadow:none !important; font-weight:800; }
#designlist .btn-primary,.dots-design-id { background:transparent !important; border:0 !important; color:#0878df !important; box-shadow:none !important; font-weight:800; }
.dots-statement-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:18px 0; }
.dots-finance-stat { padding:18px; border:1px solid var(--dots-border); border-radius:14px; background:var(--dots-surface); }
.dots-finance-stat small { display:block; color:var(--dots-muted); font-weight:700; margin-bottom:8px; }
.dots-finance-stat strong { font-size:24px; }
.dots-settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.dots-settings-grid .dots-modern-card:last-child { grid-column:1/-1; }
.dots-setting-icon { width:42px;height:42px;border-radius:12px;background:#eaf4ff;color:#0878df;display:grid;place-items:center;font-size:18px; }
.dots-toggle-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 0; }
.dots-activity-timeline { position:relative; padding:8px 0 8px 18px; }
.dots-activity-timeline:before { content:""; position:absolute; left:25px; top:16px; bottom:16px; width:2px; background:var(--dots-border); }
.dots-activity-item { position:relative; display:grid; grid-template-columns:18px 1fr; gap:16px; margin-bottom:14px; }
.dots-activity-dot { width:12px;height:12px;border-radius:50%;background:#0878df;border:3px solid var(--dots-surface);box-shadow:0 0 0 2px #b8d9fb;margin-top:18px;z-index:1; }
.dots-activity-card { padding:15px 17px; border:1px solid var(--dots-border); border-radius:13px; background:var(--dots-surface-alt,#f8fbff); }
.dots-activity-header { display:flex; justify-content:space-between; gap:18px; }
.dots-activity-header time { color:var(--dots-muted); font-size:12px; }
.dots-activity-card p { margin:7px 0 0; }
.dots-empty-state { min-height:180px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:var(--dots-muted); }
.dots-empty-state i { font-size:28px; color:#82b8e9; }
.dots-design-modal .modal-dialog { max-width:920px; }
.dots-design-modal .modal-body { padding:0; }
.dots-design-modal-grid { display:grid; grid-template-columns:minmax(280px,1.3fr) minmax(260px,.7fr); min-height:420px; }
.dots-design-modal-preview { background:#f4f7fb; display:grid; place-items:center; padding:24px; min-height:420px; }
.dots-design-modal-preview img,.dots-design-modal-preview iframe { max-width:100%; max-height:520px; border:0; }
.dots-design-modal-empty { text-align:center; color:var(--dots-muted); }
.dots-design-modal-empty i { display:block; font-size:34px; margin-bottom:10px; }
.dots-design-modal-info { padding:28px; }
.dots-design-modal-info dl { display:grid; grid-template-columns:110px 1fr; gap:12px; }
.dots-design-modal-info dt { color:var(--dots-muted); font-size:12px; }
.dots-design-modal-info dd { margin:0; font-weight:700; }
.auth.dots-login-page { background:linear-gradient(135deg,#071b35 0%,#0b447d 52%,#00a9e8 100%); display:grid; grid-template-columns:minmax(520px,1fr) minmax(420px,560px); align-items:stretch; }
.dots-login-brand-panel { min-height:100vh; padding:54px clamp(42px,6vw,88px); color:white; display:flex; flex-direction:column; justify-content:center; }
.dots-login-brand { display:flex; align-items:center; gap:18px; margin-bottom:24px; }
.dots-login-brand img { width:62px; }
.dots-login-brand strong { font-size:42px; letter-spacing:-.04em; }
.dots-login-brand-panel>h1 { font-size:clamp(36px,4vw,48px); max-width:680px; line-height:1.08; color:white; margin-bottom:14px; }
.dots-login-brand-panel>p { max-width:620px; color:#d8efff; font-size:17px; margin-bottom:28px; }
.dots-login-news { width:min(100%,680px); border:1px solid rgba(255,255,255,.24); border-radius:18px; background:rgba(3,24,48,.36); box-shadow:0 18px 45px rgba(0,18,40,.18); overflow:hidden; backdrop-filter:blur(10px); }
.dots-login-news-header { min-height:74px; padding:16px 20px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid rgba(255,255,255,.16); }
.dots-login-news-kicker { display:block; color:#8fdcff; font-size:11px; font-weight:800; letter-spacing:.1em; line-height:1.2; text-transform:uppercase; margin-bottom:3px; }
.dots-login-news-header h2 { color:#fff; font-size:20px; line-height:1.2; margin:0; }
.dots-login-news-header a { flex:0 0 auto; color:#fff; font-size:13px; font-weight:700; text-decoration:none; padding:8px 12px; border:1px solid rgba(255,255,255,.28); border-radius:999px; }
.dots-login-news-header a:hover { color:#071b35; background:#fff; }
.dots-login-news-frame { display:block; width:100%; height:220px; border:0; background:transparent; padding:16px 18px 8px 20px; }
.dots-login-form-panel { background:rgba(255,255,255,.97); display:flex; align-items:center; justify-content:center; padding:54px; }
.dots-login-card { width:100%; max-width:420px; }
.dots-login-card h2 { font-size:30px; margin-bottom:6px; }
.dots-login-card .form-control { height:48px; border-radius:10px; }
.dots-login-card .btn { height:48px; border-radius:10px; }
@media(max-height:760px) and (min-width:901px){.dots-login-brand-panel{padding-top:34px;padding-bottom:34px}.dots-login-brand{margin-bottom:18px}.dots-login-brand-panel>h1{font-size:36px}.dots-login-brand-panel>p{margin-bottom:20px}.dots-login-news-frame{height:170px}}
@media(max-width:900px){.dots-settings-grid,.dots-design-modal-grid{grid-template-columns:1fr}.dots-statement-summary{grid-template-columns:repeat(2,1fr)}.auth.dots-login-page{grid-template-columns:1fr}.dots-login-brand-panel{display:none}.dots-login-form-panel{min-height:100vh}.header-block-search #formSearch{justify-content:flex-start}.dots-design-modal-preview{min-height:260px}}
@media(max-width:600px){.dots-statement-summary{grid-template-columns:1fr}.dots-page-header{align-items:flex-start;flex-direction:column}.dots-settings-grid{grid-template-columns:1fr}}
.dots-design-meta-row{display:grid!important;grid-template-columns:130px 1fr;min-height:auto!important;padding:9px 0;border-bottom:1px solid var(--dots-border);margin:0!important}.dots-design-meta-row p{margin:0!important;max-width:none!important;text-align:left!important}.dots-design-meta-row p:first-child{color:var(--dots-muted);font-size:12px;font-weight:700}.dots-design-modal-tabs{margin-top:18px!important}.dots-design-file-preview{min-height:180px;max-height:460px;margin:18px 0;border:1px solid var(--dots-border);border-radius:14px;background:#f5f8fc;display:flex;align-items:center;justify-content:center;overflow:hidden}.dots-design-file-preview img{max-width:100%;max-height:430px;object-fit:contain}.dots-design-file-preview embed{width:100%;height:430px}.dots-design-preview-missing{min-height:180px;width:100%;align-items:center;justify-content:center;flex-direction:column;color:var(--dots-muted);gap:8px}.dots-design-preview-missing i{font-size:32px}.dataTables_wrapper .dataTables_paginate .paginate_button{border-radius:8px!important}.dots-check{display:flex;align-items:center;gap:8px;font-weight:700;margin:0}.dots-check input{width:18px;height:18px}#programList_wrapper,#orderHistoryList_wrapper{overflow-x:auto}#orderHistoryList{min-width:1050px}#orderHistoryList td:first-child,#orderHistoryList th:first-child{width:110px!important}.dots-modern-card .table{margin-bottom:0}

/* Patch 13: navigation, branding, quantities, design and billing refinements */
.dots-brand-horizontal{display:flex!important;align-items:center;justify-content:center;gap:14px;white-space:nowrap;color:var(--dots-navy)!important}
.dots-brand-dubow{display:inline-flex;align-items:center;gap:7px}
.dots-brand-dubow img{width:25px!important;height:25px!important;flex:0 0 25px}
.dots-brand-dubow strong,.dots-brand-dots{font-size:21px!important;line-height:1;font-weight:800;letter-spacing:.01em;color:var(--dots-navy)!important}
.dots-brand-divider{width:1px;height:28px;background:var(--dots-border)}
.dots-sidebar-header{min-height:76px!important;padding:14px 12px!important}
.dots-menu li.active.open>ul.sidebar-nav,.dots-menu ul.sidebar-nav.in{display:block!important;height:auto!important}
.dots-order-meta{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap}
.dots-order-meta .dots-status-pill{font-size:12px}
.not-received-row th,.not-received-row td{background:#fff5f5!important;border-top:1px solid #fecaca!important;color:#b91c1c!important;font-weight:700;font-size:12px;padding-top:7px!important;padding-bottom:7px!important}
.not-received-row th{text-align:right!important;letter-spacing:.02em}
.not-received-value{text-align:center!important}
.design-overview-panel{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);gap:18px;margin-bottom:20px;align-items:stretch}
.design-overview-preview,.design-overview-info,.associated-design-card{background:var(--dots-surface);border:1px solid var(--dots-border);border-radius:14px;box-shadow:var(--dots-shadow-sm)}
.design-overview-preview{min-height:360px;padding:14px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.design-overview-preview .dots-design-file-preview{width:100%;height:330px;min-height:0!important}
.design-overview-preview .dots-design-file-preview img,.design-overview-preview .dots-design-file-preview embed{width:100%;height:100%;object-fit:contain;border-radius:10px}
.design-overview-info{padding:22px}.design-overview-info h2{font-size:18px;margin:0 0 15px}
.design-detail-list{margin:0}.design-detail-list>div{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid var(--dots-border-soft)}.design-detail-list>div:last-child{border:0}.design-detail-list dt{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--dots-muted)}.design-detail-list dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.associated-designs-section{margin-bottom:20px}.dots-section-heading h2{font-size:20px;margin:0}.dots-section-heading p{margin:4px 0 14px;color:var(--dots-muted)}
.associated-design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.associated-design-card{overflow:hidden}.associated-design-preview{height:220px;padding:10px;background:var(--dots-surface-subtle)}.associated-design-preview .dots-design-file-preview{height:100%;min-height:0!important}.associated-design-preview img,.associated-design-preview embed{width:100%;height:100%;object-fit:contain}.associated-design-info{padding:16px}.associated-design-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.associated-design-title a{font-weight:800}.associated-design-title span{font-size:11px;color:var(--dots-muted)}.associated-design-info>strong{display:block;min-height:42px}.associated-design-info dl{margin:12px 0 0}.associated-design-info dl div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--dots-border-soft)}.associated-design-info dt{color:var(--dots-muted);font-weight:500}.associated-design-info dd{margin:0;font-weight:700;text-align:right}
.statements-page .card,.billing-center-page .card{height:auto!important}.statements-page .card-header h5,.billing-center-page .card-header h5{margin:0!important}.statements-page .card-body,.billing-center-page .card-body{padding:20px!important}.statements-page .table,.billing-center-page .table{width:100%!important}.statements-page .table th,.statements-page .table td,.billing-center-page .table th,.billing-center-page .table td{vertical-align:middle!important}.statements-page .row,.billing-center-page .row{align-items:stretch}.statements-page .row>[class*=col],.billing-center-page .row>[class*=col]{display:flex}.statements-page .row>[class*=col]>.card,.billing-center-page .row>[class*=col]>.card{width:100%}
html[data-theme="dark"] .not-received-row th,html[data-theme="dark"] .not-received-row td{background:#3a1717!important;color:#fecaca!important;border-color:#7f1d1d!important}
@media(max-width:1100px){.associated-design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.design-overview-panel{grid-template-columns:1fr}}
@media(max-width:700px){.associated-design-grid{grid-template-columns:1fr}.dots-brand-dubow strong,.dots-brand-dots{font-size:18px!important}}

/* Patch 15: header, dashboard cards, order detail, modal and notifications polish */
.dots-sidebar-header {
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 !important;
    display: flex;
    align-items: stretch;
    background: #0d3763 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
}
.dots-brand-login-style {
    width: 100%;
    height: 72px;
    padding: 0 22px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    color: #fff !important;
}
.dots-brand-login-style img { width: 42px !important; height: 42px !important; flex: 0 0 42px; }
.dots-brand-login-style strong { color: #fff !important; font-size: 29px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.header { height: 72px !important; }
.header .header-block { height: 72px !important; }
.header-block-search { max-width: none !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 28px !important; }
.header-block-search #formSearch { width: min(720px, 100%) !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.header-block-search .input-container:first-child { width: min(620px, 100%) !important; position: relative !important; }
.header-block-search .input-container:first-child > i { position: absolute !important; left: 15px !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; line-height: 1 !important; }
.header-block-search input[type="search"] { height: 42px !important; padding-left: 43px !important; }

.metric-card { position: relative !important; grid-template-columns: 52px minmax(0,1fr) 30px !important; min-height: 140px !important; padding: 18px 18px !important; overflow: hidden; }
.metric-content { min-width: 0; align-self: center; }
.metric-content small { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; display: block !important; line-height: 1.35 !important; max-width: 100% !important; }
.metric-link { display: grid !important; place-items: center; position: static !important; width: 30px; height: 42px; justify-self: end; align-self: center; border-radius: 9px; color: var(--dots-muted) !important; transition: background .15s ease,color .15s ease,transform .15s ease; }
.metric-link i { font-size: 15px !important; }
.metric-card:hover .metric-link { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent) !important; transform: translateX(2px); }

.not-received-row th,.not-received-row td { padding-top: 4px !important; padding-bottom: 4px !important; height: 30px !important; line-height: 1.1 !important; font-size: 11px !important; }
.not-received-row th { vertical-align: middle !important; }

.dots-status-pill-prominent { display: inline-flex !important; align-items: center; gap: 7px; min-height: 32px; padding: 6px 12px !important; border-radius: 999px !important; font-weight: 800 !important; }
.dots-status-pill-prominent i { font-size: 8px; }
.dots-order-meta { margin-top: 8px; }

.dots-design-order-modal { max-width: 1120px !important; width: calc(100% - 40px) !important; }
.dots-design-order-modal .modal-content { border-radius: 16px; overflow: hidden; }
.dots-design-order-modal .modal-header { padding: 18px 22px; background: var(--dots-surface); }
.dots-design-modal-body { padding: 18px 20px 22px !important; }
.dots-design-modal-summary { display: grid; grid-template-columns: 120px minmax(250px,2fr) minmax(150px,1fr) minmax(150px,1fr) 150px; gap: 0; border: 1px solid var(--dots-border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: var(--dots-surface); }
.dots-design-modal-summary > div { padding: 12px 14px; border-right: 1px solid var(--dots-border); min-width: 0; }
.dots-design-modal-summary > div:last-child { border-right: 0; }
.dots-design-modal-summary small { display: block; color: var(--dots-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.dots-design-modal-summary strong { display: block; overflow-wrap: anywhere; }
.dots-associated-design-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.dots-associated-design-links > span { color: var(--dots-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.dots-design-modal-tabs-section { margin-top: 14px !important; }
.dots-design-order-modal .dots-design-file-preview { max-height: 420px !important; min-height: 260px !important; margin: 12px 0 !important; }
.dots-design-order-modal .dots-design-file-preview embed { height: 390px !important; }

.statements-page #summary .card { border: 1px solid var(--dots-border) !important; border-radius: 16px !important; box-shadow: var(--dots-shadow-sm) !important; overflow: hidden; }
.statements-page #summary .card-header { min-height: 62px; display: flex; align-items: center; padding: 0 22px !important; background: var(--dots-surface-subtle, #f8fbff) !important; border-bottom: 1px solid var(--dots-border) !important; }
.statements-page #summary .card-header h5 { width: 100%; font-size: 19px; line-height: 1.2; font-weight: 800; text-align: left; }
.statements-page #summary .card-body { padding: 8px 22px 16px !important; }
.statements-page #summary table { margin: 0 !important; }
.statements-page #summary th,.statements-page #summary td { padding: 15px 12px !important; }
.statements-page #summary th { width: 68%; }
.statements-page #summary td { width: 32%; text-align: right !important; font-variant-numeric: tabular-nums; }

.notifications-filter { display: grid; grid-template-columns: minmax(220px,1fr) 190px 190px auto; gap: 16px; align-items: end; padding: 18px 20px; margin-bottom: 18px; }
.notifications-filter-copy { align-self: center; }
.notifications-filter-copy strong,.notifications-filter-copy span { display: block; }
.notifications-filter-copy span { color: var(--dots-muted); margin-top: 4px; font-size: 13px; }
.notifications-filter label { margin: 0; }
.notifications-filter label > span { display: block; color: var(--dots-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.notifications-filter input { width: 100%; height: 42px; border: 1px solid var(--dots-border); border-radius: 10px; background: var(--dots-input); color: var(--dots-text); padding: 0 11px; }

@media (max-width: 980px) {
    .dots-design-modal-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dots-design-modal-summary > div { border-bottom: 1px solid var(--dots-border); }
    .notifications-filter { grid-template-columns: 1fr 1fr; }
    .notifications-filter-copy { grid-column: 1/-1; }
}
@media (max-width: 600px) {
    .metric-card { min-height: 126px !important; }
    .notifications-filter { grid-template-columns: 1fr; }
    .dots-design-order-modal { width: calc(100% - 16px) !important; margin: 8px auto !important; }
    .dots-design-modal-summary { grid-template-columns: 1fr; }
}

/* Patch 18 refinements */
.not-received-row th{padding-right:14px!important;text-align:right!important}
.not-received-row th span{display:block;width:100%;text-align:right}
.not-received-row td{padding-left:0!important;padding-right:0!important;text-align:center!important}
.not-received-row td.not-received-value{vertical-align:middle!important}

.dots-overall-progress{display:inline-flex;align-items:center;gap:0;margin-left:8px;vertical-align:middle}
.dots-overall-progress .dots-progress-step{min-width:42px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-right:0;background:#f8fafc;color:#64748b;font-size:10px;font-weight:800;letter-spacing:.04em}
.dots-overall-progress .dots-progress-step:first-child{border-radius:7px 0 0 7px}.dots-overall-progress .dots-progress-step:last-child{border-right:1px solid #cbd5e1;border-radius:0 7px 7px 0}
.dots-overall-progress .status-1{background:#fff7df;border-color:#f4b23c;color:#a05a00}.dots-overall-progress .status-2{background:#e8f8ee;border-color:#6fd18a;color:#18743a}.dots-overall-progress .status-0{background:#f8fafc;color:#64748b}

.dots-order-design-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:18px;align-items:stretch;margin-bottom:16px}
.dots-order-design-preview,.dots-order-design-info{border:1px solid var(--dots-border);border-radius:14px;background:var(--dots-surface);box-shadow:var(--dots-shadow-sm)}
.dots-order-design-preview{padding:12px;min-height:300px;display:flex;align-items:center;justify-content:center;overflow:hidden}.dots-order-design-preview .dots-design-file-preview{width:100%;height:300px;min-height:0!important;max-height:none!important;margin:0!important}.dots-order-design-preview .dots-design-file-preview embed,.dots-order-design-preview .dots-design-file-preview img{width:100%;height:100%;max-height:none!important;object-fit:contain}
.dots-order-design-info{padding:20px}.dots-order-design-info h3{font-size:20px;line-height:1.3;margin:3px 0 14px}.dots-order-design-info .design-detail-list>div{padding:9px 0}
.dots-associated-design-modal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin:0 0 18px}.dots-associated-design-modal-card{border:1px solid var(--dots-border);border-radius:12px;background:var(--dots-surface);overflow:hidden}.dots-associated-design-modal-card .preview{height:180px;padding:8px;background:var(--dots-surface-subtle)}.dots-associated-design-modal-card .preview .dots-design-file-preview{height:100%;min-height:0!important;max-height:none!important;margin:0!important}.dots-associated-design-modal-card .preview img,.dots-associated-design-modal-card .preview embed{width:100%;height:100%;object-fit:contain}.dots-associated-design-modal-card .info{padding:12px;display:grid;gap:6px}.dots-associated-design-modal-card .info span{font-size:12px;color:var(--dots-muted);min-height:32px}

.design-detail-modern .design-overview-panel{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(300px,.7fr)!important;gap:18px!important;align-items:stretch}.design-detail-modern .design-overview-preview{padding:14px}.design-detail-modern .design-overview-preview .dots-design-file-preview{height:460px!important;min-height:0!important;margin:0!important}.design-detail-modern .design-overview-info{padding:22px}.design-detail-modern .design-overview-info h2{font-size:22px;margin:0 0 12px}.design-detail-modern .dots-detail-tabs-section{margin-top:18px}.design-detail-modern .tabs-bordered{min-height:180px!important}
@media(max-width:900px){.dots-order-design-layout,.design-detail-modern .design-overview-panel{grid-template-columns:1fr!important}.dots-overall-progress{display:flex;margin:8px 0 0}}

/* Patch 19: restore the fixed soft-gray shell after Patch 18 refinements */
:root {
    --dots-shell-header: 72px;
    --dots-sidebar-width: 220px;
}

.header {
    position: fixed !important;
    top: 0;
    left: var(--dots-sidebar-width);
    right: 0;
    height: var(--dots-shell-header) !important;
    min-height: var(--dots-shell-header) !important;
    background: #f7f9fc !important;
    border-bottom: 1px solid #dbe3ee !important;
    box-shadow: 0 2px 10px rgba(20, 44, 76, .04) !important;
    z-index: 1040;
}

.sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--dots-sidebar-width) !important;
    height: 100vh !important;
    overflow: hidden !important;
    background: #fff !important;
    z-index: 1050;
}

.dots-sidebar-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dots-menu {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 24px;
}

.app {
    padding-left: var(--dots-sidebar-width) !important;
}

.app .content {
    padding-top: calc(var(--dots-shell-header) + 34px) !important;
}

.dots-sidebar-header {
    height: var(--dots-shell-header) !important;
    min-height: var(--dots-shell-header) !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    background: #f7f9fc !important;
    border-right: 1px solid #dbe3ee !important;
    border-bottom: 1px solid #dbe3ee !important;
}

.dots-brand-simple,
.dots-brand-login-style {
    width: 100%;
    height: var(--dots-shell-header) !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    color: #13233d !important;
    text-decoration: none !important;
}

.dots-brand-simple img,
.dots-brand-login-style img {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
}

.dots-brand-simple strong,
.dots-brand-login-style strong {
    color: #13233d !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
}

.header .header-block,
.header-block-nav {
    height: var(--dots-shell-header) !important;
    min-height: var(--dots-shell-header) !important;
    align-items: center !important;
}

.header-block-search {
    height: var(--dots-shell-header) !important;
    max-width: none !important;
    padding: 0 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header-block-search #formSearch {
    width: min(720px, 100%) !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header-block-search .input-container:first-child {
    position: relative !important;
    width: min(620px, 100%) !important;
}

.header-block-search .input-container:first-child > i {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    line-height: 1 !important;
    color: #667a96 !important;
    z-index: 2;
}

.header-block-search input[type="search"] {
    width: 100% !important;
    height: 44px !important;
    padding-left: 45px !important;
    background: #fff !important;
    border: 1px solid #cfd9e6 !important;
    border-radius: 11px !important;
    box-shadow: 0 3px 12px rgba(30, 56, 88, .05) !important;
}

html[data-theme="dark"] .header,
html[data-theme="dark"] .dots-sidebar-header {
    background: #182433 !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .dots-brand-simple,
html[data-theme="dark"] .dots-brand-login-style,
html[data-theme="dark"] .dots-brand-simple strong,
html[data-theme="dark"] .dots-brand-login-style strong {
    color: #f8fafc !important;
}

html[data-theme="dark"] .header-block-search input[type="search"] {
    background: #111c2a !important;
    border-color: #334155 !important;
}

@media (max-width: 991px) {
    .header {
        left: 0 !important;
    }

    .app {
        padding-left: 0 !important;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .app.sidebar-open .sidebar {
        transform: translateX(0);
    }
}

/* Patch 20: contextual artwork and consistent progress states */
.progress-bar.bg-dark,
.order-stepper > .is-pending,
.dots-progress-step.status-0,
.dots-overall-progress .status-0 {
    background: #fde8e8 !important;
    border-color: #ef7d7d !important;
    color: #b42323 !important;
}

.progress-bar.bg-warning,
.order-stepper > .is-active,
.dots-progress-step.status-1,
.dots-overall-progress .status-1 {
    background: #fff2d8 !important;
    border-color: #f2b84b !important;
    color: #925900 !important;
}

.progress-bar.bg-success,
.order-stepper > .is-complete,
.dots-progress-step.status-2,
.dots-overall-progress .status-2 {
    background: #def5e5 !important;
    border-color: #72cd8d !important;
    color: #147b37 !important;
}

html[data-theme="dark"] .progress-bar.bg-dark,
html[data-theme="dark"] .order-stepper > .is-pending,
html[data-theme="dark"] .dots-progress-step.status-0,
html[data-theme="dark"] .dots-overall-progress .status-0 {
    background: #5d2528 !important;
    border-color: #a94d52 !important;
    color: #ffc3c6 !important;
}

.dots-association-summary {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(150px, .7fr) minmax(150px, .7fr);
    gap: 0;
    margin-bottom: 18px;
    border: 1px solid var(--dots-border);
    border-radius: 12px;
    background: var(--dots-surface);
    overflow: hidden;
}

.dots-association-summary > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 14px 18px;
    border-right: 1px solid var(--dots-border);
}

.dots-association-summary > div:last-child { border-right: 0; }
.dots-association-summary span,
.dots-associated-design-copy dt {
    color: var(--dots-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.dots-association-summary strong { color: var(--dots-text); font-size: 15px; line-height: 1.35; }

.dots-associated-design-expanded-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 14px;
}

.dots-associated-design-expanded-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 178px;
    border: 1px solid var(--dots-border);
    border-radius: 12px;
    background: var(--dots-surface);
    overflow: hidden;
}

.dots-associated-design-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 178px;
    padding: 10px;
    border-right: 1px solid var(--dots-border);
    background: var(--dots-surface-soft);
}
.dots-associated-design-thumb .dots-design-file-preview { width: 100%; height: 150px; min-height: 0; }
.dots-associated-design-thumb img,
.dots-associated-design-thumb embed { width: 100%; height: 100%; object-fit: contain; }
.dots-associated-design-thumb .dots-design-preview-missing { min-height: 130px; }

.dots-associated-design-copy { padding: 16px; min-width: 0; }
.dots-associated-design-copy h4 { margin: 5px 0 14px; color: var(--dots-text); font-size: 15px; line-height: 1.35; }
.dots-associated-index { color: var(--dots-blue); font-size: 12px; font-weight: 800; }
.dots-associated-design-copy dl { display: grid; gap: 8px; margin: 0; }
.dots-associated-design-copy dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; }
.dots-associated-design-copy dd { margin: 0; color: var(--dots-text); font-size: 13px; font-weight: 650; }

@media (max-width: 767.98px) {
    .dots-association-summary { grid-template-columns: 1fr; }
    .dots-association-summary > div { border-right: 0; border-bottom: 1px solid var(--dots-border); }
    .dots-association-summary > div:last-child { border-bottom: 0; }
    .dots-associated-design-expanded-card { grid-template-columns: 1fr; }
    .dots-associated-design-thumb { border-right: 0; border-bottom: 1px solid var(--dots-border); }
}


/* Patch 24: dark-mode tab contrast, contextual association details, and design polish */
html[data-theme="dark"] .dots-detail-tabs-section .nav-tabs .nav-link,
html[data-theme="dark"] .dots-design-modal-tabs-section .nav-tabs .nav-link,
html[data-theme="dark"] .dots-detail-tabs-section .nav-tabs-bordered .nav-link {
    color: #b8c5d6 !important;
    background: transparent !important;
    border-color: transparent !important;
}

html[data-theme="dark"] .dots-detail-tabs-section .nav-tabs .nav-link:hover,
html[data-theme="dark"] .dots-design-modal-tabs-section .nav-tabs .nav-link:hover {
    color: #f8fbff !important;
    background: #22344b !important;
}

html[data-theme="dark"] .dots-detail-tabs-section .nav-tabs .nav-link.active,
html[data-theme="dark"] .dots-design-modal-tabs-section .nav-tabs .nav-link.active,
html[data-theme="dark"] .dots-detail-tabs-section .nav-tabs-bordered .nav-link.active {
    color: #ffffff !important;
    background: #0878df !important;
    border-color: #0878df !important;
    box-shadow: inset 0 -3px 0 #69c8ff !important;
}

.dots-associated-design-expanded-card {
    grid-template-columns: 230px minmax(0, 1fr) !important;
    min-height: 250px !important;
}

.dots-associated-design-thumb {
    min-height: 250px !important;
    padding: 14px !important;
}

.dots-associated-design-thumb .dots-design-file-preview {
    height: 220px !important;
    min-height: 220px !important;
    overflow: hidden;
}

.dots-associated-design-thumb img,
.dots-associated-design-thumb embed {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.dots-associated-design-copy dl > div {
    grid-template-columns: 100px minmax(0, 1fr) !important;
}

html[data-theme="dark"] .dots-activity-pane,
html[data-theme="dark"] .dots-activity-pane .dots-tab-heading,
html[data-theme="dark"] .dots-activity-pane .dots-activity-timeline {
    color: #eaf1fb !important;
}

html[data-theme="dark"] .dots-activity-pane .dots-tab-heading h3,
html[data-theme="dark"] .dots-activity-pane .dots-tab-heading p {
    color: #f8fbff !important;
}

html[data-theme="dark"] .dots-activity-pane .dots-activity-card {
    background: #223149 !important;
    border-color: #3b4d67 !important;
    color: #f4f7fb !important;
}

html[data-theme="dark"] .dots-activity-pane .dots-activity-card strong,
html[data-theme="dark"] .dots-activity-pane .dots-activity-card p,
html[data-theme="dark"] .dots-activity-pane .dots-activity-card small {
    color: #f4f7fb !important;
}

html[data-theme="dark"] .dots-activity-pane .dots-activity-card time {
    color: #b9c8dc !important;
}

html[data-theme="dark"] .dots-activity-pane .dots-activity-dot {
    background: #55b7ff !important;
    border-color: #172438 !important;
    box-shadow: 0 0 0 2px #55b7ff !important;
}

.dots-dst-pane {
    min-height: 110px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px !important;
}

.dots-dst-download {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0 !important;
}

@media (max-width: 767.98px) {
    .dots-associated-design-expanded-card {
        grid-template-columns: 1fr !important;
    }
    .dots-associated-design-thumb {
        min-height: 230px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--dots-border) !important;
    }
}

/* Patch 26: authoritative quantity alignment and statement dark-mode titles */
.dots-quantities-table {
    width: 100% !important;
    table-layout: fixed !important;
}
.dots-quantities-table col.qty-col-part { width: 9% !important; }
.dots-quantities-table col.qty-col-color { width: 9% !important; }
.dots-quantities-table col.qty-col-description { width: 46% !important; }
.dots-quantities-table col.qty-col-size { width: 4.5% !important; }
.dots-quantities-table th,
.dots-quantities-table td {
    box-sizing: border-box !important;
    vertical-align: middle !important;
}
.dots-quantities-table th:nth-child(n+4),
.dots-quantities-table td:nth-child(n+4) {
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center !important;
    font-variant-numeric: tabular-nums;
}
.dots-quantities-table .not-received-row > th,
.dots-quantities-table .not-received-row > td {
    height: 28px !important;
    min-height: 28px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    line-height: 1 !important;
}
.dots-quantities-table .not-received-row > th {
    padding-left: 10px !important;
    padding-right: 14px !important;
    text-align: right !important;
}
.dots-quantities-table .not-received-row > th span {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    white-space: nowrap !important;
}
.dots-quantities-table .not-received-row > td.not-received-value {
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center !important;
}
html[data-theme="dark"] .statements-page #summary .card-header,
html[data-theme="dark"] .statements-page #summary .card-header h5,
html[data-theme="dark"] .statements-page #summary .card-header h4,
html[data-theme="dark"] .statements-page #summary .card-header .card-title {
    color: #e8f0ff !important;
    opacity: 1 !important;
}
html[data-theme="dark"] .statements-page #summary .card-header {
    background: #1d2a3f !important;
    border-bottom-color: #34445f !important;
}

/* Patch 27: keep the Not Received row in the same native table grid as size headers and requested quantities */
.dots-quantities-table > tbody > tr.not-received-row {
    display: table-row !important;
}
.dots-quantities-table > tbody > tr.not-received-row > th,
.dots-quantities-table > tbody > tr.not-received-row > td {
    display: table-cell !important;
    float: none !important;
    position: static !important;
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
}
.dots-quantities-table > tbody > tr.not-received-row > td.not-received-value {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
}

/* Patch 28: compensate for the Not Received row's remaining rendered cell offset */
.dots-quantities-table > tbody > tr.not-received-row > td.not-received-value {
    position: relative !important;
    left: -9px !important;
}

/* Patch 29: render Not Received quantities exactly like the item quantity cells above */
.dots-quantities-table > tbody > tr.not-received-row > td.not-received-value {
    position: static !important;
    left: auto !important;
    transform: none !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    font-variant-numeric: tabular-nums !important;
}

.dots-quantities-table > tbody > tr.not-received-row > th {
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}


/* Patch 30: use identical physical cells for item and Not Received quantities */
.dots-quantities-table .quantity-item-row > td:nth-child(n+4),
.dots-quantities-table .not-received-row > td:nth-child(n+4) {
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}
.dots-quantities-table .not-received-row > .not-received-spacer,
.dots-quantities-table .not-received-row > th,
.dots-quantities-table .not-received-row > td {
    background: #fff5f5 !important;
    border-top: 1px solid #fecaca !important;
    color: #b91c1c !important;
}
.dots-quantities-table .not-received-row > th {
    padding: 10px 14px 10px 6px !important;
    text-align: right !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}
.dots-quantities-table .not-received-row > td.not-received-value {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}
html[data-theme="dark"] .dots-quantities-table .not-received-row > .not-received-spacer,
html[data-theme="dark"] .dots-quantities-table .not-received-row > th,
html[data-theme="dark"] .dots-quantities-table .not-received-row > td {
    background: #3a1717 !important;
    color: #fecaca !important;
    border-color: #7f1d1d !important;
}

/* Quantity table final alignment: use one fixed column grid for requested and Not Received values. */
.dots-quantities-table {
    table-layout: fixed !important;
}
.dots-quantities-table .quantity-item-row > td:nth-child(n+4),
.dots-quantities-table .not-received-row > td.not-received-value {
    padding: 13px 6px !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
}
.dots-quantities-table .not-received-row > th {
    padding: 13px 14px !important;
    vertical-align: middle !important;
}

/* DOTS Create Order */
.create-order-page{padding-top:26px;padding-bottom:60px}.create-order-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;background:linear-gradient(135deg,#12375b,#195c8e);color:#fff;border-radius:18px;padding:30px 34px;margin-bottom:20px;box-shadow:0 12px 30px rgba(9,46,78,.16)}.create-order-hero h1{font-size:34px;margin:3px 0 8px;color:#fff}.create-order-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.82);font-size:16px;line-height:1.55}.create-order-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;opacity:.75}.create-order-customer{min-width:220px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);padding:16px 20px;border-radius:12px}.create-order-customer span{display:block;font-size:12px;opacity:.72}.create-order-customer strong{display:block;font-size:17px;margin-top:3px}.create-order-status-banner{display:flex;align-items:flex-start;gap:14px;border-radius:12px;padding:15px 18px}.create-order-status-banner i{font-size:22px;margin-top:2px}.create-order-paths{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.create-order-path{display:flex;align-items:center;gap:15px;text-align:left;background:var(--dots-surface,#fff);border:2px solid var(--dots-border,#d9e1e8);border-radius:14px;padding:18px 20px;cursor:pointer;transition:.18s ease}.create-order-path:hover,.create-order-path.active{border-color:#1c72aa;box-shadow:0 8px 22px rgba(18,76,116,.12)}.create-order-path.active{background:rgba(28,114,170,.06)}.create-order-path .path-number{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#e6f1f8;color:#175f91;font-weight:800;font-size:18px;flex:none}.create-order-path strong,.create-order-path small{display:block}.create-order-path strong{font-size:17px;color:var(--dots-text,#21313f)}.create-order-path small{margin-top:3px;color:var(--dots-muted,#687b8b)}.create-order-tab{display:none}.create-order-tab.active{display:block}.create-order-section,.create-order-results{background:var(--dots-surface,#fff);border:1px solid var(--dots-border,#dfe6ec);border-radius:16px;padding:26px 28px;margin-bottom:18px;box-shadow:0 8px 24px rgba(20,53,78,.06)}.section-heading{display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid var(--dots-border,#e3e9ee);padding-bottom:18px;margin-bottom:22px}.section-heading>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#155f91;color:#fff;font-weight:800;flex:none}.section-heading h2{font-size:21px;margin:1px 0 4px;color:var(--dots-text,#203342)}.section-heading p{margin:0;color:var(--dots-muted,#6b7c89)}.section-heading-actions{align-items:center}.section-heading-actions>div{flex:1}.create-order-section label{font-weight:700;color:var(--dots-text,#2b3b47)}.create-order-section label b{color:#b53232}.create-order-section .form-control{min-height:43px;border-radius:8px}.create-order-check{display:flex;align-items:center;padding-top:25px}.create-order-check label{font-weight:600;margin:0}.create-order-check input{margin-right:7px}.create-order-product{border:1px solid var(--dots-border,#dfe7ed);border-radius:13px;padding:20px;margin-bottom:18px;background:var(--dots-surface-soft,#fafcfd)}.product-card-header{display:flex;justify-content:space-between;align-items:center;margin:-4px 0 18px}.product-card-header>div{display:flex;align-items:center;gap:12px}.product-number{background:#dcecf6;color:#155f91;font-weight:800;padding:5px 10px;border-radius:20px;font-size:12px}.product-summary{font-size:16px;color:var(--dots-text,#233746)}.decoration-box{background:var(--dots-surface,#fff);border:1px solid var(--dots-border,#dde5eb);border-radius:10px;padding:17px 18px 3px;transition:.2s}.decoration-box.disabled{opacity:.45;pointer-events:none}.decoration-title{display:flex;justify-content:space-between;margin-bottom:12px}.decoration-title span{font-size:12px;color:var(--dots-muted,#71818d)}.customer-product-help{display:none;margin-top:5px;color:#8b5a15}.customer-product-mode .customer-product-help{display:block}.create-order-footer-actions{text-align:right;padding-top:6px}.create-order-drop{display:flex!important;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #9db5c7;border-radius:13px;padding:28px;background:var(--dots-surface-soft,#f8fbfd);cursor:pointer;text-align:center}.create-order-drop:hover{border-color:#1c72aa;background:rgba(28,114,170,.05)}.create-order-drop i{font-size:34px;color:#1c72aa;margin-bottom:8px}.create-order-drop span{font-weight:400;color:var(--dots-muted,#6c7c88);margin-top:3px}.create-order-drop input{margin-top:14px}.results-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--dots-border,#e1e8ed);padding-bottom:17px;margin-bottom:20px}.results-header h2{margin:4px 0 0;font-size:24px;color:var(--dots-text,#243744)}.validation-pill{display:flex;gap:8px;align-items:center;border-radius:25px;padding:9px 14px;font-weight:800}.validation-pill.valid{background:#daf2e3;color:#17683a}.validation-pill.invalid{background:#fbe1df;color:#9a2c25}.validation-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.validation-summary-grid>div{padding:15px;background:var(--dots-surface-soft,#f6f9fb);border-radius:10px}.validation-summary-grid span,.validation-summary-grid strong{display:block}.validation-summary-grid span{font-size:12px;color:var(--dots-muted,#6c7c89);margin-bottom:4px}.validation-summary-grid strong{font-size:18px;color:var(--dots-text,#203542)}.issue-group{border-radius:11px;padding:15px 17px;margin-top:14px}.issue-group.error{background:#fff1f0;border:1px solid #f3c5c1}.issue-group.lookup{background:#fff8e7;border:1px solid #efda9d}.issue-group.warning{background:#eef6fb;border:1px solid #bfd8e8}.issue-group h3{font-size:16px;margin:0 0 10px}.issue-row{display:grid;grid-template-columns:90px 150px 1fr;gap:10px;padding:9px 0;border-top:1px solid rgba(70,80,90,.12)}.issue-row:first-of-type{border-top:0}.issue-row span{font-size:12px;font-weight:800;text-transform:uppercase}.issue-row p{margin:0}.submit-order-box{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--dots-border,#e2e8ed);margin-top:22px;padding-top:22px}.submit-order-box p{margin:4px 0 0;color:var(--dots-muted,#6c7b87)}.submission-success{display:flex;align-items:center;gap:18px;background:#e4f5ea;padding:20px;border-radius:12px;color:#17673a}.submission-success>i{font-size:42px}.submission-success span,.submission-success strong{display:block}.submission-success strong{font-size:27px}.submission-success p{margin:2px 0 0}.create-order-results{scroll-margin-top:90px}
@media(max-width:900px){.create-order-hero{align-items:flex-start;flex-direction:column}.create-order-customer{width:100%}.create-order-paths{grid-template-columns:1fr}.validation-summary-grid{grid-template-columns:1fr 1fr}.issue-row{grid-template-columns:80px 1fr}.issue-row p{grid-column:1/-1}.submit-order-box{align-items:stretch;flex-direction:column}.submit-order-box .btn{width:100%}}
[data-theme="dark"] .create-order-section,[data-theme="dark"] .create-order-results,[data-theme="dark"] .create-order-path,[data-theme="dark"] .create-order-product,[data-theme="dark"] .decoration-box{--dots-surface:#17232d;--dots-surface-soft:#1b2a35;--dots-border:#34434f;--dots-text:#ecf3f7;--dots-muted:#aebcc6}[data-theme="dark"] .create-order-path.active{background:#17354a}[data-theme="dark"] .issue-group.error{background:#402321;border-color:#73403c}[data-theme="dark"] .issue-group.lookup{background:#3b331d;border-color:#6d5c29}[data-theme="dark"] .issue-group.warning{background:#1c3443;border-color:#315a70}
.decoration-title>div{display:flex;flex-direction:column;gap:2px}.decoration-row+.decoration-row{border-top:1px solid var(--dots-border,#dfe6ec);padding-top:14px;margin-top:3px}.decoration-remove-cell{display:flex;align-items:flex-end;padding-bottom:17px}.decoration-remove-cell .btn{padding:9px}


/* Patch 35: 10-card dashboard with invoice status metrics */
@media (min-width: 1181px) {
    .dashboard-page .dashboard-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 12px !important; }
    .dashboard-page .metric-card { grid-template-columns: 42px minmax(0, 1fr) 24px !important; min-height: 118px !important; padding: 14px 13px !important; gap: 10px !important; }
    .dashboard-page .metric-icon { width: 42px !important; height: 42px !important; }
    .dashboard-page .metric-content strong { font-size: 28px !important; line-height: 1 !important; }
    .dashboard-page .metric-label { font-size: 11px !important; }
    .dashboard-page .metric-content small { font-size: 11px !important; line-height: 1.28 !important; }
    .dashboard-page .metric-link { width: 24px !important; }
}
@media (min-width: 761px) and (max-width: 1180px) {
    .dashboard-page .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Patch 43: shared animated loading feedback */
.dots-loading-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border: 3px solid rgba(21, 115, 214, .18);
    border-top-color: var(--dots-accent, #1573d6);
    border-radius: 50%;
    animation: dots-spin .7s linear infinite;
}
.dots-loading-spinner-lg {
    width: 34px;
    height: 34px;
    border-width: 4px;
}
@keyframes dots-spin { to { transform: rotate(360deg); } }
.dashboard-loader {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--dots-text);
    text-align: left;
}
.dashboard-loader strong { display: block; font-size: 16px; }
.dashboard-loader p { margin: 3px 0 0; color: var(--dots-muted); font-size: 13px; }
.dots-table-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    padding: 12px 18px;
    color: var(--dots-text);
    font-weight: 650;
}
.dataTables_wrapper .dataTables_processing {
    z-index: 20;
    min-height: 54px;
    padding: 0;
}
@media (prefers-reduced-motion: reduce) {
    .dots-loading-spinner { animation-duration: 1.4s; }
}


/* V3 order workflow enhancements */
.workorder-stepper { display: flex; width: 100%; min-width: 330px; }
.workorder-stepper .progress-bar { flex: 1 1 0; width: auto !important; min-width: 40px; padding-left: 4px; padding-right: 4px; font-size: .72rem; }
.dots-order-progress-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dots-order-progress-wrap .order-stepper { flex: 1 1 auto; min-width: 0; }
.dots-order-exception-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #dc3545; color: #fff; box-shadow: 0 2px 8px rgba(220,53,69,.25); }
.dots-order-exception-tab { color: #c82333 !important; font-weight: 700; }
.dots-order-exception-tab.active { color: #a71d2a !important; }
.dots-order-exceptions-panel { padding: 18px; }
.dots-exception-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #b21f2d; }
.dots-exception-heading > i { font-size: 1.4rem; }
.dots-exception-heading strong, .dots-exception-heading span { display: block; }
.dots-exception-heading span { color: var(--dots-muted, #6c757d); font-weight: 400; margin-top: 2px; }
.dots-exception-table td:nth-child(1), .dots-exception-table td:nth-child(3) { white-space: nowrap; }
/* V3 Patch 02: customer notification preferences and alert history */
.dots-notification-settings-card{grid-column:1/-1!important}
.dots-notification-master{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:4px 0 20px;border-bottom:1px solid var(--dots-border)}
.dots-notification-pref-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.dots-notification-pref-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;padding:14px 0;border-bottom:1px solid var(--dots-border)}
.dots-notification-pref-row strong{display:block;color:var(--dots-navy);font-size:14px}
.dots-notification-pref-row p{margin:4px 0 0;color:var(--dots-muted);font-size:12px;line-height:1.4;max-width:520px}
.dots-settings-save-status{min-height:20px;padding-top:12px;color:#15803d;font-size:12px;font-weight:700}
.dots-settings-save-status.is-error{color:#c62828}
.dots-notification-dropdown{padding:0!important;overflow:hidden;border-radius:12px!important}
.dots-notification-dropdown-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--dots-border);background:var(--dots-surface)}
.dots-notification-dropdown-head strong{display:block;color:var(--dots-navy)}
.dots-notification-dropdown-head span{display:block;color:var(--dots-muted);font-size:11px;margin-top:2px}
.dots-mark-read{border:0;background:transparent;color:#0878df;font-size:11px;font-weight:800;cursor:pointer;padding:4px}
.header .header-block-nav .notifications-dropdown-menu .notifications-container{max-height:390px;overflow:auto;margin:0;padding:0;list-style:none}
.header .header-block-nav .notifications-dropdown-menu .notifications-container .notification-item{display:flex!important;align-items:flex-start;gap:10px;padding:12px 15px!important;text-decoration:none}
.header .header-block-nav .notifications-dropdown-menu .notifications-container .body-col{display:block!important;padding:0!important;min-width:0}
.header .header-block-nav .notifications-dropdown-menu .notifications-container .body-col p{display:block!important;color:var(--dots-text)!important;line-height:1.35!important}
.header .header-block-nav .notifications-dropdown-menu .notifications-container .body-col small{display:block;color:var(--dots-muted);margin-top:4px;font-size:10px}
.dots-notification-dot{width:8px;height:8px;border-radius:50%;background:transparent;flex:0 0 8px;margin-top:5px}
.dots-notification-unread{background:rgba(8,120,223,.06)}
.dots-notification-unread .dots-notification-dot{background:#0878df;box-shadow:0 0 0 3px rgba(8,120,223,.12)}
.dots-notification-empty{padding:24px 16px;text-align:center;color:var(--dots-muted);font-size:12px}
.header .header-block-nav .notifications-dropdown-menu footer{padding:10px 14px;border-top:1px solid var(--dots-border);background:var(--dots-surface)}
.dots-notification-status{display:inline-flex;align-items:center;justify-content:center;min-width:46px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.dots-notification-status.is-new{background:#e7f3ff;color:#0878df}
.dots-notification-status.is-read{background:#eef1f5;color:#66768a}
.dots-notification-table-unread td{font-weight:600;background:rgba(8,120,223,.025)}
.dots-order-email-history{margin-top:24px;padding-top:20px;border-top:1px solid var(--dots-border)}
.dots-email-history-heading{margin-bottom:10px}
@media(max-width:900px){.dots-notification-pref-list{grid-template-columns:1fr}}

/* V3 Patch 03: inline work orders, preview loading, colorway/activity cleanup */
.dots-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(31, 119, 230, .18);
    border-top-color: #147ce5;
    border-radius: 50%;
    display: inline-block;
    animation: dotsSpin .75s linear infinite;
}
@keyframes dotsSpin { to { transform: rotate(360deg); } }
.dots-preview-frame { position: relative; min-height: 150px; }
.dots-preview-loader,
.dots-inline-loading {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6b7c96;
    font-weight: 600;
}
.dots-design-file-preview > img,
.dots-colorway-preview-image { transition: opacity .16s ease; }
.dots-workorder-toggle i { margin-left: 5px; font-size: 10px; }
.dots-workorder-detail-row > td { padding: 0 !important; background: #f7faff !important; }
.dots-workorder-inline-container { padding: 16px 18px 18px; border-top: 2px solid #1784ea; }
.dots-workorder-inline { background: #fff; border: 1px solid #dce6f2; border-radius: 10px; overflow: hidden; }
.dots-workorder-inline-header { display:flex; justify-content:space-between; gap:20px; padding:18px 20px; border-bottom:1px solid #e2e9f2; }
.dots-workorder-inline-header h4 { margin:3px 0 0; font-size:18px; }
.dots-workorder-inline-meta { display:flex; flex-wrap:wrap; gap:18px; align-items:center; }
.dots-workorder-inline-meta span { display:flex; flex-direction:column; font-size:13px; color:#4b5d76; }
.dots-workorder-inline-meta strong { color:#7a8ba5; text-transform:uppercase; font-size:10px; letter-spacing:.05em; }
.dots-workorder-inline-preview { padding:16px 20px 0; max-width:520px; }
.dots-workorder-inline-table { margin: 14px 0 0; }
.dots-inline-error { padding:20px; color:#b42318; font-weight:600; }
.dots-activity-switcher { display:flex; gap:8px; margin: 4px 0 18px; }
.dots-activity-switch { border:1px solid #cfdbe9; background:#fff; color:#52647e; border-radius:8px; padding:8px 14px; font-weight:700; cursor:pointer; }
.dots-activity-switch.active { background:#147ce5; border-color:#147ce5; color:#fff; }
.dots-activity-view { display:none; }
.dots-activity-view.active { display:block; }
.dots-colorway-modal .modal-content { border:0; border-radius:14px; overflow:hidden; }
.dots-modal-header { align-items:flex-start; padding:20px 24px; }
.dots-colorway-modal-body { padding:18px 22px 24px; }
.dots-colorway-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid #dce6f2; border-radius:10px; overflow:hidden; margin-bottom:18px; }
.dots-colorway-summary > div { padding:13px 15px; border-right:1px solid #e3eaf3; border-bottom:1px solid #e3eaf3; display:flex; flex-direction:column; gap:4px; }
.dots-colorway-summary > div:nth-child(4n) { border-right:0; }
.dots-colorway-summary span { font-size:10px; font-weight:800; color:#7486a0; text-transform:uppercase; letter-spacing:.055em; }
.dots-colorway-summary strong { font-size:14px; color:#1e2d47; }
.dots-colorway-summary .wide { grid-column:span 2; }
.dots-colorway-content-grid { display:grid; grid-template-columns:minmax(320px, .9fr) minmax(420px, 1.4fr); gap:16px; }
.dots-colorway-preview-card,
.dots-colorway-break-card { border:1px solid #dce6f2; border-radius:10px; background:#fff; padding:16px; min-height:220px; }
.dots-colorway-preview { min-height:220px; display:flex; align-items:center; justify-content:center; }
.dots-colorway-preview-image { max-width:100%; max-height:420px; object-fit:contain; }
.dots-colorway-preview-unavailable { min-height:180px; width:100%; display:flex; align-items:center; justify-content:center; gap:12px; color:#71839d; text-align:left; }
.dots-colorway-preview-unavailable i { font-size:28px; }
.dots-colorway-preview-unavailable div { display:flex; flex-direction:column; gap:3px; }
.dots-card-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.dots-card-heading h6 { margin:0; font-weight:800; }
.dots-card-heading span { font-size:12px; color:#788aa3; }
@media (max-width: 900px) {
    .dots-colorway-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dots-colorway-summary > div:nth-child(4n) { border-right:1px solid #e3eaf3; }
    .dots-colorway-summary > div:nth-child(2n) { border-right:0; }
    .dots-colorway-content-grid { grid-template-columns:1fr; }
    .dots-workorder-inline-header { flex-direction:column; }
}
[data-theme="dark"] .dots-workorder-detail-row > td,
body.dark-mode .dots-workorder-detail-row > td { background:#0f1928 !important; }
[data-theme="dark"] .dots-workorder-inline,
[data-theme="dark"] .dots-colorway-preview-card,
[data-theme="dark"] .dots-colorway-break-card,
body.dark-mode .dots-workorder-inline,
body.dark-mode .dots-colorway-preview-card,
body.dark-mode .dots-colorway-break-card { background:#172235; border-color:#31415a; }
[data-theme="dark"] .dots-workorder-inline-header,
body.dark-mode .dots-workorder-inline-header { border-color:#31415a; }

/* V3 Patch 04: compact work order artwork, colorway layout, notification history */
.dots-workorder-inline-preview {
    width: 240px;
    max-width: 100%;
    padding: 14px 20px 0;
}
.dots-workorder-inline-preview .dots-design-file-preview {
    width: 220px;
    height: 165px;
    min-height: 165px !important;
    max-height: 165px !important;
    margin: 0 !important;
}
.dots-workorder-inline-preview .dots-design-file-preview img,
.dots-workorder-inline-preview .dots-design-file-preview embed {
    width: 100%;
    height: 100%;
    max-height: 165px !important;
    object-fit: contain;
}
.dots-workorder-inline-preview .dots-design-preview-missing,
.dots-workorder-inline-preview .dots-preview-loader {
    min-height: 145px;
}
.dots-workorder-associated-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px 0;
}
.dots-workorder-associated-preview-card {
    display: grid;
    grid-template-columns: 150px minmax(150px, 220px);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--dots-border);
    border-radius: 10px;
    background: var(--dots-surface);
}
.dots-workorder-associated-image {
    width: 150px;
    height: 130px;
    padding: 8px;
    border-right: 1px solid var(--dots-border);
    background: var(--dots-surface-soft);
}
.dots-workorder-associated-image .dots-design-file-preview {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0;
    border-radius: 7px;
}
.dots-workorder-associated-image .dots-design-file-preview img,
.dots-workorder-associated-image .dots-design-file-preview embed {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: contain;
}
.dots-workorder-associated-image .dots-preview-loader,
.dots-workorder-associated-image .dots-design-preview-missing {
    min-height: 110px;
}
.dots-workorder-associated-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 12px;
    min-width: 0;
}
.dots-workorder-associated-copy strong { color: var(--dots-blue); font-size: 12px; }
.dots-workorder-associated-copy span { color: var(--dots-text); font-size: 13px; font-weight: 700; line-height: 1.35; }
.dots-workorder-associated-copy small { color: var(--dots-muted); font-size: 11px; }

.dots-colorway-modal {
    width: calc(100% - 32px);
    max-width: 1080px !important;
    margin: 1.75rem auto;
}
.dots-colorway-modal .modal-content { width: 100%; }
.dots-colorway-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 3px; }
.dots-colorway-title-row h5 { margin: 0; }
.dots-colorway-subtitle { margin: 6px 0 0; color: var(--dots-muted); font-size: 13px; }
.dots-colorway-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e7f4ff;
    color: #086fc9;
    font-size: 11px;
    font-weight: 800;
}
.dots-colorway-summary-clean {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}
.dots-colorway-summary-clean > div { border-bottom: 0; }
.dots-colorway-content-grid-clean {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}
.dots-colorway-preview-card-clean,
.dots-colorway-break-card-clean { min-height: 0; }
.dots-colorway-preview-card-clean .dots-card-heading,
.dots-colorway-break-card-clean .dots-card-heading { align-items: flex-start; }
.dots-colorway-preview-card-clean .dots-card-heading > div,
.dots-colorway-break-card-clean .dots-card-heading > div { display: flex; flex-direction: column; gap: 2px; }
.dots-colorway-preview-card-clean .dots-colorway-preview {
    min-height: 200px;
    height: 240px;
}
.dots-colorway-preview-card-clean .dots-colorway-preview-image {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: contain;
}
.dots-colorway-preview-card-clean .dots-colorway-preview-unavailable { min-height: 200px; }
.dots-colorway-break-table-wrap { max-height: 360px; overflow: auto; }
.dots-colorway-break-table { margin: 0; table-layout: fixed; width: 100%; }
.dots-colorway-break-table th:first-child,
.dots-colorway-break-table td:first-child { width: 54px; text-align: center; }
.dots-colorway-break-table th:last-child,
.dots-colorway-break-table td:last-child { width: 170px; }
.dots-colorway-break-table th,
.dots-colorway-break-table td { white-space: normal; word-break: break-word; }

.dots-notification-history-table { min-width: 900px; }
.dots-notification-history-table th:first-child,
.dots-notification-history-table td:first-child { width: 170px; }
.dots-notification-history-table th:nth-child(3),
.dots-notification-history-table td:nth-child(3) { width: 240px; }
.dots-notification-history-table th:last-child,
.dots-notification-history-table td:last-child { width: 190px; }
.dots-notification-detail { max-width: 580px; white-space: normal !important; line-height: 1.45; }
.dots-notification-date { white-space: nowrap !important; }

@media (max-width: 800px) {
    .dots-workorder-associated-preview-card { grid-template-columns: 120px minmax(0, 1fr); width: 100%; }
    .dots-workorder-associated-image { width: 120px; height: 115px; }
    .dots-colorway-modal { width: calc(100% - 16px); margin: .5rem auto; }
    .dots-colorway-summary-clean { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dots-colorway-content-grid-clean { grid-template-columns: 1fr; }
    .dots-colorway-preview-card-clean .dots-colorway-preview { height: 220px; }
}

[data-theme="dark"] .dots-colorway-type-badge,
body.dark-mode .dots-colorway-type-badge { background: #173b5c; color: #8dceff; }
[data-theme="dark"] .dots-workorder-associated-preview-card,
body.dark-mode .dots-workorder-associated-preview-card { background: #172235; border-color: #31415a; }
[data-theme="dark"] .dots-workorder-associated-image,
body.dark-mode .dots-workorder-associated-image { background: #111c2c; border-color: #31415a; }

/* V3 Patch 05: manifest, colorway and invoice polish */
.dots-manifest-modal { width: calc(100% - 32px); max-width: 1180px !important; margin: 1.5rem auto; }
.dots-manifest-modal .modal-content { border: 0; border-radius: 14px; overflow: hidden; }
.dots-manifest-modal-body { padding: 18px 22px 24px; }
.dots-modal-subtitle { margin: 5px 0 0; color: var(--dots-muted); font-size: 13px; }
.dots-manifest-overview { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; margin-bottom: 16px; }
.dots-manifest-card { border: 1px solid #dce6f2; background: #fff; border-radius: 10px; padding: 16px; min-width: 0; }
.dots-detail-list { margin: 8px 0 0; }
.dots-detail-list > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 7px 0; border-bottom: 1px solid #edf1f6; }
.dots-detail-list > div:last-child { border-bottom: 0; }
.dots-detail-list dt { margin: 0; color: var(--dots-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.dots-detail-list dd { margin: 0; color: var(--dots-text); font-weight: 700; }
.dots-address-block { display: flex; flex-direction: column; gap: 4px; line-height: 1.4; padding-top: 8px; }
.dots-address-block strong { font-size: 15px; color: var(--dots-text); }
.dots-address-block span { color: var(--dots-text); }
.dots-manifest-tabs { margin-top: 4px; }
.dots-manifest-tabs .nav-link { display: inline-flex; align-items: center; gap: 7px; }
.dots-manifest-tab-content { padding-top: 16px; }
.dots-manifest-action-card { display: flex; align-items: center; gap: 14px; border: 1px solid #dce6f2; background: #f8fbff; border-radius: 10px; padding: 16px; }
.dots-manifest-action-card > i { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #e8f3ff; color: var(--dots-blue); font-size: 20px; }
.dots-manifest-action-card > div { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.dots-manifest-action-card > div span { color: var(--dots-muted); font-size: 13px; }
.dots-manifest-table { margin-bottom: 0; }
.dots-manifest-garments-table { min-width: 1220px; margin-bottom: 0; }

.dots-invoice-summary-wrap { display: flex; justify-content: flex-end; margin: 18px 0 8px; }
.dots-invoice-summary-card { width: min(430px, 100%); border: 1px solid #dce6f2; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 5px 18px rgba(31, 54, 86, .05); }
.dots-invoice-summary-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 9px 14px; border-bottom: 1px solid #edf1f6; }
.dots-invoice-summary-row:last-child { border-bottom: 0; }
.dots-invoice-summary-row span { color: var(--dots-muted); font-weight: 650; }
.dots-invoice-summary-row strong { color: var(--dots-text); font-variant-numeric: tabular-nums; }
.dots-invoice-summary-row.total { padding-top: 12px; border-top: 1px solid #d6e1ef; }
.dots-invoice-summary-row.total span, .dots-invoice-summary-row.total strong { font-size: 16px; color: var(--dots-text); }
.dots-invoice-summary-row.balance { background: #f3f8ff; }
.dots-invoice-summary-row.balance span, .dots-invoice-summary-row.balance strong { color: var(--dots-blue); font-size: 16px; font-weight: 800; }
.dots-invoice-summary-row.terms { background: #fafbfd; }

.dots-colorway-modal { max-width: 1120px !important; }
.dots-colorway-modal-body { max-height: calc(100vh - 150px); overflow-y: auto; }
.dots-colorway-content-grid-clean { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
.dots-colorway-preview-card-clean .dots-colorway-preview { height: 270px; min-height: 220px; }
.dots-colorway-preview-card-clean .dots-colorway-preview-image { max-width: 100%; max-height: 270px; object-fit: contain; }

@media (max-width: 800px) {
    .dots-manifest-modal { width: calc(100% - 16px); margin: .5rem auto; }
    .dots-manifest-overview { grid-template-columns: 1fr; }
    .dots-manifest-action-card { align-items: flex-start; flex-wrap: wrap; }
    .dots-manifest-action-card .btn { width: 100%; }
    .dots-invoice-summary-wrap { justify-content: stretch; }
    .dots-invoice-summary-card { width: 100%; }
}

[data-theme="dark"] .dots-manifest-card,
[data-theme="dark"] .dots-invoice-summary-card,
body.dark-mode .dots-manifest-card,
body.dark-mode .dots-invoice-summary-card { background: #172235; border-color: #31415a; }
[data-theme="dark"] .dots-manifest-action-card,
body.dark-mode .dots-manifest-action-card { background: #111c2c; border-color: #31415a; }
[data-theme="dark"] .dots-detail-list > div,
[data-theme="dark"] .dots-invoice-summary-row,
body.dark-mode .dots-detail-list > div,
body.dark-mode .dots-invoice-summary-row { border-color: #31415a; }
[data-theme="dark"] .dots-invoice-summary-row.balance,
body.dark-mode .dots-invoice-summary-row.balance { background: #132944; }
[data-theme="dark"] .dots-invoice-summary-row.terms,
body.dark-mode .dots-invoice-summary-row.terms { background: #111c2c; }
.dots-colorway-summary-clean { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dots-colorway-summary-clean > div:nth-child(3n) { border-right: 0; }
@media (max-width: 800px) {
    .dots-colorway-summary-clean { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dots-colorway-summary-clean > div:nth-child(3n) { border-right: 1px solid #e3eaf3; }
    .dots-colorway-summary-clean > div:nth-child(2n) { border-right: 0; }
}

/* DOTS V3 Patch 09: design deactivation and notification message details */
.dots-deactivate-design-modal .modal-header{align-items:flex-start}.dots-deactivate-warning{display:flex;gap:14px;align-items:flex-start;padding:16px;border:1px solid rgba(220,53,69,.28);background:rgba(220,53,69,.07);border-radius:12px}.dots-deactivate-warning>i{font-size:22px;color:#dc3545;margin-top:2px}.dots-deactivate-warning p{margin:4px 0 0;color:var(--dots-muted)}.dots-deactivate-list{margin:16px 0;padding-left:22px}.dots-deactivate-list li+li{margin-top:8px}.dots-confirm-check{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:var(--dots-panel-soft);border:1px solid var(--dots-border);border-radius:10px;cursor:pointer}.dots-confirm-check input{margin-top:4px}.dots-design-alert{margin:0 0 16px}.dots-notification-unread{background:rgba(0,123,255,.06)}.dots-notification-unread-row td:first-child{box-shadow:inset 3px 0 0 #007bff}.dots-notification-empty{padding:18px;color:var(--dots-muted);text-align:center}.dots-notification-detail-modal .modal-body{padding:22px}.dots-notification-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:170px;color:var(--dots-muted)}.dots-notification-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.dots-notification-meta>div{padding:12px 14px;background:var(--dots-panel-soft);border:1px solid var(--dots-border);border-radius:10px}.dots-notification-meta span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--dots-muted);margin-bottom:4px}.dots-notification-meta strong{display:block;overflow-wrap:anywhere}.dots-notification-message{border:1px solid var(--dots-border);border-radius:12px;padding:18px;background:var(--dots-panel)}.dots-notification-message h6{margin:0 0 12px;font-weight:700}.dots-notification-message #dotsNotificationBody{white-space:pre-wrap;line-height:1.55;overflow-wrap:anywhere}.dots-notification-actions{margin-top:16px;text-align:right}@media(max-width:720px){.dots-notification-meta{grid-template-columns:1fr}.dots-detail-actions .btn{flex:1 1 100%}}

/* Patch 10: render stored customer notification HTML as a readable email preview. */
.dots-notification-message #dotsNotificationBody{white-space:normal;line-height:1.55;overflow-wrap:anywhere;color:var(--dots-text)}
.dots-notification-message #dotsNotificationBody p{margin:0 0 12px}
.dots-notification-message #dotsNotificationBody p:last-child{margin-bottom:0}
.dots-notification-message #dotsNotificationBody a{color:var(--dots-primary,#087ceb);text-decoration:underline;overflow-wrap:anywhere}
.dots-notification-message #dotsNotificationBody img{max-width:100%;height:auto}
.dots-notification-message #dotsNotificationBody table{max-width:100%;width:100%;border-collapse:collapse;margin:12px 0}
.dots-notification-message #dotsNotificationBody th,.dots-notification-message #dotsNotificationBody td{padding:8px 10px;border:1px solid var(--dots-border);vertical-align:top}
.dots-notification-message #dotsNotificationBody ul,.dots-notification-message #dotsNotificationBody ol{padding-left:22px;margin:0 0 12px}


/* DOTS V3 Patch 11: keep notification detail modal above the fixed header/navigation. */
.dots-notification-modal-layer.modal { z-index: 10050 !important; }
.modal-backdrop.show { z-index: 10040; }
.dots-notification-modal-layer .modal-dialog { margin-top: 1.75rem; margin-bottom: 1.75rem; }
.dots-notification-modal-layer .modal-content { max-height: calc(100vh - 3.5rem); overflow: hidden; }
.dots-notification-modal-layer .modal-body { overflow-y: auto; }


/* DOTS V3 Patch 12: modern order modification screens */
.dots-edit-page{max-width:1320px;margin:0 auto;padding:22px 26px 48px}.dots-edit-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.dots-edit-back{display:inline-flex;align-items:center;gap:7px;color:var(--dots-muted);font-weight:650;margin-bottom:18px;text-decoration:none}.dots-edit-back:hover{color:var(--dots-blue);text-decoration:none}.dots-edit-kicker{color:var(--dots-blue);font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:5px}.dots-edit-header h1{margin:0;color:var(--dots-text);font-size:28px;font-weight:800}.dots-edit-header p{margin:7px 0 0;color:var(--dots-muted)}.dots-edit-sep{padding:0 7px;color:#94a3b8}.dots-edit-card{background:var(--dots-panel,#fff);border:1px solid var(--dots-border,#dce6f2);border-radius:14px;padding:22px;box-shadow:0 6px 22px rgba(31,54,86,.05)}.dots-edit-card-narrow{max-width:900px}.dots-edit-card-header{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}.dots-edit-card-header h2{margin:0 0 4px;font-size:17px;font-weight:800;color:var(--dots-text)}.dots-edit-card-header p{margin:0;color:var(--dots-muted);font-size:13px}.dots-edit-step{width:34px;height:34px;border-radius:10px;background:#e8f3ff;color:var(--dots-blue);display:flex;align-items:center;justify-content:center;flex:0 0 34px;font-weight:800}.dots-edit-grid{display:grid;gap:16px}.dots-edit-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.dots-span-2{grid-column:1/-1}.dots-field label{display:block;color:var(--dots-text);font-weight:700;font-size:13px;margin-bottom:7px}.dots-field small{display:block;color:var(--dots-muted);font-size:12px;margin-top:6px}.dots-field .form-control,.dots-design-search-wrap input{min-height:42px;border:1px solid #cad8e8;border-radius:9px;background:var(--dots-panel,#fff);color:var(--dots-text);box-shadow:none}.dots-field .form-control:focus,.dots-design-search-wrap input:focus{border-color:var(--dots-blue);box-shadow:0 0 0 3px rgba(0,123,255,.10);outline:0}.dots-edit-divider{height:1px;background:var(--dots-border,#e3eaf3);margin:25px 0}.dots-edit-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--dots-border,#e3eaf3)}.dots-edit-actions .btn{min-width:145px;border-radius:9px;font-weight:700}.dots-design-search-wrap{position:relative;margin-bottom:14px}.dots-design-search-wrap i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#8494aa;z-index:1}.dots-design-search-wrap input{width:100%;padding:10px 14px 10px 40px}.dots-edit-table-wrap{border:1px solid var(--dots-border,#dce6f2);border-radius:11px;overflow:hidden;min-height:285px}.dots-edit-table-wrap table{margin:0!important}.dots-edit-table-wrap .dataTables_scrollBody{border:0!important}.dots-design-select{border-radius:8px!important;padding:6px 12px!important;font-weight:750}.dots-edit-alert{margin:0 0 12px}.dots-size-editor{display:grid;grid-template-columns:repeat(8,minmax(72px,1fr));gap:10px}.dots-size-field{background:var(--dots-panel-soft,#f8fafc);border:1px solid var(--dots-border,#e3eaf3);border-radius:10px;padding:10px}.dots-size-field label{display:block;text-align:center;font-size:11px;font-weight:800;color:var(--dots-muted);margin-bottom:7px}.dots-size-field input{text-align:center;min-width:0;width:100%;font-variant-numeric:tabular-nums}.dots-size-field input:disabled{opacity:.5;background:#edf1f5}
[data-theme="dark"] .dots-edit-card,body.dark-mode .dots-edit-card{background:#172235;border-color:#31415a}.dots-edit-page .btn-outline-secondary{color:var(--dots-text);border-color:#9aa9bc}[data-theme="dark"] .dots-edit-step,body.dark-mode .dots-edit-step{background:#17375a}[data-theme="dark"] .dots-size-field,body.dark-mode .dots-size-field{background:#111c2c;border-color:#31415a}[data-theme="dark"] .dots-field .form-control,[data-theme="dark"] .dots-design-search-wrap input,body.dark-mode .dots-field .form-control,body.dark-mode .dots-design-search-wrap input{background:#111c2c;border-color:#3a4d69;color:#eef4ff}
@media(max-width:900px){.dots-edit-page{padding:16px}.dots-edit-grid.two{grid-template-columns:1fr}.dots-span-2{grid-column:auto}.dots-size-editor{grid-template-columns:repeat(4,minmax(68px,1fr))}}@media(max-width:520px){.dots-size-editor{grid-template-columns:repeat(2,minmax(68px,1fr))}.dots-edit-actions{flex-direction:column-reverse}.dots-edit-actions .btn{width:100%}}

/* Patch 13: ensure design previews opened from order-change screens stay above the site shell/backdrop. */
.dots-design-change-preview-modal.modal {
    z-index: 10060 !important;
}
.dots-design-change-preview-modal .modal-dialog {
    position: relative;
    z-index: 10061;
}


/* DOTS V3 Patch 15: design previews opened from Order Details must sit above the order page and backdrop. */
.dots-order-design-modal.modal {
    z-index: 10070 !important;
}
.dots-order-design-modal .modal-dialog {
    position: relative;
    z-index: 10071;
}

/* DOTS V3 Patch 16: global modal layering.
   Any modal can safely open from a header, table, card, manifest, design or another modal. */
.modal.dots-global-modal-layer {
    z-index: var(--dots-modal-z, 10050) !important;
}
.modal.dots-global-modal-layer .modal-dialog {
    position: relative;
    z-index: 1;
}
.modal-backdrop.dots-global-modal-backdrop {
    pointer-events: auto;
}

/* Create Order design/colorway pickers */
.create-order-picker-field {
    display: flex;
    gap: .5rem;
    align-items: stretch;
}
.create-order-picker-field .form-control {
    min-width: 0;
}
.create-order-picker-field .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
.create-order-picker-modal .modal-header {
    align-items: flex-start;
}
.create-order-picker-modal .modal-title {
    margin-top: .15rem;
    font-size: 1.35rem;
}
.create-order-design-search {
    margin-bottom: 1rem;
}
.create-order-picker-results {
    display: grid;
    gap: .65rem;
    min-height: 120px;
}
.create-order-picker-option {
    width: 100%;
    text-align: left;
    border: 1px solid var(--dots-border, #d8e2ef);
    background: var(--dots-card-bg, #fff);
    color: inherit;
    border-radius: 10px;
    padding: .85rem 1rem;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.create-order-picker-option:hover,
.create-order-picker-option:focus {
    border-color: #1685ea;
    box-shadow: 0 0 0 3px rgba(22, 133, 234, .10);
    transform: translateY(-1px);
    outline: none;
}
.create-order-picker-option strong {
    display: block;
    color: #0878dc;
    margin-bottom: .2rem;
}
.create-order-picker-option span {
    display: block;
    margin-top: .2rem;
    font-size: .8rem;
    opacity: .7;
}
.create-order-picker-empty,
.create-order-picker-loading,
.create-order-picker-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 120px;
    padding: 1.25rem;
    border: 1px dashed var(--dots-border, #d8e2ef);
    border-radius: 10px;
    text-align: center;
    opacity: .8;
}
.create-order-picker-error {
    color: #b42318;
    border-color: rgba(180, 35, 24, .25);
    background: rgba(180, 35, 24, .04);
}
@media (max-width: 767.98px) {
    .create-order-picker-field {
        flex-direction: column;
    }
    .create-order-picker-field .btn {
        width: 100%;
    }
}


/* Patch 21: history date filtering, icon alignment, DST alignment, order email action */
.header-block-search .input-container:first-child > i {
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 18px !important;
    text-align: center !important;
}
.header-block-search .input-container:first-child > i::before {
    display: block;
    line-height: 1 !important;
}
.dots-design-search-wrap i {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 18px;
}

.dots-download-dst-btn,
.dots-detail-actions .dots-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
}
.dots-download-dst-btn i,
.dots-detail-actions .dots-btn i {
    margin: 0 !important;
    line-height: 1 !important;
}

.dots-history-filter-section { margin-bottom: 18px; }
.dots-history-filter-card { border: 1px solid var(--dots-border); border-radius: 14px; box-shadow: var(--dots-shadow-sm); }
.dots-history-filter-card .card-block { padding: 18px 20px; }
.dots-history-filter-row { display: grid; grid-template-columns: minmax(260px,1fr) 180px 180px auto; gap: 16px; align-items: end; }
.dots-history-filter-copy { display: flex; align-items: center; gap: 12px; align-self: center; min-width: 0; }
.dots-history-filter-copy strong, .dots-history-filter-copy span { display: block; }
.dots-history-filter-copy > div > span { color: var(--dots-muted); font-size: 12px; margin-top: 3px; }
.dots-history-filter-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,123,255,.10); color: var(--dots-blue); display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 38px; }
.dots-history-date-field { margin: 0; }
.dots-history-date-field > span { display: block; color: var(--dots-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.dots-history-date-field input { width: 100%; height: 42px; border: 1px solid var(--dots-border); border-radius: 9px; background: var(--dots-surface); color: var(--dots-text); padding: 0 10px; }
.dots-history-date-field input:focus { border-color: var(--dots-blue); box-shadow: 0 0 0 3px rgba(0,123,255,.10); outline: 0; }
.dots-history-filter-actions { display: flex; gap: 8px; }
.dots-history-filter-actions .btn { height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; border-radius: 9px; font-weight: 700; }
.dots-email-order-btn { white-space: nowrap; }

@media (max-width: 1050px) {
    .dots-history-filter-row { grid-template-columns: 1fr 1fr; }
    .dots-history-filter-copy { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .dots-history-filter-row { grid-template-columns: 1fr; }
    .dots-history-filter-copy { grid-column: auto; }
    .dots-history-filter-actions { width: 100%; }
    .dots-history-filter-actions .btn { flex: 1; }
}


/* Patch 22: polished Order History date filter */
.dots-history-filter-card {
    overflow: hidden;
    background: var(--dots-surface);
}
.dots-history-filter-card .card-block { padding: 0 !important; }
.dots-history-filter-header {
    padding: 16px 18px 14px;
    border-bottom: 1px solid var(--dots-border);
    background: rgba(0,123,255,.025);
}
.dots-history-filter-copy { align-items: flex-start; }
.dots-history-filter-copy strong {
    color: var(--dots-text);
    font-size: 14px;
    line-height: 1.25;
}
.dots-history-filter-copy > div > span {
    font-size: 12px;
    line-height: 1.45;
    max-width: 620px;
}
.dots-history-filter-controls {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 14px 18px 16px;
}
.dots-history-date-field { flex: 0 1 220px; min-width: 180px; }
.dots-history-date-field input {
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
}
.dots-history-date-separator {
    height: 44px;
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dots-muted);
    flex: 0 0 24px;
}
.dots-history-filter-actions {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.dots-history-filter-actions .btn {
    min-width: 112px;
    height: 44px;
    padding: 0 15px;
}
.dots-history-clear-btn {
    color: var(--dots-text) !important;
    background: var(--dots-surface) !important;
    border: 1px solid var(--dots-border) !important;
}
.dots-history-clear-btn:hover,
.dots-history-clear-btn:focus {
    color: var(--dots-blue) !important;
    border-color: var(--dots-blue) !important;
    background: rgba(0,123,255,.05) !important;
}
@media (max-width: 900px) {
    .dots-history-filter-controls { flex-wrap: wrap; }
    .dots-history-date-field { flex: 1 1 calc(50% - 30px); }
    .dots-history-filter-actions { width: 100%; margin-left: 0; }
    .dots-history-filter-actions .btn { flex: 1; }
}
@media (max-width: 560px) {
    .dots-history-filter-controls { display: grid; grid-template-columns: 1fr; }
    .dots-history-date-field { min-width: 0; width: 100%; }
    .dots-history-date-separator { display: none; }
    .dots-history-filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Patch 23: Add/remove order products */
.dots-lineitem-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.9rem;
    border: 1px solid #d9e4f2;
    border-radius: 12px;
    background: #f8fbff;
}
.dots-lineitem-toolbar > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.dots-lineitem-toolbar strong { color: #17233d; }
.dots-lineitem-toolbar span { color: #6f809d; font-size: .88rem; }
.dots-lineitem-locked {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid #d7dee8;
    border-radius: 9px;
    background: #fff;
    color: #75839a !important;
    font-weight: 600;
    white-space: nowrap;
}
.dots-order-change-message {
    margin-bottom: 1rem;
    border-radius: 10px;
}
.dots-field-span-2 { grid-column: 1 / -1; }
.dots-size-entry-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(70px, 1fr));
    gap: .75rem;
}
.dots-size-entry label {
    display: block;
    margin-bottom: .35rem;
    color: #61718c;
    font-size: .75rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}
.dots-size-entry input { text-align: center; }
.dots-add-design-picker { margin-top: .25rem; }
.dots-selected-design {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #d6e1ef;
    border-radius: 12px;
    background: #f8fbff;
}
.dots-selected-design > div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.dots-field-eyebrow {
    color: #71819b;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.dots-selected-design strong { color: #17233d; font-size: 1rem; }
.dots-field-help {
    margin-top: .3rem;
    color: #7a8aa4;
    font-size: .78rem;
}
.dots-add-item-note,
.dots-remove-warning {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem 1rem;
    margin-top: 1rem;
    border: 1px solid #d9e5f3;
    border-radius: 11px;
    background: #f6faff;
    color: #42516b;
}
.dots-add-item-note > i,
.dots-remove-warning > i {
    margin-top: .12rem;
    color: #1676df;
    font-size: 1.05rem;
}
.dots-add-item-note > div,
.dots-remove-warning > div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.dots-add-item-note strong,
.dots-remove-warning strong { color: #1c2942; }
.dots-add-item-note span,
.dots-remove-warning span { font-size: .87rem; }
.dots-remove-warning {
    border-color: #f3ced1;
    background: #fff8f8;
}
.dots-remove-warning > i { color: #d93645; }
.dots-edit-step-danger { background: #feecef !important; color: #c72c3b !important; }
.dots-picker-modal { overflow: hidden; }
.dots-picker-loading,
.dots-picker-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 110px;
    color: #71819a;
}
.dots-design-picker-results {
    display: flex;
    flex-direction: column;
    max-height: 430px;
    overflow: auto;
    border: 1px solid #dce5f0;
    border-radius: 10px;
}
.dots-design-picker-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 170px;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: .85rem 1rem;
    border: 0;
    border-bottom: 1px solid #e4ebf4;
    background: #fff;
    color: #1d2941;
    text-align: left;
}
.dots-design-picker-row:last-child { border-bottom: 0; }
.dots-design-picker-row:hover { background: #f3f8ff; }
.dots-picker-design-number { color: #0875df; font-weight: 800; }
.dots-picker-design-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dots-picker-design-code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7b8aa3; font-size: .82rem; }

@media (max-width: 900px) {
    .dots-size-entry-grid { grid-template-columns: repeat(4, minmax(70px, 1fr)); }
    .dots-design-picker-row { grid-template-columns: 90px minmax(0, 1fr); }
    .dots-picker-design-code { display: none; }
}
@media (max-width: 600px) {
    .dots-lineitem-toolbar,
    .dots-selected-design { align-items: stretch; flex-direction: column; }
    .dots-size-entry-grid { grid-template-columns: repeat(2, minmax(70px, 1fr)); }
}

/* Patch 24: Add/remove product UX */
.dots-product-entry-row {
    display: grid;
    grid-template-columns: minmax(150px, .9fr) minmax(150px, .9fr) minmax(280px, 2fr);
    gap: 1rem;
    align-items: start;
}

.dots-add-item-page .dots-size-entry-grid {
    grid-template-columns: repeat(8, 76px);
    justify-content: start;
    gap: .7rem;
}
.dots-add-item-page .dots-size-entry {
    width: 76px;
}
.dots-add-item-page .dots-size-qty-input {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    padding-left: .4rem;
    padding-right: .4rem;
    text-align: center;
}

.dots-add-item-page .dots-selected-design {
    justify-content: flex-start;
    padding: .8rem;
}
.dots-select-design-button {
    flex: 0 0 auto;
    min-width: 145px;
    justify-content: center;
}
.dots-selected-design-copy {
    min-width: 0;
}
.dots-selected-design-copy strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dots-manifest-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}
.dots-manifest-choice {
    position: relative;
    display: grid;
    grid-template-columns: 22px 110px minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    padding: .9rem 1rem;
    margin: 0;
    border: 1px solid #d8e2ef;
    border-radius: 11px;
    background: #fff;
    color: #24324a;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.dots-manifest-choice:hover {
    border-color: #9ec9f6;
    background: #f8fbff;
}
.dots-manifest-choice.selected {
    border-color: #1680e8;
    background: #f2f8ff;
    box-shadow: 0 0 0 2px rgba(22,128,232,.10);
}
.dots-manifest-choice.single {
    cursor: default;
    grid-template-columns: 120px minmax(0, 1fr) auto;
}
.dots-manifest-choice input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.dots-manifest-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #9aa9bc;
    border-radius: 50%;
    background: #fff;
}
.dots-manifest-choice.selected .dots-manifest-radio {
    border: 5px solid #1680e8;
}
.dots-manifest-number {
    color: #17233d;
    font-size: .83rem;
    font-weight: 800;
    white-space: nowrap;
}
.dots-manifest-address {
    display: flex;
    flex-direction: column;
    gap: .08rem;
    min-width: 0;
    color: #63738e;
    font-size: .82rem;
    line-height: 1.35;
}
.dots-manifest-address strong {
    color: #24324a;
    font-size: .9rem;
}
.dots-auto-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .55rem;
    border-radius: 999px;
    background: #e9f8ef;
    color: #198754;
    font-size: .75rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Keep destructive and cancel actions readable in both page and modal contexts. */
.dots-edit-page .btn-outline-danger,
.dots-confirm-modal .btn-danger {
    color: #fff !important;
    background: #ff4650 !important;
    border-color: #ff4650 !important;
}
.dots-edit-page .btn-outline-danger:hover,
.dots-confirm-modal .btn-danger:hover {
    color: #fff !important;
    background: #dc3545 !important;
    border-color: #dc3545 !important;
}
.dots-confirm-modal .btn-outline-secondary {
    color: #24324a !important;
    background: #fff !important;
    border-color: #7d8ba0 !important;
}
.dots-confirm-modal .btn-outline-secondary:hover {
    color: #17233d !important;
    background: #eef3f8 !important;
    border-color: #65758d !important;
}

[data-theme="dark"] .dots-manifest-choice,
body.dark-mode .dots-manifest-choice {
    background: #111c2c;
    border-color: #3a4d69;
    color: #eef4ff;
}
[data-theme="dark"] .dots-manifest-choice.selected,
body.dark-mode .dots-manifest-choice.selected {
    background: #142b45;
    border-color: #258be9;
}
[data-theme="dark"] .dots-manifest-number,
[data-theme="dark"] .dots-manifest-address strong,
body.dark-mode .dots-manifest-number,
body.dark-mode .dots-manifest-address strong {
    color: #eef4ff;
}
[data-theme="dark"] .dots-manifest-address,
body.dark-mode .dots-manifest-address {
    color: #b9c7dc;
}

@media (max-width: 1000px) {
    .dots-product-entry-row { grid-template-columns: 1fr 1fr; }
    .dots-product-entry-row .dots-field:last-child { grid-column: 1 / -1; }
    .dots-manifest-choice-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .dots-product-entry-row { grid-template-columns: 1fr; }
    .dots-product-entry-row .dots-field:last-child { grid-column: auto; }
    .dots-add-item-page .dots-size-entry-grid { grid-template-columns: repeat(4, 76px); }
    .dots-add-item-page .dots-selected-design { align-items: stretch; }
    .dots-selected-design-copy strong { white-space: normal; }
    .dots-manifest-choice.single { grid-template-columns: 1fr; }
}
.dots-detail-tabs-section .btn-outline-danger {
    color: #fff !important;
    background: #ff4650 !important;
    border-color: #ff4650 !important;
}
.dots-detail-tabs-section .btn-outline-danger:hover {
    color: #fff !important;
    background: #dc3545 !important;
    border-color: #dc3545 !important;
}


/* Patch 25 - add/remove product safety and audit UX */
.dots-purchase-warning{display:flex;gap:13px;align-items:flex-start;margin:0 0 24px;padding:15px 17px;border:1px solid #f0c36a;border-radius:12px;background:#fff8e7;color:#664d12}.dots-purchase-warning>i{font-size:20px;color:#d58a00;margin-top:2px}.dots-purchase-warning>div{display:flex;flex-direction:column;gap:3px}.dots-purchase-warning strong{font-weight:800;color:#47370c}.dots-purchase-warning span{font-size:.9rem;line-height:1.45}.dots-add-product-note{margin-top:22px}.dots-optional-label{font-weight:500;color:var(--dots-muted);font-size:11px;margin-left:5px}.dots-remove-product-summary{border:1px solid var(--dots-border,#dce6f2);background:var(--dots-panel-soft,#f8fbff);border-radius:12px;padding:16px 18px;margin-bottom:18px}.dots-remove-summary-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:13px}.dots-remove-summary-heading strong{font-size:18px;color:var(--dots-text)}.dots-remove-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dots-remove-summary-grid>div{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:8px;background:var(--dots-panel,#fff);border:1px solid var(--dots-border,#e3eaf3)}.dots-remove-summary-grid span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--dots-muted);font-weight:800}.dots-remove-summary-grid strong{font-size:13px;color:var(--dots-text);overflow-wrap:anywhere}.dots-confirm-modal .btn-secondary{background:#fff!important;color:#17233b!important;border:1px solid #718096!important}.dots-confirm-modal .btn-secondary:hover{background:#edf2f7!important;color:#17233b!important}.dots-confirm-modal .btn-danger{background:#ff4149!important;color:#fff!important;border-color:#ff4149!important}.dots-confirm-modal .btn-danger:hover{background:#e52f38!important;border-color:#e52f38!important}[data-theme="dark"] .dots-purchase-warning,body.dark-mode .dots-purchase-warning{background:#3a2e12;border-color:#725b23;color:#ffe8a3}[data-theme="dark"] .dots-purchase-warning strong,body.dark-mode .dots-purchase-warning strong{color:#fff0bd}[data-theme="dark"] .dots-remove-summary-grid>div,body.dark-mode .dots-remove-summary-grid>div{background:#111c2c;border-color:#31415a}@media(max-width:900px){.dots-remove-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.dots-remove-summary-grid{grid-template-columns:1fr}}

/* DOTS V3 Patch 27: embroidery thread library, swatches, and association colorway details */
.dots-thread-picker-field {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.dots-thread-picker-field .form-control {
    min-width: 0;
}

.dots-thread-swatch {
    display: inline-block;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    border: 1px solid rgba(20, 40, 65, .18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
    vertical-align: middle;
    background: #d8dde6;
}

.dots-thread-swatch-unknown {
    background-image: linear-gradient(135deg, #eef1f5 25%, #d8dde6 25%, #d8dde6 50%, #eef1f5 50%, #eef1f5 75%, #d8dde6 75%, #d8dde6 100%) !important;
    background-size: 12px 12px !important;
}

.dots-thread-picker-note {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .8rem .95rem;
    border-radius: 10px;
    border: 1px solid #cfe0f5;
    background: #f5f9ff;
    color: #29425f;
}

.dots-thread-picker-note i {
    margin-top: .18rem;
    color: #316ca6;
}

.dots-thread-picker-note strong,
.dots-thread-picker-note span {
    display: block;
}

.dots-thread-picker-note span {
    margin-top: .15rem;
    font-size: .86rem;
    color: #5b6f86;
}

.dots-thread-picker-note.thread-library-error {
    border-color: #e4c768;
    background: #fff9e8;
}

.dots-colorway-swatch-card,
.dots-colorway-live-preview-card {
    margin-bottom: 1.25rem;
}

.dots-colorway-swatch-card {
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.dots-colorway-swatch-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
}

.dots-colorway-swatch-list.compact {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.dots-colorway-swatch-item {
    display: flex;
    gap: .65rem;
    align-items: center;
    padding: .6rem;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    background: #f8fafc;
    min-width: 0;
}

.dots-colorway-swatch-chip {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 10px;
    border: 1px solid rgba(20,40,65,.16);
}

.dots-colorway-swatch-copy {
    min-width: 0;
}

.dots-colorway-swatch-copy strong,
.dots-colorway-swatch-copy span {
    display: block;
}

.dots-colorway-swatch-copy strong {
    font-size: .8rem;
    color: #263d58;
}

.dots-colorway-swatch-copy span {
    margin-top: .1rem;
    font-size: .78rem;
    color: #63758a;
    overflow-wrap: anywhere;
}

.dots-colorway-swatch-empty {
    padding: 1rem;
    border: 1px dashed #ced8e4;
    border-radius: 10px;
    color: #77889b;
    text-align: center;
    grid-column: 1 / -1;
}

.dots-colorway-swatch-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
}

.dots-colorway-preview-note {
    color: #6a7b8e;
    font-size: .82rem;
    line-height: 1.45;
}

.dots-thread-color-display {
    display: flex;
    gap: .55rem;
    align-items: center;
}

.dots-thread-color-display .dots-thread-swatch {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 7px;
}

.dots-create-colorway-swatch-panel {
    padding: .85rem;
    border-radius: 10px;
    border: 1px solid #e0e6ee;
    background: #f9fbfd;
}

.dots-association-help {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: .85rem 0 1rem;
    padding: .75rem .9rem;
    border-radius: 9px;
    background: #f4f8fc;
    border: 1px solid #dce7f2;
    color: #526981;
    font-size: .87rem;
}

.dots-association-help i {
    margin-top: .1rem;
    color: #316ca6;
}

.dots-associated-thread-block {
    margin-top: .9rem;
    padding-top: .8rem;
    border-top: 1px solid #e1e7ee;
}

.dots-associated-thread-label {
    display: block;
    margin-bottom: .45rem;
    font-size: .74rem;
    font-weight: 800;
    color: #687b90;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dots-associated-thread-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .4rem;
}

.dots-associated-thread-row .dots-thread-swatch {
    width: 27px;
    height: 27px;
    min-width: 27px;
    border-radius: 7px;
}

.dots-associated-thread-row strong,
.dots-associated-thread-row span {
    display: block;
}

.dots-associated-thread-row strong {
    font-size: .78rem;
    color: #263d58;
}

.dots-associated-thread-row span {
    font-size: .76rem;
    color: #6d7e91;
}

.dots-associated-thread-empty {
    margin-top: .8rem;
    padding: .55rem .7rem;
    border-radius: 8px;
    background: #f7f8fa;
    color: #7a8795;
    font-size: .8rem;
}

.dots-colorway-add-page .dots-form-card {
    height: 100%;
}

.dots-colorway-add-page .dots-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
}

@media (max-width: 767.98px) {
    .dots-colorway-swatch-list,
    .dots-colorway-swatch-list.compact {
        grid-template-columns: 1fr;
    }
    .dots-colorway-swatch-actions {
        align-items: stretch;
    }
    .dots-colorway-swatch-actions .btn {
        width: 100%;
    }
}

/* V3 Patch 28: colorway layout and add-colorway polish */
.dots-colorway-modal {
    max-width: 980px !important;
}
.dots-colorway-modal-body {
    padding: 20px 24px 26px;
}
.dots-colorway-summary-clean {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.dots-colorway-summary-clean > div {
    padding: 12px 14px;
    border-right: 1px solid #e3eaf3;
    border-bottom: 1px solid #e3eaf3 !important;
}
.dots-colorway-summary-clean > div:nth-child(3n) { border-right: 0; }
.dots-colorway-summary-clean > div:nth-last-child(-n+3) { border-bottom: 0 !important; }
.dots-colorway-content-grid-clean {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 14px;
}
.dots-colorway-break-card-clean,
.dots-colorway-preview-card-clean {
    width: 100%;
    min-width: 0;
}
.dots-colorway-break-table-wrap {
    max-height: 330px;
}
.dots-colorway-rendered-preview-wrap {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.dots-colorway-preview-card-clean .dots-colorway-preview {
    height: auto !important;
    min-height: 170px;
    max-height: 320px;
}
.dots-colorway-preview-card-clean .dots-colorway-preview-image {
    max-height: 300px !important;
}

.dots-colorway-add-page .section {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
.dots-colorway-add-page .dots-form-card {
    height: auto !important;
}
.dots-colorway-add-page .row.g-4 {
    align-items: start;
}
.dots-colorway-add-page .col-xl-8 {
    flex: 0 0 68%;
    max-width: 68%;
}
.dots-colorway-add-page .col-xl-4 {
    flex: 0 0 32%;
    max-width: 32%;
}
.dots-colorway-add-page .dots-thread-break-edit-table th,
.dots-colorway-add-page .dots-thread-break-edit-table td {
    vertical-align: middle;
    padding-top: 10px;
    padding-bottom: 10px;
}
.dots-colorway-add-page .dots-thread-break-edit-table .form-control {
    min-height: 40px;
}
.dots-colorway-add-page .dots-colorway-live-preview-card {
    position: sticky;
    top: 86px;
}
.dots-colorway-add-page .dots-colorway-swatch-list {
    grid-template-columns: 1fr;
}
.dots-colorway-add-page .dots-colorway-swatch-item {
    padding: .55rem;
}
.dots-colorway-add-page .dots-form-actions {
    padding-top: 16px;
    border-top: 1px solid #e3eaf3;
}

@media (max-width: 991.98px) {
    .dots-colorway-summary-clean { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .dots-colorway-summary-clean > div { border-right: 1px solid #e3eaf3; border-bottom: 1px solid #e3eaf3 !important; }
    .dots-colorway-summary-clean > div:nth-child(2n) { border-right: 0; }
    .dots-colorway-summary-clean > div:nth-last-child(-n+2) { border-bottom: 0 !important; }
    .dots-colorway-add-page .col-xl-8,
    .dots-colorway-add-page .col-xl-4 { flex: 0 0 100%; max-width: 100%; }
    .dots-colorway-add-page .dots-colorway-live-preview-card { position: static; }
}
.dots-colorway-add-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.dots-colorway-add-steps > div {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 14px;
    border: 1px solid #d9e6f4;
    border-radius: 10px;
    background: #f7fbff;
}
.dots-colorway-add-steps span {
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e3f2ff;
    color: #0878d1;
    font-size: 13px;
    font-weight: 900;
}
.dots-colorway-add-steps strong { color: #203650; font-size: 13px; }
.dots-colorway-add-steps small { color: #6a7c91; line-height: 1.35; }
@media (max-width: 767.98px) {
    .dots-colorway-add-steps { grid-template-columns: 1fr; }
}

/* V3 Patch 29: Add Colorway spacing/layout refinement */
.dots-colorway-add-page .section {
    max-width: 1320px;
    padding-top: 1.35rem;
    padding-bottom: 2rem;
}

.dots-colorway-add-page .dots-detail-hero.compact {
    margin-bottom: .35rem;
}

.dots-colorway-add-page .row.g-4 {
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 1.75rem;
}

.dots-colorway-add-page .col-xl-8 {
    flex: 0 0 72%;
    max-width: 72%;
}

.dots-colorway-add-page .col-xl-4 {
    flex: 0 0 28%;
    max-width: 28%;
}

.dots-colorway-add-page .dots-form-card {
    border-radius: 14px;
    overflow: hidden;
}

.dots-colorway-add-page .dots-form-card .card-block {
    padding: 1.6rem 1.75rem;
}

.dots-colorway-add-page .dots-card-heading {
    margin-bottom: 1.25rem !important;
}

.dots-colorway-add-page .dots-card-heading h5 {
    margin-bottom: .3rem;
}

.dots-colorway-add-page .form-group {
    margin-bottom: 1.35rem !important;
}

.dots-colorway-add-page .form-group .control-label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 700;
}

.dots-colorway-add-page .form-control {
    min-height: 44px;
}

.dots-colorway-add-page textarea.form-control {
    min-height: 92px;
    padding-top: .75rem;
}

.dots-colorway-add-page .dots-thread-picker-note {
    margin-top: .2rem;
    margin-bottom: 1.25rem !important;
    padding: 1rem 1.1rem;
    border-radius: 10px;
}

.dots-colorway-add-page .dots-thread-picker-note > div {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.dots-colorway-add-page .table-responsive {
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    overflow: visible;
}

.dots-colorway-add-page .dots-thread-break-edit-table {
    margin-bottom: 0;
}

.dots-colorway-add-page .dots-thread-break-edit-table th {
    padding: .85rem 1rem;
}

.dots-colorway-add-page .dots-thread-break-edit-table td {
    padding: 1rem;
}

.dots-colorway-add-page .dots-thread-break-edit-table .form-control {
    min-height: 44px;
}

.dots-colorway-add-page .dots-colorway-live-preview-card .card-block {
    padding: 1.45rem 1.35rem;
}

.dots-colorway-add-page .dots-colorway-live-preview-card {
    top: 92px;
}

.dots-colorway-add-page .dots-colorway-swatch-list {
    min-height: 86px;
}

.dots-colorway-add-page .dots-form-actions {
    margin-top: 1.75rem !important;
    padding-top: 1.25rem;
    padding-bottom: .25rem;
}

.dots-colorway-add-page .dots-form-actions .btn {
    min-height: 42px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

/* Patch 29 removes the visual three-step cards from Add Colorway. */
.dots-colorway-add-steps {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .dots-colorway-add-page .col-xl-8,
    .dots-colorway-add-page .col-xl-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .dots-colorway-add-page .dots-colorway-live-preview-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .dots-colorway-add-page .section {
        padding-top: .85rem;
    }

    .dots-colorway-add-page .dots-form-card .card-block,
    .dots-colorway-add-page .dots-colorway-live-preview-card .card-block {
        padding: 1.1rem;
    }

    .dots-colorway-add-page .dots-thread-break-edit-table th,
    .dots-colorway-add-page .dots-thread-break-edit-table td {
        padding: .75rem;
    }
}

/* V3 Patch 30: Add Colorway explicit spacing override */
.dots-colorway-add-page .dots-form-card > .card-block,
.dots-colorway-add-page .dots-colorway-live-preview-card > .card-block {
    padding: 26px 28px !important;
}

.dots-colorway-add-page .dots-card-heading {
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
}

.dots-colorway-add-page .dots-card-heading h5 {
    margin: 0 0 6px 0 !important;
    line-height: 1.25;
}

.dots-colorway-add-page .dots-card-heading span {
    display: block;
    line-height: 1.45;
}

.dots-colorway-add-page .form-group {
    margin: 0 0 24px 0 !important;
}

.dots-colorway-add-page .form-group .control-label {
    margin: 0 0 8px 0 !important;
    line-height: 1.35;
}

.dots-colorway-add-page .form-group .form-control {
    padding: 10px 14px !important;
}

.dots-colorway-add-page textarea.form-control {
    padding: 12px 14px !important;
}

.dots-colorway-add-page .dots-thread-picker-note {
    margin: 0 0 22px 0 !important;
    padding: 16px 18px !important;
}

.dots-colorway-add-page .dots-thread-picker-note i {
    margin-top: 2px !important;
}

.dots-colorway-add-page .dots-thread-picker-note strong {
    margin: 0 0 4px 0 !important;
    line-height: 1.35;
}

.dots-colorway-add-page .dots-thread-picker-note span {
    margin: 0 !important;
    line-height: 1.5;
}

.dots-colorway-add-page .table-responsive {
    margin: 0 0 24px 0 !important;
}

.dots-colorway-add-page .dots-thread-break-edit-table thead th {
    padding: 14px 18px !important;
}

.dots-colorway-add-page .dots-thread-break-edit-table tbody td {
    padding: 18px !important;
}

.dots-colorway-add-page .dots-thread-break-edit-table .dots-thread-picker-field {
    gap: 10px;
}

.dots-colorway-add-page .dots-thread-break-edit-table .form-control {
    padding: 10px 13px !important;
}

.dots-colorway-add-page .dots-colorway-live-preview-card .dots-colorway-swatch-list {
    margin-top: 6px;
    margin-bottom: 16px;
}

.dots-colorway-add-page .dots-colorway-live-preview-card .d-grid {
    margin-top: 18px !important;
}

.dots-colorway-add-page .dots-colorway-preview-note {
    margin-top: 18px !important;
    line-height: 1.55;
}

.dots-colorway-add-page .dots-form-actions {
    margin-top: 30px !important;
    padding-top: 20px !important;
}

@media (max-width: 767.98px) {
    .dots-colorway-add-page .dots-form-card > .card-block,
    .dots-colorway-add-page .dots-colorway-live-preview-card > .card-block {
        padding: 20px !important;
    }

    .dots-colorway-add-page .dots-thread-break-edit-table thead th,
    .dots-colorway-add-page .dots-thread-break-edit-table tbody td {
        padding: 12px !important;
    }
}


/* V3 Patch 31: keep Colorway details modal comfortably wide on desktop. */
.modal-dialog.dots-colorway-modal {
    width: calc(100vw - 48px) !important;
    max-width: 1080px !important;
    margin: 1.75rem auto !important;
}
.modal-dialog.dots-colorway-modal .modal-content {
    width: 100% !important;
}
@media (max-width: 767.98px) {
    .modal-dialog.dots-colorway-modal {
        width: calc(100vw - 20px) !important;
        max-width: none !important;
        margin: 10px auto !important;
    }
}


/* V3 Patch 41: order history, shipment tracking, and PDF preview polish */
.order-history-page .dots-page-header { align-items:flex-start; }
.order-history-page .card:not(.dots-history-filter-card) { overflow:hidden; }
.order-history-page #orderHistoryList_wrapper { overflow:visible; }
.order-history-page #orderHistoryList { min-width:1040px; }
.order-history-page #orderHistoryList thead th { white-space:nowrap; }
.order-history-page #orderHistoryList tbody td { vertical-align:middle; }
.order-history-page #orderHistoryList .order-stepper { min-width:250px; }
.dots-tracking-list { display:flex; flex-direction:column; gap:6px; min-width:170px; }
.dots-tracking-item { line-height:1.25; white-space:nowrap; }
.dots-tracking-item a { display:inline-flex; align-items:center; gap:6px; font-weight:700; }
.dots-tracking-item i { font-size:11px; }
.dots-design-pdf-preview { display:block; width:100%; height:100%; min-height:160px; border:0; background:#fff; }
.dots-design-file-preview > .dots-design-pdf-preview { flex:1 1 auto; align-self:stretch; }
.dots-associated-design-thumb .dots-design-pdf-preview,
.dots-workorder-associated-image .dots-design-pdf-preview { min-height:0; height:100%; }
.dots-edit-divider { border:0; border-top:1px solid var(--dots-border); margin:30px 0 26px; }

.dots-remove-summary-wide { grid-column: span 2; }
@media(max-width:760px){.dots-remove-summary-wide{grid-column:span 1}}

/* V3 Patch 42: make Order History use the same visual table treatment as Current Orders */
.order-history-page .dots-page-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

.order-history-page .card .card-block {
    padding: 20px !important;
}

.orders-list-page #orderHistoryList {
    min-width: 1120px !important;
    table-layout: fixed !important;
}

.orders-list-page #orderHistoryList th:nth-child(1),
.orders-list-page #orderHistoryList td:nth-child(1) { width: 105px !important; }
.orders-list-page #orderHistoryList th:nth-child(2),
.orders-list-page #orderHistoryList td:nth-child(2) { width: 145px !important; }
.orders-list-page #orderHistoryList th:nth-child(3),
.orders-list-page #orderHistoryList td:nth-child(3) { width: 120px !important; }
.orders-list-page #orderHistoryList th:nth-child(4),
.orders-list-page #orderHistoryList td:nth-child(4) { width: 390px !important; max-width: 390px !important; }
.orders-list-page #orderHistoryList th:nth-child(5),
.orders-list-page #orderHistoryList td:nth-child(5) { width: 140px !important; }
.orders-list-page #orderHistoryList th:nth-child(6),
.orders-list-page #orderHistoryList td:nth-child(6) { width: 335px !important; min-width: 335px !important; }

.orders-list-page #orderHistoryList td:nth-child(4) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
    color: #293852 !important;
}

html[data-theme="dark"] .orders-list-page #orderHistoryList td:nth-child(4) {
    color: var(--dots-text) !important;
}

#orderHistoryList td:first-child a.dots-order-number,
#orderHistoryList td:first-child a.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 64px !important;
    height: 38px !important;
    padding: 0 12px !important;
    color: var(--dots-accent) !important;
    background: var(--dots-panel) !important;
    border: 1px solid #bdd6f0 !important;
    border-radius: 8px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

#orderHistoryList td:first-child a.dots-order-number:hover,
#orderHistoryList td:first-child a.btn-primary:hover {
    color: #fff !important;
    background: var(--dots-accent) !important;
    border-color: var(--dots-accent) !important;
}

.order-history-page #orderHistoryList tbody td {
    padding: 15px 16px !important;
    vertical-align: middle !important;
}

.order-history-page #orderHistoryList thead th {
    padding: 14px 16px !important;
    white-space: nowrap !important;
}

.order-history-page #orderHistoryList .order-stepper,
.order-history-page #orderHistoryList .progress.order-stepper {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: 26px !important;
    overflow: visible !important;
    flex-wrap: nowrap !important;
    vertical-align: middle !important;
}

.order-history-page #orderHistoryList .order-stepper .progress-bar {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 36px !important;
    height: 26px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
}

.order-history-page #orderHistoryList .order-stepper .hold-full {
    min-width: 56px !important;
    padding: 0 6px !important;
}

.order-history-page #orderHistoryList .order-stepper .hold-partial {
    min-width: 58px !important;
    padding: 0 6px !important;
}

.order-history-page .dataTables_scrollBody {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

@media (max-width: 767px) {
    .order-history-page .dots-page-header {
        flex-direction: column !important;
    }
}
