@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* background: url('/img/background.jpg') no-repeat center center fixed;  */
    /* background: url('/img/portallogo.png') no-repeat center center fixed;  */

    background-size: cover;

}

/* Add to your CSS */
.e-grid .e-row:hover {
    background-color: #f8f9fa;
    transition: background 0.2s;
}

.custom-dialog .modal-content {
    border-radius: 10px;
    border: .5px solid #00ffff;
    /* Neon cyan border */
    box-shadow:
        0 0 16px 4px #00ffff99,
        /* Neon glow */
        2 2px 24px #151e1e;
    /* Subtle drop shadow */
    background: rgba(30, 34, 44, 1);
    /* backdrop-filter: blur(2px); */
    transition: box-shadow 0.3s, border-color 0.3s;
}

.custom-dialog .modal-header,
.custom-dialog .modal-footer {
    border: none;
    background: transparent;
}



.client-highlight {
    border-left: 5px solid #198754;
    background: linear-gradient(90deg, #23272f 80%, #19875422 100%);
    position: relative;
}

.client-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #198754 0%, #43e97b 100%);
    border-radius: 5px 0 0 5px;
}

.custom-dialog .modal-body {
    color: #e0e0e0;
}

/* this is used in hierarchy */
.neon-border {
    border: 2px solid #00ffff;
    box-shadow: 0 0 6px 2px #00ffff66, 0 0 12px 4px #00ffff33, 2px 2px 2px #151e1e;
    background: #23272f;
}

.neon-border-glow {
    box-shadow: 0 0 12px #00ffff, 0 0 24px #00ffff44;
    border: 2px solid #00ffff55;
}

header.p-3.bg-dark {
    background: rgba(20, 20, 30, 0.85) !important;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #f7f7f8 !important;
    font-weight: bold;

    border-bottom: 2px solid #6696ff;
    background: rgba(255, 255, 0, 0.05);
    border-radius: 0px;
}

.nav-link {
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-link:hover {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.08);
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.12);
}

.form-control-lg {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
}

.main {
    background: transparent;
}

.container {


    /*background: rgba(0, 0,0, 0.5) !important; */
    /* dark with 50% transparency */
    width: 100% !important;
    padding-left: 0 !important;
    max-width: 100% !important;
    padding-right: 0 !important;
}

*/ .top-row {
    background-color: transparent;
    border: 0px;
}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}




.blazor-error-boundary::after {
    content: "An error has occurred."
}

.bg-dark {
    --bs-bg-opacity: .7 !important;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.bg-light {
    --bs-bg-opacity: 0.5 !important;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.bg-primary {
    --bs-bg-opacity: 0.2 !important;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-secondary {
    --bs-bg-opacity: 0.2 !important;
    background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-success {
    --bs-bg-opacity: 0.1 !important;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

.bg-warning {
    --bs-bg-opacity: 0.2;
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

.card {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

.card:hover {

    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.10), 0 4px 10px rgba(0, 0, 0, 0.06);
}



.form-check-input {
    /* background-color: hsla(0, 0%, 53%, 0.99); */
    border-color: rgba(192, 192, 192, 0.5);
}


.saving-dialog .e-dlg-content {
    background: rgba(20, 20, 20, .5) !important;
    box-shadow: 0 0 4px 4px hsla(205, 94%, 67%, 0.2), 0 0 8px 8px rgba(243, 252, 252, 0.2) !important;
}

@media (min-width: 1920px) {

    .saving-dialog .e-dlg-content,
    .saving-dialog .e-dialog {
        width: 80% !important;
        max-width: 80% !important;

    }
}

#editModeSwitch:checked {
    background-color: #198754 !important;
    /* Bootstrap green */
    border-color: #198754 !important;
}


/* css for product*/
.product-image {
    max-height: 400px;
    object-fit: cover;
}


.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}



.drag-drop-zone {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #CFCFCF;

    background-color: #FFFFFF;
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
}

.drag-drop-zone-inner {

    border-radius: 6px;
    margin: 5%;
    box-sizing: border-box;
    border: 1px dashed #DADADA;
    position: relative;

}

.drag-drop-zone:hover {
    background-color: #f5f5f5;
}

.drag-drop-zone input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.hidden-input {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    cursor: hand;
}

.image-upload-label {

    color: white;
}

/* Hide arrows for number input */
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner[type="number"] {
    -moz-appearance: textfield;
}



/* ---- reset ---- */

body {
    margin: 0;
    font: normal 75% Arial, Helvetica, sans-serif;
}



/* Simulated neon glow */
.chart-line {
    stroke: #FFD700;
    /* Neon yellow */
    stroke-width: 13px;
    filter: drop-shadow(0px 0px 5px #FFD700);
    /* Glow effect */
}


/* ---- particles.js container ---- */

#particles-js {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    /* Background color */
}


.e-contextmenu-container {
    z-index: 99999999 !important;
}

/* Center the input text inside the DatePicker */
.e-custom-datepicker-center .e-input,
.e-custom-datepicker-center input {
    text-align: center;
}




/* High-contrast validation summary for dark UI */

/* Improve field-level outline colors but avoid harsh red text */
.validation-message {
    color: #ffb4b4;
    /* softer, readable on dark */
}

.invalid {
    outline: 1px solid #ff6b6b;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}


/* Wizard chips (match OrderCreate look-and-feel) */
.stage-chip {
    border: 1px solid #3a3f44;
    background: #1e2227;
    color: #cfd3d7;
    border-radius: 999px;
    padding: .4rem .9rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.stage-chip .index {
    background: #2b3036;
    color: #9fb4ff;
    border-radius: 999px;
    width: 24px;
    height: 24px;
    font-size: .8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stage-chip.active {
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .2);
}

/* Tighter label spacing above inputs */
/* .form-label,
label {
    margin-bottom: .25rem;
} */



/* Order stage navigation */
.order-stage-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.order-stage-nav .stage-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .75rem .45rem .55rem;
    border: 1px solid var(--bs-border-color, #444);
    border-radius: 999px;
    background: #1f1f1f;
    color: #adb5bd;
    font-size: .75rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: .15s;
}

.order-stage-nav .stage-chip .index {
    background: #343a40;
    color: #ced4da;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 600;
}

.order-stage-nav .stage-chip.completed {
    border-color: #198754;
    color: #198754;
}

.order-stage-nav .stage-chip.completed .index {
    background: #198754;
    color: #fff;
}

.order-stage-nav .stage-chip.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25);
}

.order-stage-nav .stage-chip.active .index {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.order-stage-nav .stage-chip:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.order-stage-nav .stage-chip:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

.order-header {
    margin-top: -10px;
}

.order-icon {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: linear-gradient(145deg, rgba(25, 135, 84, .2), rgba(13, 110, 253, .15));
    color: #fff;
}

.order-icon i {
    font-size: 34px;
    line-height: 1;
}

.order-meta .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .6rem;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .04);
    color: #e9ecef;
    border-radius: 999px;
    font-size: .85rem;
}

.order-meta .meta-chip .label {
    color: #adb5bd;
}

.order-meta .meta-chip .value {
    font-weight: 600;
    color: #fff;
}



/* Custom styled checkboxes START */

/* Remove Bootstrap's default checkmark for our custom toggle */
.form-check-input.custom-checkbox,
.form-check-input.custom-checkbox:checked,
.form-check-input.custom-checkbox:indeterminate {
    background-image: none !important;
}


.custom-checkbox {
    width: 3em !important;
    height: 1.5em !important;
    background-color: #495057 !important;
    border: 2px solid #6c757d !important;
    border-radius: 0.75em !important;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Remove any default checkmark */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.custom-checkbox:checked {
    background-color: #198754 !important;
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* The sliding circle - no checkmark, just a clean white circle */
.custom-checkbox::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.2em;
    transform: translateY(-50%);
    width: 1.1em;
    height: 1.1em;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* No background-image or other checkmark content */
}

.custom-checkbox:checked::before {
    left: 1.7em;
    background-color: white;
}

/* Label styling */
.form-check-label {
    color: #e9ecef;
    font-weight: 500;
    margin-left: 0.5rem;
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: center;
    min-height: 1.5rem;
}

/* Hover effects */
.custom-checkbox:hover {
    border-color: #198754;
}

.custom-checkbox:focus {
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    outline: none;
}

/* Optional: also neutralize the switch variant dot Bootstrap adds */
.form-switch .form-check-input.custom-checkbox {
    background-image: none !important;
}

/* Custom styled checkboxes END */


/* for styling JSON data START*/
/* Retro terminal JSON block */
.json-block {
    background: radial-gradient(circle at 20% 15%, #0d120d 0%, #050705 70%) !important;
    border: 1px solid #0f3d1f;
    border-radius: 4px;
    padding: .75rem .9rem;
    font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: .75rem;
    line-height: 1.2rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 60vh;
    overflow: auto;
    color: #00ff6a;
    /* text-shadow: 0 0 2px #00ff6aca, 0 0 2px #00994557; */
    box-shadow: 0 0 6px #042d14 inset, 0 0 8px rgba(0, 255, 120, 0.15);
    position: relative;
}

.json-block-fail {
    border-color: #5a1414 !important;
    box-shadow:
        0 0 6px #250606 inset,
        0 0 10px rgba(255, 40, 40, 0.25),
        0 0 14px rgba(255, 20, 20, 0.18);
    animation: terminalFailPulse 5s ease-in-out infinite;
}

@keyframes terminalFailPulse {

    0%,
    100% {
        box-shadow:
            0 0 6px #250606 inset,
            0 0 10px rgba(255, 40, 40, 0.25),
            0 0 14px rgba(255, 20, 20, 0.18);
    }

    50% {
        box-shadow:
            0 0 10px #3d0909 inset,
            0 0 16px rgba(255, 70, 70, 0.35),
            0 0 22px rgba(255, 50, 50, 0.28);
    }
}

/* Subtle horizontal scan line effect */
.json-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(to bottom,
            rgba(0, 255, 120, 0.06) 0px,
            rgba(0, 255, 120, 0.06) 2px,
            transparent 2px,
            transparent 4px);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .35;
}

/* Slight animated glow pulse (optional) */
@keyframes terminalPulse {

    0%,
    100% {
        box-shadow: 0 0 6px #323d37 inset, 0 0 8px rgba(0, 255, 120, 0.15);
    }

    50% {
        box-shadow: 0 0 10px #064024 inset, 0 0 14px rgba(0, 255, 140, 0.25);
    }
}

.json-block {
    animation: terminalPulse 6s ease-in-out infinite;
}

/* Scrollbar tweak */
.json-block::-webkit-scrollbar {
    width: 8px;
}

.json-block::-webkit-scrollbar-track {
    background: #061006;
}

.json-block::-webkit-scrollbar-thumb {
    background: #0d522b;
    border-radius: 4px;
}

.json-block::-webkit-scrollbar-thumb:hover {
    background: #12733b;
}

/* for styling JSON data END*/


/* High-contrast validation summary for dark UI */
.form-errors.validation-summary {
    background: rgba(255, 77, 79, 0.12);
    /* subtle red tint */
    font-size: 2.1rem;
    border: 1px solid #ff6b6b;
    /* readable border */
    color: #ffecec;
    /* light text on dark */
    border-radius: 8px;
    padding: .75rem .9rem;
}

.form-errors.validation-summary ul {
    list-style: none !important;
    padding-left: 0;
}

.form-errors.validation-summary li {
    margin: .15rem 0;
    padding-left: 0;
}

.modal {
    /* width: 90vw !important;
  max-width: 90vw !important; */
    margin: 0 auto !important;
    /* Centers the modal horizontally */
}

.modal-dialog {
    width: 90vw !important;
    max-width: 90vw !important;
    margin: 0 auto !important;
    /* Centers the modal horizontally */
}

/* UserInfo Component Styles */
/* User Info Wrapper - Context and Fixed Width */
.user-info-wrapper {
    position: relative;
    width: 320px;
    /* Fixed width for button and panel */
    z-index: 1050;
    transition: all 0.3s ease;
    margin-top: 3px;
    /* Optical alignment adjustment */
}

/* Base Card Styles: Matching Dashboard .glass-panel */
.user-info-card {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    overflow: hidden;
    width: 100%;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.85) 0%, rgba(30, 34, 44, 0.95) 100%);
    /* Subtle dark gradient */
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Collapsed State */
.user-info-card.collapsed {
    max-height: 40px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    /* Match nav button base */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Match nav button border */
}

/* Hover State: Match Nav Button Hover Glow */
.user-info-card.collapsed:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Soft white glow */
    transform: translateY(-2px);
}

.user-info-card.collapsed .user-info-header {
    padding: 0.5rem 1rem;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.user-info-card.collapsed .user-info-title {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Expanded State: Match Nav Button Active Glow + Glass Panel */
.user-info-card.expanded {
    position: relative;
    max-height: 500px;
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.9) 0%, rgba(30, 34, 44, 0.98) 100%);
    /* Darker gradient for expansion */
    border: 0.5px solid rgba(13, 202, 240, 0.4);
    /* Cyan border tint */
    box-shadow: 0 0 25px rgba(13, 202, 240, 0.15);
    /* Neon cyan glow */
    z-index: 1060;
}

.user-info-card.expanded .user-info-header {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info-header {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info-chevron {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.user-info-card.expanded .user-info-chevron {
    transform: rotate(180deg);
}

.user-info-card.expanded .user-info-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.user-info-title {
    font-size: 0.95rem;
    font-weight: 500;
    /* Match nav link */
    color: rgba(255, 255, 255, 0.75);
    /* Match nav link opacity */
    letter-spacing: 0.3px;
}

.user-info-body {
    padding: 1.5rem;
    /* Match dashboard card-body spacing */
    color: #fff;
}

.user-info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.user-info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    /* Muted label */
    margin-bottom: 0.25rem;
}

.user-info-value {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    word-break: break-word;
}

.user-info-prominent {
    font-size: 1.1rem;
    /* Slightly larger for emphasis */
    font-weight: 600;
    color: #fff;
}

.user-info-guid {
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
    color: #adb5bd;
}

.user-info-guid-input {
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
    color: #adb5bd;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    flex: 1;
    cursor: pointer;
}

.user-info-guid-input:focus {
    outline: none;
    border-color: rgba(13, 110, 253, 0.5);
    background: rgba(13, 110, 253, 0.1);
}

.user-info-guid-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-info-copy-btn {
    background: rgba(13, 110, 253, 0.15);
    border: 1px solid rgba(13, 110, 253, 0.3);
    color: #5ea3ff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
}

.user-info-copy-btn:hover {
    background: rgba(13, 110, 253, 0.25);
    border-color: rgba(13, 110, 253, 0.5);
    color: #80b8ff;
    transform: translateY(-1px);
}

.user-info-copy-btn:active {
    transform: translateY(0);
}

.user-info-copy-success {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(25, 135, 84, 0.15);
    border: 1px solid rgba(25, 135, 84, 0.3);
    border-radius: 4px;
    color: #75b798;
    font-size: 0.8rem;
    text-align: center;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    85% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}



/* Custom card shadow: soft, modern, and layered */
.card,
.card.shadow,
.card.shadow-sm,
.card.shadow-lg {
    box-shadow:
        0 2px 8px 0 rgba(60, 72, 88, 0.10),
        0 1.5px 4px 0 rgba(60, 72, 88, 0.08) !important;
    border-radius: 1rem;
    border: 1px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    /* Removed broken background-image gradient that forced white background */
    /* Subtle border gradient */
}

.card {
    /* Ensures the border gradient is visible */
    background-clip: padding-box, border-box;
    background-origin: border-box;
}

.export-toolbar-btn {
    /* background: #eaf7ea; */
    color: #217346;
    border-radius: 1px;
    font-weight: 600;
}

.export-toolbar-btn .fas.fa-file-excel {
    color: #217346;
}