@font-face {
    font-family: "Amandine";
    src:
        url("fonts/amandine.woff2") format("woff2"),
        url("fonts/amandine.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Amandine";
    src:
        url("fonts/amandine.woff2") format("woff2"),
        url("fonts/amandine.woff") format("woff");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Ubuntu Sans";
    src:
        url("fonts/ubuntu-sans-v3-latin-regular.woff2") format("woff2"),
        url("fonts/ubuntu-sans-v3-latin-regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ubuntu Sans";
    src:
        url("fonts/ubuntu-sans-v3-latin-500.woff2") format("woff2"),
        url("fonts/ubuntu-sans-v3-latin-500.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --white: #ffffff;
    --creme: #faf5f2;
    --taupe-light: #efecea;
    --taupe-dark: #dfd9d5;
    --gold-light: #ffd48b;
    --gold-dark: #d19f4f;
    --rose-light: #f2c0af;
    --rose-dark: #d79187;
    --green-light: #acbea4;
    --green-dark: #00372f;
    --grey: #3a3c3d;
    --gradient-gold: linear-gradient(135deg, var(--gold-light), var(--gold-dark), var(--gold-light));

    --flag-paused-bg: #fbf0e4;
    --flag-paused-text: #9b6b2f;
    --flag-paused-border: #e8cda3;

    --flag-complaint-bg: var(--danger-bg);
    --flag-complaint-text: var(--danger-text);
    --flag-complaint-border: var(--danger-border);

    --font-display: "Amandine", Georgia, serif;
    --font-body: "Ubuntu Sans", system-ui, sans-serif;

    --radius-sm: 3px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-pill: 100px;

    --shadow-sm: 0 1px 4px rgba(58, 60, 61, 0.07);
    --shadow-md: 0 4px 20px rgba(58, 60, 61, 0.1);
    --shadow-lg: 0 8px 40px rgba(58, 60, 61, 0.13);

    --transition: 180ms ease;

    --danger-text: #9b3a3a;
    --danger-bg: #f6d6d6;
    --danger-border: #f0cccc;
    --success-text: #3a6b4a;
    --success-bg: #e0ece5;
    --success-border: #c3ddd0;
    --info-text: #2e5f8a;
    --info-bg: #edf3f9;
    --info-border: #c4d9e9;

    --gold-dark-rgb: 209, 159, 79;
    --gold-tint-text: #9b7030;

    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-50: 50px;

    --fs-xs: 13px;
    --fs-base: 15px;
    --fs-headline-sm: 24px;
    --fs-headline-lg: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--grey);
    background: var(--white);
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: normal;
    line-height: 1.2;
    color: var(--grey);
    -webkit-text-stroke: 0.3px var(--grey);
}
h1 {
    font-size: clamp(35px, 5vw, 56px);
    letter-spacing: -0.01em;
}
h2 {
    font-size: var(--fs-headline-sm);
}
h3 {
    font-size: var(--fs-headline-sm);
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: opacity var(--transition);
}
a:hover {
    opacity: 0.7;
}

strong {
    font-weight: 500;
}

.nav {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
	background:white;
}

.nav__logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav__logo img {
    width: 40px;
    height: 24px;
}
.nav__logo span {
    color: var(--grey);
    margin-left: 15px;
    font-size: var(--fs-base);
    letter-spacing: 2px;
}

.nav__center {
    display: flex;
    align-items: center;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav__center-link {
    font-size: var(--fs-base);
    color: var(--grey);
    text-decoration: none;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
	white-space:nowrap;
}

.nav__center-link svg {
    margin-top: -2px;
    width: 16px;
    height: 16px;
}
.nav__center-link:hover,
.nav__center-link.active {
    color: var(--gold-dark);
    opacity: 1;
}

.nav__logout {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-base);
    color: var(--grey);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--transition);
}
.nav__logout:hover {
    color: var(--gold-dark);
    opacity: 1;
}
.nav__logout svg {
    width: 18px;
    height: 18px;
}

.portal-header {
    text-align: center;
    padding: 0 24px 0;
    background: var(--white);
	box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.05);
	z-index:5;
	position:relative;
}

.portal-header__eyebrow {
    font-size: var(--fs-base);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 400;
}

.portal-header__name {
    font-family: var(--font-display);
    font-size: clamp(35px, 6vw, 61px);
    color: var(--grey);
    -webkit-text-stroke: 0.3px var(--grey);
    line-height: 1.1;
    margin-bottom: 20px;
}

.pill-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 30px 0;
	align-items:centerM
}
.portal-header--tabbed {
    padding-bottom: 28px;
}
.portal-header--tabbed .pill-nav {
    padding-bottom: 40px;
    padding-top: 30px;
}

.pill-btn {
    padding: 10px 25px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 400;
    cursor: pointer;
    border: 1.5px solid var(--grey);
    background: transparent;
    color: var(--grey);
    transition: all var(--transition);
    letter-spacing: 0.01em;
	display:flex;
	justify-content:center;
	gap:5px;
}

.pill-btn svg {width:18px;height:18px;}
.pill-btn.active {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}
.pill-btn:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}
.pill-btn--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    width: 38px;
    height: 38px;
}
.pill-btn--icon svg {
    width: 20px;
    height: 20px;
}

.marble-section {
    background-image: url("images/background_marble.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: calc(100vh - 200px);
    padding: 0;
}

.page-header + .marble-section {
    padding-bottom: 50px;
}
.page-header + div .app-main {
    padding: 40px 60px;
}

.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 24px;
    margin-bottom: -28px;
    background: white;
}

.sub-tab {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--grey);
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: -1px;
    padding: 0 3px 8px;
    text-decoration: none;
    display: inline-block;
}
.sub-tab:hover {
    color: var(--gold-light);
}
.sub-tab.active {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
    font-weight: 500;
}

.bk-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 0px;
    justify-content: center;
    --card-cols: 5;
}
.bk-card-grid .bk-card {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: calc((100% - (var(--card-cols) - 1) * 20px) / var(--card-cols));
}

div.tab-content .bk-card {
    max-width: 25%;
}
div.tab-content[data-name="farbe"] .bk-card,
div.tab-content[data-name="schrift"] .bk-card {
    max-width: 20%;
}

.bk-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.bk-card__header {
    background: var(--rose-light);
    padding: 10px 16px;
    text-align: center;
}
.bk-card__label {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
}

.bk-card__variants {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 30px 0;
}
.bk-card__formats {
    display: flex;
    gap: 10px;
    padding: 30px 30px 1px;
    justify-content: center;
}
.bk-card__footer {
    padding: 10px 30px 30px;
}

.variant-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    flex-shrink: 0;
    border: 1px solid var(--taupe-dark);
}
.variant-dot.active {
    border-color: var(--gold-dark);
    transform: scale(1.15);
}
.variant-dot:hover {
    transform: scale(1.1);
}

.bk-card__preview {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--white);
    border-bottom: 1px solid var(--taupe-light);
}
.bk-card__preview img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}
.bk-card__preview-text {
    font-size: 60px;
    color: var(--grey);
    line-height: 1;
}
.variant-preview--dark {
    background: var(--grey);
}

.bk-card__preview--cover {
    min-height: 0;
    padding: 0;
    border-bottom: none;
    width: 100%;
    aspect-ratio: 1;
    background: var(--taupe-light);
    color: var(--grey);
    font-size: var(--fs-base);
    font-style: italic;
}
.bk-card__preview--cover img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}
.bk-card__preview--cover.variant-preview--dark {
    background: var(--grey);
}

.bk-card__preview--fit {
    min-height: 0;
    padding: 0;
    border-bottom: none;
    width: 100%;
    aspect-ratio: 1;
}
.bk-card__preview--fit img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.bk-card__body {
    padding: 30px;
    text-align: center;
}
.bk-card__name {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--grey);
    margin-bottom: 2px;
}
.bk-card__meta {
    font-size: var(--fs-base);
    color: var(--grey);
    margin-bottom: 25px;
    line-height: 1.6;
}
.bk-card__btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 6px;
}

.bk-card__btns a {
	width:100%;
}

.bg-swatch-row {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.bg-swatch {
    border: 1px solid var(--taupe-dark);
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin: 0 1px 1px 0;
}
.bg-swatch.active {
    border-color: var(--gold-dark);
    outline: 2px solid var(--gold-dark);
    outline-offset: -1px;
}

.bg-mode-toggle {
    display: flex;
    gap: 0;
}

.edit-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
#solid-colors-body.edit-card-grid {
    grid-template-columns: repeat(4, 1fr);
}

.mini-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow var(--transition);
}
.mini-card:hover {
    box-shadow: var(--shadow-md);
}

.mini-card[data-lt-idx],
.mini-card[data-s-idx] {
    cursor: grab;
}
.mini-card.drag-over {
    outline: 2px dashed var(--rose-dark);
    outline-offset: -2px;
}
.settings-section__header.drag-over {
    outline: 2px dashed var(--rose-dark);
    outline-offset: -2px;
}

.mini-card__swatch {
    width: 100%;
    height: 120px;
}
.mini-card__preview {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--creme);
    padding: 40px;
}
.mini-card__preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.mini-card__preview--empty {
    background: repeating-linear-gradient(45deg, var(--creme), var(--creme) 6px, var(--white) 6px, var(--white) 12px);
}
.mini-card__preview.variant-preview--dark {
    background: var(--grey);
}

.mini-card__preview--cover {
    padding: 0;
}
.mini-card__preview--cover img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}
.mini-card__preview--fit {
    padding: 0;
}
.mini-card__preview--fit img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}
.mini-card__body {
    padding: 30px;
}
.mini-card__name {
    font-weight: 500;
    font-size: var(--fs-base);
    color: var(--grey);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.mini-card__dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid var(--taupe-dark);
    margin-right: 6px;
    vertical-align: middle;
    margin-top: -5px;
}
.mini-card__meta {
    font-size: var(--fs-xs);
    color: var(--grey);
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.edit-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.edit-card__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}
.edit-card__body {
    padding: 30px;
}
.color-edit-card--bleed,
.variant-edit-card,
.collection-entry {
    padding: 0;
    overflow: hidden;
}
.edit-card.color-edit-card--bleed .edit-card__swatch {
    width: calc(100% + 6px);
    height: 100px;
    border-radius: 0;
    padding: 0;
    margin: -5px -3px 0px;
    border: none;
    outline: none;
    transition: var(--transition);
}
.edit-card.color-edit-card--bleed .edit-card__swatch:hover {
    opacity: 0.8;
}
.edit-card__swatch {
    width: 100%;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-sm);
}
.edit-card__swatch-row {
    display: flex;
}
.edit-card__swatch-row input[type="color"] {
    flex: 1;
    padding: 0;
    height: 100px;
    border-radius: 0;
    border: none;
    margin-top: -5px;
    margin-left: -3px;
    margin-right: -3px;
    width: calc(33.33% + 5px);
    outline: none;
    margin-bottom: -5px;
}
.edit-card__preview {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--creme);
}
.edit-card__preview.variant-preview--dark {
    background: var(--grey);
}
.edit-card__preview img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}
.edit-card__preview--empty {
    background: repeating-linear-gradient(45deg, var(--creme), var(--creme) 6px, var(--white) 6px, var(--white) 12px);
}
.edit-card .btn--danger {
    left: inherit;
    right: 10px;
    position: absolute;
    top: 10px;
}
.edit-card .btn--danger::after {
    display: none;
}
.edit-card .form-group:not(:last-child) {
    margin-bottom: 20px;
}
.edit-card .data-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.format-tag {
    font-size: var(--fs-xs);
    font-weight: 500;
    padding: 4px 10px 2px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    color: var(--grey);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    background: var(--white);
    width: 100%;
    max-width: 70px;
    text-align: center;
}
.format-tag:hover,
.format-tag.active {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    opacity: 1;
}

.btn-download-all {
    width: 100%;
    padding: 9px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--grey);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    display: block;
    text-decoration: none;
}
.btn-download-all:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    opacity: 1;
}

.color-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 35px;
    margin-top: -65px;
}

.mode-btn {
    padding: 6px 18px;
    font-size: var(--fs-base);
    font-family: var(--font-body);
    border: 1px solid var(--taupe-dark);
    background: var(--white);
    color: var(--grey);
    cursor: pointer;
    transition: all var(--transition);
    margin-left: -1px;
}
.mode-btn:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.mode-btn:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.mode-btn.active,
#btn-toggle-multipage:hover,
#btn-toggle-multipage.mode-btn.active {
    background: var(--gold-dark);
    color: var(--white);
    border-color: var(--gold-dark);
    z-index: 1;
    position: relative;
}
.mode-btn:hover {
    color: var(--gold-light);
}

.bk-card-grid--colors.gradients {
    margin-top: 60px;
}
.bk-card-grid--colors .bk-card__preview--cover {
    aspect-ratio: auto;
    height: 100px;
}
.bk-card-grid--colors.gradients .bk-card__meta {
    height: auto;
}
.gradient-stop-row,
#gradient-stops-body {
    display: flex;
    gap: 5px;
}
#gradient-stops-body {
    gap: 20px;
}
#gradient-stops-body input.gradient-stop-input {
    padding: 0px 2px;
    width: 42px;
    height: 42px;
}
div#color-fields-gradient .form-group:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
div#color-fields-gradient label {
    width: 100%;
}

.bk-card--color:not(.cursor-default) {
    cursor: pointer;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}
.bk-card--color:not(.cursor-default):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.bk-card-grid--colors .bk-card__meta {
    font-family: "SF Mono", "Fira Code", monospace;
    line-height: 1.5;
    text-transform: uppercase;
    height: 23px;
}
.bk-card__note {
    font-size: var(--fs-xs);
    color: var(--grey);
    opacity: 0.7;
    text-align: center;
    padding-top: 0px;
    margin-top: -15px;
}

.cmyk-dot,
.rgb-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-right: 3px;
    margin-left: 13px;
    vertical-align: middle;
}
.cmyk-dot:first-child,
.rgb-dot:first-child {
    margin-left: 0;
}
.cmyk-dot--c {
    background: #0093d0;
}
.cmyk-dot--m {
    background: #e4007c;
}
.cmyk-dot--y {
    background: #ffd700;
}
.cmyk-dot--k {
    background: #1a1a1a;
}
.rgb-dot--r {
    background: #e8413a;
}
.rgb-dot--g {
    background: #4caf50;
}
.rgb-dot--b {
    background: #2979ff;
}
.color-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-font-link {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--grey);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition);
    line-height: normal;
}
.btn-font-link:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    opacity: 1;
}

.pdf-carousel {
    position: relative;
}
.pdf-carousel__viewport {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 0px 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pdf-carousel__viewport::-webkit-scrollbar {
    display: none;
}
.pdf-carousel__page {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 300px;
}
.pdf-carousel__page canvas {
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    background: var(--white);
}
.pdf-carousel__page--loading {
    align-items: center;
    color: var(--grey);
    opacity: 0.5;
    font-size: var(--fs-base);
}
.pdf-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    border: none;
    color: white;
    background: var(--rose-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pdf-carousel__nav:hover {
    background: var(--gold-dark);
}
.pdf-carousel__nav:disabled {
    opacity: 0.3;
    cursor: default;
    box-shadow: none;
}
.pdf-carousel__nav--prev {
    left: -10px;
}
.pdf-carousel__nav--next {
    right: -10px;
}
.pdf-carousel__indicator {
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--grey);
    opacity: 0.7;
}
.pdf-carousel__actions {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}
.pdf-carousel__actions svg {
    width: 18px;
    height: 18px;
}
@media (max-width: 640px) {
    .pdf-carousel__nav--prev {
        left: 4px;
    }
    .pdf-carousel__nav--next {
        right: 4px;
    }
}
#collection-files-body .col-file-path-display {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 90px;
	padding-top:5px;
}
#collection-files-body td:first-child {
    width: 150px !important;
    padding-right: 5px;
}

#collection-files-body td {
    padding: 0 0 5px 0;
    height: 44px;
    align-items: center;
}

#collection-files-body .table-upload-btn {
	margin-top:5px;
}

.table-upload-btn + .text-sm {
	margin-bottom:0px!important;
}


.collection-upload-wrap .text-sm {
    font-size: var(--fs-xs);
    line-height: 1.5 !important;
    display: block;
    text-wrap: balance;
    opacity: 0.7;
}
.collection-upload-wrap + .form-group {
    align-items: flex-end;
}
div#collection-upload-area {
    display: flex;
}

.btn-format {
    padding: 12px 16px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--grey);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
	line-height:normal;
}
.btn-format:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    opacity: 1;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    background-image: url("images/background_marble.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--taupe-light);
    position: relative;
    z-index: 1;
}
.login-box__logo {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}
.login-box__logo img {
    height: 100px;
    width: auto;
    display: block;
}
.login-box__sub {
    font-size: var(--fs-base);
    color: white;
    margin: 25px auto 40px;
    border: none;
    border-radius: 20px;
    padding: 7px 20px;
    font-weight: 500;
    text-align: center;
    display: block;
    width: fit-content;
    background: var(--gold-dark);
}
.login-box .checkbox-label {
    margin-top: 10px;
}

.login-box .form-group {
    margin-bottom: 3px;
}
.login-box .form-group + .form-group {
    margin-bottom: 20px;
    margin-top: 20px;
}
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.login-box__alt-toggle {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    padding: 16px 0 0;
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--grey);
    cursor: pointer;
    transition: var(--transition);
}
.login-box__alt-toggle:hover {
    color: var(--gold-dark);
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-base);
    text-transform: none;
    font-weight: normal;
    color: var(--grey);
    margin-bottom: 16px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    background: var(--rose-dark);
    color: white;
    box-shadow: var(--shadow-sm);
    justify-content: center;
    border: none;
    line-height: normal;
    border: 1px solid var(--rose-dark);
}
.btn:hover {
    background: var(--gold-dark);
}
.btn--danger {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid transparent;
}
#btn-generate-collection-thumb,
#btn-generate-font-preview {
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
}
.btn--danger:hover {
    background: var(--danger-text);
    color: white;
}
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.btn--icon {
    padding: 10px;
    width: 42px;
    height: 42px;
    justify-content: center;
}
.btn--icon svg {
    width: 22px;
    height: 22px;
}
.w-full {
    width: 100%;
    justify-content: center;
}
button#btn-add-custom-section-styleguide,
button#btn-add-custom-section-collections {
    width: 20px;
    height: 20px;
    margin-top: -2px;
}
button#btn-add-custom-section-styleguide svg,
button#btn-add-custom-section-collections svg {
    width: 16px;
    height: 16px;
}

[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--grey);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 400;
    line-height: 1.3;
    padding: 5px 9px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 60;
}
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

.card__body {
    background: var(--white);
    margin-top: 0px;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 25px;
}
.card__header {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.card--danger {
    border-color: var(--danger-border);
}

.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--grey);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
input[type="text"],
input[type="file"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="color"],
[type="number"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--grey);
    background: var(--white);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    outline: none;
    margin-bottom: 0px;
}

input[type="file"]::file-selector-button {
    padding: 8px 16px;
    border: 0;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: white;
    font-family: var(--font-body);
    background: var(--gold-dark);
    cursor: pointer;
    margin-right: 10px;
    transition: var(--transition);
}
input[type="file"]::file-selector-button:hover {
    opacity: 0.8;
}
input[type="file"] {
    padding: 16px;
}

input[type="date"] {
    padding-top: 11px;
    padding-bottom: 11px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-pill);
    background: var(--white);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin: 0;
    transition: var(--transition);
}
input[type="checkbox"]:hover {
    border-color: var(--gold-dark);
}
input[type="checkbox"]:checked {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

label:has(input[type="checkbox"]) {
    text-transform: none;
    letter-spacing: normal;
}

select {
    width: 100%;
    padding: 12px 40px 12px 20px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--grey);
    background-color: var(--white);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    outline: none;
    margin-bottom: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3C3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    cursor: pointer;
}
select:hover {
    border-color: var(--gold-light);
}
select option {
    padding: 8px 12px;
}

.custom-select {
    position: relative;
    width: 100%;
}
.custom-select + textarea {
    margin-top: 4px;
}
.custom-select__native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.custom-select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--grey);
    background: var(--white);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition);
    min-width: 150px;
}
.custom-select__trigger:hover {
    border-color: var(--gold-light);
}
.custom-select__trigger:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background: var(--taupe-light);
}
.custom-select__trigger:disabled:hover {
    border-color: var(--taupe-dark);
}
.custom-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.custom-select__trigger::after {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-right: 2px solid var(--grey);
    border-bottom: 2px solid var(--grey);
    transform: rotate(45deg);
    margin-top: -4px;
    opacity: 0.6;
    transition: transform var(--transition);
}
.custom-select.open .custom-select__trigger {
    border-color: var(--gold-dark);
}
.custom-select.open .custom-select__trigger::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}
.custom-select__panel {
    position: fixed;
    z-index: 2000;
    background: var(--white);
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    display: flex;
    flex-direction: column;
}
.custom-select__panel.hidden {
    display: none;
}
.custom-select__search {
    margin: 0 0 6px !important;
    padding: 8px 12px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    font-size: var(--fs-base);
}
.custom-select__list {
    overflow-y: auto;
    max-height: 260px;
    scrollbar-width: thin;
    scrollbar-color: var(--taupe-dark) transparent;
}
.custom-select__list::-webkit-scrollbar {
    width: 6px;
}
.custom-select__list::-webkit-scrollbar-track {
    background: transparent;
}
.custom-select__list::-webkit-scrollbar-thumb {
    background: var(--taupe-dark);
    border-radius: var(--radius-pill);
}
.custom-select__list::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}
.custom-select__option {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: var(--fs-base);
    color: var(--grey);
}
.custom-select__option:hover {
    background: var(--creme);
}
.custom-select__option.is-selected {
    background: var(--gold-dark);
    color: var(--white);
}
.custom-select__empty {
    padding: 8px 12px;
    color: var(--grey);
    opacity: 0.6;
    font-style: italic;
    font-size: var(--fs-base);
}

.password-reveal {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 200px;
}
.password-reveal__value {
    flex: 1;
    padding: 0;
    font-size: var(--fs-base);
    letter-spacing: 0.5px;
}
.password-reveal__toggle {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0px;
    color: var(--grey);
    cursor: pointer;
}
.password-reveal__toggle:hover {
    color: var(--gold-dark);
}
.password-reveal__toggle:disabled {
    opacity: 0.4;
    cursor: default;
}
.password-reveal__toggle svg {
    width: 18px;
    height: 18px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

input:focus,
textarea:focus,
select:focus {
    outline: 1px solid var(--gold-dark);
    outline-offset: -1px;
}
input:disabled,
textarea:disabled,
select:disabled:not(.custom-select__native) {
    background: var(--taupe-light);
    cursor: not-allowed;
    opacity: 0.7;
}
input[type="color"] {
    padding: 4px 6px;
    height: 50px;
    width: 50px;
    cursor: pointer;
}
textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}
.form-hint {
    font-size: var(--fs-xs);
    color: var(--grey);
    margin-top: 4px;
}
.modal-box__body .form-hint {
    font-size: var(--fs-base);
}
.inline-link-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.inline-link-btn:hover {
    color: var(--gold-dark);
}
.form-row {
    display: grid;
    gap: 15px;
}
.form-row > .form-group {
    min-width: 0;
}
.form-row.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-row.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-row.columns-4 {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
}
.form-row:last-child .form-group {
    margin-bottom: 0;
}
.form-row--upload {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}
.form-row--upload .form-group {
    flex: 1;
}
.form-row--upload > .btn {
    flex-shrink: 0;
}
.form-group:has(#color-usage-note) {
    margin-top: 20px;
}

.invoice-wrapper .form-row.columns-3 {
    margin-bottom: 10px;
}
#invoice-form-view .invoice-wrapper,
#quote-form-view .invoice-wrapper {
    padding: 0px;
    background: white;
    border-radius: 3px;
}

.invoice-detail-grid {
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 20px;
    align-items: start;
}
.invoice-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-detail-grid {
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 20px;
    align-items: start;
}
.invoice-wrapper .custom-select__trigger {
    min-width: 1px;
}

#invoice-form-actions,
#quote-form-actions {
    display: flex;
    align-items: center;
}
.invoice-wrapper h3,
.contact-detail-grid h3,
.invoice-detail-grid h3,
.brandkits h3 {
    border-bottom: 1px solid var(--taupe-dark);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 4px;
}
.brandkits h3 {
    margin-top: 10px;
}
.invoice-wrapper h3:not(:first-child),
.contact-detail-grid h3:not(:first-child) {
    margin-top: 40px;
}
#items-table.p-table th {
    font-size: var(--fs-base);
    padding: 0 2px;
}
#items-table.p-table td {
    padding: 3px 2px;
    border: none;
}
#items-table.p-table td:nth-child(7),
#items-table.p-table th:nth-child(7) {
    padding-left: 15px;
}
#items-table.p-table td input,
#items-table.p-table td select,
#items-table.p-table td textarea {
    margin-bottom: 0;
    width: 100%;
}

.p-table td, td .status-pill, .p-table th {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

td .status-pill {
	display: block;
	padding: 2px 10px 1px;
}

.items-footer {
    display: flex !important;
    gap: 3px;
    padding: 20px 2px 0;
}
.items-footer.hidden {
    display: none !important;
}
.items-footer select {
    margin-bottom: 0;
}
.items-sum {
    font-size: var(--fs-base);
    text-align: right;
    margin-top: 15px;
}
.items-sum strong {
    width: 90px;
    display: inline-block;
}
.items-sum .big {
    font-size: var(--fs-base);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar .btn--icon {
    width: 32px;
    height: 32px;
}
.sidebar .btn--icon svg {
    width: 18px;
    height: 18px;
}
.sidebar .p-table td:last-child,
.sidebar .p-table th:last-child {
    padding: 6px 0;
    width: 32px;
}
.sidebar .p-table tr:hover td {
    cursor: pointer !important;
}
.sidebar tbody {
    border-top: 2px solid var(--taupe-light);
    border-bottom: 2px solid var(--taupe-light);
}
.sidebar .p-table th {
    padding-bottom: 2px;
}
.sidebar .p-table {
    margin: 30px 0;
}
.sidebar .p-table-wrap div:has(h3) {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.sidebar #email-history-body tr:hover td {
    cursor: pointer;
}
.sidebar h3 {
    border: none;
    padding-bottom: 0;
    margin-bottom: var(--space-16);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-base);
    margin-bottom: 18px;
}
.alert--error {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid var(--danger-border);
}
.alert--success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.tabs {
    display: flex;
    border-bottom: 2px solid var(--taupe-dark);
    margin-bottom: var(--space-24);
}
.tab {
    padding: 10px 20px;
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--grey);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-body);
}
.tab:hover {
    color: var(--gold-light);
}
.tab.active {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 8px));
    background: var(--grey);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-base);
    opacity: 0;
    transition: all 300ms ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow: var(--shadow-md);
}
.upload-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 8px));
    background: var(--grey);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    width: 260px;
    opacity: 0;
    transition: all 300ms ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow: var(--shadow-md);
}
.upload-progress.show {
    opacity: 1;
    transform: translate(-50%, -50%);
}
.upload-progress__label {
    display: block;
    margin-bottom: 8px;
    font-size: var(--fs-xs);
}
.upload-progress__bar {
    height: 6px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
.upload-progress__fill {
    height: 100%;
    width: 0%;
    background: var(--gold-light);
    transition: width 120ms linear;
}

.copy-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.portal-footer {
    background: var(--white);
    padding: 28px 0;
    text-align: center;
}
.portal-footer__logo {
    font-family: var(--font-display);
    font-size: var(--fs-base);
    color: var(--gold-dark);
    margin-bottom: 4px;
    -webkit-text-stroke: 0.3px var(--gold-dark);
}
.portal-footer__sub {
    font-size: var(--fs-base);
    color: var(--grey);
}

.admin-back {
    font-size: var(--fs-base);
    color: var(--grey);
    text-decoration: none;
    transition: color var(--transition);
}
.admin-back:hover {
    color: var(--gold-dark);
    opacity: 1;
}

.admin-empty {
    text-align: center;
    padding: 48px;
}

.cmyk-row,
.rgb-row {
    display: flex;
    gap: 0px;
}
.cmyk-input,
.rgb-input {
    flex: 1;
    width: auto;
    text-align: center;
    padding: 10px 1px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-bottom: 0;
}
.cmyk-input,
.rgb-input {
    width: 20px;
}
.cmyk-input:first-child,
.rgb-input:first-child {
    border-left: 1px solid var(--taupe-dark);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
    padding-left: 6px;
}

.cmyk-input:last-child,
.rgb-input:last-child {
    border-right: 1px solid var(--taupe-dark);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    padding-right: 6px;
}

.collection-type-badge {
    font-size: var(--fs-xs);
    color: var(--grey);
    font-weight: 400;
}
.collection-type-badge + .collection-type-badge {
    border-left: 1px solid var(--taupe-dark);
    padding-left: 8px;
}
.collection-group-heading {
    grid-column: 1 / -1;
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0 8px;
}
.collection-group-heading:first-child {
    margin-top: 0;
}

.settings-section {
    margin-bottom: 8px;
}
.settings-section:not(:first-child) {
    padding-top: 20px;
}
.settings-section__header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    margin-bottom: 16px;
}
.settings-section .toggle-icon,
.collection-entry .toggle-icon {
    font-size: var(--fs-xs);
    transition: transform var(--transition);
}
.settings-section.expanded .toggle-icon,
.collection-entry.expanded .toggle-icon {
    transform: rotate(90deg);
}
.settings-section .col-body,
.collection-entry .col-body {
    display: none;
}
.settings-section.expanded .col-body,
.collection-entry.expanded .col-body {
    display: block;
}

.placeholder-tag {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: var(--fs-xs);
    background: var(--taupe-light);
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-sm);
    padding: 1px 6px;
    margin: 1px 0;
    cursor: pointer;
    color: var(--grey);
    transition: all var(--transition);
}
.placeholder-tag:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}
.angle-input {
    width: 60px;
}

.text-danger {
    color: var(--danger-text);
}
.text-success {
    color: var(--success-text);
}
.open-amount-value {
    font-size: 18px;
}
.text-muted {
    color: var(--grey);
    font-style: italic !important;
}
.col-toggle-icon {
    font-size: var(--fs-base);
    color: var(--grey);
    transition: transform 0.2s;
    display: inline-block;
}
.col-toggle-icon.open {
    transform: rotate(90deg);
}
.col-body {
    display: none;
}
.col-body.open {
    display: block;
}

.hidden-file-input {
    display: none;
}
.col-name-input {
    flex: 0 1 320px;
    border: 1px solid var(--taupe-dark);
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: var(--fs-base);
    outline: none;
    font-family: var(--font-body);
}
.col-name-input:focus {
    border-color: var(--gold-dark);
}
.lt-name-remove {
    display: inline-flex;
    cursor: pointer;
    color: var(--danger-text);
    transition: color var(--transition);
}
.lt-name-remove svg {
    width: 16px;
    height: 16px;
}
.lt-name-remove:hover {
    color: var(--gold-dark);
}
.card__header--clickable {
    cursor: pointer;
}

.mt-8 {
    margin-top: var(--space-8);
}
.mt-12 {
    margin-top: var(--space-12);
}
.mt-16 {
    margin-top: var(--space-16);
}
.mt-24 {
    margin-top: var(--space-24);
}
.ml-10 {
    margin-left: var(--space-10);
}
.mb-0 {
    margin-bottom: 0;
}
.mb-8 {
    margin-bottom: var(--space-8);
}
.mb-10 {
    margin-bottom: var(--space-10);
}
.mb-12 {
    margin-bottom: var(--space-12);
}
.mb-16 {
    margin-bottom: var(--space-16);
}
.mb-24 {
    margin-bottom: var(--space-50);
}
.mb-32 {
    margin-bottom: var(--space-32);
}
.mb-50 {
    margin-bottom: var(--space-50);
}
.flex {
    display: flex;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex-center {
    display: flex;
    align-items: center;
}
.gap-8 {
    gap: 8px;
}
.gap-12 {
    gap: 12px;
}
.gap-16 {
    gap: 16px;
}
.flex-1 {
    flex: 1;
}
.text-sm {
    font-size: var(--fs-base);
}
td .text-sm {
    font-size: var(--fs-xs);
    opacity: 0.7;
    font-weight: 300;
    margin-top: -2px;
    display: block;
}

.text-md {
    font-size: 18px;
}
.hidden {
    display: none;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
.grid-4 + .grid-4 {
    margin-top: -34px !important;
}
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-base);
    font-weight: 500;
}
.divider {
    height: 1px;
    background: var(--taupe-dark);
    margin: 28px 0;
}

.p-table tr:hover td {
    background: var(--creme);
    cursor: pointer;
}
.invoice-detail-grid .p-table tr:hover td {
    cursor: default;
}
.p-table td.line-total,
.p-table th.col-w-100 {
    text-align: right;
}
#items-table td,
#items-table th {
    width: 15%;
}
#items-table td:nth-child(2),
#items-table th:nth-child(2) {
    width: 8%;
}
#items-table td:nth-child(3),
#items-table th:nth-child(3) {
    width: 10%;
}
#items-table td:first-child,
#items-table th:first-child {
    width: 40%;
}
#items-table td.line-total,
#items-table th:last-child {
    width: 14%;
    vertical-align: middle !important;
    white-space: nowrap;
    padding-right: 0;
}

.input-w-120 {
    max-width: 120px;
}
.input-w-140 {
    max-width: 140px;
}
.input-w-160 {
    max-width: 160px;
}
.input-w-260 {
    max-width: 260px;
}

.checkbox-inline {
    width: auto;
    margin-bottom: 0;
}
.cursor-pointer {
    cursor: pointer;
}
.white-space-pre-wrap {
    white-space: pre-wrap;
}
.white-space-nowrap {
    white-space: nowrap;
}
.text-align-center {
    text-align: center;
}
.cursor-default {
    cursor: default;
}

.format-tag--disabled {
    opacity: 0.3;
    cursor: default;
}
.btn-download-all--disabled {
    opacity: 0.4;
    cursor: default;
}
