@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('./icons.css');

html, body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.title.title-secondary {
    padding: 0.313rem 0 0;
    color: var(--bs-secondary-color);
}

.title-header-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 2.5rem;
}

.title-content-text {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.375rem;
}

.main-content {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.block-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    height: auto;
    max-width: 100%;
    width: 31.25rem;
}

.or {
    align-items: center;
    display: flex;
    flex-direction: row;
    padding: 0.3125rem 0;
}

.or .or-line {
    opacity: 0.2;
    width: 100%;
    border-bottom: 1px solid var(--bs-body-color);
}

.or .or-text {
    padding: 0 0.625rem 0 0.625rem;
    font-size: 0.75rem;
    line-height: 1.125rem;
    color: var(--bs-body-color);
    opacity: 0.7;
}

.links-container {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.links-container .dot {
    border-radius: 50%;
    height: 0.3125rem;
    margin: 0 0.1875rem;
    opacity: 0.7;
    width: 0.3125rem;
    background-color: var(--bs-body-color);
}

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    background-color: rgb(var(--bs-primary-rgb) / 0.15);
}

.info-message.info-panel {
    margin-bottom: 0.625rem;
}

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    font-size: 1.875rem;
    height: 4.3125rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

/*Quick Quote*/

.lms-qq-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
}

.lms-qq-header {
    margin-bottom: 24px;
}

    .lms-qq-header h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 600;
    }

    .lms-qq-header p {
        margin: 6px 0 0;
        color: #6c757d;
    }


/* Progress */

.lms-qq-progress {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 30px;
}

.lms-qq-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 90px;
    font-size: 14px;
    color: #6c757d;
    white-space: nowrap;
}

.lms-qq-step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    background: #fff;
    color: #6c757d;
    font-weight: 600;
}

.lms-qq-progress-step.lms-qq-progress-active {
    color: #0d6efd;
    font-weight: 600;
}

    .lms-qq-progress-step.lms-qq-progress-active .lms-qq-step-number {
        border-color: #0d6efd;
        background: #0d6efd;
        color: #fff;
    }

.lms-qq-progress-step.lms-qq-progress-completed {
    color: #198754;
    font-weight: 600;
}

    .lms-qq-progress-step.lms-qq-progress-completed .lms-qq-step-number {
        border-color: #198754;
        background: #198754;
        color: #fff;
    }

.lms-qq-progress-line {
    width: 80px;
    height: 2px;
    margin: 0 8px;
    background: #dee2e6;
}

    .lms-qq-progress-line.lms-qq-progress-line-completed {
        background: #198754;
    }


/* Main shopping-cart layout */

.lms-qq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
    width: 100%;
}

.lms-qq-main {
    min-width: 0;
    width: 100%;
}

.lms-qq-sidebar {
    width: 360px;
    min-width: 0;
}

/* Customer selection */

.lms-qq-option-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.lms-qq-option-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 24px;
    min-height: 244px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.15s ease;
}

    .lms-qq-option-card:hover {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    }

.lms-qq-option-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.lms-qq-option-card h4 {
    margin: 0 0 8px;
    font-size: 20px;
}

.lms-qq-option-card p {
    margin: 0 0 24px;
    color: #6c757d;
    flex: 1;
}

.lms-qq-form-field {
    margin-bottom: 20px;
}

    .lms-qq-form-field label {
        display: block;
        margin-bottom: 7px;
        font-weight: 500;
    }

.lms-qq-form-actions {
    margin-top: 28px;
}

.lms-qq-primary-button {
    min-width: 120px;
}

.lms-qq-help {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .lms-qq-help span {
        color: #6c757d;
    }

/* Responsive */

@media (max-width: 900px) {

    .lms-qq-layout {
        grid-template-columns: 1fr;
    }

    .lms-qq-sidebar {
        order: 2;
    }

    .lms-qq-summary {
        position: static;
    }

    .lms-qq-option-cards {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    .lms-qq-page {
        padding: 16px;
    }

    .lms-qq-progress {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .lms-qq-progress-line {
        min-width: 30px;
        margin: 0 8px;
    }

    .lms-qq-help {
        align-items: flex-start;
        flex-direction: column;
    }
}

.lms-qq-error {
    margin: 12px 28px 0px 28px;
    padding: 10px 12px;
    border: 1px solid #dc3545;
    border-radius: 5px;
    font-size: 14px;
}

.lms-qq-verification-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.lms-qq-verification-card {
    width: 100%;
    max-width: 600px;
    padding: 32px;
    border: 1px solid;
    border-radius: 8px;
    text-align: center;
}

.lms-qq-verification-card-success {
    border-color: #b7dfc5;
    background: #f0f9f3;
    color: #157347;
}

.lms-qq-verification-card-error {
    border-color: #f1b7b7;
    background: #fdf0f0;
    color: #b02a37;
}

    .lms-qq-verification-card h3 {
        margin-top: 0;
        margin-bottom: 12px;
    }

    .lms-qq-verification-card p {
        color: #6c757d;
        line-height: 1.6;
        margin-bottom: 24px;
    }

.lms-qq-error-text {
    margin-bottom: 24px;
}

.lms-qq-loading {
    width: 100%;
    padding: 40px;
    text-align: center;
}

.lms-qq-session-error {
    width: 100%;
    max-width: 650px;
    padding: 32px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

    .lms-qq-session-error h3 {
        margin-top: 0;
    }

    .lms-qq-session-error p {
        margin-bottom: 24px;
    }

.lms-qq-quote-type-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lms-qq-quote-type-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 24px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .lms-qq-quote-type-card:hover {
        border-color: #adb5bd;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

.lms-qq-quote-type-card-content {
    flex: 1;
}

    .lms-qq-quote-type-card-content h4 {
        margin: 0 0 8px 0;
    }

    .lms-qq-quote-type-card-content p {
        margin: 0;
        color: #6c757d;
    }

.lms-qq-quote-type-arrow {
    margin-left: 20px;
    font-size: 28px;
    line-height: 1;
}

.lms-qq-quote-type-back {
    margin-top: 24px;
}

.lms-qq-build-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    overflow: hidden;
}

.lms-qq-build-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #e9ecef;
}

    .lms-qq-build-card-header h3 {
        margin: 0 0 6px 0;
        font-size: 20px;
        font-weight: 600;
    }

    .lms-qq-build-card-header p {
        margin: 0;
        color: #6c757d;
        font-size: 14px;
    }

.lms-qq-quote-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    background: #f1f5ff;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.lms-qq-build-card-body {
    padding: 28px;
}

.lms-qq-form-field {
    width: 100%;
    margin-bottom: 24px;
}

.lms-qq-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
}

.lms-qq-ms-options {
    padding: 14px 16px;
    background: #f8f9fa;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
}

    .lms-qq-ms-options .dxbl-radio {
        margin-bottom: 10px;
    }

        .lms-qq-ms-options .dxbl-radio:last-child {
            margin-bottom: 0;
        }

.lms-qq-quantity-field {
    max-width: 180px;
}

.lms-qq-quantity-control {
    width: 160px;
}

.lms-qq-addon-section {
    margin-top: 8px;
    margin-bottom: 28px;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    overflow: hidden;
}

.lms-qq-addon-header {
    padding: 16px 18px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5ea;
}

    .lms-qq-addon-header .lms-qq-form-label {
        margin-bottom: 4px;
    }

    .lms-qq-addon-header p {
        margin: 0;
        color: #6c757d;
        font-size: 13px;
    }

.lms-qq-addon-list {
    padding: 4px 18px;
}

.lms-qq-addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    border-bottom: 1px solid #f0f1f2;
}

    .lms-qq-addon-row:last-child {
        border-bottom: none;
    }

.lms-qq-addon-name {
    margin-left: 6px;
}

.lms-qq-addon-price {
    font-weight: 600;
    white-space: nowrap;
}

.lms-qq-add-section {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.lms-qq-add-button {
    min-width: 150px;
    min-height: 42px;
    border-radius: 6px;
    font-weight: 600;
}

.lms-qq-summary-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lms-qq-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #e9ecef;
}

    .lms-qq-summary-header h3 {
        margin: 0 0 4px;
        font-size: 18px;
        font-weight: 600;
        color: #212529;
    }

.lms-qq-summary-count {
    color: #6c757d;
    font-size: 13px;
}

.lms-qq-summary-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 24px;
    text-align: center;
}

.lms-qq-summary-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #f5f7fa;
    font-size: 22px;
}

.lms-qq-summary-empty strong {
    margin-bottom: 6px;
    color: #343a40;
}

.lms-qq-summary-empty p {
    margin: 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.5;
}

.lms-qq-summary-items {
    max-height: 520px;
    overflow-y: auto;
}

.lms-qq-summary-item {
    padding: 18px 22px;
    border-bottom: 1px solid #edf0f2;
}

.lms-qq-summary-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.lms-qq-summary-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lms-qq-summary-qty {
    width: 88px;
}

.lms-qq-summary-remove {
    min-width: 28px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}

.lms-qq-summary-item-title {
    min-width: 0;
    color: #212529;
    font-weight: 600;
    line-height: 1.4;
}

.lms-qq-summary-item-total {
    font-weight: 600;
    white-space: nowrap;
}

.lms-qq-summary-item-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.5;
}

.lms-qq-summary-ms {
    margin-top: 8px;
    color: #495057;
    font-size: 12px;
}

.lms-qq-summary-addons {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #dee2e6;
    color: #6c757d;
    font-size: 12px;
    line-height: 1.6;
}

.lms-qq-summary-footer {
    padding: 18px 22px;
    background: #f8f9fa;
}

.lms-qq-summary-total-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    color: #495057;
    font-size: 14px;
}

.lms-qq-summary-total {
    margin-top: 12px;
    margin-bottom: 0;
    padding-top: 14px;
    border-top: 1px solid #dee2e6;
    color: #212529;
    font-size: 16px;
}

    .lms-qq-summary-total strong {
        font-size: 18px;
    }

.lms-qq-summary-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #dee2e6;
}

@media (max-width: 992px) {

    .lms-qq-layout {
        grid-template-columns: 1fr;
    }

    .lms-qq-sidebar {
        width: 100%;
    }

    .lms-qq-summary-card {
        position: static;
    }
}

.lms-qq-summary-discount {
    color: #198754;
}

    .lms-qq-summary-discount strong {
        font-weight: 600;
    }

.lms-qq-validation-message {
    margin:10px 0px 10px;
    padding: 12px 16px;
    border: 1px solid #f1b0b7;
    border-radius: 8px;
    background: #fff5f5;
    color: #842029;
    font-size: 14px;
}

.lms-qq-field-validation {
    margin-top: 6px;
    color: #dc3545;
    font-size: 13px;
}

.lms-qq-renewal-items {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    background: #f8f9fa;
}

.lms-qq-renewal-items-header {
    margin-bottom: 16px;
}

    .lms-qq-renewal-items-header h4 {
        margin: 0 0 6px;
        font-size: 18px;
        font-weight: 600;
    }

    .lms-qq-renewal-items-header p {
        margin: 0;
        color: #6c757d;
        font-size: 14px;
    }

.lms-qq-renewal-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #e1e5ea;
}

.lms-qq-renewal-item-details {
    min-width: 0;
}

.lms-qq-renewal-item-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.lms-qq-renewal-item-license,
.lms-qq-renewal-item-ms,
.lms-qq-renewal-item-regcode {
    font-size: 13px;
    color: #6c757d;
    margin-top: 2px;
}

.lms-qq-renewal-item-quantity {
    white-space: nowrap;
    font-size: 14px;
}

.lms-qq-renewal-item-total {
    white-space: nowrap;
    font-weight: 600;
}

.lms-qq-add-product-header {
    margin-bottom: 18px;
}

    .lms-qq-add-product-header h4 {
        margin: 0 0 6px;
        font-size: 18px;
        font-weight: 600;
    }

    .lms-qq-add-product-header p {
        margin: 0;
        color: #6c757d;
        font-size: 14px;
    }

.lms-qq-product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.lms-qq-product-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    background: #fff;
}

.lms-qq-product-card-active {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.12);
}

.lms-qq-product-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
}

.lms-qq-product-card-icon-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f1f5ff;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 700;
}

.lms-qq-product-card-name {
    color: #212529;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 40px;
}

.lms-qq-product-card-description {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.45;
    min-height: 38px;
}

.lms-qq-product-card-button {
    margin-top: auto;
}

.lms-qq-license-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lms-qq-license-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    color: #212529;
    text-align: left;
}

.lms-qq-license-item:hover {
    border-color: #adb5bd;
}

.lms-qq-license-item-active {
    border-color: #0d6efd;
    background: #f1f5ff;
}

.lms-qq-license-item-name {
    font-weight: 600;
}

.lms-qq-license-item-price {
    color: #495057;
    white-space: nowrap;
    margin-left: 10px;
}

.lms-qq-section-divider {
    height: 1px;
    margin: 24px 0;
    background: #e1e5ea;
}

@media (max-width: 768px) {
    .lms-qq-renewal-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .lms-qq-renewal-item-total {
        text-align: left;
    }
}

.lms-qq-success-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 16px 0px 16px;
    padding: 12px 16px;
    border: 1px solid #b7dfc5;
    border-radius: 8px;
    background: #f0f9f3;
    color: #157347;
    font-size: 14px;
    font-weight: 500;
}

.lms-qq-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.lms-qq-error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #b02a37;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.lms-qq-add-build-continue {
    display: flex;
    justify-content: flex-end;
    padding: 8px 28px 8px 8px;
}

.lms-qq-email-verification-card .lms-qq-build-card-header {
    display: block;
}

.lms-qq-email-verification-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .lms-qq-email-verification-heading h3 {
        margin: 0;
    }

.lms-qq-email-verification-description {
    margin: 10px 0 0;
}

/* Icon container */
.lms-qq-email-verification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f7fa;
}

/* CSS envelope */
.lms-qq-email-icon {
    position: relative;
    display: block;
    width: 21px;
    height: 15px;
    border: 2px solid #0d6efd;
    border-radius: 3px;
    box-sizing: border-box;
}

    /* Envelope flap */
    .lms-qq-email-icon::before {
        content: "";
        position: absolute;
        top: 1px;
        left: 3px;
        width: 9px;
        height: 9px;
        border-left: 2px solid #0d6efd;
        border-bottom: 2px solid #0d6efd;
        transform: rotate(-45deg);
    }

    .lms-qq-email-icon::after {
        content: "";
        position: absolute;
        top: 1px;
        right: 3px;
        width: 9px;
        height: 9px;
        border-right: 2px solid #0d6efd;
        border-bottom: 2px solid #0d6efd;
        transform: rotate(45deg);
    }

.lms-qq-email-verification-address {
    display: inline-block;
    margin: 4px 0 20px;
    padding: 10px 18px;
    border: 1px solid #d6e4f5;
    border-radius: 6px;
    background: #f5f7fa;
    color: #1f4e79;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

.lms-qq-email-verification-instruction {
    max-width: 600px;
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}