/* ─── MB Mediendesign Brand Assets v4 ───────────────────────────────────────── */

@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;
}

/* ─── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
    --white:       #FFFFFF;
    --creme:       #FAF5F2;
    --taupe-light: #EFECEA;
    --taupe-dark:  #DFD9D5;
    --gold-light:  #FFD48B;
    --gold-dark:   #D19F4F;
    --rose-light:  #F2C0AF;
    --rose-dark:   #D79187;
    --grey:        #3A3C3D;
    --gradient-gold: linear-gradient(135deg, var(--gold-light), var(--gold-dark), var(--gold-light));

    --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,.07);
    --shadow-md: 0 4px 20px rgba(58,60,61,.10);
    --shadow-lg: 0 8px 40px rgba(58,60,61,.13);

    --transition: 180ms ease;
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::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: 18px;
    line-height: 1.6;
    color: var(--grey);
    background: var(--white);
    min-height: 100vh;
}

/* ─── Typografie ─────────────────────────────────────────────────────────────── */
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(2.2rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.5rem; }

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

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

.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: 0.85rem; letter-spacing: 2px; }

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

.nav__center-link {
    font-size: 0.875rem;
    color: var(--grey);
    text-decoration: none;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}
.nav__center-link:hover,
.nav__center-link.active { color: var(--gold-dark); opacity: 1; }

.nav__center-link--new {
    background: var(--gradient-gold);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 500;
}
.nav__center-link--new:hover { opacity: .85; color: var(--grey); }

.nav__logo-text { display: none; font-family: var(--font-display); font-size: 1.1rem; color: var(--grey); -webkit-text-stroke: 0.3px var(--grey); }
.nav__logo-text span { color: var(--gold-dark); }

.nav__logout {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    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 ──────────────────────────────────────────────────────────── */
.portal-header {
    text-align: center;
    padding: 0 24px 0;
    background: var(--white);
}

.portal-header__eyebrow {
    font-size: 0.8125rem;
    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(2.2rem, 6vw, 3.8rem);
    color: var(--grey);
    -webkit-text-stroke: 0.3px var(--grey);
    line-height: 1.1;
    margin-bottom: 20px;
}

/* ─── Pill-Navigation ────────────────────────────────────────────────────────── */
.pill-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 60px;
}

.pill-btn {
    padding: 10px 25px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    border: 1.5px solid var(--grey);
    background: transparent;
    color: var(--grey);
    transition: all var(--transition);
    letter-spacing: 0.01em;
}
.pill-btn.active { border-color: var(--gold-dark); color: var(--gold-dark); }
.pill-btn:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ─── Marmorbereich ──────────────────────────────────────────────────────────── */
.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 0 60px;
}

/* ─── Unter-Tabs ─────────────────────────────────────────────────────────────── */
.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 24px;
    margin-bottom: 60px;
    background: white;
}

.sub-tab {
    font-family: var(--font-body);
    font-size: 1rem;
    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;
}
.sub-tab:hover { color: var(--gold-light); }
.sub-tab.active { color: var(--gold-dark); border-bottom-color: var(--gold-dark); font-weight: 500; }

/* ─── Content-Wrapper ────────────────────────────────────────────────────────── */
.content-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Logo-Grid ──────────────────────────────────────────────────────────────── */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.logo-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.8); }

.logo-card__header { background: var(--rose-light); padding: 10px 16px; text-align: center; }

.logo-card__title { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }

.logo-card__variants { display: flex; justify-content: center; gap: 8px; padding: 14px 16px 10px; }

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

.logo-card__preview { min-height: 160px; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--white); }
.logo-card__preview img { max-width: 100%; max-height: 120px; object-fit: contain; }

.logo-card__formats { display: flex; gap: 6px; padding: 10px 16px; flex-wrap: wrap; }

.format-tag { font-size: 0.6875rem; font-weight: 500; padding: 3px 10px; border: 1px solid var(--taupe-dark); border-radius: var(--radius-pill); color: var(--grey); cursor: pointer; transition: all var(--transition); text-decoration: none; background: var(--white); }
.format-tag:hover, .format-tag.active { border-color: var(--gold-dark); color: var(--gold-dark); opacity: 1; }

.logo-card__footer { padding: 10px 16px 16px; }

.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: 0.8125rem; 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; }

/* ─── Farbpalette ────────────────────────────────────────────────────────────── */
.color-mode-toggle { display: flex; justify-content: center; gap: 0; margin-bottom: 60px; margin-top: 10px; }

.mode-btn { padding: 6px 18px; font-size: 1rem; 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 { background: var(--gold-dark); color: var(--white); border-color: var(--gold-dark); z-index: 1; position: relative; }
.mode-btn:hover { color: var(--gold-light); }

.color-grid { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; }
.color-grid.gradients { margin-top: 60px; }

.color-tile { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); width: 20%; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); }
.color-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.color-tile__swatch { height: 100px; width: 100%; }
.color-tile__gradient { height: 100px; width: 100%; }

.color-tile__body { padding: 20px 15px 25px; }
.color-tile__name { font-size: 1rem; font-weight: 500; color: var(--grey); margin-bottom: 2px; text-align: center; }
.color-tile__value { font-size: 1rem; color: var(--grey); font-family: 'SF Mono', 'Fira Code', monospace; line-height: 1.5; text-align: center; text-transform: uppercase; }

/* ─── Schriften ──────────────────────────────────────────────────────────────── */
.font-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.font-card-v4 { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.8); width: 200px; }
.font-card-v4__header { background: var(--rose-light); padding: 8px 16px; text-align: center; }
.font-card-v4__role { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.font-card-v4__preview { padding: 20px 16px; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.font-card-v4__preview img { max-width: 100%; max-height: 60px; object-fit: contain; }
.font-card-v4__preview-text { font-size: 2rem; color: var(--grey); line-height: 1; }
.font-card-v4__body { padding: 0 16px 16px; border-top: 1px solid var(--taupe-light); }
.font-card-v4__name { font-size: 1rem; font-weight: 500; color: var(--grey); margin-top: 10px; margin-bottom: 2px; }
.font-card-v4__cut { font-size: 0.8125rem; color: var(--grey); margin-bottom: 12px; }

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

/* ─── Collections ────────────────────────────────────────────────────────────── */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

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

.collection-item__thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--taupe-light); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 0.8125rem; font-style:italic;}
.collection-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.collection-item__body { padding: 20px 30px 25px; }
.collection-item__name { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--grey); text-align: center; margin-bottom: 4px; }
.collection-item__meta { font-size: 1rem; color: var(--grey); text-align: center; margin-bottom: 14px; line-height: 1.6; }
.collection-item__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; margin-top:20px; }

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

/* ─── Login ───────────────────────────────────────────────────────────────────── */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; background: var(--creme); }
.login-wrap::before { content: ''; position: absolute; inset: 0; background-image: url('marmor.jpg'); background-size: cover; background-position: center; opacity: 0.2; }

.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 { font-family: var(--font-display); font-size: 1.5rem; color: var(--grey); margin-bottom: 4px; -webkit-text-stroke: 0.3px var(--grey); }
.login-box__logo span { color: var(--gold-dark); -webkit-text-stroke: 0.3px var(--gold-dark); }
.login-box__sub { font-size: 1rem; color: var(--grey); margin-bottom: 32px; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn { display: flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; font-weight: 500; cursor: pointer; border: none; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn--primary { background: var(--gradient-gold); color: white; box-shadow: var(--shadow-sm); margin: 0 auto; }
.btn--primary:hover { opacity: .5; }
.btn--dark { background: var(--grey); color: var(--white); }
.btn--dark:hover { background: #2a2c2d; opacity: 1; }
.btn--ghost {
    display: flex;
    font-weight: 400;
    background: var(--grey);
    color: white;
	box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { background: var(--gold-dark); }
.btn--danger { background: transparent; color: #9B3A3A; padding:10px!important;border: 1px solid transparent;font-size: 0.8125rem; }
.btn--danger:hover { background: #fdf0f0; opacity: 1; }
.btn--sm { padding: 6px 14px; font-size: 0.8125rem; }
.w-full { width: 100%; justify-content: center; }

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.card__body { background: var(--white); margin-top:10px;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: #F0CCCC; }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 30px; }
label { display: block; font-size: 0.9125rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; color: var(--grey); margin-bottom: 5px; }
input[type="text"], input[type="password"], input[type="email"],input[type="date"], input[type="color"], [type="number"], textarea, select {
    width: 100%; padding: 15px 20px; border: 1px solid var(--taupe-dark); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.9375rem; color: var(--grey); background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}

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 { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(209,159,79,.15); }
input[type="color"] { padding: 4px 6px; height: 50px; width:50px;cursor: pointer; }
textarea { resize: vertical; min-height: 80px; }
.form-hint { font-size: 0.8125rem; color: var(--grey); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Alerts ─────────────────────────────────────────────────────────────────── */
.alert-bar { background: var(--white); border-bottom: 1px solid var(--taupe-light); padding: 12px 24px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 1rem; margin-bottom: 18px; }
.alert--error   { background: #FDF0F0; color: #9B3A3A; border: 1px solid #F0CCCC; }
.alert--success { background: #F0F7F3; color: #3A6B4A; border: 1px solid #C3DDD0; }

/* ─── Tabs ───────────────────────────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 2px solid var(--taupe-dark); margin-bottom: 24px; }
.tab { padding: 10px 20px; font-size: 1rem; 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; }

/* Admin tab (portal-style show/hide) */
.admin-tab { display: none; }
.admin-tab.active { display: block; }

/* ─── Client Grid ────────────────────────────────────────────────────────────── */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 20px; }
.client-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--taupe-light); box-shadow: var(--shadow-sm); padding: 30px; transition: box-shadow var(--transition), transform var(--transition); cursor: pointer; }
.client-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.client-card__initial { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-gold); color:white; font-family: var(--font-display); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; -webkit-text-stroke: 0.3px white; }
.client-card__name { font-family: var(--font-display); font-size: 1.1rem; color: var(--grey); margin-bottom: 4px; -webkit-text-stroke: 0.3px var(--grey); }
.client-card__meta { font-size: 0.8125rem; color: var(--grey); }
.client-card__meta:last-child {
    background: var(--taupe-light);
    border-radius: 15px;
    display: inline-block;
    padding: 2px 10px 1px;
    margin-top: 15px;
}
.client-card__colors { display: flex; gap: 4px; margin-top: 14px; }
.client-card__dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }

/* ─── Upload Zone ────────────────────────────────────────────────────────────── */
.upload-zone { border: 2px dashed var(--taupe-dark); border-radius: var(--radius-md); padding: 24px; text-align: center; cursor: pointer; transition: all var(--transition); background: var(--creme); }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--gold-dark); background: rgba(209,159,79,.04); }
.upload-zone__text { font-size: 1rem; color: var(--grey); }
.upload-zone--sm { padding: 12px; }

/* ─── Copy Toast ─────────────────────────────────────────────────────────────── */
.copy-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--grey); color: var(--white); padding: 10px 20px; border-radius: 24px; font-size: 1rem; opacity: 0; transition: all 300ms ease; pointer-events: none; z-index: 9999; box-shadow: var(--shadow-md); }
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

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

/* ─── File Items ─────────────────────────────────────────────────────────────── */
.file-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm); transition: background var(--transition); }
.file-item:hover { background: var(--creme); }
.file-item__name { flex: 1; font-size: 1rem; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item__size { font-size: 0.8125rem; color: var(--grey); flex-shrink: 0; }
.file-item__actions { display: flex; gap: 4px; opacity: 0; transition: opacity var(--transition); }
.file-item:hover .file-item__actions { opacity: 1; }
.file-tree { list-style: none; }
.file-tree li { margin: 2px 0; }

/* ─── Admin Portal-Style ─────────────────────────────────────────────────────── */
.admin-hero { text-align: center; padding: 40px 24px 0; background:white}
.admin-hero__meta { font-size: 0.875rem; color: var(--grey); margin-top: 8px; }
.admin-hero__link { padding-bottom:60px;}
.admin-hero__url {
    display: inline-block;
    align-items: center;
    margin: 0 auto;
    border: 1px solid var(--grey);
    padding: 10px 25px;
    border-radius: 50px;
	cursor:pointer;
	color: var(--grey);
	transition: all var(--transition);
}
.admin-hero__url:hover {color: var(--gold-dark); border-color: var(--gold-dark);}
.admin-back { font-size: 0.8125rem; color: var(--grey); text-decoration: none; transition: color var(--transition); }
.admin-back:hover { color: var(--gold-dark); opacity: 1; }

.admin-content { padding-top: 0px; padding-bottom: 0px; }
.admin-form-wrap { max-width: 640px; }
.admin-empty { text-align: center; padding: 48px; }

.admin-container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.admin-page-header { background: var(--white); border-bottom: 1px solid var(--taupe-light); padding: 32px 0 24px; margin-bottom: 28px; }

/* ─── Inline-Style-Ersatz ────────────────────────────────────────────────────── */
.color-entry + .color-entry, .color-entry.color-gradient + .color-entry.color-gradient { margin-top: 20px; margin-bottom:0;}
.color-entry.color-gradient { margin-top: 60px;}
.color-entry > div { display: flex; gap: 10px;}
.color-entry__grid--solid { display: grid; grid-template-columns: auto 1fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.color-entry__grid--gradient { display: grid; grid-template-columns: auto 1fr auto auto auto 1fr auto; gap: 10px; align-items: end; }
.gradient-colors {display: flex;flex-wrap: nowrap;gap: 10px;}
.delete {  display: flex;  align-items: stretch; justify-content: center; padding-top: 25px;}
.color-name { width: 190px;flex-shrink: 0;}
span.color-val { justify-content: center;align-items: center;}
}
	
.cmyk-row, .rgb-row { display: flex; gap: 0px; }
.cmyk-input, .rgb-input { width: 45px; text-align: center; padding: 15px 5px; border-radius:0;border-left:none;border-right:none;}

.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:15px;
}

.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: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; }

.font-entry { padding: 16px; }
.font-entry__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }

.variant-entry { padding: 12px; }
.variant-entry__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }

.col-file-row { display: flex; gap: 8px; align-items: center; }
.col-file-row__label { width: 140px; flex-shrink: 0; }
.col-file-row__path { flex: 1; }
.col-file-row__upload { padding: 8px 12px; white-space: nowrap; flex-shrink: 0; }

.font-preview-wrap { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.font-preview-wrap img { height: 32px; }

.col-thumb-preview { height: 60px; margin-top: 8px; border-radius: var(--radius-sm); }
.collection-type-badge { font-size: 0.7rem; color: var(--grey); font-weight: 400; }
.angle-input { width: 60px; }

.text-danger { color: #9B3A3A; }
.text-muted { color: var(--grey); font-style: italic!important; }
.col-toggle-icon { font-size: 0.8125rem; color: var(--grey); transition: transform 0.2s; display: inline-block; }
.col-body { display: none; }

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }   .mt-16 { margin-top: 16px; }  .mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.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; }
.text-sm { font-size: 0.875rem; }
.text-gold { color: var(--gold-dark); }
.hidden { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.8125rem; font-weight: 500; }
.badge--gold { background: rgba(209,159,79,.12); color: #9B7030; }
.divider { height: 1px; background: var(--taupe-dark); margin: 28px 0; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .logo-grid { grid-template-columns: 1fr; }
    .collection-grid { grid-template-columns: 1fr; }
    .font-grid { gap: 12px; }
    .font-card-v4 { width: 160px; }
    .color-tile { width: 140px; }
    .nav { padding: 0 20px; }
    .sub-tabs { gap: 20px; }
    .pill-nav { flex-direction: column; align-items: center; }
    .nav__center { display: none; }
}