:root {
    --brand-navy: #21314d;
    --brand-yellow: #f3ce12;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--brand-navy);
    background-color: #fff;
}

.app-container-sm {
    max-width: 640px;
    margin: 0 auto;
}

.app-page {
    padding-top: 3rem;
}

.container {
    max-width: 1200px;
}
.app-container-sm {
    max-width: 960px;
    margin: 0 auto;
}

.app-header {
    background-color: #fff;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    max-height: 44px;
    width: auto;
}

.app-navbar {
    background-color: var(--brand-yellow);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

    .app-navbar .navbar-nav {
        gap: 0.25rem;
    }

    .app-navbar .nav-link {
        color: var(--brand-navy);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.95rem;
    }

        .app-navbar .nav-link:hover,
        .app-navbar .nav-link:focus,
        .app-navbar .nav-link.active {
            color: var(--brand-navy);
        }

    .app-navbar .dropdown-menu {
        border-radius: 0.5rem;
    }

.app-content {
    min-height: calc(100vh - 160px);
    flex-direction: row;
    justify-content: center;
}

.search-box .form-control {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .app-navbar .navbar-nav {
        gap: 0;
    }

    .app-navbar .nav-link {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
}

.app-form-panel {
    width: 100%;
}

.app-label {
    font-weight: 700;
}

.app-inline-action {
    display: inline-block;
    margin-top: 0.5rem;
    text-decoration: none;
}

.app-control {
    min-height: 46px;
}

.app-filter-form .form-label {
    margin-bottom: 0.375rem;
}

.tick-column {
    white-space: nowrap;
    text-align: center;
}

.app-link {
    text-decoration: none;
}

.noresultsfound {
    margin-top: 1rem;
}

.card-header {
    background: var(--brand-yellow);
}

.form-check {
    padding-left: 0px;
}

.form-check .form-check-input {
    float: none;
    margin-left: 0;
}

.form-control:disabled,
.form-select:disabled,
.form-check-input:disabled {
    cursor: not-allowed;
    background-color: #f5f5f5;
    opacity: 0.7;
}

.is-disabled-label {
    opacity: 0.5;
    color: #6c757d;
    cursor: not-allowed;
}

.form-check-input:disabled {
    cursor: not-allowed;
    pointer-events: auto;
}

    .form-check-input:disabled + .form-check-label {
        cursor: not-allowed;
        opacity: 0.65;
    }

.qr-code-image {
    max-width: 300px;
}

.padding-form-groups .form-group {
    padding-top: 10px;
}

/* =========================================================
   Sign in
   ========================================================= */

.signin-page {
    padding-top: 2rem;
}

.signin-shell {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.signin-panel {
    max-width: 640px;
    margin: 0 auto;
}

.signin-title {
    margin-bottom: 0.5rem;
    color: var(--brand-navy);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.signin-intro {
    margin-bottom: 1rem;
    color: var(--brand-navy);
    font-size: 1rem;
}

.signin-label {
    margin-bottom: 0.5rem;
    color: var(--brand-navy);
    font-size: 1rem;
    font-weight: 700;
}

.signin-control {
    height: 52px;
    padding: 0.75rem 1rem;
    border: 3px solid #d0d0d0;
    border-radius: 0.25rem;
    box-shadow: none;
    font-size: 1rem;
}

    .signin-control:focus {
        border-color: #bfbfbf;
        box-shadow: none;
    }

.signin-check {
    color: var(--brand-navy);
    font-size: 1rem;
    font-weight: 700;
}

    .signin-check .form-check-input {
        margin-top: 0.2rem;
        border-color: black;
    }

.signin-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 2rem;
    row-gap: 1rem;
}

.signin-btn {
    min-width: 104px;
    justify-self: start;
}

.signin-forgot {
    justify-self: end;
    color: #9fc0ec;
    text-decoration: none;
    font-size: 1rem;
}

    .signin-forgot:hover {
        text-decoration: underline;
    }

.signin-alert {
    max-width: 640px;
    margin: 0 auto 2rem auto;
}

/* Make the sign-in page sit a bit more like the old design */
.app-content {
    padding-top: 2.5rem;
}

/* Wider desktop positioning similar to the old screenshot */
@media (min-width: 1200px) {
    .signin-shell {
        max-width: 920px;
        transform: translateX(60px);
    }

    .signin-panel,
    .signin-alert {
        max-width: 640px;
    }
}

@media (max-width: 767.98px) {
    .signin-title {
        font-size: 2.25rem;
    }

    .signin-intro {
        margin-bottom: 1.5rem;
    }

    .signin-actions {
        grid-template-columns: 1fr;
    }

    .signin-forgot {
        justify-self: start;
    }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    --bs-btn-font-weight: 400;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-navy);
    --bs-btn-border-color: var(--brand-yellow);
    --bs-btn-hover-color: var(--brand-navy);
    --bs-btn-hover-bg: var(--brand-yellow);
    --bs-btn-hover-border-color: var(--brand-navy);
    --bs-btn-focus-shadow-rgb: 33, 49, 77;
    --bs-btn-active-color: var(--brand-navy);
    --bs-btn-active-bg: var(--brand-yellow);
    --bs-btn-active-border-color: var(--brand-navy);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--brand-navy);
    --bs-btn-disabled-border-color: var(--brand-yellow);
    border-width: 4px;
    border-radius: 0;
    padding: 10px 20px;
}

/* =========================================================
   Table / grid styling
   ========================================================= */

.app-table th {
    color: #a6c6ee;
    text-decoration: none;
    font-weight: 700;
}

    .app-table th a {
        color: #a6c6ee;
        text-decoration: none;
        font-weight: 700;
    }

        .app-table th a:hover {
            text-decoration: none;
        }

    .app-table td a {
        color: #a6c6ee;
        text-decoration: none;
        font-weight: 700;
    }

        .app-table td a:hover {
            text-decoration: none;
        }

.app-control.k-multiselect {
    min-height: 46px;
    display: flex;
    align-items: center;
}

/* =========================================================
   Dedupe
   ========================================================= */

.dedupe-card {
    border: 1px solid #d9d9d9;
    border-radius: 0.5rem;
}

.dedupe-card-header {
    background-color: #f8f9fa;
}

.field-header {
    font-weight: 700;
}

/* =========================================================
   Grid Pagination
   ========================================================= */

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #f3ce12;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            color: #b09409;
            background-color: #eeeeee;
            border-color: #dddddd;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 2;
        color: #ffffff;
        background-color: #f3ce12;
        border-color: #f3ce12;
        cursor: default;
    }

    .pagination > .disabled > span,
    .pagination > .disabled > span:hover,
    .pagination > .disabled > span:focus,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #777777;
        background-color: #ffffff;
        border-color: #dddddd;
        cursor: not-allowed;
    }

/* =========================================================
   Datepicker
   ========================================================= */

.datepicker {
    padding: 0.5rem;
    border: 1px solid #d6d6d6;
    border-radius: 0.375rem;
    background: var(--brand-yellow);
}

    .datepicker table tr td,
    .datepicker table tr th {
        width: 2.25rem;
        height: 2.25rem;
        text-align: center;
        border-radius: 0;
    }

        .datepicker table tr td.disabled,
        .datepicker table tr td.disabled:hover,
        .datepicker table tr td span.disabled,
        .datepicker table tr td span.disabled:hover {
            cursor: default !important;
            pointer-events: none;
            background: #faeb9e;
            color: #cccccc;
            font-weight: 400;
        }

    .datepicker .month,
    .datepicker .year,
    .datepicker .decade,
    .datepicker .century {
        padding: 2px;
    }

    .datepicker table tr td.active,
    .datepicker table tr td.active:hover,
    .datepicker table tr td span.active,
    .datepicker table tr td span.active:hover {
        background: #f3ce12;
        border-color: #f3ce12;
        color: #21314d;
    }

    .datepicker table tr td:hover,
    .datepicker table tr td span:hover {
        background: var(--brand-yellow);
        filter: brightness(90%);
        color: #21314d;
    }

.datepicker-dropdown:before,
.datepicker-dropdown:after {
    display: none;
}

/* =========================================================
   Dedupe search results
   ========================================================= */

.dedupe-result-card {
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.dedupe-result-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dedupe-result-text {
    margin: 0;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dedupe-result-text-note {
    margin: 0;
    font-size: 14px;
}

.field-header {
    display: inline-block;
    width: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #6b778c;
}

/* =========================================================
   Bulk upload table
   ========================================================= */

.action-col {
    width: 56px;
    min-width: 56px;
    white-space: nowrap;
}

.app-link-danger {
    color: #9fc0ec;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* =========================================================
   Gone away contact rick/cross
   ========================================================= */

.duplicate-indicator {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}

    .duplicate-indicator.is-yes {
        color: #7CFC00;
    }

    .duplicate-indicator.is-no {
        color: #ff0000;
    }

/* =========================================================
   Stock Watch Partial
   ========================================================= */

#timerContainer {
    font-weight: 300;
    width: 70%;
    margin: 0 auto 40px;
    min-height: 60px;
    border-top: 0;
}

.timer,
.reset {
    float: left;
    width: 100%;
    padding: 20px 0;
    font-size: 24px;
    text-align: center;
    color: black;
    background: #f3ce12;
    border: 4px solid #f3ce12;
}

.reset {
    color: white;
    width: 40%;
    cursor: pointer;
    background: #21314d;
    border: 4px solid #f3ce12;
}

    .reset:hover {
        background: #f3ce12;
        border: 4px solid #21314d;
        color: black;
    }

.timer.is-running {
    background: #f3ce12;
    color: black;
}

.is-disabled-button {
    cursor: auto;
}

.is-enabled-button {
    cursor: pointer;
}