@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

input, textarea {
    font-size: 16px !important;
}

.container-wide {
    max-width: calc(100vw - 55px) !important;
    height: calc(100vh - 36px) !important;
    overflow: auto;
    padding-bottom: 16px;
}

.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;*/
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

a {
    color: var(--kendo-color-on-app-surface);
}

body {
    font-family: var(--kendo-font-family);
    color: var(--kendo-color-on-app-surface);
    background-color: var(--kendo-color-app-surface);
    scrollbar-width: thin;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.identity-container {
    text-align: center;
    align-content: center;
    min-height: 100vh;
}


/* Should be replaced with theme specific primary-active or similar */
li.nav-item.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.sidebar-text {
    margin-left: 0.5rem;
}

.fa-fw {
    font-size: 12pt;
}


.k-orgchart-card-active {
    background-color: var(--kendo-color-success);
}

.details-pane .k-overlay {
    opacity: 0 !important;
}

.details-pane .k-window {
    width: 100%;
    max-height: 100vh;
    top: 0 !important;
    left: 0 !important;
    box-shadow: none;
    background-color: inherit;
}

    .details-pane .k-window .k-popup-edit-form .k-edit-form-container {
        width: 100%;
    }

    .details-pane .k-window .k-actions [ref-cancel-button] {
        display: none;
    }

a.nav-link, a.nav-link:hover, a.nav-link:visited, a.nav-link:active a {
    color: var(--kendo-color-on-app-surface);
}

.project-status-badge {
    padding: 0.25rem;
    border-radius: 3px;
    white-space: nowrap;
    color: #fff;
    height: fit-content;
}

.nav-link {
    transition: none;
}

.warning-dot {
    width: 8px;
    height: 8px;
    background-color: darkorange;
    border-radius: 100%;
}

.k-radio-list-horizontal, .k-radio-list.k-list-horizontal {
    gap: 0.75rem;
}

.text-danger {
    color: var(--kendo-color-error-active) !important;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
}


.k-grid td {
    white-space: nowrap;
    overflow: hidden;
}

.k-grid .k-grid-md td, .k-grid .k-grid-md .k-table-td, .k-grid-md td, .k-grid-md .k-table-td, .k-grid-md .k-table-th {
    padding-block: 2px;
    padding-inline: 5px;
}

.k-grid .k-grid-md .k-table-th, .k-grid-md .k-table-th {
    padding-block: 2px;
    padding-inline: 5px;
}

.k-grid td, .k-grid .k-table-td {
    white-space: nowrap;
}


.main-tab-strip > .k-tabstrip-items-wrapper {
    background-color: var(--kendo-color-base);
}

.k-checkbox-label {
    margin-right: 16px;
}

.k-input-value-text {
    display: flex;
    width: 100%
}

.k-list-item-text {
    display: flex;
    width: 100%;
}

.registration-price:hover {
    background-color: var(--kendo-color-base-subtle);
}

.overview-info-container {
    border: 1px solid var(--kendo-color-base-subtle);
    border-radius: 8px;
    padding: 16px;
}

.overview-chart-container {
    border: 1px solid var(--kendo-color-base-subtle);
    border-radius: 8px;
    padding: 0;
}

.registraitons-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    width: 54px;
    border-radius: 100%;
}

.primary-background {
    background-color: var(--kendo-color-primary);
}

.primary-subtle-background {
    background-color: var(--kendo-color-primary-subtle);
}

.success-background {
    background-color: var(--kendo-color-success);
}

.success-subtle-background {
    background-color: var(--kendo-color-success-subtle);
}

.secondary-background {
    background-color: var(--kendo-color-secondary);
}

.warning-background {
    background-color: var(--kendo-color-warning);
}

.alert-subtle-background {
    background-color: var(--kendo-color-error-subtle)
}

.app-surface-background {
    background-color: var(--kendo-color-app-surface);
}

.base-hover-background {
    background-color: var(--kendo-color-base-hover);
}

.dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    font-size: 8px;
}

.budget-tabel {
    border: 1px solid var(--kendo-color-border) !important;
    padding: 4px !important;
}

.k-popup .k-menu-group {
    background-color: var(--kendo-color-base);
}

.key-number {
    padding: 0px 4px;
    border-radius: 8px;
    font-size: 14px;
}

.disabled-color {
    background-color: var(--kendo-color-border);
}

.gauge-font {
    font-size: 14px;
}

.help-icon-container {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

    .help-icon-container:hover {
        background-color: var(--kendo-color-base-subtle-hover);
        cursor: pointer;
    }
/* Er angivet, da arcgauge har svært ved at alligne texten, hvis elementet skjules også vises. Alignment passer til dem der bliver brugt i overblik og budget */
.k-arcgauge-label {
    top: 22.5px !important;
}

.color-yellow {
    color: var(--kendo-color-warning);
}

.subscription-container {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid var(--kendo-color-primary);
    min-width: 250px;
}

.subscription-current-tier {
    background-color: var(--kendo-color-primary);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    width: fit-content;
    padding: 4px 16px;
}

.text-color-primary {
    color: var(--kendo-color-primary);
}


.text-color-warning {
    color: var(--kendo-color-warning);
}

.primary-round-border {
    border: 1px solid var(--kendo-color-primary);
    padding: 0 4px;
    border-radius: 8px;
}

.reg-multiplier-dot {
    padding: 1px 4px;
    border-radius: 100%;
    background-color: var(--kendo-color-primary-subtle-active);
    margin-right: 4px;
}

.banner-warning {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 26px;
    background-color: var(--kendo-color-warning);
    position: absolute;
    z-index: 1;
    padding: 0 8px;
}

.close-banner {
    padding: 0 8px;
    cursor: pointer;
    border-radius: 8px;
}

    .close-banner:hover {
        background-color: var(--kendo-color-warning-subtle-hover);
    }

.state-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.k-tabstrip-content:focus, .k-tabstrip-content.k-state-focused, .k-tabstrip > .k-content:focus, .k-tabstrip > .k-content.k-state-focused {
    outline: none;
}

.background-series-a {
    background-color: var(--kendo-color-series-a);
}

.background-series-b {
    background-color: var(--kendo-color-series-b);
}

.background-series-c {
    background-color: var(--kendo-color-series-c);
}

.background-series-d {
    background-color: var(--kendo-color-series-d);
}

.background-series-e {
    background-color: var(--kendo-color-series-e);
}

.background-series-f {
    background-color: var(--kendo-color-series-f);
}

.projectcard-sub-grid {
    background-color: var(--kendo-color-primary-sublte);
}

.project-card-btn {
    height: 35px;
    width: 35px;
}

#projectCardGrid, #projectCardGrid :is(div, tr, thead, .k-group-footer td, tfoot) {
    background-color: transparent !important;
}

#ProjectCardInvoicesGrid, #ProjectCardInvoicesGrid :is(div, tr, thead, .k-group-footer td, tfoot) {
    background-color: transparent !important;
}

.k-toolbar .k-button-group .k-button-solid-base.k-selected {
    color: var(--kendo-color-on-primary);
    background-color: var(--kendo-color-primary);
    border-color: var(--kendo-color-primary);
}

#invoicingWindow {
    max-height: calc(100vh - 56px) !important;
}

#projectTreeList .k-grid-content tr:hover {
    cursor: pointer;
}

#projectTreeList th.sticky-actions-col,
#projectTreeList td.sticky-actions-col {
    position: sticky;
    right: 0;
    z-index: 2;
    background-color: transparent;
}

    #projectTreeList td.sticky-actions-col .k-button,
    #projectTreeList td.sticky-actions-col .k-grid-edit,
    #projectTreeList td.sticky-actions-col .k-grid-update,
    #projectTreeList td.sticky-actions-col .k-grid-cancel {
        opacity: 0;
        visibility: hidden;
        transition: opacity 120ms ease, visibility 0s linear 120ms;
    }

#projectTreeList .k-table-tbody > tr:hover td.sticky-actions-col .k-button,
#projectTreeList .k-treelist-content tbody > tr:hover td.sticky-actions-col .k-button {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 120ms ease, visibility 0s;
}

.notification-container {
    overflow-x: hidden;
    padding: 16px;
    min-height: 400px;
    max-height: 400px;
    width: 300px;
    background-color: var(--kendo-color-base);
    position: absolute;
    right: 0;
    box-shadow: 0px 8px 10px 0 rgba(0,0,0,.2),0px 6px 30px 0 rgba(0,0,0,.12),0px 16px 24px 0 rgba(0,0,0,.14);
    z-index: 4;
    display: flex;
    flex-direction: column;
}

.notification-item {
    display: flex;
    padding: 0.5rem;
    border-bottom: 1px solid var(--kendo-color-base-subtle);
    justify-content: space-between;
    max-height: 80px;
}

    .notification-item .timestamp {
        font-size: 0.75rem;
        color: var(--kendo-color-base-subtle);
    }

.notification-container p {
    word-break: break-all;
    hyphens: auto;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.notification-btns {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-left: 4px;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    height: 18px;
    width: 18px;
    border: none;
    font-size: 12px;
    background-color: transparent;
}

    .icon-btn:hover {
        opacity: 0.8;
    }

.pill-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    height: fit-content;
    width: fit-content;
    border: none;
    background-color: transparent;
    color: var(--kendo-color-on-app-surface);
    font-size: 12px;
}

    .pill-icon-btn:hover {
        opacity: 0.8;
    }


.filter-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 10px;
}

.vertical-divider {
    width: 1px;
    background-color: var(--kendo-color-border);
}

.width-max-content {
    width: max-content;
}

.report-filter {
    overflow-x: auto;
}

.report-filter-btn {
    display: flex;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    position: fixed;
    bottom: 16px;
    right: 16px;
    border: none;
    background-color: var(--kendo-color-base);
    color: var(--kendo-color-primary);
    font-size: 16px;
}

.advanced-filter-container {
    display: flex;
    align-items: center;
    text-align: center
}

.multiselect-component .k-chip,
.multiselect-component .k-button {
    max-width: 150px;
}

.multiselect-component .k-chip-content,
.multiselect-component .k-button-text {
    display: inline-block;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ms-overflow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: var(--kendo-color-primary);
    margin-left: 6px;
    cursor: pointer;
    user-select: none;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mw-300 {
    max-width: 300px;
}

:root {
    --app-radius: 20px;
    --app-header-height: 54px;
    --app-bottom-nav-height: 74px;
    --app-shadow-xs: 0 1px 2px rgba(0,0,0,0.18);
    --app-shadow-sm: 0 3px 8px rgba(0,0,0,0.22);
    --app-shadow-md: 0 12px 30px rgba(0,0,0,0.35);
    --app-text-muted: rgba(255,255,255,0.6);
    --app-placeholder: rgba(255,255,255,0.4);
    --app-primary-soft: rgba(255,255,255,0.08);
    --app-hover-bg: rgba(255,255,255,0.05);
}

/* Base */

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--kendo-color-app-surface);
    color: var(--kendo-color-on-base);
    font-family: var(--kendo-font-family);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Shell */

.app-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin: 0 auto;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Top spacing to respect Dynamic Island / notch */

.app-top-safe-space {
    height: max(12px, env(safe-area-inset-top));
    flex-shrink: 0;
}

/* Header */

.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px 8px 16px;
    flex-shrink: 0;
}

.app-header-centered {
    min-height: var(--app-header-height);
}

.app-header-pill {
    min-height: 52px;
    max-width: 260px;
    width: 100%;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--kendo-color-surface);
    border: 1px solid var(--kendo-color-border);
    box-shadow: var(--app-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.brand-text {
    min-width: 0;
}

.brand-title {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--kendo-color-on-surface);
}

.brand-subtitle {
    margin: 2px 0 0 0;
    font-size: 0.72rem;
    line-height: 1.1;
    color: var(--app-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-pill-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--kendo-color-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content */

.main-content {
    flex: 1;
    padding: 8px 16px calc(var(--app-bottom-nav-height) + 24px) 16px;
}

.content-card {
    background: var(--kendo-color-surface);
    border: 1px solid var(--kendo-color-border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--app-shadow-sm);
}

/* Bottom nav scrim */

body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    z-index: 998;
    background: linear-gradient( to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.35) 80%, rgba(0,0,0,0.55) 100% );
}

.page-title {
    margin-bottom: 6px;
    font-size: 1.4rem;
    font-weight: 800;
}

.page-subtitle {
    margin-bottom: 18px;
    color: var(--app-text-muted);
    font-size: 0.95rem;
}

/* Bottom nav */

/* Bottom nav */

.bottom-nav-wrap {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom) + 14px);
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    pointer-events: none;
    padding: 8px 12px 0 12px;
    box-sizing: border-box;
    z-index: 999;
}

.bottom-nav {
    pointer-events: auto;
    height: var(--app-bottom-nav-height);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 10px;
    border-radius: 26px;
    background: var(--kendo-color-surface);
    border: 1px solid var(--kendo-color-border);
    box-shadow: var(--app-shadow-md);
}

.nav-link-mobile {
    position: relative;
    height: 100%;
    display: block;
    color: var(--app-text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-link-mobile-inner {
    height: 100%;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background-color .2s ease, color .2s ease;
}

.nav-link-mobile .icon {
    line-height: 1;
    font-size: 1.2rem;
}

.nav-link-mobile.active .nav-link-mobile-inner {
    background: var(--kendo-color-primary);
    color: var(--kendo-color-on-primary);
    box-shadow: var(--app-shadow-xs);
}

.nav-link-mobile:hover .nav-link-mobile-inner {
    background: var(--app-hover-bg);
    color: var(--kendo-color-on-surface);
}

/* Visually separate the utility/profile button from the three create actions */

.bottom-nav .nav-link-mobile:last-child {
    padding-left: 14px;
    margin-left: 6px;
}

    .bottom-nav .nav-link-mobile:last-child::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 32px;
        border-radius: 999px;
        background: linear-gradient( to bottom, transparent, rgba(255,255,255,0.38) 20%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.38) 80%, transparent );
        pointer-events: none;
    }

    .bottom-nav .nav-link-mobile:last-child.active .nav-link-mobile-inner {
        color: var(--kendo-color-on-primary);
    }


/* Buttons */

.btn,
.form-control,
.form-select {
    min-height: 48px;
    border-radius: 14px;
    font-size: 16px;
}

.btn {
    font-weight: 600;
}

.btn-primary {
    background: var(--kendo-color-primary);
    border: 1px solid var(--kendo-color-primary);
    color: var(--kendo-color-on-primary);
    box-shadow: var(--app-shadow-xs);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--kendo-color-primary);
        border-color: var(--kendo-color-primary);
        color: var(--kendo-color-on-primary);
        filter: brightness(1.05);
        box-shadow: var(--app-shadow-xs);
    }

.btn-secondary {
    background: var(--kendo-color-secondary);
    border: 1px solid var(--kendo-color-border);
    color: var(--kendo-color-on-secondary);
    box-shadow: var(--app-shadow-xs);
}

    .btn-secondary:hover,
    .btn-secondary:focus {
        background: var(--kendo-color-secondary);
        border-color: var(--kendo-color-border);
        color: var(--kendo-color-on-secondary);
        filter: brightness(1.05);
        box-shadow: var(--app-shadow-xs);
    }

/* Forms */

.form-control,
.form-select {
    background-color: var(--kendo-color-surface);
    border: 1px solid var(--kendo-color-border);
    color: var(--kendo-color-on-surface);
    box-shadow: var(--app-shadow-xs);
}

    .form-control::placeholder {
        color: var(--app-placeholder);
    }

    .form-control:focus,
    .form-select:focus {
        border-color: var(--kendo-color-primary);
        box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
    }

.form-label {
    color: var(--kendo-color-on-surface);
    font-weight: 600;
}

/* Generic content */

.card,
.list-group-item {
    background-color: var(--kendo-color-surface);
    border: 1px solid var(--kendo-color-border);
    border-radius: 16px;
    box-shadow: var(--app-shadow-xs);
}

.table {
    color: var(--kendo-color-on-surface);
}

    .table > :not(caption) > * > * {
        background-color: transparent;
        border-bottom-color: var(--kendo-color-border);
    }

.alert {
    border: 1px solid var(--kendo-color-border);
    box-shadow: var(--app-shadow-xs);
}

.alert-info {
    background-color: rgba(80,120,200,0.12);
}

.alert-success {
    background-color: rgba(60,180,120,0.12);
}

.alert-warning {
    background-color: rgba(240,180,80,0.12);
}

.alert-danger {
    background-color: rgba(220,80,80,0.12);
}

.text-muted {
    color: var(--app-text-muted) !important;
}

hr {
    border-color: var(--kendo-color-border);
}

footer {
    display: none;
}

@media (min-width: 768px) {
    .app-shell,
    .bottom-nav-wrap {
        max-width: 540px;
    }
}

a:hover {
    color: #fff;
}

#pull-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: calc(60px + env(safe-area-inset-top));
    transform: translateY(-100%);
    z-index: 9999;
    pointer-events: none;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.25); /* faint track */
    border-top-color: rgba(255,255,255,0.95); /* bright leading edge */
    border-radius: 50%;
    opacity: 0;
    transform: rotate(0deg) scale(0.85);
    will-change: transform, opacity;
}

    /* Active spinning */
    .spinner.active {
        animation: spin 0.8s linear infinite;
        opacity: 1;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.main-content {
    will-change: transform;
}

.content-card.editor-container {
    padding: 4px;
}

.editor-container .k-window {
    width: 100%;
    top: 0 !important;
    left: 0 !important;
    box-shadow: none;
    background-color: transparent;
    position: relative;
}

.editor-container .k-window .k-popup-edit-form .k-edit-form-container {
    width: 100%;
    min-width: 100%;
}

.editor-container .k-overlay {
    display: none !important;
}

.editor-container .k-button.k-button-md.k-rounded-md.k-button-solid {
    border-radius: 1em;
}

/* Row reset */

#registrationsGrid .registration-row > td {
    padding: 0;
    border-left: 0;
    border-right: 0;
}


/* Card layout */

#registrationsGrid .registration-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    min-height: 52px;
    transition: background-color .15s ease;
    -webkit-tap-highlight-color: rgba(0,0,0,0.05);
}

    #registrationsGrid .registration-card:hover {
        background: rgba(0,0,0,0.03);
    }


/* Left section */

#registrationsGrid .registration-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}


/* Icon */

#registrationsGrid .registration-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: transform .15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

#registrationsGrid .registration-card:hover .registration-icon {
    transform: scale(1.05);
}


/* Content */

#registrationsGrid .registration-content {
    flex: 1;
    min-width: 0;
}

#registrationsGrid .registration-headline {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

#registrationsGrid .registration-type {
    font-size: 13px;
    font-weight: 600;
}

#registrationsGrid .registration-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #8a8a8a;
}

#registrationsGrid .registration-description {
    margin-top: 2px;
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Right section */

#registrationsGrid .registration-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}


/* Quantity badge */

#registrationsGrid .registration-quantity-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}


/* Action buttons */

#registrationsGrid .registration-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .65;
    transition: opacity .15s ease;
}

#registrationsGrid .registration-card:hover .registration-actions {
    opacity: 1;
}

#registrationsGrid .registration-action-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0,0,0,0.04);
}

    #registrationsGrid .registration-action-btn:hover {
        background: rgba(0,0,0,0.08);
    }

    #registrationsGrid .registration-action-btn i {
        font-size: 14px;
    }


/* Type colors */

#registrationsGrid .registration-icon-activity {
    background: var(--kendo-color-series-a);
}

#registrationsGrid .registration-icon-product {
    background: var(--kendo-color-series-c);
}

#registrationsGrid .registration-icon-expense {
    background: var(--kendo-color-series-e);
}


/* Badge colors */

#registrationsGrid .registration-quantity-badge.registration-icon-activity {
    background: color-mix(in srgb, var(--kendo-color-series-a) 18%, transparent);
    color: var(--kendo-color-series-a);
}

#registrationsGrid .registration-quantity-badge.registration-icon-product {
    background: color-mix(in srgb, var(--kendo-color-series-c) 18%, transparent);
    color: var(--kendo-color-series-c);
}

#registrationsGrid .registration-quantity-badge.registration-icon-expense {
    background: color-mix(in srgb, var(--kendo-color-series-e) 18%, transparent);
    color: var(--kendo-color-series-e);
}


/* Mobile adjustments */

@@media (max-width: 640px) {
    #registrationsGrid .registration-card
    {
        align-items: flex-start;
        gap: 8px;
    }

    #registrationsGrid .registration-description {
        white-space: normal;
    }

    #registrationsGrid .registration-actions {
        gap: 8px;
        opacity: 1;
    }

    #registrationsGrid .registration-action-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    z-index: 998;
    background: linear-gradient( to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.35) 80%, rgba(0,0,0,0.55) 100% );
}
