/* ===========================
   Button Worker — Shared Styles
   =========================== */

:root {
    --bg: #F7F6F3;
    --bg-alt: #EDECE8;
    --text: #1A1A18;
    --text-muted: #6B6A65;
    --accent: #CC7C5E;
    --accent-hover: #A94E1F;
    --border: #D4D3CE;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- NAV --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(247, 246, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

nav.scrolled {
    border-bottom-color: var(--border);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 110px;
    width: auto;
    display: block;
    fill: currentColor;
    margin-top: 1rem;
}

.logo-text {
    display: none;
}

.logo-dot {
    color: var(--accent);
}

/* Admin navigation logo - show text as fallback */
.admin-nav .logo-img {
    display: none;
}

.admin-nav .logo-text {
    display: inline;
}

.admin-nav .logo {
    font-size: 1.25rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    transition: border-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-toggle:hover {
    border-color: var(--text);
    color: var(--text);
}

.lang-toggle a {
    color: inherit;
    text-decoration: none;
}

.lang-toggle .lang-active {
    font-weight: 600;
    color: var(--text);
}

.lang-toggle .lang-sep {
    color: var(--border);
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--text);
    border-radius: 100px;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--text);
    color: var(--bg);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12rem 3rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease 0.35s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-number {
    font-size: 1.5em;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.55s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--white);
    background: var(--accent);
    border: none;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(200, 96, 42, 0.25);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-ghost {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    padding: 1rem 0.5rem;
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    color: var(--text);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollPulse 2s ease infinite;
}

/* --- METRICS BAR --- */
.metrics {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.metrics-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric {
    text-align: center;
}

.metric-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* --- SECTION SHARED --- */
section {
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

.section-title--spaced {
    margin-bottom: 3.5rem;
}

/* --- WHAT WE AUTOMATE --- */
.routines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.routine-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.2rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

.routine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.routine-card:hover::before {
    height: 100%;
}

.routine-card:hover {
    border-color: transparent;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.routine-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.routine-card h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.routine-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.routine-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

/* --- HOW IT WORKS --- */
.how-section {
    background: var(--bg-alt);
    max-width: 100%;
    padding: 6rem 0;
}

.how-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.step {
    padding: 2.5rem;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 2.5rem;
    bottom: 2.5rem;
    width: 1px;
    background: var(--border);
}

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1.2rem;
    opacity: 0.6;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- PRICING --- */
.pricing-phases {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.phase-connector {
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    color: var(--border);
    padding: 0 0.2rem;
}

.phase-connector svg {
    opacity: 0.5;
}

.pricing-phase {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-phase:nth-of-type(1) {
    padding: 2.4rem 2rem;
}

.pricing-phase:nth-of-type(1) .phase-amount {
    font-size: 2.8rem;
}

.pricing-phase:nth-of-type(2) .phase-amount {
    font-size: 2.4rem;
}

.pricing-phase:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(204, 124, 94, 0.08);
}

.pricing-phase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
    transition: background 0.25s ease;
}

.pricing-phase:hover::after {
    background: var(--accent);
}

.pricing-phase--accent::after {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.phase-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    opacity: 0.6;
}

.phase-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4em;
}

.phase-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.2em 0.55em;
    border-radius: 4px;
    line-height: 1;
}

.phase-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.phase-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-top: auto;
}

.phase-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.phase-list li {
    padding-left: 1.4em;
    position: relative;
}

.phase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.pricing-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.3rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.guarantee svg {
    flex-shrink: 0;
    color: var(--accent);
}

/* --- CONTACT --- */
.contact-section {
    background: var(--bg-alt);
    color: var(--text);
    max-width: 100%;
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: "+ ";
    color: var(--accent, currentColor);
}

.faq-item[open] summary::before {
    content: "\2212  ";
}

.faq-item p {
    margin-top: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-cost-note {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.contact-email {
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-email-note {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted, #5a5a5a);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-field input,
.form-field textarea {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 300;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--border);
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: var(--accent);
}

.form-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* --- CONFIRMATION PAGE --- */
.page-sent {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-sent nav,
.page-error nav {
    position: static;
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
}

.confirmation {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.check-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: scale(0.6);
    animation: popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.check-ring svg {
    opacity: 0;
    animation: fadeIn 0.4s ease 0.55s forwards;
}

.confirmation h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s ease 0.35s forwards;
}

.confirmation h1 em {
    font-style: italic;
    color: var(--accent);
}

.confirmation p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.7s ease 0.5s forwards;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--text);
    padding: 1rem 2.2rem;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.7s ease 0.65s forwards;
}

.btn-back:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-1px);
}

.btn-back svg {
    transition: transform 0.3s ease;
}

.btn-back:hover svg {
    transform: translateX(-3px);
}

/* --- FOOTER --- */
footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text);
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    nav {
        padding: 1.2rem 1.5rem;
        gap: 0.5rem;
    }

    .logo-img {
        height: 80px;
        margin-top: 1rem;
    }

    .nav-cta {
        font-size: 0.75rem;
        padding: 0.55rem 1rem;
        letter-spacing: 0.03em;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .hero {
        padding: 10rem 1.5rem 3rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .how-section, .contact-section {
        padding: 4rem 0;
    }

    .how-inner, .contact-inner {
        padding: 0 1.5rem;
    }

    .metrics-inner {
        padding: 0 1.5rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .routines-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .pricing-phases {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .phase-connector {
        padding: 0.6rem 0;
    }

    .phase-connector svg {
        transform: rotate(90deg);
    }

    .confirmation {
        padding: 3rem 1.5rem;
    }

    footer {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero-scroll {
        display: none;
    }
}

/* --- ADMIN PAGE --- */
.page-admin {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-nav {
    position: static;
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-nav-sep {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.admin-nav-badge {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.admin-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.admin-nav-back:hover {
    color: var(--text);
}

.admin-nav-back svg {
    transition: transform 0.3s ease;
}

.admin-nav-back:hover svg {
    transform: translateX(-3px);
}

.admin-main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 3rem 4rem;
}

.admin-header {
    margin-bottom: 2.5rem;
}

.admin-header-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.admin-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.admin-count {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    background: var(--accent);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.admin-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Admin table */
.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table thead {
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 1rem 1.2rem;
    white-space: nowrap;
    background: var(--bg);
}

.admin-table th:first-child {
    border-top-left-radius: 12px;
}

.admin-table th:last-child {
    border-top-right-radius: 12px;
}

.admin-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--bg-alt);
    vertical-align: top;
    color: var(--text);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr {
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background: var(--bg);
}

.col-id {
    width: 60px;
}

.col-date {
    width: 170px;
}

.col-name {
    width: 150px;
}

.col-email {
    width: 200px;
}

.cell-mono {
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
}

.cell-nowrap {
    white-space: nowrap;
}

.cell-email {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cell-email:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.cell-message {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.cell-message.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    white-space: pre-wrap;
}

/* Admin empty state */
.admin-empty {
    text-align: center;
    padding: 6rem 2rem;
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: var(--white);
}

.admin-empty-icon {
    color: var(--border);
    margin-bottom: 1.5rem;
}

.admin-empty-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.admin-empty-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Admin footer */
.admin-footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .admin-nav {
        padding: 1rem 1.5rem;
    }

    .admin-main {
        padding: 2rem 1.5rem 3rem;
    }

    .admin-title {
        font-size: 2.2rem;
    }

    .admin-footer {
        padding: 1.5rem;
    }
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
