/* ===== BASE ===== */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Sticky header + footer-at-bottom layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--g9);
}

header {
    flex-shrink: 0;
}

body > .container {
    flex: 1;
}

body > main {
    flex: 1;
}

footer {
    flex-shrink: 0;
}

/* Bootstrap overrides */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== DESIGN SYSTEM ===== */
:root {
    --or: #C85500;
    --or2: #E86A1A;
    --orl: #FEF3EB;
    --bg: #F4F4F2;
    --w: #fff;
    --g0: #F5F4F1;
    --g1: #E8E7E2;
    --g2: #D3D1C7;
    --g4: #888780;
    --g7: #444441;
    --g9: #2C2C2A;
}

/* ===== GNB ===== */
.gnb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 58px;
    border-bottom: 0.5px solid var(--g1);
    background: var(--w);
    position: sticky;
    top: 0;
    z-index: 100;
}

.gnb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gnb-lm {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.gnb-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--g9);
}

.gnb-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gnb-user {
    font-size: 13px;
    color: var(--g4);
    padding: 0 4px;
}

.gnb-link {
    font-size: 13px;
    color: var(--g7);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.gnb-link:hover {
    background: var(--g0);
    color: var(--g9);
}

.btn-gnb-ghost {
    padding: 7px 16px;
    border-radius: 8px;
    border: 1.5px solid var(--g1);
    background: transparent;
    color: var(--g7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.btn-gnb-ghost:hover {
    border-color: var(--g4);
    background: var(--g0);
    color: var(--g7);
}

.btn-gnb-pri {
    padding: 7px 16px;
    border-radius: 8px;
    border: none;
    background: var(--or);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-gnb-pri:hover {
    background: #A34500;
    color: #fff;
}

.gnb-form {
    margin: 0;
}

/* ===== LANDING PAGE ===== */
.lp {
    background: var(--w);
}

/* HERO */
.hero {
    background: var(--g9);
    padding: 64px 32px 56px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(200,85,0,.12);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(200,85,0,.07);
}

.hero-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 11px;
    color: rgba(200,85,0,.9);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--or);
}

.hero-h1 {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.hero-h1 em {
    color: var(--or2);
    font-style: normal;
}

.hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 400px;
}

.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-hero-pri {
    padding: 11px 24px;
    border-radius: 9px;
    border: none;
    background: var(--or);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-pri:hover {
    background: #A34500;
    color: #fff;
}

.btn-hero-sec {
    padding: 11px 24px;
    border-radius: 9px;
    border: 1.5px solid rgba(255,255,255,.2);
    background: transparent;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-sec:hover {
    border-color: rgba(255,255,255,.45);
    color: #fff;
}

.cta-btns .btn-hero-pri,
.cta-btns .btn-hero-sec {
    padding: 11px 28px;
}

/* Mockup */
.hero-mockup {
    width: 260px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.mock-shell {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
}

.mock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.mock-dot-red { background: #E24B4A; }
.mock-dot-yellow { background: #EF9F27; }
.mock-dot-green { background: #639922; }

.mock-title {
    font-size: 11px;
    color: rgba(255,255,255,.4);
    margin-left: 4px;
}

.mock-body {
    padding: 12px;
}

.mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.mock-stat {
    background: rgba(255,255,255,.06);
    border-radius: 7px;
    padding: 8px 6px;
    text-align: center;
}

.mock-stat-n {
    font-size: 16px;
    font-weight: 500;
}

.mock-stat-n-orange { color: #F5894A; }
.mock-stat-n-green { color: #97C459; }
.mock-stat-n-dim { color: rgba(255,255,255,.6); }

.mock-stat-l {
    font-size: 9px;
    color: rgba(255,255,255,.35);
    margin-top: 2px;
}

.mock-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.mock-card {
    background: rgba(255,255,255,.06);
    border-radius: 7px;
    overflow: hidden;
}

.mock-card-img {
    height: 52px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-card-foot {
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-badge {
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: 500;
}

.mock-badge-img {
    background: rgba(200,85,0,.3);
    color: #F5894A;
}

.mock-time-label {
    font-size: 8px;
    color: rgba(255,255,255,.3);
}

.mock-player-url {
    margin-top: 8px;
    padding: 8px 10px;
    background: rgba(200,85,0,.15);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-player-url-label {
    font-size: 9px;
    color: rgba(245,137,74,.9);
}

.mock-player-url-code {
    font-size: 9px;
    color: #F5894A;
}

/* FEATURES */
.features {
    padding: 52px 32px;
}

.section-eyebrow {
    font-size: 10px;
    color: var(--or);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--g9);
    margin-bottom: 6px;
}

.section-sub {
    font-size: 13px;
    color: var(--g4);
    margin-bottom: 32px;
    line-height: 1.7;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.feat-card {
    background: var(--w);
    border-radius: 14px;
    border: 0.5px solid var(--g1);
    padding: 20px;
    transition: transform .15s;
}

.feat-card:hover {
    transform: translateY(-2px);
}

.feat-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feat-icon-or { background: var(--orl); }
.feat-icon-gr { background: #E1F5EE; }
.feat-icon-bl { background: #E6F1FB; }

.feat-h {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--g9);
}

.feat-p {
    font-size: 12px;
    color: var(--g4);
    line-height: 1.7;
}

/* HOW IT WORKS */
.how {
    background: var(--g0);
    padding: 52px 32px;
    border-top: 0.5px solid var(--g1);
    border-bottom: 0.5px solid var(--g1);
}

.how-steps {
    display: flex;
    margin-top: 32px;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(16.6% + 20px);
    right: calc(16.6% + 20px);
    height: 1.5px;
    background: var(--g1);
}

.how-step {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

.how-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--w);
    border: 2px solid var(--g1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--g4);
    position: relative;
    z-index: 1;
}

.how-step.highlight .how-num {
    background: var(--or);
    border-color: var(--or);
    color: #fff;
}

.how-step.highlight .how-h {
    color: var(--or);
}

.how-h {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--g7);
}

.how-p {
    font-size: 11px;
    color: var(--g4);
    line-height: 1.6;
}

/* CTA BANNER */
.cta-banner {
    background: var(--g9);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    border-radius: 50%;
    background: rgba(200,85,0,.1);
}

.cta-h {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
}

.cta-p {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    margin-bottom: 24px;
    position: relative;
}

.cta-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: relative;
}

/* LANDING FOOTER */
.lp-footer {
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.5px solid var(--g1);
}

.lp-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-footer-lm {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.lp-footer-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--g9);
}

.lp-footer-copy {
    font-size: 11px;
    color: var(--g4);
}

.lp-footer-link {
    font-size: 11px;
    color: var(--g4);
    text-decoration: none;
}

.lp-footer-link:hover {
    color: var(--or);
}

/* ===== AUTH PAGES ===== */
body > main {
    display: flex;
    flex-direction: column;
}

.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    flex: 1;
}

.auth-card {
    width: 360px;
    background: var(--w);
    border-radius: 14px;
    border: 0.5px solid var(--g1);
    overflow: hidden;
}

.auth-card-wide {
    width: 400px;
}

.auth-card-header {
    background: var(--g9);
    padding: 24px 28px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-logomark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.auth-appname {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
}

.auth-appsub {
    font-size: 10px;
    color: rgba(255,255,255,.4);
    margin-top: 2px;
}

.auth-body {
    padding: 22px 28px 26px;
}

.auth-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 3px;
    color: var(--g9);
}

.auth-sub {
    font-size: 12px;
    color: var(--g4);
    margin-bottom: 18px;
}

.auth-error {
    background: #FEF2F2;
    border: 0.5px solid #FECACA;
    color: #B91C1C;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: var(--or);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
    margin-top: 4px;
}

.auth-btn:hover {
    background: #A34500;
}

.auth-divider {
    border: none;
    border-top: 0.5px solid var(--g1);
    margin: 14px 0;
}

.auth-footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--g4);
    margin: 0;
}

.auth-link {
    color: var(--or);
    font-size: 12px;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
    color: var(--or);
}

.auth-section-label {
    display: block;
    font-size: 10px;
    color: var(--g4);
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 4px;
}

/* Floating label fields */
.fld {
    position: relative;
    margin-bottom: 16px;
}

.fld input {
    width: 100%;
    padding: 26px 14px 10px;
    border: 1.5px solid var(--g2);
    border-radius: 10px;
    background: var(--w);
    font-size: 14px;
    color: var(--g9);
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.fld input:focus {
    border-color: var(--or);
}

.fld-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--g4);
    pointer-events: none;
    transition: all .2s;
}

.fld input:focus ~ .fld-label,
.fld input:not(:placeholder-shown) ~ .fld-label {
    top: 8px;
    transform: none;
    font-size: 10px;
    color: var(--or);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Slug prefix row */
.auth-slug-group {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.auth-slug-prefix {
    font-size: 12px;
    color: var(--g4);
    background: var(--bg);
    padding: 11px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--g2);
    white-space: nowrap;
    font-family: monospace;
}

.auth-slug-group .fld {
    flex: 1;
    margin: 0;
}

/* ===== ADMIN LAYOUT ===== */
.admin-wrap {
    flex: 1;
    display: flex;
}

.admin-sidebar {
    width: 220px;
    background: var(--g9);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
}

.admin-main {
    flex: 1;
    padding: 24px;
    background: var(--bg);
}

.sidebar-brand {
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logomark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.brand-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
}

.brand-sub {
    font-size: 10px;
    color: rgba(255,255,255,.35);
    margin-top: 2px;
}

.sidebar-nav {
    padding: 12px 10px;
    flex: 1;
}

.nav-section-label {
    font-size: 10px;
    color: rgba(255,255,255,.3);
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 8px 10px 4px;
    display: block;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    color: rgba(255,255,255,.6);
    transition: all .15s;
    font-size: 13px;
    margin-bottom: 2px;
    text-decoration: none;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.nav-item.active {
    background: var(--or);
    color: #fff;
}

.nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sidebar-user {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--or);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    flex-shrink: 0;
}

.user-name {
    font-size: 13px;
    color: rgba(255,255,255,.8);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-logout {
    background: none;
    border: none;
    font-size: 11px;
    color: rgba(255,255,255,.35);
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.user-logout:hover {
    color: rgba(255,255,255,.6);
}

/* ===== ADMIN COMPONENTS ===== */

.adm-card {
    background: var(--w);
    border-radius: 14px;
    border: 0.5px solid var(--g1);
    padding: 20px;
}

.adm-center-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.adm-page-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--g9);
    margin-bottom: 4px;
}

.adm-page-sub {
    font-size: 13px;
    color: var(--g4);
}

.adm-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.adm-stat {
    background: var(--w);
    border-radius: 14px;
    border: 0.5px solid var(--g1);
    padding: 20px;
    text-align: center;
}

.adm-stat-n {
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.adm-stat-n-or { color: var(--or); }
.adm-stat-n-gr { color: #3B6D11; }
.adm-stat-n-dim { color: var(--g7); }

.adm-stat-l {
    font-size: 12px;
    color: var(--g4);
    margin-top: 6px;
}

/* Player URL chip */
.player-url-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    background: var(--orl);
    color: var(--or);
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 6px;
    text-decoration: none;
}

/* Content card grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.content-card {
    background: var(--w);
    border-radius: 14px;
    border: 0.5px solid var(--g1);
    overflow: hidden;
    transition: transform .15s;
}

.content-card:hover {
    transform: translateY(-2px);
}

.cc-thumb {
    height: 110px;
    background: var(--g1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-order {
    position: absolute;
    top: 7px;
    left: 8px;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 8px;
}

.cc-body {
    padding: 12px;
}

.cc-path {
    font-size: 11px;
    color: var(--g4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 5px 0 8px;
}

.cc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cc-actions {
    display: flex;
    gap: 4px;
}

/* Badges */
.adm-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.adm-badge-active   { background: #EAF3DE; color: #3B6D11; }
.adm-badge-inactive { background: var(--g1); color: var(--g4); }
.adm-badge-image    { background: var(--orl); color: #C9540A; }
.adm-badge-video    { background: #E1F5EE; color: #0F6E56; }

/* Buttons */
.adm-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.adm-btn-primary            { background: var(--or); color: #fff; }
.adm-btn-primary:hover      { background: #A34500; color: #fff; }
.adm-btn-outline            { background: transparent; border: 1.5px solid var(--g2); color: var(--g7); }
.adm-btn-outline:hover      { border-color: var(--g4); color: var(--g9); }
.adm-btn-danger             { background: #E24B4A; color: #fff; }
.adm-btn-danger:hover       { background: #c73a39; color: #fff; }
.adm-btn-sm                 { padding: 6px 12px; font-size: 12px; }

.adm-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.adm-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Floating label fields (admin — supports input, select, textarea) */
.adm-field {
    position: relative;
    margin-bottom: 16px;
}

.adm-field input,
.adm-field select,
.adm-field textarea {
    width: 100%;
    padding: 26px 14px 10px;
    border: 1.5px solid var(--g2);
    border-radius: 10px;
    background: var(--w);
    font-size: 14px;
    color: var(--g9);
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.adm-field select {
    padding-top: 26px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888780' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.adm-field textarea {
    padding-top: 22px;
    resize: vertical;
    min-height: 80px;
}

.adm-field input:focus,
.adm-field select:focus,
.adm-field textarea:focus {
    border-color: var(--or);
}

.adm-field-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--g4);
    pointer-events: none;
    transition: all .2s;
}

.adm-field input:focus ~ .adm-field-label,
.adm-field input:not(:placeholder-shown) ~ .adm-field-label,
.adm-field select ~ .adm-field-label,
.adm-field textarea:focus ~ .adm-field-label,
.adm-field textarea:not(:placeholder-shown) ~ .adm-field-label {
    top: 8px;
    transform: none;
    font-size: 10px;
    color: var(--or);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.adm-label {
    display: block;
    font-size: 10px;
    color: var(--g4);
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Form grid layouts */
.adm-form-row {
    display: grid;
    gap: 12px;
    margin-bottom: 0;
}

.adm-form-row-2 { grid-template-columns: 1fr 1fr; }

.adm-form-row .adm-field { margin-bottom: 16px; }

/* Dropzone */
.adm-dropzone {
    border: 2px dashed var(--g2);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    background: var(--bg);
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 16px;
}

.adm-dropzone:hover {
    border-color: var(--or);
    background: var(--orl);
}

.adm-dropzone-sm {
    padding: 16px 20px;
}

.adm-dropzone-ring {
    width: 42px;
    height: 42px;
    border: 2px solid var(--g2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: border-color .2s;
}

.adm-dropzone:hover .adm-dropzone-ring {
    border-color: var(--or2);
}

.adm-dropzone-text {
    font-size: 13px;
    color: var(--g7);
}

.adm-dropzone-sub {
    font-size: 11px;
    color: var(--g4);
    margin-top: 4px;
}

/* Image preview */
.adm-img-preview {
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid var(--g1);
    margin-bottom: 14px;
}

.adm-img-preview img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* Checkbox row */
.adm-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 8px;
}

.adm-check-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--or);
}

.adm-check-label {
    font-size: 13px;
    cursor: pointer;
}

/* Success/Error messages */
.adm-success {
    background: #EAF3DE;
    border: 0.5px solid #A3D469;
    color: #3B6D11;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.adm-error {
    background: #FEF2F2;
    border: 0.5px solid #FECACA;
    color: #B91C1C;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}
