﻿:root {
    --dark-mode-card-background-color: #333333;
    --dark-mode-background-color: #434343;
    --dark-mode-grey-color: #CCCCCC;
    --dark-mode-blue-color: #3AAACF;
    --dark-mode-secondary-button-color: #666666;
    --dark-mode-secondary-button-color-hover: #CCCCCC;
    --dark-mode-secondary-button-text: #FFFFFF;
    --dark-mode-secondary-button-text-hover: #333333;
}

/* Guided Selling Header */
.featureHidden {
    display: none !important;
}

.salesTrackTopBar {
    width: 97%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 5px auto 15px;
}

.salestrack-top-header {
    margin: 5px 5px 50px;
}

.salesTrack-title {
    font-size: 24px;
    font-weight: 700;
}

.salesTrack-addButton {
    background-color: #308CAB;
    color: #EAEAEA;
    border-radius: 4px;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.16px;
    border: 0;
    display: flex;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: stretch;
    margin: 0 2px;
}

.salesTrack-addButton:hover {
    background-color: #216277;
    color: #FFF;
}

.salesTrack-saveButton-form:disabled, .salesTrack-addButton:disabled {
    background-color: #96c6d6;
}

.salesTrack-saveButton-form:disabled:hover, .salesTrack-addButton:hover {
    color: #EAEAEA;
    cursor: default;
}

.salesTrack-deleteButton {
    background-color: #FFF;
    color: #EF5350;
    border-radius: 4px;
    font-size: 16px;
    font-family: Inter;
    line-height: 18px;
    letter-spacing: 0.16px;
    border: 1px #EF5350 solid;
    display: flex;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: stretch;
    margin: 0 2px;
    min-width: 40px
}

    .salesTrack-deleteButton img {
        width: 16px;
        height: 16px;
        filter: invert(42%) sepia(51%) saturate(897%) hue-rotate(319deg) brightness(103%) contrast(88%);
    }

    .salesTrack-deleteButton:hover {
        background-color: #EF5350;
        color: #FFF;
    }

        .salesTrack-deleteButton:hover img {
            filter: invert(100%) sepia(5%) saturate(0%) hue-rotate(344deg) brightness(105%) contrast(100%);
        }


button.outlined {
    background-color: #FFF;
    color: #308CAB;
    border-radius: 4px;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.16px;
    border: 1px #308CAB solid;
    display: flex;
    padding: 10px 15px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    margin: 0 2px;
}

    button.outlined:hover {
        background-color: #216277;
        border: 1px #216277 solid;
        color: #FFF;
    }

.addButton-image {
    width: 16px;
    height: 16px;
}

.linktoform {
    display: flex;
    position: relative;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.linktoform-link {
    color: #308CAB;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.linktoform-link:hover {
    color: #308CAB;
    opacity: 0.8;
}

.linktoform-link span {
    margin-right: 10px;
}

.createsalestrack-container {
    padding: 16px 32px 32px;
    gap: 16px;
}

.salestrack-breadcrumb-link {
    color: #006A8E;
}

.createsalestrack-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 25px;
}

.createsalestrack-header h2 {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 29px;
    color: #101120;
}

.createsalestrack-actionbuttons {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.salestrack-form-container {
    display: flex;
    flex-direction: column;
    height: fit-content;
    justify-content: center;
}

.salestrack-form-card {
    box-sizing: border-box;   
    border-radius: 4px;
    border: 1px solid #F1F1F1;
    background: #FFF;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.10);
    padding: 20px;
    margin: 0 5px 10px;
}

.salestrack-form-panel input[type=text]:focus, .salestrack-form-panel textarea:focus {
    box-shadow: none;
}

.salestrack-form-character-counter {
    z-index: 1000;
    position: absolute;
    top: -.6em;
    right: 35px;
    padding: 0 5px;
    background-color: #fff;
    color: #767786;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

.salestrack-preview-image-card {
    width: 360px;
    height: 360px;
}

.salestrack-preview-image-card img {
    height: 100%;
    width: 100%;
}

.salestrack-add-image-card {
    display: flex;
    position: relative;
    width: 360px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* Sales Track Container */
.salestrackcontent {
    margin: 0 0.2%;
    padding: 15px 10px 25px 10px;
    border-radius: 4px;
    border: 1px solid #F1F1F1;
    background: #FFF;
}

.salestrackcontent-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0 15px 15px 0px;
    min-height: 25px;
}

.salestrackcontent-imgbutton {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .salestrackcontent-imgbutton:hover {
        background: #D9D9D9;
        width: 42px;
        height: 42px;
        cursor: pointer;
    }

.imgbutton-icon {
    height: 20px;
    filter: contrast(0.5)
}

.salestrack-search {
    width: 100%;
    padding: 10px 20px 10px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #888;
}

.salestrack-search-input {
    width: 95%;
    border: none;
    color: #1E1E1E;
    font-family: IBM Plex Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.16px;
}

.salestrack-search-input::placeholder {
    font-family: IBM Plex Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.16px;
    color: #8E8E8E;
}

.salestrack-search-input fieldset {
    border: none !important;
}

.salestrack-search-input-container {
    display: flex;
    height: 48px;
}

.salestrack-search-input-container input:focus {
    box-shadow: none !important;
}

/* Product Card */

.salestrackitem-card-pointer {
    cursor: pointer;
}

.salestrackitem-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.salestrackitem-name {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #1E1E1E;
}

.salestrackitem-menuicon {
    cursor: pointer;
    height: 14px;
    padding: 5px;
}

.salestrackitem-menuicon:hover {
    background-color: #F1F1F1;
}

.salestrackitem-menu {
    width: 120px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: absolute;
    top: 40px;
    right: 15px;
}

.salestrackitem-menu-item {
    display: block;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.16px;
    color: #5C5C5C;
}

    .salestrackitem-menu-item:hover {
        background-color: #F1F1F1;
    }

.salestrackitem-offerings {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1E1E1E;
    margin-bottom: 15px;
}

.offerings-text {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #5C5C5C;
}

.salestrackitem-status {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    display: flex;
    align-items: center;
    color: #161616;
    text-transform: capitalize;
}

.salestrackitem-details {
    height: 80px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.salestrackitem-image {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: 4px;
}

.salestrackitem-description {
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.32px;
    color: #5C5C5C;
    width: 100%;
    height: 100%;
}

.salestrackitem-details .salestrackitem-tooltiptext {
    visibility: hidden;
    width: fit-content;
    height: fit-content;
    background-color: black;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 55%;
    left: 20%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
    box-sizing: border-box;
  }
  
  .salestrackitem-description:hover + .salestrackitem-tooltiptext {
    visibility: visible;
    opacity: 1;
  }

.salestrack-breadcrumbs {
    display: flex;
    justify-content: flex-start;
    margin-left: 5px;
}

    .salestrack-breadcrumbs p {
        color: #5C5C5C;
        font-size: 12px;
    }

.salestrack-buttons-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 5px;
}

.salestrack-buttons-bar button {
    min-width: inherit;
    margin-left: 10px;
}

.salestrack-form-panel {
    display: flex;
    margin: 10px 0;
}

.salestrack-card {
    display: flex;
    position: relative;
    width: 360px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 4px;
    border: 1px solid #F1F1F1;
    background: #FFF;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.10);
    padding: 20px;
    gap: 16px;
}

.salestrack-card-header {
    font-size: 16px;
}

.salestrack-add-image-card label {
    font-size: 11px;
}

.salestrack-form-status-label {
    font-size: .8rem !important;
}

.salestrack-form-status-options-label span {
    font-size: .8rem;
}

.salestrack-form-panel input[type="text"], .salestrack-form-panel textarea {
    width: 100%;
}

.salestrack-path {
    color: blue;
    cursor: pointer;
}

.salestrack-status-group {
    display: flex;
}

    .salestrack-status-group label {
        margin: 0 5px;
    }

.salestrack-counter-label {
    margin-right: 10px;
    display: flex;
    justify-content: space-between;
}

    .salestrack-counter-label div.counter-text {
        font-size: 10px;
    }

#salestrack-btn-delete {
    background-color: #2E3F80;
    border-radius: 4px;
    color: #EAEAEA;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.16px;
    border: 0;
    padding: 10px 15px;
    align-items: center;
    align-self: stretch;
    margin-left: 50%;
}

.salestrack-btn-delete-icon-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #EAEAEA;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.16px;
}

.salestrack-btn-delete-icon-container svg {
    margin-left: 5px;
}

#dialogManager div.links a.link:not(#salestrack-btn-delete) {
    color: #2E3F80;
}

.salestrack-create-form-container {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.salestrack-create-form-content {
    flex: .6;
}

.salestrack-create-form-mappings-table {
    margin: 20px;
    width: 100%;
    border: 1px black solid;
}

    .salestrack-create-form-mappings-table thead tr, .salestrack-create-form-mappings-table tbody tr:nth-child(even) {
        background-color: #ccc;
    }

.salestrack-tooltip-on {
    display: block;
}

.salestrack-tooltip-off {
    display: none;
}

/*Drag and drop styles*/
.salestrack-file-upload {
    width: 100%;
    max-width: 100%;
    text-align: center;
    position: relative;
}

.input-file-upload {
    display: none;
}

.upload-button {
    padding: 0.25rem;
    font-size: 1rem;
    border: none;
    font-family: 'Oswald', sans-serif;
    background-color: transparent;
}

    .upload-button:hover {
        text-decoration-line: underline;
    }

.drag-file-element {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

.salestrack-file-preview {
    width: 88%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 4px;
    background: #F4F4F4;
}

.salestrack-file-label {
    color: #1E1E1E;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.16px;
    margin: 0;
}

#label-file-upload {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
    border-width: 1px;
    border-radius: 0.5rem;
    padding-left: 16px;
    border-style: dashed;
    border-color: #84828E;
    cursor: pointer;
    color: #006A8E;
}

    #label-file-upload.drag-active {
        background-color: #ffffff;
    }


    /* Create form */

.createform-header-buttons {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    gap: 10px;
}

/* Begin DarkMode */

body.darkMode .salesTrack-title, body.darkMode .salestrackitem-description, body.darkMode .salestracksearch-title, body.darkMode #dialogManager div.links a.link:not(#salestrack-btn-delete){
    color: var(--dark-mode-grey-color);
}

body.darkMode img.salestrackitem-menuicon {
    filter: invert(0.9);
}

body.darkMode img.salestrackitem-menuicon:hover {
    background-color: #dddddd;
}

body.darkMode .salestrackserach-form-main-panel {
    background-color: var(--dark-mode-card-background-color);
}

body.darkMode .salestrackserach-form-main-panel h2{
    color: var(--dark-mode-grey-color);
}

body.darkMode .salestrackserach-form-main-panel fieldset legend{
    color: var(--dark-mode-grey-color);
}

body.darkMode .has-feedback .form-control {
    color: var(--dark-mode-grey-color);
    background-color: var(--dark-mode-card-background-color);
}

body.darkMode .formio-form div.label-info{
    color: var(--dark-mode-blue-color);
}

body.darkMode #salestrack-btn-delete {
    background-color: #adadad;
}

body.darkMode #salestrack-btn-delete:hover {
    background-color: var(--dark-mode-secondary-button-color-hover);
}

body.darkMode .salestrack-btn-delete-icon-container{
    color: var(--dark-mode-secondary-button-text-hover);
}

body.darkMode .createsalestrack-container{
    background-color: var(--dark-mode-background-color);
}

body.darkMode .salestrackform-select select:hover:not(:disabled), body.darkMode .salestrackform-select select:focus:not(:disabled){
    border-color: var(--dark-mode-grey-color);
}

body.darkMode #currentDocument{
    background-color: var(--dark-mode-background-color);
}

body.darkMode .grid 
{
    background-color: var(--dark-mode-background-color);
}

body.darkMode .salestrackitem-menu{
    background: var(--dark-mode-card-background-color);
}

body.darkMode .salestrack-breadcrumb-link{
    color: var(--dark-mode-blue-color);
}
/* End DarkMode */