.e-btn.e-primary,
.e-css.e-btn.e-flat.e-primary {
    background-color: #655FAB !important;
    border-color: #655FAB !important;
    color: #fff;
}

    .e-btn.e-primary:hover,
    .e-css.e-btn.e-primary:hover {
        background-color: #5a4fcf !important;
        border-color: #5a4fcf !important;
    }

    .e-btn.e-primary:active,
    .e-css.e-btn.e-primary:active,
    .e-btn.e-primary.e-active {
        background-color: #4e44b8 !important;
        border-color: #4e44b8 !important;
    }





.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: #f7f7f7;
        width: 100%;
        z-index: 1;
    }

    .flex-column, .navbar-brand {
        padding-left: env(safe-area-inset-left);
    }
}

.clickable {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .clickable:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }

    .clickable:focus-visible {
        outline: 2px solid #0d6efd;
        outline-offset: 2px;
    }

.icon-toggle-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.icon-button {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    padding: 10px,2px,10px,2px;
    border-radius: 8px;
    transition: background 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
}

    .icon-button.selected {
        color: #655FAB;
        background-color: #C4C0DE;
    }

    .icon-button:hover {
        background-color: #f0f0f0;
    }

.fa-glyph {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
}

.nav-glyph {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    color: #4B5563;
    margin-right: 8px;
}

.nav-glyph-regular {
    font-family: "Font Awesome 6 Free";
    font-weight: 400; /* Regular = 400 */
    font-size: 24px;
    color: #4B5563;
    margin-right: 8px;
}

.navbell-glyph-regular {
    font-family: "Font Awesome 6 Free";
    font-weight: 400; /* Regular = 400 */
    font-size: 24px;
    color: #4B5563;
    margin-right: 15px;
}

.navbell-glyph-offline {
    font-family: "Font Awesome 6 Free";
    font-weight: 400; /* Regular = 400 */
    font-size: 24px;
    color: red;
    margin-right: 15px;
}



.icon-label {
    font-size: 12px;
    margin-top: 2px;
    text-align: center;
    color: inherit;
    white-space: nowrap;
}


.archive-icon {
    align-self: center;
}

.delete-icon {
    align-self: center;
}

.page-bg {
    min-height: 100vh;
    background-color: #F4F2FF;
    display: flex;
    /*  align-items: center;*/
    justify-content: center;
}

.landingpage-bg {
    background-color: #F4F2FF;
}

.dashboard-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 175px); /* 2 fixed columns */
    grid-auto-rows: 175px; /* fixed row height */
    gap: 16px; /* equal horizontal & vertical spacing */
    justify-content: start; /* left-align the columns */
    padding-left: 16px; /* optional: padding from the left edge */
}
.dashboard-grid-4Col {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(4, 175px); /* 4 fixed columns */
    grid-auto-rows: 175px; /* fixed row height */
    gap: 16px; /* equal horizontal & vertical spacing */
    justify-content: center;    
}



/* Optional: responsive for very small screens */
@media (max-width: 320px) {
    .dashboard-grid {
        grid-template-columns: 150px; /* single column */
    }
}

.sticky-textbox {
    position: sticky;
    top: 50px; /* distance from top */
    z-index: 900; /* keep it above the grid */
    background: #F4F2FF; /* match your grid background */
    padding: 10px;
    display: flex; /* ⬅️ puts items on the same row */
    align-items: center; /* ⬅️ vertical alignment */
    gap: 15px; /* ⬅️ spacing between textbox & icon */
}

.filter-icon {
    cursor: pointer;
}

.page-transition {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    .page-transition.fade-out {
        opacity: 0;
    }


.avatar-wrapper {
    text-align: center;
}

.avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.avatar-label {
    margin-top: 0px;
    color: white;
    font-size: 20px;
}

/* spinner wrapper */
.spinner-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


    /* animated ring */
    .spinner-container.show::before {
        content: "";
        position: absolute;
        width: var(--spinner-size);
        height: var(--spinner-size);
        border-radius: 50%;
        border: var(--spinner-thickness) solid transparent;
        border-top-color: var(--spinner-color);
        border-right-color: var(--spinner-color);
        animation: spin 0.9s linear infinite;
        pointer-events: none;
    }

/* animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}








.license-card {
    width: 370px; /* or whatever looks right */
    max-width: 100%;
    -webkit-user-select: none; /* iOS Safari */
    -webkit-touch-callout: none; /* Disable copy/paste popup */
    user-select: none;
}

/*html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}*/

body {
    overflow-x: clip;
}

/* Container */
.stripe-container {
    max-width: 420px;
    margin: 30px auto;
    padding: 25px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #f2f2f2;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Header/title */
.stripe-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

/* Card box */
.stripe-card-box {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #dcdcdc;
    background: #fafafa;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
    transition: border 0.2s ease;
    margin-bottom: 18px;
}

    .stripe-card-box.StripeElement--focus {
        border: 1px solid #6a7aff;
    }

/* Pay button */
.stripe-pay-button {
    padding: 14px 18px;
    width: 100%;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    /* background: linear-gradient(135deg, #5d6bff, #8a7bff);*/
    /*background: linear-gradient(135deg, #32CD32, #4BE84B);*/
    background: linear-gradient(135deg, #28b428, #32CD32);
    box-shadow: 0 4px 12px rgba(93, 107, 255, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .stripe-pay-button:hover:not([disabled]) {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(93, 107, 255, 0.45);
    }

    .stripe-pay-button:disabled {
        background: #c9c9c9;
        cursor: not-allowed;
        box-shadow: none;
    }

/* Status messages */
.stripe-status {
    margin-top: 18px;
    font-size: 0.95rem;
    text-align: center;
    color: #555;
}

    /* Success */
    .stripe-status.success {
        color: #2e7d32;
        font-weight: 600;
    }

    /* Error */
    .stripe-status.error {
        color: #c62828;
        font-weight: 600;
    }

/* Processing spinner */
.stripe-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    margin-right: 8px;
    animation: stripe-spin 0.8s linear infinite;
}

@keyframes stripe-spin {
    to {
        transform: rotate(360deg);
    }
}


.loader-wrapper {
    position: relative;
}

/* Spinner sits on top, never takes layout space */
.spinner-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.6s ease;
}

/* Content starts hidden */
.content-layer {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* When loaded */
.loader-wrapper.loaded .spinner-layer {
    opacity: 0;
    pointer-events: none; /* prevents blocking clicks */
}

.loader-wrapper.loaded .content-layer {
    opacity: 1;
}

@keyframes jiggle {
    0% {
        transform: rotate(-1.2deg) translateY(0px);
    }

    50% {
        transform: rotate(1.2deg) translateY(-1px);
    }

    100% {
        transform: rotate(-1.2deg) translateY(0px);
    }
}

.jiggle {
    animation: jiggle 0.22s ease-in-out infinite;
}

.responsive-fade-container {
    position: relative;
}

/* Both views stacked */
.large-view,
.small-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 1.35s ease;
    opacity: 0;
    pointer-events: none; /* inactive view doesn't block clicks */
}

/* Active view becomes visible */
.responsive-fade-container.large .large-view {
    opacity: 1;
    position: relative; /* <-- THIS is the magic */
    pointer-events: auto;
}

.responsive-fade-container.small .small-view {
    opacity: 1;
    position: relative; /* <-- THIS restores layout height */
    pointer-events: auto;
}
