@font-face {
    font-family: 'Anton';
    src: url('../fonts/Anton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    --main-color: #17140f;
    --paper-color:#faf9f6;
    --warm-tint:#f1ede6;
    --coral: #d9714f;
    --coral-hover:#a8492e;
    --body-gray:#4a453e;
    --muted-gray:#a39c8f;
    --faint-gray:#7a7496;

    --header-font: 'Anton', sans-serif;
    --para-font:'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--paper-color);
    color: var(--main-color);
    font-family: var(--para-font);
}

/* Sticky footer: on shorter pages (like About) this keeps the dark footer
   flush with the bottom of the browser window instead of leaving a gap of
   page background beneath it. Public site only — admin pages (body.admin-body)
   are untouched. */
body:not(.admin-body) {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
body:not(.admin-body) main {
    flex: 1 0 auto;
}

h1, h2, h3, h4 {
    font-family: var(--header-font);
    font-weight: 400;
    letter-spacing: 0.5px;
    
}

p, li, label, input, textarea, button, a {
    font-family: var(--para-font);
}

a {
    color: var(--coral);
}
a:hover {
    color: var(--coral-hover);
}

.admin-body {
    background-color: var(--paper-color);
}

.text-secondary-light {
    color: var(--body-gray);
}

.text-muted-gray {
    color: var(--muted-gray);
}

.eyebrow {
    display: inline-block;
    font-family: var(--para-font);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--coral);
    margin-bottom: 0.75rem;
}

/* --- Navbar / branding --- */
.site-navbar {
    background-color: var(--main-color);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.navbar-brand,
.footer-brand {
    font-weight: 400;
    font-size: 1.72rem;
    color: var(--paper-color) !important;
    font-family: var(--header-font);
    letter-spacing: 2px;
}

.brand-amp {
    color: var(--coral);
}

.site-navbar .nav-link {
    color: var(--paper-color);
    font-weight: 500;
    margin-left: 0.5rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--coral);
}

.site-navbar .dropdown-menu {
    background-color: var(--main-color);
    border: 1px solid rgba(255,255,255,0.1);
}
.site-navbar .dropdown-item {
    color: var(--paper-color);
}
.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item.active {
    background-color: rgba(217, 113, 79, 0.15);
    color: var(--coral);
}
.site-navbar .dropdown-divider {
    border-color: rgba(255,255,255,0.1);
}

/* --- Nav search: only rendered at all when switched on from Admin >
   Settings (see search_bar_enabled()), so no "disabled" look is needed
   here — it's either not in the page, or shown fully live. --- */
.site-search-group {
    max-width: 180px;
}
.site-search-input {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--paper-color);
}
.site-search-input::placeholder {
    color: rgba(250,249,246,0.6);
}
.site-search-btn {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-left: none;
    color: var(--paper-color);
}
@media (max-width: 991.98px) {
    .site-search-form {
        margin-top: 0.75rem;
        margin-left: 0 !important;
    }
    .site-search-group {
        max-width: 100%;
    }
}

/* --- Buttons --- */
.btn-accent {
    background-color: var(--coral);
    border-color: var(--coral);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    border-radius: 0.3rem;
}
.btn-accent:hover, .btn-accent:focus {
    background-color: var(--coral-hover);
    border-color: var(--coral-hover);
    color: #fff;
}

.btn-outline-accent {
    color: var(--coral);
    border-color: var(--coral);
    font-weight: 600;
    border-radius: 0.3rem;
}
.btn-outline-accent:hover {
    background-color: var(--coral);
    border-color: var(--coral);
    color: #fff;
}

.btn-dark-outline {
    color: var(--paper-color);
    border-color: var(--paper-color);
    font-weight: 600;
    border-radius: 0.3rem;
}
.btn-dark-outline:hover {
    background-color: var(--paper-color);
    color: var(--main-color);
}

/* --- Hero (split layout) --- */
.hero-split {
    background-color: var(--paper-color);
    padding: 4.5rem 0;
}
.hero-split h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.hero-split .lead {
    color: var(--body-gray);
    font-size: 1.15rem;
    max-width: 32rem;
    margin-bottom: 2rem;
}
.hero-split .hero-image-frame {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    aspect-ratio: 5 / 4;
}
.hero-split .hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Value-prop section (warm tint) --- */
.value-prop-section {
    background-color: var(--warm-tint);
    padding: 4.5rem 0;
}
.value-prop-section h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}
.value-prop-section .lead {
    color: var(--body-gray);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}
.section-heading-wrap {
    text-align: center;
}

/* --- Minimal review cards (image + title only) --- */
.review-card-minimal {
    display: block;
    text-decoration: none;
    color: var(--main-color);
}
.review-card-minimal .review-card-img {
    border-radius: 0.4rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--muted-gray);
    margin-bottom: 0.9rem;
}
.review-card-minimal .review-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}
.review-card-minimal:hover .review-card-img img {
    transform: scale(1.03);
}
.review-card-minimal h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--main-color);
}
.review-card-minimal:hover h3 {
    color: var(--coral);
}

/* --- "You Might Also Like" (bottom of a review page) --- */
.related-reviews-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 3.5rem 0 4rem;
}
.related-reviews-section .section-heading-wrap {
    margin-bottom: 2rem;
}
.related-reviews-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

/* Fuller review cards (used on old grid layouts / listing filters) */
.review-card { border: 1px solid rgba(0,0,0,0.08); transition: transform 0.15s ease, box-shadow 0.15s ease; background-color: #fff; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1); }
.review-card .card-img-top { height: 180px; object-fit: contain; }
.review-hero-image { max-height: 460px; width: 100%; object-fit: contain; }

.stat-card { border: none; border-left: 4px solid var(--coral); }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--main-color); }

/* --- Category badges --- */
.category-badge { font-weight: 600; padding: 0.4em 0.8em; letter-spacing: 0.5px; }
.category-tech { background-color: #e7f1ff; color: #2b5fa8; }
.category-lifestyle { background-color: #fbe4dc; color: var(--coral-hover); }

/* --- Article tags. Purely descriptive for now — not linked anywhere,
   since tag-based search/filtering isn't switched on yet. --- */
.tag-badge {
    display: inline-block;
    background-color: var(--warm-tint);
    color: var(--body-gray);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3em 0.75em;
    border-radius: 999px;
    margin: 0 0.35rem 0.35rem 0;
}

.star-rating { color: #e8a33d; letter-spacing: 2px; }
.page-content p { line-height: 1.75; margin-bottom: 1.25rem; }

/* --- Spacing between section headings and the paragraph text around them
   on the single review page. Template section titles (e.g. "The Verdict",
   "At a Glance") render as plain <h2> tags right above the review body, and
   Bootstrap's default heading margin (margin-top: 0) left them sitting flush
   against the text above them, with only a small gap below. This adds
   proper breathing room on both sides, and does the same for any heading an
   admin types directly into the rich-text content itself. --- */
article h2, article h3, article h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
article h2:first-child, article h3:first-child, article h4:first-child {
    margin-top: 0;
}
.page-content h1, .page-content h2, .page-content h3,
.page-content h4, .page-content h5, .page-content h6 {
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}
.page-content h1:first-child, .page-content h2:first-child, .page-content h3:first-child,
.page-content h4:first-child, .page-content h5:first-child, .page-content h6:first-child {
    margin-top: 0;
}

/* --- Images embedded in admin-authored content (review intros, page bodies, templates) ---
   Kept deliberately smaller than the review's big hero image (.review-hero-image,
   styled separately below and untouched by this rule) so in-body photos read as
   supporting detail rather than competing with it. 320px sits in the middle of
   the 200-400px range, and still shrinks to fit on narrow phone screens. */
.page-content img {
    max-width: 100%;
    width: 320px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.08);
    margin: 0 auto 1.5rem;
    display: block;
}

/* --- Dark "Standards" band --- */
.standards-band {
    background-color: var(--main-color);
    color: var(--paper-color);
    padding: 5rem 0;
    text-align: center;
}
.standards-band .eyebrow {
    color: var(--coral);
}
.standards-band h2 {
    font-size: 2.5rem;
    max-width: 42rem;
    margin: 0 auto 1.25rem;
}
.standards-band p {
    color: rgba(250, 249, 246, 0.75);
    max-width: 38rem;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* --- Light archive/CTA band --- */
.cta-band {
    background-color: var(--paper-color);
    padding: 4.5rem 0;
    text-align: center;
}
.cta-band h2 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
}
.cta-band p {
    color: var(--body-gray);
    max-width: 34rem;
    margin: 0 auto 1.75rem;
}

/* --- Small "About" teaser band on the homepage --- */
.about-teaser-section {
    background-color: var(--warm-tint);
    padding: 4.5rem 0;
}
.about-teaser-section h2 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
}
.about-teaser-section p {
    color: var(--body-gray);
    margin: 0 auto 1.75rem;
}

/* --- Mailing list signup banner (site-wide, above the footer) --- */
.mailing-list-banner {
    background-color: var(--coral);
    color: var(--paper-color);
    padding: 2.25rem 0;
}
.mailing-list-banner h2 {
    color: var(--paper-color);
}
.mailing-list-banner p {
    color: rgba(250, 249, 246, 0.9);
}
.mailing-list-form .form-control {
    max-width: 20rem;
    border: none;
    padding: 0.65rem 1rem;
}
.mailing-list-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 20, 15, 0.25);
}
.btn-mailing-list {
    background-color: var(--main-color);
    color: var(--paper-color);
    border: 1px solid var(--main-color);
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-mailing-list:hover, .btn-mailing-list:focus {
    background-color: var(--paper-color);
    color: var(--main-color);
}
@media (max-width: 991.98px) {
    .mailing-list-banner { text-align: center; }
    .mailing-list-form { justify-content: center !important; }
    .mailing-list-form .form-control { max-width: 100%; flex: 1 1 12rem; }
}

/* --- Review byline (single review page) --- */
.review-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: var(--muted-gray);
    font-size: 0.9rem;
}

/* --- Affiliate disclosure banner --- */
.disclosure-banner {
    background-color: var(--warm-tint);
    border-left: 4px solid var(--coral);
    padding: 0.85rem 1.1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--coral-hover);
    border-radius: 0.25rem;
}

/* --- Verdict / bottom-line highlight box --- */
.verdict-box {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 4px solid var(--coral);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 1.5rem;
}
.verdict-box p:last-child {
    margin-bottom: 0;
}

/* --- Pros & Cons (Single Product Review template) --- */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.pros-cons-grid .pros-box,
.pros-cons-grid .cons-box {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.5rem;
    padding: 1.1rem 1.4rem;
}
.pros-cons-grid .pros-box {
    border-left: 4px solid #3ba55d;
}
.pros-cons-grid .cons-box {
    border-left: 4px solid #c0392b;
}
.pros-cons-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}
.pros-cons-grid .page-content {
    margin-bottom: 0;
}
/* Plain <ul><li> as typed in the admin — no special class needed, the
   checkmark/cross comes from which box (Pros or Cons) it's sitting in. */
.pros-cons-grid .page-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.pros-cons-grid .page-content ul li {
    padding: 0.25rem 0 0.25rem 1.6rem;
    position: relative;
}
.pros-box .page-content ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #3ba55d;
    font-weight: 700;
}
.cons-box .page-content ul li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: #c0392b;
    font-weight: 700;
}

/* --- Buy button (used inside admin-authored template content) --- */
.buy-btn {
    display: inline-block;
    background-color: var(--coral);
    color: #fff !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.buy-btn:hover {
    background-color: var(--coral-hover);
    color: #fff;
}
.buy-btn-lg {
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
}

/* --- Spec list (used across all templates) --- */
.page-content ul.spec-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}
.page-content ul.spec-list li {
    padding: 0.4rem 0 0.4rem 1.6rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.page-content ul.spec-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: 700;
}

/* --- Listicle: tiers and numbered product blocks --- */
.listicle-body .tier {
    margin-bottom: 2.5rem;
}
.listicle-body .tier-heading {
    border-bottom: 2px solid var(--coral);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;

}

.product-block {
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.product-block img {
    border-radius: 0.4rem;
}
.product-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--coral);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

/* --- Free-form roundup: restyled to match the boxed product cards used by
   the comparison and listicle templates (.product-block) -- a white card
   with a border and rounded corners for each item -- but without a data
   table. The photo just uses the standard .page-content img treatment
   (centred, shadowed, 320px) so it matches comparison-page photos exactly. --- */
.roundup-item {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.roundup-item-body h3 {
    margin-top: 0 !important;
}

/* --- Comparison table --- */
table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background-color: #fff;
}
table.comparison-table th {
    background-color: var(--main-color);
    color: #fff;
    text-align: left;
    padding: 0.65rem 0.9rem;
    font-weight: 600;
}
table.comparison-table td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
table.comparison-table tbody tr:nth-child(even) {
    background-color: var(--warm-tint);
}

/* Small thumbnail images placed inside a comparison-table cell (overrides
   the larger default .page-content img styling so photos stay row-sized). */
table.comparison-table img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 0.3rem;
    box-shadow: none;
    margin: 0 0.5rem 0 0;
    vertical-align: middle;
}

/* --- Comparison: "what reviewers like" / "worth knowing" callouts --- */
.comparison-body .reviewer-like,
.comparison-body .worth-knowing {
    border-radius: 0.4rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.comparison-body .reviewer-like {
    background-color: #eaf6ee;
    border-left: 4px solid #3ba55d;
}
.comparison-body .worth-knowing {
    background-color: #fdf2e3;
    border-left: 4px solid #d99a2b;
}

/* --- Quick tips list --- */
.page-content ul.quick-tips {
    padding-left: 1.25rem;
}
.page-content ul.quick-tips li {
    margin-bottom: 0.75rem;
}

/* --- Sources list --- */
.page-content ul.sources-list {
    font-size: 0.9rem;
    color: var(--muted-gray);
    padding-left: 1.25rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--main-color);
    color: rgba(250, 249, 246, 0.8);
    padding-top: 1rem;
}
.site-footer .footer-tagline-row {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer p {
    color: rgba(250, 249, 246, 0.7);
}
.site-footer .footer-disclosure {
    color: var(--coral);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 26rem;
}
.site-footer .footer-inquiries-label {
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.site-footer .footer-email {
    font-family: var(--header-font);
    font-size: 1.3rem;
    color: var(--paper-color);
    display: inline-block;
    margin-bottom: 0.5rem;
}
.site-footer .footer-email:hover {
    color: var(--coral);
}
.site-footer nav a {
    color: rgba(250, 249, 246, 0.75);
    margin-left: 1rem;
    text-decoration: none;
    font-size: 0.9rem;
}
.site-footer nav a:first-child {
    margin-left: 0;
}
.site-footer nav a:hover {
    color: var(--coral);
}
.site-footer .footer-bottom-row {
    padding: 1.25rem 0;
    font-size: 0.85rem;
}

/* --- Contact form --- */
.contact-form .form-control {
    background-color: var(--warm-tint);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 0.75rem 1rem;
}
.contact-form .form-control:focus {
    background-color: #fff;
    border-color: var(--coral);
    box-shadow: 0 0 0 0.2rem rgba(217, 113, 79, 0.15);
}
.contact-form label {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

/* --- Responsive tweaks --- */
@media (max-width: 767.98px) {
    .hero-split h1 { font-size: 2.3rem; }
    .standards-band h2, .value-prop-section h2 { font-size: 1.8rem; }
    .site-footer .text-md-end { text-align: left !important; margin-top: 1.5rem; }
}

/* ==========================================================================
   Admin dark/light mode toggle
   Scoped entirely to admin pages: every rule below only applies when the
   <html> element has data-admin-theme="dark" (set by the toggle button in
   admin/includes/header.php), and only touches elements inside
   body.admin-body. The public site never renders that attribute, so none
   of this can affect it.
   ========================================================================== */

.admin-theme-toggle-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--paper-color);
    border-radius: 2rem;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}
.admin-theme-toggle-btn:hover,
.admin-theme-toggle-btn:focus {
    background-color: rgba(255,255,255,0.15);
    color: var(--paper-color);
}

/* Standalone placement (login page, which has no dark navbar behind it) */
.admin-theme-toggle-standalone .admin-theme-toggle-btn {
    border-color: rgba(0,0,0,0.2);
    color: var(--main-color);
}
.admin-theme-toggle-standalone .admin-theme-toggle-btn:hover,
.admin-theme-toggle-standalone .admin-theme-toggle-btn:focus {
    background-color: rgba(0,0,0,0.05);
    color: var(--main-color);
}

html[data-admin-theme="dark"] .admin-body {
    background-color: #17140f;
    color: #f1ede6;
}

html[data-admin-theme="dark"] .admin-body h1,
html[data-admin-theme="dark"] .admin-body h2,
html[data-admin-theme="dark"] .admin-body h3,
html[data-admin-theme="dark"] .admin-body h4,
html[data-admin-theme="dark"] .admin-body label,
html[data-admin-theme="dark"] .admin-body .form-label,
html[data-admin-theme="dark"] .admin-body .form-check-label {
    color: #f1ede6;
}

html[data-admin-theme="dark"] .admin-body .text-secondary-light,
html[data-admin-theme="dark"] .admin-body .form-text {
    color: #a39c8f;
}

html[data-admin-theme="dark"] .admin-body a:not(.btn):not(.nav-link):not(.admin-theme-toggle-btn) {
    color: var(--coral);
}

html[data-admin-theme="dark"] .admin-body .card {
    background-color: #241f18;
    border-color: rgba(255,255,255,0.1);
    color: #f1ede6;
}

html[data-admin-theme="dark"] .admin-body .table {
    color: #f1ede6;
    border-color: rgba(255,255,255,0.12);
}
html[data-admin-theme="dark"] .admin-body .table > :not(caption) > * > * {
    background-color: transparent;
    border-bottom-color: rgba(255,255,255,0.12);
    color: #f1ede6;
    box-shadow: none;
}
html[data-admin-theme="dark"] .admin-body .table-hover > tbody > tr:hover > * {
    background-color: rgba(255,255,255,0.06);
    color: #f1ede6;
}

html[data-admin-theme="dark"] .admin-body .form-control,
html[data-admin-theme="dark"] .admin-body .form-select {
    background-color: #241f18;
    border-color: rgba(255,255,255,0.18);
    color: #f1ede6;
}
html[data-admin-theme="dark"] .admin-body .form-control::placeholder {
    color: #7a7369;
}
html[data-admin-theme="dark"] .admin-body .form-control:focus,
html[data-admin-theme="dark"] .admin-body .form-select:focus {
    background-color: #241f18;
    color: #f1ede6;
    border-color: var(--coral);
    box-shadow: 0 0 0 0.2rem rgba(217, 113, 79, 0.25);
}
html[data-admin-theme="dark"] .admin-body .form-control:disabled,
html[data-admin-theme="dark"] .admin-body .form-select:disabled {
    background-color: #1c1811;
    color: #7a7369;
}

html[data-admin-theme="dark"] .admin-body .btn-outline-secondary {
    color: #f1ede6;
    border-color: rgba(255,255,255,0.35);
}
html[data-admin-theme="dark"] .admin-body .btn-outline-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    color: #f1ede6;
}

html[data-admin-theme="dark"] .admin-body .alert-danger {
    background-color: #3a1f1a;
    border-color: #6b352b;
    color: #f3c9c0;
}
html[data-admin-theme="dark"] .admin-body .alert-success {
    background-color: #1c3324;
    border-color: #2f5b41;
    color: #b7e6c8;
}
html[data-admin-theme="dark"] .admin-body .alert-warning {
    background-color: #3a3018;
    border-color: #6b572b;
    color: #f0dcb0;
}
html[data-admin-theme="dark"] .admin-body .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

html[data-admin-theme="dark"] .admin-body .badge.text-bg-secondary {
    background-color: #4a453e !important;
}

html[data-admin-theme="dark"] .admin-theme-toggle-standalone .admin-theme-toggle-btn {
    border-color: rgba(255,255,255,0.3);
    color: #f1ede6;
}
html[data-admin-theme="dark"] .admin-theme-toggle-standalone .admin-theme-toggle-btn:hover {
    background-color: rgba(255,255,255,0.1);
    color: #f1ede6;
}
