@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,800&family=Manrope:wght@500;700;800&display=swap');

:root {
    --primary: #3344FF; 
    --dark: #0A0F24; 
    --white: #ffffff;
    --grid-line: rgba(255,255,255,0.15); 
    --bar-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* =========================================
   PAGE LOADER — MD3 Circular Progress
   ========================================= */
.page-loader {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    background: #f5f6fa;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader--done {
    opacity: 0; visibility: hidden; pointer-events: none;
}
.page-loader__svg {
    width: 64px; height: 64px;
    animation: md3-rotate 968.24ms linear infinite;
}
.page-loader__circle {
    fill: none; stroke: var(--primary); stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 251.327;
    stroke-dashoffset: 251.327;
    animation: md3-dash 3932ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: center;
}
@keyframes md3-rotate {
    to { transform: rotate(360deg); }
}
@keyframes md3-dash {
    0%    { stroke-dashoffset: 239.76; transform: rotate(0deg); }
    50%   { stroke-dashoffset: 62.83;  transform: rotate(135deg); }
    100%  { stroke-dashoffset: 239.76; transform: rotate(450deg); }
}

html, body { margin: 0; width: 100vw; height: 100vh; overflow: hidden; background-color: var(--primary); color: var(--white); font-family: 'Manrope', sans-serif; display: flex; flex-direction: column; }
body.layout-home { flex-direction: row; }
::selection { background-color: var(--dark); color: var(--white); }

/* THE DARK CIRCLE INTRO */
.intro-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--dark);
    z-index: 999999; pointer-events: none;
    animation: shrinkDot 1.5s cubic-bezier(0.85, 0, 0.15, 1) 0.2s forwards;
}
@keyframes shrinkDot {
    0% { clip-path: circle(150% at 50% 50%); opacity: 1; }
    99% { opacity: 1; }
    100% { clip-path: circle(0% at 50% 50%); opacity: 0; display: none; }
}

/* Typography */
.headline { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(4rem, 10vw, 12rem); line-height: 0.85; text-transform: uppercase; letter-spacing: -0.02em; }
.logo-img { height: 30px; }

/* =========================================
   SHARED HEADER & FOOTER (short bar style)
   ========================================= */
.site-header,
.site-footer {
    flex: 0 0 var(--bar-height);
    display: flex;
    align-items: center;
    background: var(--primary);
    border-bottom: 1px solid var(--grid-line);
    height: var(--bar-height);
}
.site-footer {
    border-bottom: none;
    border-top: 1px solid var(--grid-line);
}

.site-header__left,
.site-footer__left {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: clamp(20px, 4vw, 60px);
    height: 100%;
}

.site-header__right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    border-left: 1px solid var(--grid-line);
}

.site-header__right .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 clamp(25px, 3vw, 50px);
}

/* Full-height divider between Work and Contact */
.site-header__divider {
    width: 1px;
    height: 100%;
    background: var(--grid-line);
    flex-shrink: 0;
}

.site-footer__right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 clamp(20px, 4vw, 60px);
    border-left: 1px solid var(--grid-line);
}

.site-brand { display: inline-flex; align-items: center; text-decoration: none; }

.site-nav__link {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--dark); }

.site-footer__label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

/* =========================================
   ANIMATED EMAIL LINK (bigger in footer)
   ========================================= */
.email-link {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
    line-height: 1;
}
.email-link:hover { color: var(--dark); }

.arrow-wrapper { position: relative; display: inline-flex; width: 0.9em; height: 0.9em; overflow: hidden; align-items: center; justify-content: center; }
.arrow-icon { position: absolute; width: 100%; height: 100%; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.arrow-hover { transform: translate(-100%, 100%); }
.email-link:hover .arrow-icon:not(.arrow-hover) { transform: translate(100%, -100%); }
.email-link:hover .arrow-hover { transform: translate(0, 0); }

/* =========================================
   PAGE SHELL (shared layout wrapper)
   ========================================= */
.page-shell { flex: 1; display: flex; flex-direction: column; overflow: hidden; width: 100%; height: 100vh; }
.content-area { flex: 1; display: flex; overflow: hidden; }

/* =========================================
   HOME PAGE — marquee spans full height beside entire page-shell
   ========================================= */
.marquee-sidebar { width: clamp(50px, 5vw, 70px); height: 100vh; background: var(--dark); border-right: 1px solid var(--grid-line); display: flex; justify-content: center; position: relative; overflow: hidden; flex-shrink: 0; }
.marquee-content { display: flex; flex-direction: column; align-items: center; gap: 4vh; animation: scrollVert 25s linear infinite; position: absolute; top: 0; }
.m-text { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.2rem; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 2px; white-space: nowrap; }
.m-diamond { color: var(--primary); font-size: 1.5rem; }
@keyframes scrollVert { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

.home-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4vw;
}
.headline-home { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(4rem, 9vw, 11rem); line-height: 0.85; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; }
.text-dark { color: var(--dark); }

/* =========================================
   INTERNAL PAGES (WORK & CONTACT)
   ========================================= */

/* Split-view: left hero full height, right side fills remaining */
.split-view { flex: 1; display: flex; overflow: hidden; }
.split-view__hero {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4vw;
    border-right: 1px solid var(--grid-line);
}
.split-view__subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0.8;
}

.headline-stack { display: flex; flex-direction: column; }
.headline-stack__line {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 8rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Gallery board (work page right side) — auto-scrolling columns */
.gallery-board {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--grid-line);
    overflow: hidden;
}
.gallery-board--empty { display: flex; align-items: center; justify-content: center; background: var(--primary); }
.gallery-empty { font-family: 'Manrope', sans-serif; opacity: 0.6; }
.gallery-board__column {
    background: var(--primary);
    overflow: hidden;
    padding: 1.5vw;
    position: relative;
}
.gallery-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    will-change: transform;
}
.gallery-card {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.gallery-card img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
}
.gallery-card img:hover { transform: scale(1.03); }

/* Image protection — grid & modal */
.gallery-card img,
.modal-shell__image {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Form panel (contact page right side) */
.form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4vw;
    overflow-y: auto;
}

/* Contact Form */
.motive-form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 500px; }
.form-row { display: flex; gap: 15px; }
.form-group { display: flex; flex-direction: column; flex: 1; gap: 6px; }
.form-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; color: var(--white); }
.form-input { width: 100%; padding: 16px; border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; font-family: 'Manrope', sans-serif; font-size: 1rem; color: var(--white); background: transparent; outline: none; transition: border 0.3s; }
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { border-color: var(--white); }
.form-input--textarea { min-height: 120px; max-height: 200px; resize: none; overflow-y: auto; }
/* Custom scrollbar for textarea */
.form-input--textarea::-webkit-scrollbar { width: 6px; }
.form-input--textarea::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 3px; }
.form-input--textarea::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 3px; }
.form-input--textarea::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }
.form-input--textarea { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) rgba(255,255,255,0.05); }

select.form-input { appearance: none; background: transparent url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") no-repeat right 1rem center; background-size: 0.8rem; }
select.form-input option { color: var(--dark); background: var(--white); }
.submit-btn { display: flex; justify-content: space-between; align-items: center; background: var(--dark); color: var(--white); font-family: 'Bricolage Grotesque', sans-serif; padding: 18px 30px; border: none; border-radius: 50px; font-size: 1.1rem; text-transform: uppercase; cursor: pointer; transition: background 0.3s, color 0.3s; width: 100%; text-decoration: none; }
.submit-btn:hover { background: var(--white); color: var(--dark); }
.submit-btn svg { width: 24px; height: 24px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.submit-btn:hover svg { transform: translateX(6px); }
.submit-btn.is-error { background: rgba(220, 38, 38, 0.9); color: var(--white); }
.submit-btn.is-error svg { transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.form-success { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.form-success h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2rem; text-transform: uppercase; margin-bottom: 10px; }
.form-status { font-size: 0.9rem; margin-top: 10px; }

/* Checkmark with scale‑in animation */
.checkmark-wrap {
    width: 100px; height: 100px;
    margin: 0 auto 25px;
    animation: checkPop 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.checkmark { width: 100%; height: 100%; }
.checkmark__circle {
    stroke: var(--white); stroke-width: 2; fill: none;
    stroke-dasharray: 166; stroke-dashoffset: 166;
    animation: checkCircle 0.6s 0.3s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    stroke: var(--white); stroke-width: 3; fill: none;
    stroke-dasharray: 48; stroke-dashoffset: 48;
    animation: checkStroke 0.4s 0.7s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
@keyframes checkCircle { to { stroke-dashoffset: 0; } }
@keyframes checkStroke { to { stroke-dashoffset: 0; } }

/* Modals */
.modal-shell { position: fixed; inset: 0; background: rgba(10, 15, 36, 0.8); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-shell.is-active { opacity: 1; pointer-events: all; }
.modal-shell__image { max-width: 80vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); object-fit: contain; }
.modal-shell__close { position: absolute; top: 30px; right: 30px; width: 50px; height: 50px; border: none; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); color: white; font-size: 2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.modal-shell__close:hover { background: rgba(255,255,255,0.4); }

/* =========================================
   ADMIN CONSOLE — Light Theme
   ========================================= */
.admin-screen { width: 100%; height: 100vh; background: #f5f6fa; color: var(--dark); overflow-y: auto; }

/* Lock / OTP screens */
.admin-center {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 100vh; background: #f5f6fa;
}
.admin-lockscreen {
    text-align: center;
    max-width: 420px; width: 100%; padding: 40px;
}
.admin-lockscreen__logo { height: 40px; margin-bottom: 30px; }
.admin-lockscreen__icon { width: 60px; height: 60px; margin: 0 auto 25px; }
.admin-lockscreen__icon svg { width: 100%; height: 100%; stroke: var(--dark); opacity: 0.4; }
.admin-lockscreen__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800; text-transform: uppercase;
    margin-bottom: 12px; color: var(--dark);
}
.admin-lockscreen__copy {
    font-size: 1rem; opacity: 0.5; margin-bottom: 35px; line-height: 1.5; color: var(--dark);
}
.admin-lockscreen__copy strong { opacity: 1; color: var(--dark); }

.admin-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--primary); color: var(--white);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem; font-weight: 800; text-transform: uppercase;
    padding: 14px 34px; border: none; border-radius: 60px;
    cursor: pointer; transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}
.admin-cta svg { width: 18px; height: 18px; }
.admin-cta:hover { background: var(--dark); color: var(--white); transform: scale(1.03); }
.admin-cta--small { font-size: 0.9rem; padding: 12px 26px; }

.admin-otp-form { display: flex; flex-direction: column; gap: 20px; margin-bottom: 15px; }
.admin-otp-input {
    text-align: center; font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.6rem; font-weight: 800; letter-spacing: 0.5em;
    padding: 14px; border: 2px solid #dde0e9;
    border-radius: 12px; background: var(--white); color: var(--dark);
    outline: none; transition: border 0.3s;
}
.admin-otp-input::placeholder { color: #c0c4d0; letter-spacing: 0.2em; }
.admin-otp-input:focus { border-color: var(--primary); }

.admin-resend { margin-top: 8px; }
.admin-link-btn {
    background: none; border: none; color: var(--dark); opacity: 0.4;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem;
    cursor: pointer; text-decoration: underline; transition: opacity 0.3s;
}
.admin-link-btn:hover { opacity: 1; }

.admin-home-link {
    display: inline-block; margin-top: 16px;
    font-family: 'Manrope', sans-serif; font-size: 0.85rem;
    color: var(--dark); opacity: 0.35; text-decoration: none;
    transition: opacity 0.3s;
}
.admin-home-link:hover { opacity: 0.8; }

/* Dashboard */
.admin-dashboard { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }

.admin-topbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 30px; height: 65px; flex-shrink: 0;
    background: var(--white); border-bottom: 1px solid #e5e7ee;
}
.admin-topbar__left { display: flex; align-items: center; gap: 14px; }
.admin-topbar__logo { height: 24px; }
.admin-topbar__badge {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px;
    background: var(--primary); color: var(--white); padding: 4px 12px; border-radius: 20px;
}
.admin-topbar__right { display: flex; align-items: center; gap: 20px; }
.admin-topbar__user { font-size: 0.85rem; opacity: 0.45; color: var(--dark); }
.admin-topbar__logout-btn {
    display: flex; align-items: center; gap: 6px;
    background: none; border: 1px solid #e5e7ee;
    color: var(--dark); font-family: 'Manrope', sans-serif; font-size: 0.85rem;
    padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.admin-topbar__logout-btn svg { width: 16px; height: 16px; }
.admin-topbar__logout-btn:hover { background: #f0f1f5; }

.admin-body {
    flex: 1; overflow-y: auto; padding: 24px;
    display: flex; flex-direction: column; align-items: center;
    gap: 20px; background: #f5f6fa;
}
#adminMain {
    display: flex; flex-direction: column; gap: 20px;
    width: 100%; max-width: 540px;
}
.admin-subpage {
    width: 100%; max-width: 540px;
}
.admin-body::-webkit-scrollbar { width: 6px; }
.admin-body::-webkit-scrollbar-track { background: transparent; }
.admin-body::-webkit-scrollbar-thumb { background: #d0d3dd; border-radius: 3px; }
.admin-body { scrollbar-width: thin; scrollbar-color: #d0d3dd transparent; }

.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-stat-card {
    background: var(--white); border: 1px solid #e5e7ee;
    border-radius: 14px; padding: 18px 14px; text-align: center;
}
.admin-stat-card__number {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.3rem; font-weight: 800; color: var(--dark);
    margin-bottom: 2px; word-break: break-all;
}
.admin-stat-card__label { font-size: 0.7rem; opacity: 0.45; text-transform: uppercase; letter-spacing: 1px; color: var(--dark); }

/* Upload + Library Split */
.admin-split { display: flex; gap: 20px; }
.admin-split__upload { flex: 0 0 320px; }
.admin-split__library { flex: 1; min-width: 0; }

.admin-section {
    background: var(--white); border: 1px solid #e5e7ee;
    border-radius: 14px; padding: 20px;
}
.admin-section__header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 16px;
}
.admin-section__header .admin-section__title { margin-bottom: 4px; }
.admin-section__header .admin-section__desc { margin-bottom: 0; }
.admin-section__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem; font-weight: 800; text-transform: uppercase;
    margin-bottom: 4px; color: var(--dark);
}
.admin-section__desc { font-size: 0.8rem; opacity: 0.45; margin-bottom: 14px; color: var(--dark); }
.admin-section__empty { font-size: 0.85rem; opacity: 0.4; text-align: center; padding: 24px 0; }

.admin-showmore {
    background: none; border: 1px solid #e5e7ee; color: var(--primary);
    font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 8px 18px; border-radius: 8px; cursor: pointer;
    transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.admin-showmore:hover { background: rgba(51,68,255,0.06); border-color: var(--primary); }

.admin-upload-form { display: flex; flex-direction: column; gap: 14px; }

.admin-dropzone {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    border: 2px dashed #d0d3dd; border-radius: 12px;
    padding: 20px 14px; cursor: pointer; transition: border-color 0.3s, background 0.3s;
    text-align: center;
}
.admin-dropzone:hover { border-color: var(--primary); background: rgba(51,68,255,0.04); }
.admin-dropzone svg { width: 24px; height: 24px; opacity: 0.3; stroke: var(--dark); }
.admin-dropzone__text { font-size: 0.8rem; opacity: 0.45; color: var(--dark); }
.admin-dropzone__file { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.8rem; color: var(--primary); }

.admin-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.admin-gallery--full { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.admin-gallery__item {
    position: relative; border-radius: 12px; overflow: hidden;
    aspect-ratio: 1; background: #f0f1f5;
}
.admin-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-gallery__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,15,36,0.85) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 10px; opacity: 0; transition: opacity 0.3s;
}
.admin-gallery__overlay--always { opacity: 1; }
.admin-gallery__item:hover .admin-gallery__overlay { opacity: 1; }
.admin-gallery__name { font-size: 0.65rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; word-break: break-all; }
.admin-gallery__actions { display: flex; gap: 6px; }
.admin-gallery__action-btn {
    width: 32px; height: 32px; border-radius: 8px;
    border: none; color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.admin-gallery__action-btn svg { width: 15px; height: 15px; }
.admin-gallery__rename { background: rgba(255,255,255,0.2); }
.admin-gallery__rename:hover { background: rgba(255,255,255,0.35); }
.admin-gallery__delete { background: rgba(220, 38, 38, 0.85); }
.admin-gallery__delete:hover { background: #dc2626; }

.admin-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-action-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 16px 10px; border: 1px solid #e5e7ee; border-radius: 12px;
    background: var(--white); color: var(--dark); text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px;
    transition: background 0.3s, border-color 0.3s;
}
.admin-action-card svg { width: 20px; height: 20px; opacity: 0.35; stroke: var(--dark); }
.admin-action-card:hover { background: rgba(51,68,255,0.04); border-color: var(--primary); }

/* Admin Dialog (full image library) */
.admin-dialog {
    position: fixed; inset: 0; background: rgba(10,15,36,0.5); backdrop-filter: blur(6px);
    display: flex; justify-content: center; align-items: center; z-index: 1000;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.admin-dialog.is-active { opacity: 1; pointer-events: all; }
.admin-dialog__panel {
    background: var(--white); border-radius: 20px;
    width: 90vw; max-width: 900px; max-height: 85vh;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 25px 60px rgba(10,15,36,0.2);
}
.admin-dialog__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 28px; border-bottom: 1px solid #e5e7ee; flex-shrink: 0;
}
.admin-dialog__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.3rem; font-weight: 800; text-transform: uppercase; color: var(--dark);
}
.admin-dialog__close {
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid #e5e7ee;
    background: transparent; color: var(--dark); font-size: 1.5rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.admin-dialog__close:hover { background: #f0f1f5; }
.admin-dialog__body { padding: 24px 28px; overflow-y: auto; flex: 1; }
.admin-dialog__body::-webkit-scrollbar { width: 6px; }
.admin-dialog__body::-webkit-scrollbar-thumb { background: #d0d3dd; border-radius: 3px; }
.admin-dialog__body { scrollbar-width: thin; scrollbar-color: #d0d3dd transparent; }

/* Admin Toast */
.admin-toast {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    padding: 14px 28px; border-radius: 12px; z-index: 1100;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 700;
    animation: toastIn 0.4s ease, toastOut 0.4s 3.5s ease forwards;
}
.admin-toast--success { background: #16a34a; color: white; }
.admin-toast--error { background: #dc2626; color: white; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-50%) translateY(-20px); } }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; } [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* MOBILE RESPONSIVENESS */
@media(max-width:900px){
    html, body { height: auto; overflow: auto; min-height: 100vh; }
    body.layout-home { flex-direction: column; }
    .page-shell { height: auto; min-height: 100vh; }
    .content-area { flex-direction: column; overflow: visible; }
    .marquee-sidebar { width: 100%; height: 50px; border-right: none; border-bottom: 1px solid var(--grid-line); flex-direction: row; }
    .marquee-content { flex-direction: row; animation: scrollHoriz 25s linear infinite; height: 100%; align-items: center; }
    .m-text { writing-mode: horizontal-tb; transform: none; }
    .split-view { flex-direction: column; overflow: visible; }
    .split-view__hero { flex: 0 0 auto; border-right: none; border-bottom: 1px solid var(--grid-line); padding: 8vw 4vw; }
    .gallery-board { grid-template-columns: 1fr; height: auto; min-height: 60vh; }
    .site-header, .site-footer { height: auto; min-height: var(--bar-height); flex-wrap: wrap; }
    .site-header__left, .site-footer__left { border-right: none; padding: 15px clamp(20px, 4vw, 60px); }
    .site-header__right, .site-footer__right { padding: 15px clamp(20px, 4vw, 60px); justify-content: flex-start; border-left: none; }
    .admin-stats, .admin-actions { grid-template-columns: 1fr; }
    .admin-nav-grid { grid-template-columns: 1fr; }
    .admin-split { flex-direction: column; }
    .admin-split__upload { flex: 0 0 auto; }
    .admin-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .admin-gallery--full { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .admin-dialog__panel { width: 96vw; max-height: 90vh; }
    .admin-topbar { flex-direction: column; height: auto; padding: 15px; gap: 10px; }
    @keyframes scrollHoriz { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
}

/* =========================================
   ADMIN — TRANSFER SECTION
   ========================================= */

/* Admin Navigation Grid */
.admin-nav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.admin-nav-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 22px 14px;
    border: 1px solid #e5e7ee; border-radius: 14px;
    background: var(--white); color: var(--dark);
    cursor: pointer; transition: all 0.3s; text-align: center;
}
.admin-nav-card:hover {
    border-color: var(--primary); background: rgba(51,68,255,0.03);
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(51,68,255,0.08);
}
.admin-nav-card__icon {
    width: 40px; height: 40px;
    background: rgba(51,68,255,0.06); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.admin-nav-card__icon svg { width: 20px; height: 20px; stroke: var(--primary); }
.admin-nav-card__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
}
.admin-nav-card__desc { font-size: 0.75rem; opacity: 0.4; margin-top: -4px; }

/* Admin Sub-pages */
.admin-subpage { animation: subpageIn 0.3s ease; width: 100%; }
@keyframes subpageIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.admin-back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 1px solid #e5e7ee; color: var(--dark);
    font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.78rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    padding: 8px 16px; border-radius: 8px; cursor: pointer;
    transition: all 0.2s; margin-bottom: 16px;
}
.admin-back-btn:hover { background: #f0f1f5; border-color: var(--primary); color: var(--primary); }
.admin-dropzone--large { padding: 28px 14px; }

/* Transfer list */
.admin-transfers { display: flex; flex-direction: column; gap: 10px; }
.admin-transfer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 18px; border: 1px solid #e5e7ee; border-radius: 12px;
    background: #fafbfd; transition: background 0.2s;
}
.admin-transfer:hover { background: #f0f1f5; }
.admin-transfer--expired { opacity: 0.45; }
.admin-transfer__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.admin-transfer__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.95rem; font-weight: 800; color: var(--dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-transfer__meta {
    font-size: 0.75rem; color: var(--dark); opacity: 0.45;
}
.admin-transfer__exp { color: #dc2626; font-weight: 700; opacity: 1; }
.admin-transfer__actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-transfer__action-btn {
    width: 34px; height: 34px; border-radius: 8px; border: 1px solid #e5e7ee;
    background: var(--white); color: var(--dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.admin-transfer__action-btn svg { width: 15px; height: 15px; }
.admin-transfer__action-btn:hover { background: rgba(51,68,255,0.06); border-color: var(--primary); color: var(--primary); }
.admin-transfer__action-btn--danger:hover { background: rgba(220,38,38,0.06); border-color: #dc2626; color: #dc2626; }
.admin-transfer__top { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.admin-transfer__client {
    font-size: 0.7rem; color: var(--primary); opacity: 0.7;
    background: rgba(51,68,255,0.06); padding: 2px 10px; border-radius: 6px; font-weight: 700;
}
.admin-transfer__files-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.admin-transfer__file-tag {
    font-size: 0.7rem; color: var(--dark); opacity: 0.6;
    background: #f0f1f5; padding: 3px 10px; border-radius: 6px;
    font-family: 'Manrope', sans-serif;
}
.admin-transfer__file-tag small { opacity: 0.6; }

/* New Transfer Form inside dialog */
.admin-dialog__panel--transfer { max-width: 520px; }
.admin-transfer-form { display: flex; flex-direction: column; gap: 14px; }
.atf-group { display: flex; flex-direction: column; gap: 6px; }
.atf-label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.8rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; color: var(--dark);
}
.atf-hint { font-weight: 500; opacity: 0.4; text-transform: none; letter-spacing: 0; font-family: 'Manrope', sans-serif; }
.atf-input {
    padding: 11px 14px; border: 2px solid #e5e7ee; border-radius: 10px;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem;
    color: var(--dark); background: var(--white); outline: none;
    transition: border 0.3s;
}
.atf-input::placeholder { color: #b0b5c5; }
.atf-input:focus { border-color: var(--primary); }
.atf-input--date { flex: 1; }
.atf-textarea {
    padding: 11px 14px; border: 2px solid #e5e7ee; border-radius: 10px;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem;
    color: var(--dark); background: var(--white); outline: none;
    transition: border 0.3s; resize: vertical; min-height: 50px;
}
.atf-textarea::placeholder { color: #b0b5c5; }
.atf-textarea:focus { border-color: var(--primary); }

.atf-toggle { display: flex; gap: 0; border: 2px solid #e5e7ee; border-radius: 10px; overflow: hidden; }
.atf-toggle__btn {
    flex: 1; padding: 9px 0; border: none; background: var(--white);
    font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.8rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    color: var(--dark); opacity: 0.35; cursor: pointer; transition: all 0.2s;
}
.atf-toggle__btn--active { background: var(--primary); color: var(--white); opacity: 1; }

.atf-expire-row { display: flex; align-items: center; gap: 14px; }
.atf-checkbox {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Manrope', sans-serif; font-size: 0.85rem;
    color: var(--dark); cursor: pointer; white-space: nowrap;
}
.atf-checkbox input { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }

/* =========================================
   MOTIVE TRANSFER — Public Pages (Light)
   ========================================= */
.tf-body {
    background: #f5f6fa !important; color: var(--dark) !important;
    overflow: auto !important; display: flex !important; flex-direction: column !important;
    min-height: 100vh;
}
.tf-page { display: flex; flex-direction: column; min-height: 100vh; }

.tf-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 30px; border-bottom: 1px solid #e5e7ee;
}
.tf-header__left { display: flex; align-items: center; min-width: 0; flex: 1; }
.tf-header__center { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.tf-header__right { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex: 1; min-width: 0; }
.tf-header__logo-img { height: 22px; }
.tf-header__badge {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 2px;
    background: var(--primary); color: var(--white);
    padding: 4px 14px; border-radius: 20px; font-weight: 800;
}
.tf-header__email {
    font-size: 0.75rem; color: var(--dark); opacity: 0.5;
    font-weight: 600; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; max-width: 180px;
}
.tf-header__logout-form { display: inline; }
.tf-header__logout {
    width: 32px; height: 32px; border-radius: 8px;
    border: 1px solid #e5e7ee; background: transparent;
    color: var(--dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; flex-shrink: 0;
}
.tf-header__logout svg { width: 16px; height: 16px; }
.tf-header__logout:hover { background: #fee; border-color: #dc2626; color: #dc2626; }

.tf-footer {
    text-align: center; padding: 30px 20px 24px;
    font-family: 'Manrope', sans-serif;
}
.tf-footer__links {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 10px;
}
.tf-footer__link {
    font-size: 0.85rem; color: var(--primary); text-decoration: none;
    font-weight: 700; transition: opacity 0.3s;
}
.tf-footer__link:hover { opacity: 0.7; }
.tf-footer__sep { font-size: 0.8rem; opacity: 0.3; color: var(--dark); }
.tf-footer__powered { font-size: 0.75rem; opacity: 0.35; color: var(--dark); }
.tf-footer__powered a { color: var(--primary); text-decoration: none; }

.tf-center {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 40px 20px; position: relative;
}

/* Hero landing */
.tf-hero {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; padding: 0 6vw;
}
.tf-hero__headline {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800; font-size: clamp(3rem, 8vw, 9rem);
    line-height: 0.9; text-transform: uppercase;
    letter-spacing: -0.02em; margin: 0 0 24px;
    color: var(--primary);
}
.tf-hero__sub {
    font-family: 'Manrope', sans-serif; font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--dark); opacity: 0.45; margin: 0 0 16px;
}
.tf-hero__cta {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    color: var(--primary); text-decoration: none;
    transition: opacity 0.3s;
}
.tf-hero__cta:hover { opacity: 0.6; }

/* Expired */
.tf-expired { text-align: center; }
.tf-expired__icon { width: 60px; height: 60px; margin: 0 auto 20px; opacity: 0.25; stroke: var(--dark); }
.tf-expired__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; color: var(--dark);
}
.tf-expired__copy { font-size: 1rem; opacity: 0.4; color: var(--dark); }

/* Download card */
.tf-content {
    flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.tf-card {
    width: 100%; max-width: 580px;
    background: var(--white);
    border: 1px solid #e5e7ee;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 8px 40px rgba(10,15,36,0.06);
    animation: tfCardIn 0.5s ease both;
}
@keyframes tfCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.tf-card__header {
    padding: 32px 30px 22px; border-bottom: 1px solid #eef0f5;
}
.tf-card__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2rem; font-weight: 800; text-transform: uppercase;
    margin-bottom: 6px; color: var(--dark); line-height: 1.1;
}
.tf-card__client {
    font-size: 0.9rem; color: var(--dark); opacity: 0.5; margin-bottom: 12px; font-weight: 600;
}
.tf-card__meta {
    display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.tf-card__meta-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.8rem; color: var(--dark); opacity: 0.45; font-weight: 600;
}
.tf-card__meta-icon { width: 14px; height: 14px; flex-shrink: 0; }
.tf-dot { opacity: 0.3; }

/* Files list */
.tf-files { display: flex; flex-direction: column; }
.tf-file {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 30px;
    border-bottom: 1px solid #eef0f5;
    transition: background 0.2s;
    animation: tfFileIn 0.4s ease both;
}
@keyframes tfFileIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
.tf-file:hover { background: #f8f9fc; }
.tf-file__icon {
    width: 42px; height: 42px;
    background: rgba(51,68,255,0.08); color: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.55rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    flex-shrink: 0;
}
.tf-file__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tf-file__name {
    font-size: 0.9rem; font-weight: 700; color: var(--dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tf-file__size { font-size: 0.75rem; opacity: 0.4; color: var(--dark); }
.tf-file__dl {
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid #e5e7ee;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark); transition: all 0.2s; flex-shrink: 0;
    text-decoration: none;
}
.tf-file__dl svg { width: 18px; height: 18px; }
.tf-file__dl:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Download all */
.tf-download-all {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 20px 30px; margin: 0;
    background: var(--primary); color: var(--white);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; text-decoration: none;
    transition: background 0.3s;
    border-bottom-left-radius: 20px; border-bottom-right-radius: 20px;
}
.tf-download-all svg { width: 20px; height: 20px; }
.tf-download-all:hover { background: #2233dd; }

/* Verify page */
.tf-verify-card {
    text-align: center; max-width: 420px; width: 100%; padding: 20px;
}
.tf-verify-card__icon {
    width: 50px; height: 50px; margin: 0 auto 20px; opacity: 0.2;
}
.tf-verify-card__icon svg { width: 100%; height: 100%; stroke: var(--dark); }
.tf-verify-card__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800; text-transform: uppercase; margin-bottom: 10px; color: var(--dark);
}
.tf-verify-card__copy {
    font-size: 0.95rem; opacity: 0.4; color: var(--dark); margin-bottom: 30px; line-height: 1.6;
}

.tf-verify-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 12px; }
.tf-email-input,
.tf-otp-input {
    text-align: center; padding: 18px; border: 2px solid #e5e7ee;
    border-radius: 14px; background: var(--white);
    color: var(--dark); outline: none; transition: border 0.3s;
    font-family: 'Manrope', sans-serif; font-size: 1rem;
}
.tf-otp-input {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.8rem; font-weight: 800; letter-spacing: 0.4em;
}
.tf-email-input::placeholder,
.tf-otp-input::placeholder { color: #b0b5c5; }
.tf-email-input:focus,
.tf-otp-input:focus { border-color: var(--primary); }

.tf-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    background: var(--primary); color: var(--white);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem; font-weight: 800; text-transform: uppercase;
    padding: 18px 40px; border: none; border-radius: 60px;
    cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.tf-cta svg { width: 20px; height: 20px; }
.tf-cta:hover { background: #2233dd; transform: scale(1.03); }

.tf-resend { margin-top: 4px; }
.tf-link-btn {
    background: none; border: none; color: var(--dark); opacity: 0.3;
    font-family: 'Manrope', sans-serif; font-size: 0.85rem;
    cursor: pointer; text-decoration: underline; transition: opacity 0.3s;
}
.tf-link-btn:hover { opacity: 0.8; }

/* Transfer toast */
.tf-toast {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    padding: 14px 28px; border-radius: 12px; z-index: 1100;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 700;
    animation: toastIn 0.4s ease, toastOut 0.4s 3.5s ease forwards;
}
.tf-toast--success { background: #16a34a; color: white; }
.tf-toast--error { background: #dc2626; color: white; }
.tf-toast--info { background: var(--primary); color: white; }

/* Transfer mobile */
@media(max-width:600px){
    .tf-header { padding: 14px 16px; }
    .tf-header__email { max-width: 120px; font-size: 0.7rem; }
    .tf-card { border-radius: 16px; }
    .tf-card__header { padding: 24px 20px 16px; }
    .tf-card__title { font-size: 1.5rem; }
    .tf-card__meta { gap: 10px; }
    .tf-file { padding: 14px 20px; }
    .tf-download-all { padding: 18px 20px; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
    .atf-expire-row { flex-direction: column; align-items: flex-start; }
}

/* =========================================
   EXPIRED PAGE — Links
   ========================================= */
.tf-expired__actions {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 20px;
}
.tf-expired__link {
    font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 700;
    color: var(--primary); text-decoration: none; transition: opacity 0.3s;
}
.tf-expired__link:hover { opacity: 0.6; }
.tf-expired__sep { font-size: 0.85rem; opacity: 0.25; color: var(--dark); }

/* =========================================
   EMAIL TAG INPUT
   ========================================= */
.atf-email-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    padding: 8px 10px; border: 2px solid #e5e7ee; border-radius: 10px;
    background: var(--white); transition: border 0.3s; min-height: 44px;
}
.atf-email-tags:focus-within { border-color: var(--primary); }
.atf-email-tag {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(51,68,255,0.08); color: var(--dark);
    font-family: 'Manrope', sans-serif; font-size: 0.8rem; font-weight: 600;
    padding: 4px 8px 4px 12px; border-radius: 20px;
    animation: tagIn 0.2s ease;
}
@keyframes tagIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.atf-email-tag__remove {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border: none; background: rgba(51,68,255,0.12);
    color: var(--primary); border-radius: 50%; cursor: pointer;
    font-size: 12px; line-height: 1; transition: all 0.2s; padding: 0;
}
.atf-email-tag__remove:hover { background: #dc2626; color: white; }
.atf-email-tags__input {
    flex: 1; min-width: 160px; border: none; outline: none;
    font-family: 'Manrope', sans-serif; font-size: 0.85rem;
    color: var(--dark); background: transparent; padding: 4px 2px;
}
.atf-email-tags__input::placeholder { color: #b0b5c5; }
.atf-email-tags__add {
    width: 28px; height: 28px; border: 1px solid #e5e7ee; border-radius: 8px;
    background: var(--white); color: var(--primary); cursor: pointer;
    font-size: 16px; font-weight: 800; display: flex; align-items: center;
    justify-content: center; transition: all 0.2s; flex-shrink: 0;
}
.atf-email-tags__add:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* =========================================
   SHARE DIALOG
   ========================================= */
.admin-dialog { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.admin-dialog__backdrop { position: absolute; inset: 0; background: rgba(10,15,36,0.5); }
.admin-dialog__panel {
    position: relative; z-index: 1;
    background: var(--white); border-radius: 16px;
    width: 90%; max-width: 440px;
    box-shadow: 0 20px 60px rgba(10,15,36,0.15);
    animation: dialogIn 0.3s ease;
}
@keyframes dialogIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.admin-dialog__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 0;
}
.admin-dialog__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--dark);
}
.admin-dialog__close {
    width: 32px; height: 32px; border: none; background: #f0f1f5;
    border-radius: 8px; font-size: 18px; color: var(--dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.admin-dialog__close:hover { background: #dc2626; color: white; }
.admin-dialog__body { padding: 16px 24px; }
.admin-dialog__desc { font-size: 0.85rem; opacity: 0.5; color: var(--dark); margin-bottom: 16px; }
.admin-dialog__footer { padding: 0 24px 20px; }

/* Toggle switch */
.atf-toggle-row {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    font-size: 0.85rem; font-weight: 600; color: var(--dark);
    padding: 10px 0; user-select: none;
}
.atf-toggle-row input { display: none; }
.atf-toggle-switch {
    width: 40px; height: 22px; background: #d0d3dd; border-radius: 11px;
    position: relative; transition: background 0.2s; flex-shrink: 0;
}
.atf-toggle-switch::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; background: white; border-radius: 50%;
    transition: transform 0.2s;
}
.atf-toggle-row input:checked + .atf-toggle-switch { background: var(--primary); }
.atf-toggle-row input:checked + .atf-toggle-switch::after { transform: translateX(18px); }
.atf-toggle-label { opacity: 0.7; }