@import "/styles/variables.css";

/* Base Styles */
html, body {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300; /* Default to Urbanist Light */
    margin: 0;
    padding: 0;
}

/* Links */
a,
.btn-link {
    color: var(--color-accent-primary);
    text-decoration: none;
}

    a:hover,
    .btn-link:hover {
        text-decoration: underline;
    }


/* Inputs (form-control, checkbox, etc.) */
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--color-focus-white), 0 0 0 0.25rem var(--color-focus-accent);
    color: var(--color-text-primary);
    background-color: #fff;
}
/* Buttons */
/* Base Button Styles */
.btn {
    padding: var(--color-button-padding); /* Uniform padding */
    font-size: var(--color-button-font-size); /* Consistent font size */
    border-radius: var(--color-button-border-radius); /* Rounded corners */
    text-align: center;
    border-radius: 999px;
    width: auto; /* Adjust size to content */
}

.btn-primary {
    background-color: var(--color-button-primary-bg);
    color: var(--color-button-primary-text);
    border: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}
    /* Hover Effects */
    .btn-primary:hover {
        background-color: var(--color-button-hover-bg);
        color: var(--color-button-primary-text)
    }
.btn-secondary {
    color: var( --color-button-secondary-text ); /* White text for secondary button */
    background-color: var( --color-button-secondary-bg ); /* Gray background for secondary button */
    border-color: var( --color-button-secondary-bg ); /* Border matches background */
    border-radius: 999px;
}



.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus {
    box-shadow: 0 0 0 0.1rem var(--color-focus-white), 0 0 0 0.25rem var(--color-focus-accent);
    color: var(--color-button-primary-text);
}



.btn-uniform {
    padding: var(--color-button-padding); /* Uniform padding for all buttons */
    font-size: var(--color-button-font-size); /* Uniform font size */
    border-radius: 999px;
}

/* Hover Effects */
.btn-primary:hover,
.btn-secondary:hover {
    opacity: var(--color-button-hover-opacity); /* Hover opacity */
}

/* Disabled Button Styles */
.btn:disabled,
.btn[disabled] {
    background-color: var( --color-button-secondary-bg ); /* Gray background for disabled buttons */
    color: var(--color-button-secondary-text); /* White text for readability */
    border-color: var( --color-button-secondary-bg ); /* Border matches background */
    cursor: not-allowed; /* Indicate disabled state */
    opacity: 0.65; /* Slightly dimmed appearance */
    border-radius: 999px;
}

    /* Ensure hover effects don't apply to disabled buttons */
    .btn:disabled:hover,
    .btn[disabled]:hover {
        background-color: var( --color-button-secondary-bg ); /* Retain disabled background */
        opacity: 0.65; /* Retain dimmed appearance */
        cursor: not-allowed; /* Prevent pointer interaction */
    }

/* Validation States */
.valid.modified:not([type="checkbox"]) {
    outline: 1px solid var(--color-valid);
}

.invalid {
    outline: 1px solid var(--color-invalid);
}

.landing-page-text {
    --bs-text-opacity: 1;
    color: var(--color-landingpage-text) !important
}

.text-success {
    color: var(--success-color) !important;
}

.e-breadcrumb .e-breadcrumb-item .e-breadcrumb-text {
    color: var(--breadcrumb-color)
}

/* Syncfusion Primary Button */
.e-btn.e-primary,
.e-css.e-btn.e-primary {
    background-color: var(--color-button-primary-bg);
    color: var(--color-button-primary-text);
    border: none !important;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

    /* Hover */
    .e-btn.e-primary:hover,
    .e-css.e-btn.e-primary:hover {
        background-color: var(--color-button-hover-bg);
        color: var(--color-button-primary-text); /* keep black */
    }

    /* Focus (keyboard) */
    .e-btn.e-primary:focus,
    .e-css.e-btn.e-primary:focus {
        background-color: var(--color-button-primary-bg);
        color: var(--color-button-primary-text);
        box-shadow: 0 0 0 0.15rem rgba(0,0,0,0.15);
    }

    /* Active (pressed) */
    .e-btn.e-primary:active,
    .e-css.e-btn.e-primary:active {
        background-color: var(--color-button-hover-bg);
        color: var(--color-button-primary-text);
    }


.validation-message {
    color: var(--color-error);
}

/* Error Boundary */
.blazor-error-boundary {
    background: var(--color-error-boundary-bg);
    padding: 1rem;
    color: var(--color-error-boundary-text);
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* Dialog Styles */
.dialog-smaller-lottie {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-large-lottie {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-description p {
    text-align: center;
    font-size: 16px;
    color: var(--color-dialog-text);
    margin-top: 10px;
}

.e-dialog .e-btn .e-btn-icon.e-icon-dlg-close {
    font-size: 16px;
    color: var(--color-red-delete);
    font-weight: bold;
}

/* Page Header */
.page-header {
    background-color: var(--color-header-primary);
    color: var(--color-header-text);
    text-align: center;
    border-radius: 25px;
    width: 95%;
    padding: 20px 5%;
    height: 35vh;
    margin: 30px auto;
    z-index: 1;
    box-shadow: 0px 4px 8px var(--color-shadow);
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

    .header-content .title {
        font-size: 2rem;
        font-weight: bold;
        margin: 0;
        padding: 0;
        background-color: transparent;
        text-decoration: none;
    }

    .header-content .subtitle {
        font-size: 1.2rem;
        margin-top: 10px;
        color: var(--color-text-secondary);
        background-color: transparent;
        text-decoration: none;
    }

/* Card Wrapper */
.card-container {
    position: relative;
    z-index: 2;
    margin-top: -12vh;
}

.generic-card {
    width: 800px;
    background-color: var(--color-background-card);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 6px var(--color-shadow);
}

.generic-card2 {
    width: 100%;
    background-color: var(--color-background-card);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 6px var(--color-shadow);
}

.generic-card-full {
    width: 1300px;
    background-color: var(--color-background-card);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 6px var(--color-shadow);
}

.card-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    background-color: transparent;
}

.card-panel-header {
    background-color: var(--color-button-primary-bg);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.card-header-text {
    color: var(--color-button-primary-text);
}

.sidebar-body {
    margin: 0;
    padding: 0;
}

.card-action {
    font-size: 1.2rem;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .card-action:hover {
        color: var(--color-border-hover);
    }
/* Sidebar Card */
.sidebar-card {
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    background-color: var(--color-sidebarcard-bg);
    padding: 20px 5px;
}

    .sidebar-card .list-group-item {
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
        border-bottom: 1px solid var(--color-border-trasparent);
    }

        .sidebar-card .list-group-item.active {
            background-color: var(--color-border-transparent ); /* Keep background transparent */
            color: var(--color-accent-primary); /* Change text color to highlight */
            font-weight: bold; /* Make text bold */
        }

.sidebar-card,
.generic-card {
    max-width: 100%;
}
/*Check boxes*/
.checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Gradient Border */
.gradient-border {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient( 135deg, var(--color-accent-secondary), var(--color-accent-primary) );
    padding: 3px;
}
/* Gradient border for edit mode */
.gradient-border-edit {
    background: linear-gradient( 135deg, var(--color-header-primary-edit), var(--color-accent-primary-edit) );
}

.gradient-border .card-action {
    background: var(--color-focus-white);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .card-container {
        margin-top: -6vh;
    }

    .generic-card {
        width: 100%;
        padding: 15px;
    }

    .generic-card-full {
        width: 100%;
        padding: 15px;
    }
}
/*Help section */

/* Help Accordion Styles */
/* Accordion Header Styling */
.help-accordion .help-accordion-header .help-accordion-button {
    background-color: var( --helpaccordion-bg-color ); /* Default collapsed background */
    color: var(--helpaccordion-text-color); /* Text color */
    border: 1px solid var(--helpaccordion-border-color); /* Border */
    box-shadow: 0 2px 4px var(--helpaccordion-shadow-color); /* Subtle shadow */
}

    .help-accordion .help-accordion-header .help-accordion-button:not(.collapsed) {
        background-color: var( --helpaccordion-bg-active-color ); /* Expanded background */
        color: var(--helpaccordion-text-color); /* Text color */
    }

    .help-accordion .help-accordion-header .help-accordion-button:hover {
        background-color: var(--helpaccordion-hover-bg); /* Hover background */
        color: var(--helpaccordion-hover-text-color); /* Hover text color */
    }

/* Accordion Body Styling */
.help-accordion .help-accordion-body {
    background-color: var(--helpaccordion-body-bg); /* Content background */
    color: var(--helpaccordion-body-text-color); /* Content text color */
    padding: 1rem;
    border-top: 1px solid var(--helpaccordion-border-color); /* Optional top border */
}

/* HelpCentre Page cards */
.helpcentre-custom-card {
    border-radius: 1rem; /* Rounded corners */
    overflow: hidden; /* Prevents content from overflowing */
    transition: all 0.3s ease; /* Smooth animation for hover effects */
}

.helpcentre-custom-card-link {
    color: var( --helpcentre-card-link-default-color ); /* Initial text color from variable */
    text-decoration: none; /* Removes underline */
    transition: color 0.3s ease; /* Smooth transition for text color */
}

    .helpcentre-custom-card-link:hover .card-title,
    .helpcentre-custom-card-link:hover .card-text {
        color: var( --helpcentre-card-link-hover-color ); /* Hover color from variable */
    }

    .helpcentre-custom-card-link:hover .helpcentre-custom-card {
        box-shadow: 0px 4px 15px rgba(0, 51, 102, 0.2); /* Subtle shadow on hover */
        transform: scale(1.03); /* Slight zoom effect */
    }

/*  Syncfusion controls start */

/* Remove gridlines for Syncfusion ListView */
.e-listview {
    border: none;
}

    .e-listview .e-list-item {
        border-bottom: none; /* Remove gridlines between items */
    }

/* Panel Styling with Rounded Corners */
.e-dashboardlayout.e-control .e-panel {
    overflow: hidden !important; /* Ensure child elements are clipped to the corners */
    border-radius: 20px;
}

    /* Panel Styling with Rounded Corners */
    .e-dashboardlayout.e-control .e-panel .e-panel-container {
        overflow: hidden !important; /* Ensure child elements are clipped to the corners */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important; /* Optional: Add subtle shadow for visual effect */
        border: none !important; /* Remove panel border if any */
        border-radius: 20px;
    }

        /* Header Styling */
        .e-dashboardlayout.e-control .e-panel .e-panel-container .e-panel-header {
            position: absolute;
            right: 0; /* Align to the right */
            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important; /* Align header content to the left */
            padding: 10px 20px !important; /* Consistent padding for header */
            font-weight: bold !important;
            margin: 0 !important; /* Remove any default margin */
            background-color: var(--color-dashboardpanel); /* Header background color */
            color: var(--color-dashboardpanel-text); /* Header text color */
            border-bottom: none !important;
            box-shadow: none !important;
        }

        /* Content Styling */
        .e-dashboardlayout.e-control .e-panel .e-panel-container .e-panel-content {
            padding: 0 !important; /* Remove unnecessary padding */
            text-align: center !important; /* Center-align content */
            display: flex !important;
            flex-direction: column !important; /* Stack items vertically */
            justify-content: center !important; /* Center items vertically */
            align-items: center !important; /* Center items horizontally */
            height: 100% !important; /* Ensure content takes full height of the panel */
            background-color: var(--color-dashboardpanel);
        }

.dashboard-padlock.locked {
    color: var(--locked-padlock-colour); /* Red color for locked state */
}

.dashboard-padlock.unlocked {
    color: var(--unlocked-padlock-colour); /*  Green color for unlocked state */
}

.dashboard-padlock {
    font-size: 2rem;
    float: right;
}

.dashboard-padlock.locked {
        color: var(--locked-padlock-colour);
}

.dashboard-padlock.unlocked {
        color: var(--unlocked-padlock-colour);
 }

/* Header Title */
.header-left-aligned .header-title {
    margin: 0 !important; /* Remove default margins */
    font-size: 1.5rem !important; /* Font size for the title */
    color: inherit !important; /* Use the same color as the header */
}

/* Icon Styling */
.dashboard-panel-icon {
    font-size: 60px !important; /* Set icon size to make it larger */
    color: var(--color-dashboardpanel-icon); /* Icon color */
    margin-bottom: 10px !important; /* Space below the icon */
}

.header-panel-icon {
    font-size: 30px !important; /* Set icon size to make it larger */
    color: var(--color-dashboardpanel-icon); /* Icon color */
    margin-right: 10px;
}

/* Description Text */
.dashboard-title {
    font-size: 1.5rem !important; /* Standard readable font size */
    color: var(--color-text-primary); /* Use primary text color */
    margin-bottom: 5px !important; /* Space below the text */
}

.dashboard-description {
    font-size: 0.8rem !important; /* Standard readable font size */
    color: var(--color-text-primary); /* Use primary text color */
    margin-bottom: 20px !important; /* Space below the text */
}

/* Content Wrapper */
.content-wrapper {
    width: 100% !important; /* Ensure content spans full width */
    padding: 20px !important; /* Inner padding for the content */
    margin: 0 !important; /* Remove any default margin */
    text-align: center !important; /* Center-align all content */
}

/* Content Wrapper */
.inner-content-wrapper {
    height: 100%;
    cursor: pointer; /* Change cursor to hand on hover */
}
/*  Syncfusion controls End */

/* Global reset for focus outline */
*:focus {
    outline: none;
}

.dashboard-icon-maintenance {
    color: var(--color-dashboard-maintenance);
}

.dashboard-icon-payment {
    color: var(--color-dashboard-payment);
}

.dashboard-icon-review {
    color: var(--color-dashboard-review);
}

.dashboard-icon-communication {
    color: var(--color-dashboard-communication);
}

.dashboard-icon-logging {
    color: var(--color-dashboard-logging);
}

.dashboard-icon-accounts {
    color: var(--color-dashboard-accounts);
}

.dashboard-icon-loginsettings {
    color: var(--color-dashboard-loginsettings);
}

.dashboard-icon-apppreferences {
    color: var(--color-dashboard-apppreferences);
}

.dashboard-icon-savingsgoal {
    color: var(--color-dashboard-savingsgoal);
}

.dashboard-icon-tooling {
    color: var(--color-dashboard-tooling);
}

.dashboard-icon-apply {
    color: var(--color-dashboard-apply);
}


.dashboard-icon-help {
    color: var(--color-dashboard-help);
}

.dashboard-icon-forceupdate {
    color: var(--color-dashboard-forceupdate);
}

.dashboard-icon-maturitymanager {
    color: var(--color-dashboard-maturitymanager);
}

.dashboard-icon-homepagebuttons {
    color: var(--color-dashboard-homepagebuttons);
}

.header-icon-both {
    color: var(--color-header-both);
}

.header-icon-android {
    color: var(--color-header-android);
}

.header-icon-ios {
    color: var(--color-header-ios);
}

.e-stepper .e-stepper-progressbar .e-progressbar-value {
    background-color: var(--color-progressbar-bg);
}

/* Completed step indicator */
.e-stepper-steps .e-step-item.e-step-completed .e-step.e-indicator {
    background-color: var( --color-step-completed-bg ); /* Green background for the completed step indicator */
}

/* Active step indicator */
.e-stepper-steps .e-step-item.e-step-inprogress .e-step.e-indicator,
.e-stepper-steps .e-step-item.e-step-selected .e-step.e-indicator {
    background-color: var( --color-step-completed-bg ); /* Blue background for the active step indicator */
}

/* Not-started step indicator */
.e-stepper-steps .e-step-item.e-step-notstarted .e-step.e-indicator {
    background-color: var( --color-step-notstarted-bg ); /* Gray background for the not-started step indicator */
}

/* Text for completed steps */
.e-stepper-steps .e-step-item.e-step-completed .e-label {
    color: var( --color-step-completed-text ); /* Green text for completed step labels */
}

/* Text for active steps */
.e-stepper-steps .e-step-item.e-step-inprogress .e-label,
.e-stepper-steps .e-step-item.e-step-selected .e-label {
    color: var( --color-step-inprogress-text ); /* Blue text for active step labels */
    font-weight: bold; /* Optional: Make it bold */
}

/* Text for not-started steps */
.e-stepper-steps .e-step-item.e-step-notstarted .e-label {
    color: var( --color-step-notstarted-text ); /* Gray text for not-started step labels */
}

.btn-outline-primary {
    color: var(--color-button-primary-bg); /* White text for primary button */
    border-color: var(--color-button-primary-bg); /* Hover border color */
}

.tick-cross {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

    /* SUCCESS STATE */
    .tick-cross.success {
        color: var(--color-success-tick); /* black tick */
    }

        /* Circle fill layer */
        .tick-cross.success::before {
            content: "";
            position: absolute;
            inset: -2px; /* slightly larger than icon */
            border-radius: 50%;
            background: var(--color-success-text); /* yellow fill */
            z-index: -1;
        }

.form-check-input {
    font-size: 1.3rem;
    cursor: pointer;
}

.btn:focus,
.btn:active {
    background-color: var(--color-button-primary-bg);
}

/*  Shimmer-skeleton start */
.custom-skeleton-title {
    border-radius: 4px;
    background-color: var(--color-skeleton-custom-title-bg);
}

.custom-skeleton-subtitle {
    border-radius: 4px;
    background-color: var(--color-skeleton-custom-subtitle-bg);
}

.custom-skeleton-header {
    border-radius: 4px;
    background-color: var(--color-skeleton-custom-header-bg);
}

.custom-skeleton-paragraph {
    border-radius: 4px;
    background-color: var(--color-skeleton-custom-paragraph-bg);
}

.custom-skeleton-icon {
    border-radius: 50%;
    background-color: var(--color-skeleton-custom-icon-bg);
}

.custom-skeleton-button {
    border-radius: 4px;
    background-color: var(--color-skeleton-custom-button-bg);
}
/*  Shimmer-skeleton end */

btn-info {
    background-color: var(--color-button-primary-bg);
    border-color: var(--color-button-primary-bg);
}
.e-treeview .e-list-item.e-active > .e-text-content .e-list-text,
.e-treeview .e-list-item.e-active > .e-text-content .e-icon-collapsible, .e-treeview .e-list-item.e-active > .e-text-content .e-icon-expandable,
.e-treeview .e-list-item.e-active.e-hover > .e-text-content, .e-treeview .e-list-item.e-active.e-node-focus > .e-text-content,
.e-treeview .e-list-item.e-active.e-hover > .e-text-content .e-list-text, .e-treeview .e-list-item.e-active.e-node-focus > .e-text-content .e-list-text,
.e-treeview .e-list-item.e-active > .e-text-content,
.e-treeview .e-list-item.e-active.e-hover > .e-text-content .e-icon-collapsible, .e-treeview .e-list-item.e-active.e-hover > .e-text-content .e-icon-expandable, .e-treeview .e-list-item.e-active.e-node-focus > .e-text-content .e-icon-collapsible, .e-treeview .e-list-item.e-active.e-node-focus > .e-text-content .e-icon-expandable {
    background-color: var(--color-focused-list-bg);
    color: var(--color-focused-list-text);
}


.e-dropdownbase .e-list-item.e-item-focus,
.e-dropdownbase .e-list-item.e-active,
.e-dropdownbase .e-list-item.e-active.e-hover,
.e-dropdownbase .e-list-item.e-hover {
    background-color: var(--color-focused-list-bg);
    color: var(--color-focused-list-text);
}
.e-treeview .e-list-item.e-active > .e-fullrow {
    background-color: var(--color-focused-list-bg);
    border-color: var(--color-focused-list-bg);
    color: var(--color-focused-list-text);
}

.e-treeview .e-list-item.e-active.e-hover > .e-fullrow,
.e-treeview .e-list-item.e-active.e-node-focus > .e-fullrow {
    background-color: var(--color-focused-list-bg);
    border-color: var(--color-focused-list-bg);
    color: var(--color-focused-list-text);
}

/*Increase font size of list item text*/
.e-listview .e-list-item .e-list-text {
    font-size: 18px;
    line-height: 1.5;
}

/* Adjust the checkbox frame to ensure the tick is centered */
.e-listview .e-checkbox-wrapper .e-frame {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center align vertically */
    justify-content: center; /* Center align horizontally */
    width: 20px; /* Ensure consistent width */
    height: 20px; /* Ensure consistent height */
    font-size: 14px; /* Adjust font size for the tick */
}

.e-listview .e-list-item.e-focused {
    color: var(--color-focused-list-text);
    background-color: var(--color-focused-list-bg);
}

.e-listview .e-list-item.e-hover.e-active.e-checklist {
    color: red;
    background-color: red;
}

.e-checkbox-wrapper .e-frame.e-check,
.e-css.e-checkbox-wrapper .e-frame.e-check {
    background-color: var(--color-input-bg);
    border-color: var(--color-input-bg);
}

.e-listview .e-list-item.e-focused .e-checkbox-wrapper .e-frame.e-check,
.e-listview .e-list-item.e-focused .e-css.e-checkbox-wrapper .e-frame.e-check {
    color: var(--color-input-bg);
}

.form-check-input:checked {
    background-color: var(--color-input-bg);
    border-color: var(--color-input-bg);
}

/* Notification Status Classes */
.status-pending-approval {
    color: var(--color-pending-approval); /* Orange */
    font-weight: bold;
}

.status-approved {
    color: var(--color-approved); /* LimeGreen */
    font-weight: bold;
}

.status-rejected {
    color: var(--color-rejected); /* Red */
    font-weight: bold;
}

.status-scheduled {
    color: var(--color-scheduled); /* LimeGreen */
    font-weight: bold;
}

.status-sent {
    color: var(--color-sent); /* Dark Green */
    font-weight: bold;
}

.status-failed {
    color: var(--color-failed); /* Red */
    font-weight: bold;
}

.status-cancelled {
    color: var(--color-cancelled); /* Gray */
    font-weight: bold;
}

.status-expired {
    color: var(--color-expired); /* Brown */
    font-weight: bold;
}

.status-retry {
    color: var(--color-retry); /* Orange */
    font-weight: bold;
}

.status-in-progress {
    color: var(--color-in-progress); /* Blue */
    font-weight: bold;
}

.full-width-textarea {
    width: 100% !important; /* Ensure it spans the full width */
    box-sizing: border-box; /* Include padding and border in width calculation */
    resize: none; /* Prevent manual resizing of the text area */
}

.logo-image {
    width: 60px;
    border-radius: 0px;
}

/* Skeleton KANBAN BELOW styles */

/* Header Skeleton */
.skeleton-kanban-header {
    margin-bottom: 20px; /* Space below the header skeleton */
    background-color: var( --color-skeleton-kanban-header-bg ); /* Light grey shimmer effect */
    border-radius: 4px;
    height: 30px; /* Match header height */
    width: 30%; /* Match header width */
}

/* Kanban Columns Container */
.skeleton-kanban-columns {
    display: flex; /* Horizontal layout */
    justify-content: space-between; /* Even spacing between columns */
    gap: 20px; /* Space between columns */
    align-items: stretch; /* Ensure columns align evenly */
    margin-top: 20px; /* Add space above the columns */
}

/* Individual Column */
.skeleton-kanban-column {
    flex: 1; /* Ensure equal width across columns */
    display: flex; /* Stack items within the column */
    flex-direction: column;
    gap: 10px; /* Space between cards in a column */
    min-width: 220px; /* Maintain minimum width for responsiveness */
}

/* Column Header Skeleton */
.skeleton-kanban-column-header {
    background-color: var(--color-skeleton-kanban-header-bg);
    height: 20px; /* Match actual column header height */
    border-radius: 4px;
    margin-bottom: 10px; /* Space below the column header */
    width: 80%; /* Match actual column header width */
}

/* Card Skeleton */
.skeleton-kanban-card {
    background-color: var(--color-skeleton-kanban-header-bg);
    border-radius: 8px;
    height: 50px; /* Match actual card height */
    margin-bottom: 10px; /* Space below each card */
    width: 100%; /* Full width of the column */
}

/* Header Cards Skeleton */
.skeleton-header-cards {
    display: flex; /* Horizontal layout for header cards */
    justify-content: space-between; /* Evenly distribute cards */
    gap: 20px; /* Space between header cards */
    flex-wrap: nowrap; /* Keep cards in a single row */
    overflow-x: auto; /* Allow horizontal scrolling if cards overflow */
    margin-bottom: 20px; /* Space below the header cards section */
}

/* Individual Status Card */
.skeleton-status-card {
    flex: 1; /* Distribute evenly among available space */
    display: flex;
    flex-direction: column; /* Stack elements within the card */
    position: relative;
    padding: 20px; /* Space inside the card */
    border-radius: 8px;
    background-color: var(--color-skeleton-kanban-status-bg);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    gap: 10px; /* Space between elements inside the card */
    min-width: 220px; /* Maintain a minimum width */
}

/* Skeleton Styles for Count */
.skeleton-status-card-count {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: var(--color-skeleton-kanban-status-icon-bg);
    border-radius: 4px;
    height: 24px;
    width: 30px;
}

/* Skeleton Styles for Icon */
.skeleton-status-card-icon {
    background-color: var(--color-skeleton-kanban-status-icon-bg);
    border-radius: 50%; /* Circular shape */
    height: 50px;
    width: 50px;
}

/* Skeleton Styles for Status Text */
.skeleton-status-card-text {
    background-color: var(--color-skeleton-kanban-status-icon-bg);
    border-radius: 4px;
    height: 20px;
    width: 120px;
}

/* Skeleton Styles for Descriptions */
.skeleton-status-card-description {
    background-color: var(--color-skeleton-kanban-status-icon-bg);
    border-radius: 4px;
    height: 14px;
    margin-bottom: 5px; /* Space below each description */
}

    .skeleton-status-card-description:last-of-type {
        width: 70%; /* Adjust width for the last description */
    }

/* Skeleton styles for header cards container */
.header-cards {
    display: flex; /* Horizontal layout for header cards */
    justify-content: space-between; /* Evenly distribute cards */
    gap: 20px; /* Space between header cards */
    flex-wrap: nowrap; /* Prevent wrapping into multiple rows */
    overflow-x: auto; /* Allow scrolling if cards overflow */
    margin-bottom: 20px; /* Space below the header cards container */
}

/* Skeleton style for each header card */
.skeleton-header-card {
    background-color: var( --color-skeleton-kanban-header-bg ); /* Grey skeleton background */
    border-radius: 8px; /* Rounded corners for card */
    flex: 1; /* Ensure equal spacing across all cards */
    min-width: 220px; /* Minimum width for responsiveness */
    max-width: 25%; /* Maximum width per card */
    height: 100px; /* Fixed height for all header cards */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/*.e-toolbar-item:hover{
    background-color:red
}*/

/* Default toolbar button style */
.e-toolbar-item .e-btn {
    background-color: var( --color-toolbar-button-bg ) !important; /* Default background color */
    color: var(--color-toolbar-button-text) !important; /* Default text color */
    border-radius: 4px; /* Optional: add rounded corners */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
    border: none; /* Remove any border if needed */
}

    /* Hover state for toolbar buttons */
    .e-toolbar-item .e-btn:hover {
        background-color: var( --color-button-primary-bg ) !important; /* Hover background color */
        color: var(--color-button-primary-text) !important; /* Hover text color */
    }

    /* Active (focused or clicked) state for toolbar buttons */
    .e-toolbar-item .e-btn:active,
    .e-toolbar-item .e-btn:focus {
        background-color: var( --color-button-primary-bg ) !important; /* Active background color */
        color: var(--color-button-primary-text) !important; /* Active text color */
        outline: none; /* Remove focus outline if unwanted */
    }

/* Default style for buttons with e-danger */
/*.e-toolbar-item.e-danger .e-btn {
    background-color: #F8F9FA !important;*/ /* Default background color */
/*color: red !important;*/ /* White text for contrast */
/*border-radius: 4px;*/ /* Optional rounded corners */
/*transition: all 0.3s ease;*/ /* Smooth transition for hover effect */
/*}*/

/* Hover state for buttons with e-danger */
.e-toolbar-item.e-danger .e-btn:hover {
    background-color: darkred !important; /* Darker red on hover */
    color: white !important; /* Keep text white */
}

/* Active or focus state for buttons with e-danger */
.e-toolbar-item.e-danger .e-btn:active,
.e-toolbar-item.e-danger .e-btn:focus {
    background-color: var( --template-hover-red ) !important; /* Maroon background for active state */
    color: white !important; /* Keep text white */
    outline: none; /* Remove focus outline */
}

.main-treeview .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-size: 18px;
    margin-right: 8px;
}

.mobile-card {
    width: 22rem;
}

.pushed-up {
    margin-top: -10vh;
}

.hub-image-small {
    max-width: 80px; /* Adjust the maximum width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper layout */
    margin: 0 auto; /* Center the image horizontally */
}

.version-header-text {
    font-size: 0.8rem;
    margin: 0;
    color: var(--color-app-version-text);
}

.version-header {
    background-color: var(--color-app-version-bg);
    padding: 5px 10px;
    border-radius: 10px;
}

.error-text {
    color: var(--helpfaq-error-text);
    font-size: 0.8rem;
}

.e-skeleton.e-skeleton-text,
.e-skeleton.e-skeleton-square,
.e-skeleton.e-skeleton-rectangle,
.e-skeleton.e-skeleton-circle {
    background-color: var(--color-skeleton-text-bg);
    color: var(--color-skeleton-text-text);
}

.unauthorized-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.unauthorized-image img {
    width: 250px;
    height: auto;
    max-height: 220px;
    margin-right: 20px;
}

/* Updated Content */
.unauthorized-content {
    flex-grow: 1;
}

.unauthorized-title {
    font-size: 70px;
    font-weight: bold;
    margin-bottom: 5px;
}

.unauthorized-subtitle {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.unauthorized-text {
    font-size: 14px;
    margin-bottom: 15px;
}

.unauthorized-options ul {
    list-style: none;
    padding-left: 0;
}

    .unauthorized-options ul li {
        font-size: 14px;
        margin-bottom: 5px;
    }

.unauthorized-link {
    color: var(--color-link);
    font-weight: bold;
    text-decoration: none;
}

    .unauthorized-link:hover {
        text-decoration: underline;
    }

.content-container {
    overflow-y: auto;
    height: 100vh;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .unauthorized-card {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .unauthorized-image img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 1400px) {
    .page-container {
        position: fixed;
    }

    .content-container {
        margin-left: 80px;
    }
}

@media (max-width: 1200px) {
    .page-header {
        border-radius: 25px;
        width: 95%;
        padding: 20px 5%;
        height: 20vh;
        margin: 30px auto;
    }

    .pushed-up {
        margin-top: -6vh;
    }

    .card-container {
        margin-top: -6vh;
        width: 85vw;
        margin-right: auto;
        margin-left: auto;
    }

    .pushed-down {
        margin-top: 0vh;
    }

    .dashboard-panel-icon {
        font-size: 50px !important; /* Set icon size to make it larger */
        margin-bottom: 0;
    }
    /* Description Text */
    .dashboard-title {
        font-size: 1.1rem !important; /* Standard readable font size */
    }

    .dashboard-description {
        font-size: 0.7rem !important; /* Standard readable font size */
        margin-bottom: 5px !important; /* Space below the text */
    }

    .hub-image-small {
        max-width: 100px; /* Adjust the maximum width */
        height: 50px; /* Maintain aspect ratio */
    }

    .generic-card-full {
        width: 100%;
        padding: 20px;
        margin: 0 auto;
    }

    .generic-card2 {
        width: 100%;
    }

    .ignore-margin-on-mobile {
        margin: 0;
        padding: 0;
    }
}