@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

p, span, a, li, input, button {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.small-text {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
}

@media (max-width: 768px) {
    body {
        font-size: 12px;
    }

    .small-text {
        font-size: 10px;
    }
}

.cpq-header {
    background-color: #3C3939 !important;
    color: #fff;
    padding: .5rem;
}

.cpq-content {
    /*
    margin-top: 1.5rem;
    padding: 2rem 0 0 0;
    */
    overflow-x: hidden;
}

.cpq-tab-container {
    padding: 1.5rem 1rem 2rem 1rem;
}

.cpq-pill-container {
    padding: 1rem 1rem 0rem 1rem;
}

.cpq-pill-container button {
    padding: .15rem .35rem .15rem .35rem;
    font-size: .85rem;
    text-transform: uppercase;
    border: none;
    border-radius: .75rem;
    border-color: #d71920;
    color: #d71920;
    cursor: pointer;
    margin: 0 .25rem .25rem 0;
}

.cpq-pill-container button.checked {
    background-color: #d71920; /* Change the background color when checked */
    color: #fff; /* Change the text color when checked */
}

.cpq-pill-container button::before {
    content: ''; /* No content by default */
    display: none; /* Hide by default */
    margin-right: 8px; /* Space between checkmark and label */
    font-size: .7rem; /* Size of the checkmark */
}

.cpq-pill-container button.checked::before {
    content: '\2713'; /* Unicode checkmark character (✓) */
    display: inline; /* Show checkmark when button is checked */
}

/* FLEXBOXES */
.cpq-flexbox-center {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* BUTTONS */
.cpq-button-header {
    background-color: #d71920;
    border: none;
    border-radius: 4px;
    color: #ffffff; /* White text color */
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.0225rem;
    padding: .25rem .5rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition-duration: 0.4s;
}

/* Button Hover */
.cpq-button-header:hover {
    background-color: #ac141a; /* Darker shade on hover */
}

.cpq-button-standard {
    background-color: #d71920;
    border: none;
    border-radius: 4px;
    color: #ffffff; /* White text color */
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    padding: .25rem .5rem;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.4s;
}
  
/* Button Hover */
.cpq-button-standard:hover {
    background-color: #ac141a; /* Darker shade on hover */
}

.cpq-btn-add-prod {
    background-color: #fff;
    border: 1px solid #d71920;
    color: #d71920;
    font-size: 12px;
    font-weight: 600;
    padding: .25rem .5rem;
}

.cpq-btn-add-prod:hover {
    background-color: #ac141a; /* Darker shade on hover */
    color: #fff;
}

.cpq-page-header-label {
    font-size: 0.65rem; /* Smaller than the default size */
    color: #fff !important;
    text-transform: uppercase;
}

.cpq-page-header-value {
    color: #fff !important;
    font-size: 1rem; /* Larger than the default size */
}
  
/* Custom styling for the tabs */
.nav-tabs {
    background-color: #3C3939 !important; /* Background color for the entire row */
}

.nav-tabs .nav-item .nav-link {
    color: white;
    border: none;
    border-bottom: 3.5px solid transparent; /* Hide default underline */
    background-color: transparent; /* Remove default background color */
}

.nav-tabs .nav-item .nav-link.active {
    border-color: #d71920; /* Red underline for active tab */
    background-color: #3C3939 !important; /* Background color for active tab */
}

/* Spinner */
.cpq-spinner-wrapper {
    background: #ffffff;
    color: #666666;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    padding-top: 25%;
    opacity: .80;
}

.spinner {
    margin: 0 auto;
    height: 64px;
    width: 64px;
    animation: rotate 0.8s infinite linear;
    border: 5px solid firebrick;
    border-right-color: transparent;
    border-radius: 50%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cpq-alert-container {
    position: fixed;
    width: max-content;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
}

.cpq-content-header {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    width: 100%;
    background-color: #ffffff;
    color: #8c4b02;
    font-size: 1rem;
    text-transform: uppercase;
}

.cpq-image-button {
    color: #fff;
    font-size: 1rem;
    margin-right: 0.5rem;
    background-color: #d71920;
    border-radius: 0.35rem;
    padding: 0.05rem 0.35rem;
}

.cpq-content-footer {
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    background-color: #fbf3e0;
    color: #8c4b02;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.cpq-content-footer-line {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.15rem 0.5rem;
    width: 100%;
    background-color: #fbf3e0;
    color: #8c4b02;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.cpq-content-footer-item {
    display: flex;
    align-items: flex-end;
    font-size: 0.65rem;
    line-height: 1.5rem;
}

.cpq-content-footer-label {
    font-size: 0.65rem;
}

.cpq-content-footer-value {
    display: flex;
    align-items: flex-end;
}

.cpq-span-footcurrency {
    font-size: 0.55rem;
    text-transform: uppercase;
    margin-right: 2px;
    margin-left: 0.3rem;
}

.cpq-col-right-padded {
    padding-right: 0.5rem;
}

.cpq-env-header {
    /* position: fixed;
    top: 0; */
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.0625rem;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
}

.cpq-unsaved-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: yellow;
    border-radius: 50%;
    margin-left: 5px;
    margin-top: -12px;
    vertical-align: middle;
}


/***** START : V1 CREDITS CSS *****/
.credits-body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.credits-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: auto;
}

.credits-table th, .credits-table td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

.credits-table th {
    background-color: #f2f2f2;
}

.credits-table tr {
    background-color: #fff !important;
}

.credits-input[type="number"] {
    width: 60px;
}

.credits-total-credits {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

.credits-summary {
    background-color: #feded8;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.40);
    padding: 1rem;
    margin: auto;
    margin-bottom: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.credits-summary-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}
/***** END : V1 CREDITS CSS *****/

.cpq-modal-validation-box {
    background-color: #faffbd;
    border-radius: 0.75rem;
    font-size: 0.785rem !important;
    padding: 0.75rem;
}

.cpq-modal-error-box {
    background-color: #feb8ab;
    border-radius: 0.75rem;
    font-size: 0.785rem !important;
    margin-top: 1rem;
    padding: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}

.cpq-list-item {
    font-size: 0.785rem !important;
}

.cpq-list-item-strong {
    font-size: 0.785rem !important;
    font-weight: 600;
}

.cpq-list-item-required {
    color: #ea001e !important;
}

#rules-summary {
    font-size: 0.785rem !important; /* Adjust as needed */
}

#rules-summary > ul {
    font-size: inherit !important; /* Ensure ul inherits font size */
}

#rules-summary > ul > li {
    font-size: inherit !important; /* Ensure li inherits font size */
}

#alert-container-prod-table .alert {
    /* Your styles here */
    display: flex;
    align-items: flex-start;
}
