berrypod/assets/css/admin/utilities.css
jamey ad2e6d1e6d add newsletter and email campaigns
Subscribers with double opt-in confirmation, campaign composer with
draft/scheduled/sent lifecycle, admin dashboard with overview stats,
CSV export, and shop signup form wired into page builder blocks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 23:25:28 +00:00

702 lines
23 KiB
CSS

/* Admin utility classes — replaces Tailwind utilities for admin/auth pages.
Only classes actually used in templates are defined here. */
/* ========================================
Shadow/Ring foundation
======================================== */
:where(html) {
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-ring-color: currentColor;
--tw-ring-inset: ;
}
/* ========================================
Display
======================================== */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
/* ========================================
Position
======================================== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.left-\[40rem\] { left: 40rem; }
.-right-1\.5 { right: -0.375rem; }
.-top-1\.5 { top: -0.375rem; }
.z-0 { z-index: 0; }
/* ========================================
Flexbox
======================================== */
.flex-1 { flex: 1 1 0%; }
.flex-none { flex: none; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.self-start { align-self: flex-start; }
/* ========================================
Grid
======================================== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* ========================================
Gap
======================================== */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-\[14px\] { gap: 14px; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-1 { row-gap: 0.25rem; }
.gap-y-4 { row-gap: 1rem; }
/* ========================================
Padding
======================================== */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1\.5 { padding-inline: 0.375rem; }
.px-2 { padding-inline: 0.5rem; }
.px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }
.px-6 { padding-inline: 1.5rem; }
.px-\[14px\] { padding-inline: 14px; }
.py-0\.5 { padding-block: 0.125rem; }
.py-1 { padding-block: 0.25rem; }
.py-1\.5 { padding-block: 0.375rem; }
.py-2 { padding-block: 0.5rem; }
.py-2\.5 { padding-block: 0.625rem; }
.py-3 { padding-block: 0.75rem; }
.py-4 { padding-block: 1rem; }
.py-10 { padding-block: 2.5rem; }
.py-12 { padding-block: 3rem; }
.py-\[5px\] { padding-block: 5px; }
.py-\[10px\] { padding-block: 10px; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pl-10 { padding-inline-start: 2.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
/* ========================================
Margin
======================================== */
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.-mt-1 { margin-top: -0.25rem; }
.-mb-px { margin-bottom: -1px; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-1 { margin-inline-start: 0.25rem; }
.ml-3 { margin-inline-start: 0.75rem; }
.mr-1 { margin-inline-end: 0.25rem; }
.-mr-2 { margin-inline-end: -0.5rem; }
.mx-auto { margin-inline: auto; }
.-mx-2 { margin-inline: -0.5rem; }
.-my-0\.5 { margin-block: -0.125rem; }
/* ========================================
Space between (lobotomised owl)
======================================== */
.space-y-1 > :not(:first-child) { margin-top: 0.25rem; }
.space-y-4 > :not(:first-child) { margin-top: 1rem; }
.space-y-6 > :not(:first-child) { margin-top: 1.5rem; }
/* ========================================
Sizing
======================================== */
.w-0 { width: 0; }
.w-1\.5 { width: 0.375rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-28 { width: 7rem; }
.w-1\/3 { width: 33.333333%; }
.w-auto { width: auto; }
.w-fit { width: fit-content; }
.w-80 { width: 20rem; }
.w-full { width: 100%; }
.w-\[14px\] { width: 14px; }
.w-\[18px\] { width: 18px; }
.h-1\.5 { height: 0.375rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-full { height: 100%; }
.h-\[14px\] { height: 14px; }
.h-\[18px\] { height: 18px; }
.h-\[60px\] { height: 60px; }
.size-3 { width: 0.75rem; height: 0.75rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-10 { width: 2.5rem; height: 2.5rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-16 { width: 4rem; height: 4rem; }
.min-h-0 { min-height: 0; }
.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }
.min-w-48 { min-width: 12rem; }
.max-h-full { max-height: 100%; }
.max-h-64 { max-height: 16rem; }
.max-w-80 { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-full { max-width: 100%; }
.max-w-\[1200px\] { max-width: 1200px; }
.aspect-square { aspect-ratio: 1 / 1; }
/* ========================================
Typography
======================================== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-\[2rem\] { font-size: 2rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-left { text-align: start; }
.text-center { text-align: center; }
.text-right { text-align: end; }
.text-balance { text-wrap: balance; }
.text-wrap { text-wrap: wrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.break-all { word-break: break-all; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.underline { text-decoration-line: underline; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-8 { line-height: 2rem; }
.leading-10 { line-height: 2.5rem; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
/* ========================================
Colours — theme tokens
======================================== */
.bg-base-100 { background-color: var(--t-surface-base); }
.bg-base-200 { background-color: var(--t-surface-sunken); }
.bg-base-300 { background-color: var(--t-border-default); }
.bg-base-content { background-color: var(--t-text-primary); }
.bg-primary { background-color: var(--t-accent); }
.bg-white { background-color: #fff; }
.text-base-100 { color: var(--t-surface-base); }
.text-base-content { color: var(--t-text-primary); }
.text-base-content\/30 { color: color-mix(in oklch, var(--t-text-primary) 30%, transparent); }
.text-base-content\/40 { color: color-mix(in oklch, var(--t-text-primary) 40%, transparent); }
.text-base-content\/50 { color: color-mix(in oklch, var(--t-text-primary) 50%, transparent); }
.text-base-content\/60 { color: color-mix(in oklch, var(--t-text-primary) 60%, transparent); }
.text-base-content\/70 { color: color-mix(in oklch, var(--t-text-primary) 70%, transparent); }
.text-base-content\/80 { color: color-mix(in oklch, var(--t-text-primary) 80%, transparent); }
.text-error { color: var(--t-status-error); }
.text-success { color: var(--t-status-success); }
.text-white { color: #fff; }
.text-brand { color: var(--t-accent); }
.fill-base-content\/40 { fill: color-mix(in oklch, var(--t-text-primary) 40%, transparent); }
/* ========================================
Colours — status palette
======================================== */
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-600 { background-color: #16a34a; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-900 { color: #14532d; }
.border-green-200 { border-color: #bbf7d0; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-500 { background-color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-500 { background-color: #f59e0b; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-500 { background-color: #3b82f6; }
.text-blue-700 { color: #1d4ed8; }
.bg-purple-50 { background-color: #faf5ff; }
.text-purple-700 { color: #7e22ce; }
/* Arbitrary background colours (macOS traffic lights in theme editor) */
.bg-\[\#ff5f57\] { background-color: #ff5f57; }
.bg-\[\#ffbd2e\] { background-color: #ffbd2e; }
.bg-\[\#28c940\] { background-color: #28c940; }
/* ========================================
Borders
======================================== */
.border { border: 1px solid; }
.border-0 { border-width: 0; }
.border-1 { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom: 1px solid; }
.border-t { border-top: 1px solid; }
.border-t-0 { border-top-width: 0; }
.border-dashed { border-style: dashed; }
.border-transparent { border-color: transparent; }
.border-base-200 { border-color: var(--t-surface-sunken); }
.border-base-300 { border-color: var(--t-border-default); }
.border-base-content\/20 { border-color: color-mix(in oklch, var(--t-text-primary) 20%, transparent); }
.border-b-base-content\/30 { border-bottom-color: color-mix(in oklch, var(--t-text-primary) 30%, transparent); }
/* Arbitrary border colours (macOS traffic lights) */
.border-\[\#e14640\] { border-color: #e14640; }
.border-\[\#dfa123\] { border-color: #dfa123; }
.border-\[\#1aab29\] { border-color: #1aab29; }
/* ========================================
Border radius
======================================== */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.rounded-b-lg {
border-bottom-left-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
}
.rounded-t-\[10px\] {
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.rounded-box { border-radius: var(--t-radius-card, 0.5rem); }
/* ========================================
Ring (outline via box-shadow)
======================================== */
.ring-0 {
--tw-ring-shadow: 0 0 #0000;
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.ring-1 {
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 1px var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.ring-inset { --tw-ring-inset: inset; }
.ring-base-300 { --tw-ring-color: var(--t-border-default); }
.ring-green-600\/20 { --tw-ring-color: rgb(22 163 74 / 0.2); }
.ring-red-600\/20 { --tw-ring-color: rgb(220 38 38 / 0.2); }
.ring-amber-600\/10 { --tw-ring-color: rgb(217 119 6 / 0.1); }
.ring-blue-600\/20 { --tw-ring-color: rgb(37 99 235 / 0.2); }
.ring-purple-600\/20 { --tw-ring-color: rgb(147 51 234 / 0.2); }
/* ========================================
Shadow
======================================== */
.shadow {
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.shadow-xs {
--tw-shadow: 0 1px rgb(0 0 0 / 0.05);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.shadow-sm {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
/* ========================================
Overflow
======================================== */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
/* ========================================
Object fit
======================================== */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
/* ========================================
Opacity
======================================== */
.opacity-40 { opacity: 0.4; }
.opacity-75 { opacity: 0.75; }
/* ========================================
Cursor
======================================== */
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
/* ========================================
Gradient
======================================== */
.bg-gradient-to-b {
--tw-gradient-from: transparent;
--tw-gradient-to: transparent;
background-image: linear-gradient(to bottom, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-base-300 { --tw-gradient-from: var(--t-border-default); }
.to-base-300\/80 { --tw-gradient-to: color-mix(in oklch, var(--t-border-default) 80%, transparent); }
/* ========================================
Filter
======================================== */
.brightness-200 { filter: brightness(2); }
/* ========================================
Transitions & animation
======================================== */
.transition {
transition-property: color, background-color, border-color, text-decoration-color,
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.transition-all {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.transition-colors {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.transition-transform {
transition-property: transform;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.transition-\[left\] {
transition-property: left;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }
@media (prefers-reduced-motion: no-preference) {
.motion-safe\:animate-spin { animation: spin 1s linear infinite; }
}
/* ========================================
Hover states
======================================== */
.hover\:bg-base-200:hover { background-color: var(--t-surface-sunken); }
.hover\:bg-base-200\/50:hover { background-color: color-mix(in oklch, var(--t-surface-sunken) 50%, transparent); }
.hover\:bg-base-300:hover { background-color: var(--t-border-default); }
.hover\:bg-base-content\/80:hover { background-color: color-mix(in oklch, var(--t-text-primary) 80%, transparent); }
.hover\:bg-green-500:hover { background-color: #22c55e; }
.hover\:border-base-300:hover { border-color: var(--t-border-default); }
.hover\:border-base-content\/40:hover { border-color: color-mix(in oklch, var(--t-text-primary) 40%, transparent); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:text-base-content:hover { color: var(--t-text-primary); }
.hover\:text-base-content\/70:hover { color: color-mix(in oklch, var(--t-text-primary) 70%, transparent); }
.hover\:text-base-content\/80:hover { color: color-mix(in oklch, var(--t-text-primary) 80%, transparent); }
.hover\:text-red-800:hover { color: #991b1b; }
.hover\:underline:hover { text-decoration-line: underline; }
.hover\:cursor-pointer:hover { cursor: pointer; }
/* ========================================
Focus states
======================================== */
.focus\:border-primary:focus { border-color: var(--t-accent); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-1:focus {
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 1px var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.focus\:ring-primary\/20:focus { --tw-ring-color: color-mix(in oklch, var(--t-accent) 20%, transparent); }
/* ========================================
Disabled states
======================================== */
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
/* ========================================
Group states
======================================== */
.group { /* marker class — no styles */ }
.group:hover .group-hover\:bg-base-300 { background-color: var(--t-border-default); }
.group:hover .group-hover\:fill-base-content { fill: var(--t-text-primary); }
.group:hover .group-hover\:opacity-70 { opacity: 0.7; }
.group:hover .group-hover\:text-base-content { color: var(--t-text-primary); }
.group[open] .group-open\:rotate-180 { transform: rotate(180deg); }
/* ========================================
Pseudo-class selectors
======================================== */
.only\:block:only-child { display: block; }
.last\:pb-0:last-child { padding-bottom: 0; }
.\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker { display: none; }
/* ========================================
Responsive: sm (min-width: 640px)
======================================== */
@media (min-width: 640px) {
.sm\:flex-col { flex-direction: column; }
.sm\:flex-row { flex-direction: row; }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm\:p-6 { padding: 1.5rem; }
.sm\:px-6 { padding-inline: 1.5rem; }
.sm\:py-6 { padding-block: 1.5rem; }
.sm\:py-28 { padding-block: 7rem; }
.sm\:w-auto { width: auto; }
.sm\:w-96 { width: 24rem; }
.sm\:max-w-96 { max-width: 24rem; }
/* JS transition scale (used in show/hide) */
.sm\:translate-y-0 { translate: 0 0; }
.sm\:scale-95 { scale: 0.95; }
.sm\:scale-100 { scale: 1; }
.sm\:group-hover\:scale-105 { /* defined below with group:hover */ }
}
.group:hover .sm\:group-hover\:scale-105 {
@media (min-width: 640px) { scale: 1.05; }
}
/* ========================================
Responsive: lg (min-width: 1024px)
======================================== */
@media (min-width: 1024px) {
.lg\:block { display: block; }
.lg\:col-span-2 { grid-column: span 2 / span 2; }
.lg\:flex-row { flex-direction: row; }
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg\:h-screen { height: 100vh; }
.lg\:mx-0 { margin-inline: 0; }
.lg\:p-8 { padding: 2rem; }
.lg\:px-8 { padding-inline: 2rem; }
}
/* ========================================
Responsive: xl (min-width: 1280px)
======================================== */
@media (min-width: 1280px) {
.xl\:left-\[50rem\] { left: 50rem; }
.xl\:px-28 { padding-inline: 7rem; }
.xl\:py-32 { padding-block: 8rem; }
}
/* ========================================
JS transition helpers (used by core_components show/hide)
======================================== */
.translate-y-4 { translate: 0 1rem; }
.translate-y-0 { translate: 0 0; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.scale-95 { scale: 0.95; }
.scale-100 { scale: 1; }
/* Duration classes used by JS.transition */
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
/* ========================================
DaisyUI component stubs (used in Phoenix home page and theme toggle)
======================================== */
.card {
border-radius: var(--t-radius-card, 0.5rem);
overflow: hidden;
}
.badge {
display: inline-flex;
align-items: center;
border-radius: var(--t-radius-button, 0.25rem);
padding-inline: 0.5rem;
font-size: 0.875rem;
line-height: 1.25rem;
border: 1px solid currentColor;
width: fit-content;
}
.badge-sm { font-size: 0.75rem; line-height: 1rem; padding-inline: 0.375rem; }
.badge-warning {
border-color: var(--t-status-warning);
color: var(--t-status-warning-content);
background-color: var(--t-status-warning);
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 600;
border-radius: var(--t-radius-input, 0.25rem);
border: 1px solid transparent;
cursor: pointer;
transition: background-color 150ms, border-color 150ms;
}
.btn-primary {
background-color: var(--t-accent);
color: var(--t-text-inverse);
}
.btn-primary:hover {
filter: brightness(0.9);
}
/* ========================================
Prose (minimal typography block for instructions)
======================================== */
.prose {
line-height: 1.75;
}
.prose p { margin-top: 1em; margin-bottom: 1em; }
.prose :first-child { margin-top: 0; }
.prose :last-child { margin-bottom: 0; }
.prose a { color: var(--t-accent); text-decoration: underline; }
.prose strong { font-weight: 600; }
.prose-sm { font-size: 0.875rem; line-height: 1.5; }
/* ========================================
List styles
======================================== */
.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }
.list-none { list-style-type: none; }