/* Licensing Old Template Styles Starts here */
.current-plan-section {
    border: 1px solid #ccc; 
    padding: 12px 20px; 
    margin-bottom: 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.section-container {
    border: 1px solid #ccc; 
    padding: 12px 20px; 
    margin-bottom: 20px; 
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.feature-box {
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 4px;
}

h3, h5{
    margin: 8px 0px !important;
}

.product-description {
    min-height: 150px;
    display: block;
}

.feature-image {
    width: 100%; 
    height: 350px !important; 
    object-fit: fill;
    border-radius: 4px;
}
/* Licensing New Template Styles Ends here */

/* Licensing New Template Styles Starts here */

/* Licensing New Template Container */
.mo-saml-licensing-new-container {
    width: 100%;
    margin: 20px 0;
}

/* Current Plan Section */
.mo-saml-current-plan {
    margin-bottom: 20px;
    text-align: left;
}

.mo-saml-plan-label {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.mo-saml-plan-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.mo-saml-plan-name {
    font-size: 28px;
    font-weight: 800;
    color: #003ecc;
}

.mo-saml-plan-version {
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

/* Upgrade Promotion Box */
.mo-saml-upgrade-box {
    background-color: #e6f2ff;
    border: 1px solid #003ecc;
    border-radius: 8px;
    padding: 24px;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mo-saml-upgrade-header {
    width: 100%;
}

.mo-saml-upgrade-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0 0 12px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.mo-saml-saml-highlight {
    color: #003ecc;
}

.mo-saml-rocket {
    font-size: 24px;
}

.mo-saml-upgrade-description {
    font-weight: 600;
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

/* Features Grid */
.mo-saml-features-grid {
    width: 70%;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-left: 0;
}

.mo-saml-features-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.mo-saml-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.mo-saml-checkmark, .mo-saml-comparison-checkmark {
    color: white;
    font-weight: bold;
    font-size: 14px;
    background-color: #28a745;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mo-saml-feature-text {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}
/* Licensing New Template Container Ends here */

/* Plan Cards Section */
.mo-saml-plan-cards-section {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

.mo-saml-plan-cards-heading {
    font-size: 28px;
    font-weight: bold;
    color: #003ecc;
    margin-bottom: 12px;
    margin-top: 0;
}

.mo-saml-plan-cards-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.mo-saml-plan-cards-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.mo-saml-plan-cards-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.mo-saml-plan-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.mo-saml-plan-card-current {
    border: 2px solid #003ecc;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.mo-saml-current-plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #003ecc;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.mo-saml-plan-card-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
}

.mo-saml-plan-card-price {
    text-align: center;
    margin-bottom: 20px;
}

.mo-saml-price-amount {
    font-size: 36px;
    font-weight: bold;
    color: #003ecc;
}

.mo-saml-price-period {
    font-size: 16px;
    color: #333;
    margin-left: 4px;
}

.mo-saml-plan-card-field {
    margin-bottom: 16px;
}

.mo-saml-field-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.mo-saml-field-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

.mo-saml-field-select:hover {
    border-color: #003ecc;
}

.mo-saml-field-select:focus {
    outline: none;
    border-color: #003ecc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* Disabled button for current plan */
.mo-saml-button-disabled {
    cursor: not-allowed;
    pointer-events: none;
}

/* Feature Comparison Table Section */
.mo-saml-comparison-section {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

.mo-saml-comparison-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.mo-saml-comparison-header {
    margin-bottom: 24px;
}

.mo-saml-comparison-heading {
    font-size: 28px;
    font-weight: bold;
    color: #003ecc;
    margin-bottom: 12px;
    margin-top: 0;
}

.mo-saml-comparison-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mo-saml-comparison-description {
    font-size: 16px;
    color: #333;
    margin: 0;
    flex: 1;
}

.mo-saml-comparison-link {
    color: #003ecc;
    text-decoration: underline;
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}

.mo-saml-comparison-link:hover {
    color: #003ecc;
    text-decoration: underline;
}

.mo-saml-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.mo-saml-comparison-table thead {
    background-color: #e6f2ff;
}

.mo-saml-comparison-table th {
    padding: 12px 16px;
    font-weight: bold;
    color: #333;
    border: 1px solid #ddd;
}

.mo-saml-comparison-feature-col {
    width: 40%;
}

.mo-saml-comparison-plan-col {
    width: 20%;
    text-align: center;
}

.mo-saml-comparison-table tbody tr {
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.mo-saml-comparison-table tbody tr:hover {
    background-color: #f5f5f5;
}

.mo-saml-comparison-table tbody tr:hover td {
    background-color: #f5f5f5;
}

.mo-saml-comparison-table tbody tr td {
    border: 1px solid #ddd;
    padding: 12px 16px;
    color: #333;
    transition: background-color 0.2s ease;
}

.mo-saml-comparison-feature-name {
    font-size: 14px;
    color: #333;
}

.mo-saml-comparison-feature-check {
    text-align: center;
}

.mo-saml-comparison-cross {
    color: white;
    font-weight: bold;
    font-size: 14px;
    background-color: #dc3545;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mo-saml-comparison-row-hidden {
    display: none;
}

.mo-saml-comparison-table.expanded .mo-saml-comparison-row-hidden {
    display: table-row;
}

.mo-saml-comparison-footer {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.mo-saml-comparison-toggle {
    cursor: pointer;
}

.mo-saml-comparison-toggle:hover {
    text-decoration: underline;
}

/* Full Suite Banner Section */
.mo-saml-suite-section {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

.mo-saml-suite-banner {
    background-color: #003ecc;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
}

.mo-saml-suite-left {
    flex: 1;
    min-width: 250px;
    color: #fff;
}

.mo-saml-suite-question {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.mo-saml-suite-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.2;
    margin-top: 35px;
}

.mo-saml-suite-prefix {
    font-size: 18px;
    color: #fff;
}

.mo-saml-suite-amount {
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.mo-saml-suite-period {
    font-size: 18px;
    color: #fff;
}

.mo-saml-suite-instance {
    font-size: 18px;
    color: #fff;
}

.mo-saml-suite-middle {
    flex: 1;
    min-width: 300px;
    color: #fff;
}

.mo-saml-suite-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mo-saml-suite-right {
    display: flex;
    align-items: center;
    color: #fff;
    margin-right: 200px;
}

.mo-saml-suite-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.mo-saml-suite-checkmark {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mo-saml-suite-feature-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}

.mo-saml-suite-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #003ecc;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.mo-saml-suite-button:hover {
    background-color: #f0f0f0;
    color: #003ecc;
    text-decoration: none;
}

.mo-saml-suite-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Related Products Section */
.mo-saml-related-products-section {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

.mo-saml-related-products-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.mo-saml-related-products-header {
    margin-bottom: 24px;
}

.mo-saml-related-products-heading {
    font-size: 28px;
    font-weight: bold;
    color: #003ecc;
    margin-bottom: 12px;
    margin-top: 0;
}

.mo-saml-related-products-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mo-saml-related-products-description {
    font-size: 16px;
    color: #333;
    margin: 0;
    flex: 1;
}

.mo-saml-related-products-link {
    color: #003ecc;
    font-size: 16px;
    white-space: nowrap;
}

.mo-saml-related-products-link:hover {
    color: #003ecc;
    text-decoration: none;
    cursor: pointer;
}

.mo-saml-related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mo-saml-related-product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.mo-saml-related-product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mo-saml-related-product-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e6f2ff;
    border-radius: 10px;
    padding: 8px;
}

.mo-saml-related-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mo-saml-related-product-icon-placeholder {
    width: 38px;
    height: 38px;
    background-color: #e6f2ff;
    border-radius: 8px;
}

.mo-saml-related-product-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    margin-top: 0;
}

.mo-saml-related-product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.mo-saml-related-product-link {
    color: #003ecc;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    align-self: flex-start;
}

.mo-saml-related-product-link:hover {
    color: #003ecc;
    text-decoration: none !important;
}

/* Steps to Upgrade Section */
.mo-saml-upgrade-steps-section {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

.mo-saml-upgrade-steps-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.mo-saml-upgrade-steps-heading {
    font-size: 28px;
    font-weight: bold;
    color: #003ecc;
    margin-bottom: 12px;
    margin-top: 0;
}

.mo-saml-upgrade-steps-intro {
    font-size: 16px;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.5;
}

.mo-saml-upgrade-steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mo-saml-upgrade-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mo-saml-upgrade-step-header {
    background-color: #e6f2ff;
    border-radius: 6px;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.mo-saml-upgrade-step-number {
    font-size: 18px;
    font-weight: bold;
    color: #003ecc;
}

.mo-saml-upgrade-step-title {
    font-size: 18px;
    font-weight: bold;
    color: #003ecc;
}

.mo-saml-upgrade-step-content {
    margin: 0;
    padding-left: 40px;
    list-style-type: disc;
}

.mo-saml-upgrade-step-content li {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

.mo-saml-upgrade-step-content li:last-child {
    margin-bottom: 0;
}

/* Licensing New Template Styles Ends here */

.gin--dark-mode {
    .mo-saml-upgrade-steps-wrapper,
    .mo-saml-related-products-wrapper,
    .mo-saml-related-product-icon,
    .mo-saml-plan-cards-wrapper,
    .mo-saml-field-select,
    .mo-saml-comparison-wrapper,
    .mo-saml-comparison-feature-name,
    .mo-saml-upgrade-box {
       background-color: #3b3b3f;
    }
    .mo-saml-related-product-card,
    .mo-saml-plan-card,
    .mo-saml-upgrade-step-header {
        background-color: #2a2a2d;
        border: 1px solid #2a2a2d;
    }
    .mo_saml_highlight_background_note_1 {
        background: #47474c;
    }

    .mo-saml-comparison-table {
        border: 1px solid #2a2a2d;
        background-color: #3b3b3f;
    }

    .mo-saml-comparison-table thead {
        background-color: #2a2a2d;
    }

    .mo-saml-comparison-table th {
        background-color: #2a2a2d;
        color: #d2d3d3;
        border: 1px solid #3b3b3f;
    }

    .mo-saml-comparison-table tbody tr {
        background-color: #3b3b3f;
        transition: background-color 0.2s ease;
    }

    .mo-saml-comparison-table tbody tr:hover {
        background-color: #4a4a4f;
    }

    .mo-saml-comparison-table tbody tr:hover td {
        background-color: #4a4a4f;
    }

    .mo-saml-comparison-table tbody tr td {
        border: 1px solid #2a2a2d;
        transition: background-color 0.2s ease;
    }

    .mo-saml-comparison-wrapper,
    .mo-saml-field-select {
        border: 1px solid #2a2a2d;
    }

    .mo-saml-upgrade-steps-wrapper,
    .mo-saml-related-products-wrapper,
    .mo-saml-plan-cards-wrapper,
    .mo-saml-upgrade-box {
        border: 1px solid #3b3b3f;
    }

    .mo-saml-upgrade-steps-intro,
    .mo-saml-upgrade-step-content li,
    .mo-saml-related-products-description,
    .mo-saml-related-product-title,
    .mo-saml-related-product-description,
    .mo-saml-plan-cards-description,
    .mo-saml-plan-card-name,
    .mo-saml-price-period,
    .mo-saml-field-label,
    .mo-saml-field-select,
    .mo-saml-comparison-description,
    .mo-saml-comparison-table th,
    .mo-saml-comparison-table tbody tr td,
    .mo-saml-comparison-feature-name,
    .mo-saml-upgrade-title,
    .mo-saml-upgrade-description,
    .mo-saml-feature-text,
    .mo-saml-plan-label,
    .mo-saml-plan-version,
    .bundle-plan-headline,
    .bundle-plan-description,
    .bundle-plan-feature-text,
    .mo_base_url_link,
    .form-item__label.is-disabled {
        color: #d2d3d3;
    }

    .mo-saml-suite-question,
    .mo-saml-suite-prefix,
    .mo-saml-suite-amount,
    .mo-saml-suite-period,
    .mo-saml-suite-instance,
    .mo-saml-suite-feature-text,
    .mo-saml-suite-checkmark,
    .mo-saml-suite-button {
        color: #111;
    }

    .mo-saml-suite-button {
        background: whitesmoke;
    }

    .mo-saml-suite-banner,
    .mo-saml-valid-till-btn {
        background: rgb(144,174,239);
    }

    .mo-saml-current-plan-badge {
        background-color: rgb(144,174,239);
        color: #111;
    }

    .mo-saml-plan-name,
    .mo-saml-saml-highlight,
    .mo-saml-comparison-heading,
    .mo-saml-comparison-link,
    .mo-saml-plan-cards-heading,
    .mo-saml-price-amount,
    .mo-saml-related-products-heading,
    .mo-saml-related-products-link,
    .mo-saml-related-product-link,
    .mo-saml-upgrade-steps-heading,
    .mo-saml-upgrade-step-title,
    .mo-saml-upgrade-step-number,
    .bundle-plan-checkmark {
        color: rgb(144,174,239);
    }

    .mo-saml-related-product-icon img {
        /* Filter calculated for rgb(144,174,239) - adjust if color doesn't match */
        filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(1700%) hue-rotate(199deg) brightness(1.33) contrast(0.86) !important;
    }

    .mo-saml-suite-right {
        margin-right: 50px;
    }
}