@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap');

body, html {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

#app-side-nav-outer-toolbar {
    flex-direction: column;
    display: flex; 
    height: 100%;
    width: 100%;
}

.layout-header {
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: relative;
    z-index: 1505;
}

.dx-toolbar .dx-toolbar-item.menu-button {
    width: 60px;
    text-align: center;
    padding: 0;
}

.dx-card {
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    border-radius: 4px;
    background-color: #fff;
    margin: 2px 2px 3px;
}

.dx-card.wide-card {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    border-right: 0;
    border-left: 0;
}

.with-footer > .dx-scrollable-wrapper > .dx-scrollable-container > .dx-scrollable-content {
    height: 100%;
}

.with-footer > .dx-scrollable-wrapper > .dx-scrollable-container > .dx-scrollable-content > .dx-scrollview-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.layout-body {
    background-color: #f2f2f2;
    flex: 1;
    height: 100%;
    min-height: 0;
}

.layout-body .menu-container {
    height: 100%;
    width: 250px;
    background-color: #fff;
}

.layout-body .content {
    flex-grow: 1;
    height: 100%;
    line-height: 1.5;
    margin: 20px 40px;
}

.layout-body .content h2 {
    font-size: 32px;
    line-height: 40px;
}

.layout-body .content-block {
    margin: 0 0 20px;
}

.layout-body .content-footer {
    display: block;
    color: rgba(0,0,0,.609);
    border-top: 1px solid rgba(0,0,0,.1);
    padding-top: 20px;
    padding-bottom: 24px;
    margin: 0 40px;
}

.layout-body .responsive-paddings {
    padding: 20px;
}

.layout-body-hidden {
    visibility: hidden;
}

#layout-drawer.dx-drawer-shrink .dx-drawer-panel-content {
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 2px 0px;
}

@media screen and (max-width: 600px) {
    .layout-body .content {
        margin: 20px;
    }
}

@media screen and (min-width: 1280px) {
    .layout-body .responsive-paddings {
        padding: 40px;
    }
}

.menu-container .dx-widget {
    font-weight: 700;
    font-size: 14px;
    font-family: Roboto,RobotoFallback,Helvetica,Arial,sans-serif;
    line-height: 24px;
}

.menu-container .dx-treeview {
    white-space: nowrap;
}

.menu-container .dx-treeview .dx-treeview-item {
    padding-left: 0;
    flex-direction: row-reverse;
    border-radius: 0;
}

.menu-container .dx-treeview .dx-treeview-item .dx-icon {
    width: 60px !important;
    margin: 0 !important;
}

.menu-container .dx-treeview .dx-treeview-node {
    padding: 0 0 !important;
}

.menu-container .dx-treeview .dx-treeview-toggle-item-visibility {
    right: 10px;
    left: auto;
}

.menu-container .dx-treeview .dx-rtl .dx-treeview-toggle-item-visibility {
    left: 10px;
    right: auto;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="1"] {
    font-weight: bold;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="2"] .dx-treeview-item-content {
    font-weight: normal;
    padding: 0 60px;
}



/* PSM Landing Page Styles */

/* Landing page layout */
.landing-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

    /* DevExpress component text color overrides */
    .landing-content h1,
    .landing-content h2,
    .landing-content h3,
    .landing-content p,
    .landing-content div {
        color: white;
    }

    .landing-content .dx-widget,
    .landing-content .title-header-text,
    .landing-content .title-content-text {
        color: white !important;
    }

/* Navbar styling */
.navbar {
    background: transparent;
    padding: 1rem 0;
    flex-shrink: 0;
    font-family: 'Lexend', sans-serif;
}

    .navbar .container-fluid {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

/* Logo and brand styling */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white !important;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.75rem;
    font-family: 'Lexend', sans-serif;
}

    .navbar-brand img {
        height: 28px;
        filter: brightness(0) invert(1);
    }

    .navbar-brand:hover {
        color: white !important;
    }

/* Navigation links */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 400;
    margin: 0 0.35rem;
    font-size: 0.85rem;
    font-family: 'Lexend', sans-serif;
}

    .navbar-nav .nav-link:hover {
        color: #f8f9fa !important;
    }

/* Login button styling */
.btn-login {
    background-color: white !important;
    border: 2px solid white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
}

    .btn-login:hover {
        background-color: transparent !important;
        color: white !important;
        border-color: white;
        box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
    }


.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero section container 
.hero-container {
    background: black;
    border: 1px solid white;
    padding: 2rem;
    width: 100%;
}*/

.hero-container {
    position: relative;
    background-color: #000;
    border: 1px solid white;
    padding: 2rem;
    width: 100%;
    overflow: hidden;
}

    /* Animated purple overlay */
    .hero-container::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient( circle at center, rgba(84, 134, 255, 0.6) 0%, rgba(84, 134, 255, 0.4) 30%, rgba(0, 0, 0, 0) 60% );
        filter: blur(40px);
        animation: intermittentSweep 20s ease-in-out infinite;
        pointer-events: none;
        z-index: 0;
    }

    .hero-container > * {
        position: relative;
        z-index: 1;
    }

/* Keyframes: includes black-out moments */
@keyframes intermittentSweep {
    0% {
        transform: translate(-30%, -30%) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    25% {
        transform: translate(20%, -40%) rotate(20deg);
    }

    50% {
        transform: translate(30%, 30%) rotate(60deg);
        opacity: 1;
    }

    75% {
        transform: translate(-20%, 40%) rotate(100deg);
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    100% {
        transform: translate(-30%, -30%) rotate(120deg);
        opacity: 0;
    }
}




/* Hero content layout */
.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Lexend', sans-serif;
}

.hero-features {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 1.2rem;
    color: white;
    font-family: 'Lexend', sans-serif;
}

    .hero-features li {
        margin-bottom: 0.75rem;
        color: white;
    }

    .hero-features strong {
        font-weight: 800;
    }

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-cta-primary {
    background-color: white;
    border: 2px solid white;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Lexend', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2a2a2a;
    width: 14rem;
}

    .btn-cta-primary:hover {
        background-color: #00cc00;
        color: white;
        border-color: #00cc00;
        box-shadow: 0 8px 16px rgba(0, 204, 0, 0.3);
    }

.btn-cta-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Lexend', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14rem;
}

    .btn-cta-secondary:hover {
        background-color: #00cc00;
        color: white;
        border-color: #00cc00;
        box-shadow: 0 8px 16px rgba(0, 204, 0, 0.3);
    }

/* Responsive CTA buttons */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

        .hero-buttons .btn-cta-primary,
        .hero-buttons .btn-cta-secondary {
            width: 100%;
        }
}

.hero-image img {
    width: 100%;
    height: auto;
}

.rotating-word {
    color: #00cc00;
    font-weight: 700;
    display: inline-block;
    transition: opacity 0.3s ease-in-out;
}

/* Getting Started Section */
.getting-started-section {
    background-color: #000000;
    color: white;
    padding: 2rem 0;
    font-family: 'Lexend', sans-serif;
}

    .getting-started-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    font-family: 'Lexend', sans-serif;
    padding-top: 1.6rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 0;
    font-family: 'Lexend', sans-serif;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

.step-card {
    background-color: ghostwhite;
    color: #2a2a2a;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

    .step-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

.step-number {
    width: 32px;
    height: 32px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 1rem;
    font-family: 'Lexend', sans-serif;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2a2a2a;
    font-family: 'Lexend', sans-serif;
}

.step-description {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #5a5a5a;
    margin-bottom: 0;
    text-align: left;
    font-family: 'Lexend', sans-serif;
}

/* Features and Benefits Section */
.features-section {
    background-color: #ffffff;
    color: #2a2a2a;
    padding: 1rem;
    font-family: 'Lexend', sans-serif;
}

    .features-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .features-section .section-title {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: auto;
        color: #2a2a2a;
        text-align: center;
        font-family: 'Lexend', sans-serif;
    }

.section-intro {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #0d6efd;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Lexend', sans-serif;
}

.feature-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

    .feature-group.reverse {
        grid-template-columns: 1fr 1fr;
    }

        .feature-group.reverse .feature-content-group {
            order: 2;
        }

        .feature-group.reverse .feature-image {
            order: 1;
        }

.feature-content-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #2a2a2a;
    font-family: 'Lexend', sans-serif;
}

.feature-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0;
    font-family: 'Lexend', sans-serif;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.features-conclusion {
    text-align: center;
    padding: 0.5rem 1.2rem;
    background-color: transparent;
    border-radius: 0.5rem;
}

    .features-conclusion p {
        font-size: 1rem;
        font-weight: 500;
        color: #0d6efd;
        margin: 0;
        font-family: 'Lexend', sans-serif;
    }

/* Responsive design */
@media (max-width: 768px) {
    .landing-content {
        padding: 1rem;
    }

    .navbar .container-fluid {
        padding: 0 1rem;
    }

    .navbar-nav .nav-link {
        margin: 0 0.5rem;
        font-size: 0.85rem;
    }

    .hero-container {
        padding: 2rem;
        margin: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-features {
        font-size: 1rem;
        text-align: left;
    }

    .hero-buttons {
        justify-content: center;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .feature-group,
    .feature-group.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-section {
        padding: 3rem 0;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .section-intro {
        margin-bottom: 3rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        align-self: center;
    }
}

@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .getting-started-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .step-card {
        padding: 1.5rem;
    }
}

/* PSM Footer Styles */

/* Landing page layout */
.landing-page {
    min-height: 100vh;
    background: black;
    color: white;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    font-family: 'Lexend', sans-serif;
}

    .landing-page main {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .landing-page .main-footer {
        margin-top: auto;
    }

/* Footer Styles */
.main-footer {
    background: linear-gradient(to top, #0d6efd 20%, #000000 90%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 2.5rem;
    font-family: 'Lexend', sans-serif;
}

    .main-footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5.footer-title {
    font-family: 'Lexend', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 1.5rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand h3.brand-name {
    font-family: 'Lexend', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.footer-description {
    font-family: 'Lexend', sans-serif;
    font-size: 0.85rem;
    color: white;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        font-family: 'Lexend', sans-serif;
        color: white;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: #a0aec0;
        }

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright p {
    font-family: 'Lexend', sans-serif;
    margin: 0;
    color: white;
    font-size: 0.85rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .main-footer {
        padding: 2rem 0 1rem 0;
    }
}

/* PSM Pricing Section Styles */

/* Pricing Section Styles */
.pricing-section {
    background: linear-gradient(to bottom, #f0f0f0, #d8d8d8, #4a4a4a, #000000);
    color: #2a2a2a;
    padding: 1rem 0;
    font-family: 'Lexend', sans-serif;
}

    .pricing-section .section-header {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .pricing-section .section-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: #2a2a2a;
        margin-bottom: auto;
        font-family: 'Lexend', sans-serif;
    }

    .pricing-section .section-subtitle {
        font-size: 1.2rem;
        color: #0d6efd;
        margin: 0 auto;
        margin-bottom: 1rem;
        max-width: 900px;
        font-family: 'Lexend', sans-serif;
    }

/* Loading and Error States */
.pricing-loading,
.pricing-error {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pricing-error .alert {
        max-width: 500px;
    }

/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.tab-buttons {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 4px;
    border: 1px solid #e2e8f0;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    font-family: 'Lexend', sans-serif;
}

    .tab-button:hover {
        background: #f7fafc;
    }

    .tab-button.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

.tab-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.tab-description {
    font-size: 0.75rem;
    text-align: center;
}

/* Pricing Content */
.pricing-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

    .pricing-content.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
        margin-bottom: 1.75rem;
    }

/* Pricing Cards Grid */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Individual Pricing Card */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 15px 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 0;
    height: fit-content;
}

    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    }

    .pricing-card.recommended {
        border-color: #667eea;
        z-index: 2;
    }

        .pricing-card.recommended:hover {
            transform: scale(1.05) translateY(-0px);
        }

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 0.25rem;
    padding-bottom: 0.25rem;
    /* border-bottom: 1px solid #e2e8f0; */
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
    font-family: 'Lexend', sans-serif;
}

/* Plan Pricing */
.plan-price {
    margin-bottom: 12px;
}

.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f7fafc;
}

    .price-option.annual {
        background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
        border: 1px solid #38b2ac;
        position: relative;
    }

.currency {
    font-size: 0.7rem;
    color: #4a5568;
    font-weight: 500;
    font-family: 'Lexend', sans-serif;
}

.price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    font-family: 'Lexend', sans-serif;
}

.period {
    font-size: 0.8rem;
    color: #4a5568;
    font-weight: 500;
    font-family: 'Lexend', sans-serif;
}

.discount-badge {
    background: #38a169;
    color: white;
    padding: 2px 4px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Lexend', sans-serif;
}

/* Desktop Specific Pricing */
.license-price {
    margin-bottom: 12px;
    padding: 12px;
    background: #f0fff4;
    border-radius: 8px;
    border: 1px solid #68d391;
}

.support-price {
    padding: 12px;
    background: #fffaf0;
    border-radius: 8px;
    border: 1px solid #f6ad55;
}

    .license-price strong,
    .support-price strong {
        display: block;
        margin-bottom: 6px;
        color: #2d3748;
        font-size: 0.9rem;
        font-family: 'Lexend', sans-serif;
    }

/* Plan Limits */
.plan-limit {
    font-size: 0.85rem;
    color: #0d6efd;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 8px;
    font-family: 'Lexend', sans-serif;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0 5px;
    margin: 0;
}

    .plan-features li {
        padding: 4px 0;
        font-weight: 400;
        font-size: 0.85rem;
        color: #4a5568;
        line-height: 1.3;
    }

.feature-icon {
    color: #38a169;
    font-weight: 800;
    font-size: 0.85rem;
    margin-top: 1px;
    flex-shrink: 0;
    line-height: 1;
}

.feature-text {
    flex: 1;
}

/* Small Print / Terms & Conditions Section */
.small-print {
    background: #f7fafc;
    border: 1px solid #a0aec0;
    padding: 1rem;
    margin: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #4a5568;
    text-align: left;
    font-family: 'Lexend', sans-serif;
    border-radius: 0.5rem;
}

.small-print-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: red;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Lexend', sans-serif;
}

.small-print-list {
    list-style: decimal;
    margin: 0.25rem;
    padding-left: 0.5rem;
}

.small-print-item {
    margin-bottom: 0.5rem;
}

.small-print a {
    color: #0d6efd;
    text-decoration: none;
}

    .small-print a:hover {
        text-decoration: underline;
    }

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

        .pricing-section .section-title {
            font-size: 2.25rem;
        }

        .pricing-section .section-subtitle {
            font-size: 1.125rem;
            padding: 0 20px;
        }

    .tab-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .tab-button {
        min-width: auto;
        padding: 16px 20px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

        .pricing-card.recommended {
            transform: none;
        }

            .pricing-card.recommended:hover {
                transform: translateY(-4px);
            }

    .plan-name {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.7rem;
    }

    .pricing-options {
        gap: 8px;
    }

    .price-option {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .small-print {
        padding: 1rem;
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .pricing-section .section-title {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 20px 20px;
    }

    .plan-price {
        margin-bottom: 15px;
    }
}

/* Utility classes */
.mt-3 {
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    border: 0.125em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.text-primary {
    color: #0d6efd !important;
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

margin-left: -0.25rem;
}


.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

/* DevExtreme Brand Font Override - Apply Lexend to all editors */
.dx-texteditor-input,
.dx-texteditor input,
.dx-texteditor textarea,
.dx-textbox input,
.dx-numberbox input,
.dx-datebox input,
.dx-selectbox input,
.dx-textarea textarea,
.dx-texteditor-container,
.dx-texteditor,
.dx-selectbox,
.dx-datebox,
.dx-numberbox,
.dx-lookup,
.dx-tagbox,
.dx-textbox,
.dx-textarea,
.dx-autocomplete,
.dx-dropdowneditor-input-wrapper input,
.dx-placeholder::before,
.dx-texteditor-input::placeholder {
    font-family: 'Lexend', sans-serif !important;
}

/* DevExtreme Dropdown and List Items */
.dx-list-item,
.dx-dropdownlist-popup-wrapper .dx-list-item-content,
.dx-popup-content .dx-list-item,
.dx-selectbox-popup-wrapper .dx-list-item,
.dx-datebox-calendar .dx-calendar-cell,
.dx-calendar-cell-text {
    font-family: 'Lexend', sans-serif !important;
}

/* DevExtreme Checkbox Labels */
.dx-checkbox-text,
.dx-checkbox .dx-checkbox-text {
    font-family: 'Lexend', sans-serif !important;
}

/* ===== Global DataGrid hover & selection effects ===== */
.dx-datagrid .dx-data-row:hover > td {
    background-color: #f3edf7 !important; /* light purple hover */
}

.dx-datagrid .dx-data-row.dx-state-hover > td {
    background-color: #f3edf7 !important;
}

.dx-datagrid .dx-selection > td,
.dx-datagrid .dx-data-row.dx-selection > td {
    background-color: #e8daf0 !important; /* darker purple selection */
    color: #212529 !important;
}

.dx-datagrid .dx-data-row.dx-selection:hover > td {
    background-color: #decceb !important; /* selection + hover combined */
}

/* ===== Harmonize DevExtreme button colours with Bootstrap ===== */
.dx-button.dx-button-success {
    background-color: #198754 !important;
    border-color: #198754 !important;
}
.dx-button.dx-button-success:hover {
    background-color: #157347 !important;
    border-color: #146c43 !important;
}
.dx-button.dx-button-success .dx-button-text {
    color: #fff !important;
}


