:root {
    --brand-dark: #111827;
    --brand-navy: #1B2631;
    --brand-cream: #FDFCF8;
    --brand-beige: #F5F3EF;
    --brand-gray: #6B7280;
}

body {
    background-color: var(--brand-cream);
    color: var(--brand-dark);
    -webkit-font-smoothing: antialiased;
}

/* Page Transitions */
.page-view {
    display: none;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}
.page-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: #E5E7EB; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }

/* Utility */
.text-balance { text-wrap: balance; }

/* Nav Link Hover Effect */
.nav-link { position: relative; }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 1px;
    bottom: -4px; left: 0; background-color: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Form styling */
.form-input {
    width: 100%;
    background-color: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    padding: 1rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.form-input:focus {
    outline: none;
    background-color: #F3F4F6;
    border-color: var(--brand-dark);
}

.admin-scroll {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.admin-card {
    background: #fff;
    border: 1px solid #F3F4F6;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.admin-pill {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.rich-editor {
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    padding: 0.75rem;
    min-height: 120px;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.rich-toolbar button {
    border: 1px solid #E5E7EB;
    padding: 0.35rem 0.6rem;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: #fff;
}
