@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bs-primary: #ec2326;
    --bs-primary2: #8e1517;
    --bs-secondary: #2a4357;
    --bs-secondary-80L: #d4d9dd;
    --bs-info: #95a1ab;
    --bs-dark: #131313;
    --bs-light: #fbfbfc;
    --bs-purple: #4a3b58;

    --benchmark-positive: #EAEFF6;
    --benchmark-green-text: #45AC14;

    --color-primary-base: #ec2326;
    --color-primary-10L: #ee393c;
    --color-primary-20L: #f04f51;
    --color-primary-30L: #f26567;
    --color-primary-40L: #f47b7d;
    --color-primary-50L: #f69193;
    --color-primary-60L: #f7a7a8;
    --color-primary-70L: #f9bdbe;
    --color-primary-80L: #fbd3d4;
    --color-primary-90L: #fde9e9;
    --color-primary-100L: #ffffff;
    --color-primary-10D: #d42022;
    --color-primary-20D: #bd1c1e;
    --color-primary-30D: #a5191b;
    --color-primary-40D: #8e1517;
    --color-primary-50D: #761213;
    --color-primary-60D: #5e0e0f;
    --color-primary-70D: #470a0b;
    --color-primary-80D: #2f0708;
    --color-primary-90D: #180304;
    --color-primary-100D: #000000;
    --color-secondary-base: #2a4357;
    --color-secondary-10L: #3f5668;
    --color-secondary-20L: #556979;
    --color-secondary-30L: #6a7b89;
    --color-secondary-40L: #7f8e9a;
    --color-secondary-50L: #95a1ab;
    --color-secondary-60L: #aab4bc;
    --color-secondary-70L: #bfc7cd;
    --color-secondary-80L: #d4d9dd;
    --color-secondary-90L: #eaecee;
    --color-secondary-100L: #ffffff;
    --color-secondary-10D: #263c4e;
    --color-secondary-20D: #223646;
    --color-secondary-30D: #1d2f3d;
    --color-secondary-40D: #192834;
    --color-secondary-50D: #15222c;
    --color-secondary-60D: #111b23;
    --color-secondary-70D: #0d141a;
    --color-secondary-80D: #080d11;
    --color-secondary-90D: #040709;
    --color-secondary-100D: #000000;
    --color-tertiary-base: #b8cbe0;
    --color-tertiary-10L: #bfd0e3;
    --color-tertiary-60L: #e3eaf3;
    --color-tertiary-80L: #f1f5f9;
}

.text-bg-dark {
    color: #fff !important;
    background-color: var(--color-secondary-base) !important;
}


/* Set focus color to black for all input elements, buttons, and links */
input:focus, textarea:focus, select:focus, button:focus, a:focus {
    outline: 2px solid black;
    outline-offset: 2px;
}

/* Optional: Customize the focus styles further */
input:focus, textarea:focus, select:focus, button:focus, a:focus {
    border-color: black; /* For input borders */
    box-shadow: none; /* Remove default box-shadow */
}

/* Specific Bootstrap classes overrides for form-control elements */
.form-control:focus {
    border-color: black;
    box-shadow: none;
}

/* Override focus color for buttons */
.btn:focus, .btn:active {
    box-shadow: none;
}

/* Override focus color for form-floating labels */
.form-floating .form-control:focus ~ label {
    color: black;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

.bg-highlight {
    background-color: #dc3545 !important;
    color: white;
}

/* styles.css */

/* Change the DataTables pagination buttons to use the dark theme */
.dt-bootstrap5 .pagination .page-item .page-link {
    background-color: #ffffff; /* Dark background */
    color: #000000 !important; /* White text */
    border: 1px solid #343a40; /* Dark border */
}

.dt-bootstrap5 .pagination .page-item .page-link:hover,
.dt-bootstrap5 .pagination .page-item.active .page-link {
    background-color: #f3f3f3 !important; /* Darker background on hover and active */
    border-color: #343a40 !important; /* Darker border on hover and active */
}

.dt-bootstrap5 .pagination .page-item.disabled .page-link {
    color: #343a40 !important; /* Grey text for disabled buttons */
    background-color: #f4f4f4; /* Dark background */
    border-color: #343a40; /* Dark border */
}

/* change the focus color for the pagination buttons */
.dt-bootstrap5 .pagination .page-item .page-link:focus {
    box-shadow: none;
    outline: none;
}


.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:not([value=""]) ~ label {
    transform: translateY(-40%) scale(0.85); /* Adjust the scale and position */
}

.form-floating > .form-control-plaintext:focus,
.form-floating > .form-control-plaintext:not(:placeholder-shown),
.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: .625rem;
    padding-bottom: .625rem;
}

#sidebar-toggle {
    cursor: pointer;
    font-size: 20pt;
    color: white;
}

#sidebar-close-toggle {
    position: absolute;
    top: 10px;
    font-size: 16pt;
    cursor: pointer;
}

#sidebar {
    height: 100vh;
    max-height: 100vh;
    position: fixed;
    padding-top: 50px !important;
    z-index: 1099;
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px 0 #ddd;
    color: black;
}

.sidebar {
    width: 280px;
    transition: margin-left 0.3s;
}

.sidebar.minimized {
    margin-left: -280px;
    box-shadow: none !important;
}

.sidebar .nav-link span {
    display: inline;
    transition: opacity 0.3s;
}

.sidebar.minimized .nav-link span {
    display: none;
}

.sidebar.minimized .bi {
    font-size: 1.5rem;
}

.content {
    margin-left: 280px;
    margin-top: 55px;
    display: inline-block;
    width: calc(100% - 280px);
    padding: 20px;
    transition: all 0.3s ease;
}

.content.maximized {
    margin-left: 0px;
    width: 100%;
}

#wrapper {
    width: 100%;
}

/* card styles */
.card-body {
    overflow-x: auto;
}

.card {
    background: #FFFFFF;
    box-shadow: 0px 0px 29px rgba(202, 202, 202, 0.25);
    border-radius: 16px;
    border: none;
    margin-bottom: 15px;
}

.card .card-body {
    padding: 20px;
}

.flex-column {
    flex: 1;
    flex-basis: 0;
}

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

a:active, a:focus {
    outline: 0;
    border: none;
    -moz-outline-style: none;
}


/* filter bar stuff */
.filter-bar {
    display: flex;
    border: 1px solid #ccc;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
    width: 300px;
}

.filter-dropdown {
    flex-grow: 1;
    margin-right: 5px;
}

.filter-dropdown button {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    background: white;
    color: black;
    border: none;
}

.filter-dropdown .dropdown-toggle::after {
    display: none;
}

a {
    color: black;
}

.hover-ease {
    transform: scale(1.0);
    transition: transform 0.3s ease-in-out;
}

.hover-ease:hover {
    transform: scale(1.05);
}

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

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

.striped tbody tr:nth-of-type(odd) > * {
    background-color: rgba(61, 99, 228, 0.05);
}

.rounded-border {
    border: var(--bs-border-width) var(--bs-border-style) #e3e3e3 !important;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
}

.rounded-border tr:last-child > td {
    border-bottom: 0;
}

.rounded-border thead > tr > th:first-child {
    border-radius: 10px 0 0 0;
}

.rounded-border thead > tr > th:last-child {
    border-radius: 0 10px 0 0;
}

.rounded-border tr:last-child > td:first-child {
    border-radius: 0 0 0 10px;
}

.rounded-border tr:last-child > td:last-child {
    border-radius: 0 0 10px 0;
}

.rounded-border-matrix-fix tbody tr:nth-last-child(2) > td {
    border-bottom: 0;
}

.rounded-border-matrix-fix tbody tr:nth-last-child(2) > td:first-child {
    border-radius: 0 0 0 10px;
}

.rounded-border-matrix-fix tbody tr:nth-last-child(2) > td:last-child {
    border-radius: 0 0 10px 0;
}

.striped-has-children tbody tr:nth-of-type(4n+1) > * {
    background-color: rgba(61, 99, 228, 0.05);
}

.navbar {
    background: var(--color-secondary-base);
    width: 100%;
    box-shadow: 0 0 5px rgb(0 0 0 / 26%);
    top: 0;
    padding: 10px;
}

.selector {
    float: right;
    margin-left: 10px;
    text-decoration: none;
    color: var(--color-secondary-base);
    font-weight: 600;
    background-color: var(--color-tertiary-60L);
    border: 1px solid var(--color-secondary-base);
    border-radius: 7px;
    width: fit-content;
}

.nav-link {
    color: black;
}

.nav-link:hover {
    color: var(--color-secondary-base);
}

.nav-link.active {
    background-color: black !important;
    color: white !important;
}

#filters-div {
    transition: all 0.3s ease;
}

input#id_dates {
    width: 250px;
    padding-left: 0px;
    padding-right: 0px;
    display: inline-block;
}

.pin .splitter {
    padding: 0 5px;
    color: black;
    font-size: 24px;
}

.pin > input {
    width: 30px !important;
    height: 50px !important;
    background-color: #f1f1f1;
    border: none;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 200;
    color: black;
    margin: 0 2px;
    border-radius: 5px;
}

.pin > input:invalid {
    color: red;
    caret-color: #000;
}

.pin > input:focus {
    box-shadow: none;
    outline: none;
    border: 1px solid var(--bs-danger);
}

.tippy-tooltip.white-theme {
    background-color: rgb(255, 255, 255);
    color: black;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.tippy-tooltip.white-theme[data-placement^='top'] .tippy-arrow {
    border-top-color: white;
}

.tippy-tooltip.white-theme[data-placement^='bottom'] .tippy-arrow {
    border-bottom-color: white;
}

.tippy-tooltip.white-theme[data-placement^='left'] .tippy-arrow {
    border-left-color: white;
}

.tippy-tooltip.white-theme[data-placement^='right'] .tippy-arrow {
    border-right-color: white;
}

/* Ensure consistent width for Dealer Notes and Days Since Complete columns */
.dealer-notes-col {
    width: 250px; /* Adjust the width as needed */
    word-wrap: break-word;
}

.days-col {
    width: 121px; /* Match the width with Dealer Notes */
    text-align: center;
}
.notes-col{
    width: 350px;
    word-wrap: break-word;
    text-align: left;
}
.boolean-row{
    width: 200px;
}

.ro-col{
    width: 69px;
}
.date-col{
    width: 137px;
    text-align: left;
}
.amount-col{
    width: 107px;
    text-align: left;
}


.dealer-notes-col {
    width: 250px; /* Adjust the width as needed */
    word-wrap: break-word;
}

.days2-col {
    width: 121px; /* Match the width with Dealer Notes */
}
.notes2-col{
    width: 500px;
    word-wrap: break-word;
    text-align: left;
}
.ro2-col{
    width: 120px;
    text-align: center !important;
}
.date2-col{
    width: 137px;
    text-align: left;
}
.amount2-col{
    width: 200px;
}

