/* File: assets/css/custom.css */

/* Header logo: oranı bozulmasın (forum ve tüm sayfalarda) */
#header .flex-shrink-0 img[alt="Servisbak Logo"],
#header a[title="Servisbak Anasayfa"] img {
    width: auto !important;
    max-width: 200px;
    height: 3rem;
    object-fit: contain;
    object-position: left center;
}

@media (min-width: 1024px) {

    #header .flex-shrink-0 img[alt="Servisbak Logo"],
    #header a[title="Servisbak Anasayfa"] img {
        height: 3.5rem;
    }
}

/* Font Awesome ikonları nav'da görünsün (font inherit bazen ikonu bozuyor) */
#header .nav-link i.fas,
#header .nav-link i.far,
#header .nav-item i.fas,
#header .nav-item i.far {
    display: inline-block;
    width: 1.25em;
    text-align: center;
    font-style: normal;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* FAQ Accordion Icon Rotation */
.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-question svg.rotate-180 {
    transform: rotate(180deg);
}

/* Form Input Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Scroll to Top Button Transition */
#topBtn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#topBtn:hover {
    transform: translateY(-3px);
}

/* Mobile Menu Transition */
#mMenu {
    transition: max-height 0.3s ease;
    max-height: calc(100vh - 80px);
    /* Header yüksekliğini çıkar */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Body scroll lock when mobile menu is open */
body.overflow-hidden {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

/* Card Hover Effects */
.bg-white.rounded-2xl,
.bg-gray-50.rounded-2xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-2xl:hover,
.bg-gray-50.rounded-2xl:hover {
    transform: translateY(-2px);
}

/* Print Styles */
@media print {

    header,
    footer,
    #topBtn,
    #mMenuBtn {
        display: none !important;
    }
}

/* Accessibility: Focus Visible */
*:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Mobile: Makale içindeki icon-yazı düzeni düzeltmesi */
@media (max-width: 767px) {

    /* Makale bölümündeki icon-yazı düzeni için mobil düzenleme */
    article section .flex.flex-col {
        align-items: flex-start;
    }

    /* Icon container'ları mobilde üstte, yazı altta */
    article section .flex.flex-col>.flex-shrink-0 {
        margin-bottom: 1rem;
        align-self: flex-start;
    }

    /* Yazı container'ının mobilde tam genişlikte olması ve icon'un altından başlaması */
    article section .flex.flex-col>.flex-1 {
        width: 100%;
        margin-left: 0;
    }
}

/* Loading State (if needed) */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom Scrollbar (Optional) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Popup Animation */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-popup-in {
    animation: popupIn 0.3s ease-out;
}

/* Scrollbar Hide */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Dropdown Transform Fix - Desktop'ta ortalamak için transform'u transition'dan ayır */
@media (min-width: 1024px) {

    #beyazMenu,
    #kombiMenu {
        transform: translateX(-50%) !important;
    }
}

/* Mobile Dropdown Menü Stilleri */
.mobile-dropdown button {
    text-align: left;
}

/* Topbar layout (do not depend on Tailwind responsive utilities) */
.topbar-d {
    display: none;
}

.topbar-m {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .topbar-d {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .topbar-m {
        display: none;
    }
}

#mBeyazMenu,
#mKombiMenu,
#mKurMenu {
    display: none;
    overflow: hidden;
}

#mBeyazMenu.show,
#mKombiMenu.show,
#mKurMenu.show {
    display: block;
}

#mBeyazArrow,
#mKombiArrow,
#mKurArrow {
    transition: transform 0.3s ease;
}

#mBeyazArrow.rotate-180,
#mKombiArrow.rotate-180,
#mKurArrow.rotate-180 {
    transform: rotate(180deg);
}

/* Desktop Header Sticky Fix - Logo container kaymasını engelle */
@media (min-width: 1024px) {

    /* Info bar'ı sayfa en üstünde sabitle */
    .bg-gradient-to-r.from-emerald-700 {
        position: sticky;
        top: 0 !important;
        z-index: 50;
    }

    /* Header'ı info bar'ın hemen altında sabitle, scroll olunca kaymasın */
    #header {
        position: sticky;
        top: 2.5rem !important;
        /* Info bar yüksekliği kadar (40px = h-10) */
        z-index: 40;
    }
}

/* ===== UTILITY CLASSES - Yaygın Pattern'ler ===== */

/* Container */
.container-xl {
    container-type: inline-size;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 80rem;
}

/* Buttons */
.btn {
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #059669;
    color: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-primary:hover {
    background-color: #047857;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Ghost Button (white outline on gradient) */
.btn-ghost {
    background-color: rgba(255, 255, 255, 0.1);
    /* bg-white/10 */
    backdrop-filter: blur(8px);
    /* backdrop-blur-sm */
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 1rem 2rem;
    /* py-4 px-8 */
    border-radius: 0.5rem;
    /* rounded-lg */
    font-weight: 700;
    /* font-bold */
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* hover:bg-white/20 */
}

/* Icon Box */
.icon-box {
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-sm {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-md {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-emerald {
    background-color: #d1fae5;
}

.dark .icon-box-emerald {
    background-color: rgba(16, 185, 129, 0.4);
}

.icon-box-blue {
    background-color: #dbeafe;
}

.dark .icon-box-blue {
    background-color: rgba(59, 130, 246, 0.4);
}

.icon-box-purple {
    background-color: #e9d5ff;
}

.dark .icon-box-purple {
    background-color: rgba(168, 85, 247, 0.4);
}

/* Cards */
.card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.dark .card {
    background-color: #1f2937;
    border-color: #374151;
}

.card-sm {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.dark .card-sm {
    background-color: #111827;
    border-color: #374151;
}

/* Section */
.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-lg {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Text */
.text-muted {
    color: #4b5563;
}

.dark .text-muted {
    color: #9ca3af;
}

.text-label {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

/* Links */
.link {
    display: flex;
    align-items: center;
    color: #9ca3af;
    transition: color 0.2s;
}

.link:hover {
    color: #60a5fa;
}

/* Step Number Badge */
.step-badge {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Flex Utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flex-start {
    display: flex;
    align-items: flex-start;
}

/* SVG Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-md {
    width: 1.5rem;
    height: 1.5rem;
}

/* Gradients */
.gradient-emerald {
    background: linear-gradient(to bottom right, #059669, #047857);
}

.dark .gradient-emerald {
    background: linear-gradient(to bottom right, #047857, #064e3b);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    padding-top: 0.5rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 1px solid #f3f4f6;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 50;
    overflow: hidden;
}

/* Dropdown open state (JS toggles .open) */
.dropdown.open {
    opacity: 1;
    visibility: visible;
}

/* Desktop dropdown arrow rotation (don’t rely on Tailwind rotate-180) */
#beyazArrow,
#kombiArrow,
#kurArrow {
    transition: transform 0.3s ease;
}

#beyazArrow.rotate-180,
#kombiArrow.rotate-180,
#kurArrow.rotate-180 {
    transform: rotate(180deg);
}

/* Nav Item */
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 0.5rem;
}

.nav-item:hover {
    color: #2563eb;
    background-color: #f9fafb;
}

/* Desktop nav link */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* space-x-2 */
    padding: 0.625rem 1rem;
    /* py-2.5 px-4 */
    color: #4b5563;
    /* gray-600 */
    font-weight: 500;
    /* font-medium */
    border-radius: 0.5rem;
    /* rounded-lg */
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: #2563eb;
    /* blue-600 */
    background-color: #f9fafb;
    /* gray-50 */
}

/* Small icon-only button (header) */
.icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    /* gray-600 */
    transition: color 0.2s ease, background-color 0.2s ease;
    outline: none;
}

.icon-btn:hover {
    color: #2563eb;
    /* blue-600 */
    background-color: #f9fafb;
    /* gray-50 */
}

.icon-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Header call button */
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* space-x-2 */
    background-color: #059669;
    /* emerald-600 */
    color: #ffffff;
    padding: 0.625rem 1.5rem;
    /* py-2.5 px-6 */
    border-radius: 0.5rem;
    /* rounded-lg */
    font-weight: 600;
    /* font-semibold */
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    /* shadow-sm */
    margin-left: 0.5rem;
    /* ml-2 (header) */
}

.btn-call:hover {
    background-color: #047857;
    /* emerald-700 */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    /* shadow-md */
}

/* Dropdown “see all” link */
.dd-more {
    display: block;
    margin-top: 0.5rem;
    /* mt-2 */
    padding: 0.5rem 1rem;
    /* py-2 px-4 */
    text-align: center;
    font-size: 0.875rem;
    /* text-sm */
    line-height: 1.25rem;
    font-weight: 600;
    /* font-semibold */
    color: #2563eb;
    /* blue-600 */
    border-radius: 0.5rem;
    /* rounded-lg */
    transition: color 0.2s ease, background-color 0.2s ease;
}

.dd-more:hover {
    color: #1d4ed8;
    /* blue-700 */
    background-color: #eff6ff;
    /* blue-50 */
}

/* Mobile menu main row button */
.m-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* flex-between */
    padding: 0.875rem 1rem;
    /* py-3.5 px-4 */
    color: #374151;
    /* gray-700 */
    font-weight: 500;
    /* font-medium */
    border-radius: 0.75rem;
    /* rounded-xl */
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.m-nav:hover {
    color: #2563eb;
    /* blue-600 */
    background-color: #eff6ff;
    /* blue-50 */
}

/* Emerald inline link */
.link-em {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* space-x-2 */
    color: #059669;
    /* emerald-600 */
    font-weight: 500;
    font-size: 0.875rem;
    /* text-sm */
    line-height: 1.25rem;
    transition: color 0.2s ease;
}

.dark .link-em {
    color: #34d399;
    /* emerald-400 */
}

.link-em:hover {
    color: #047857;
    /* emerald-700 */
}

.dark .link-em:hover {
    color: #6ee7b7;
    /* emerald-300 */
}

/* Surface panel (article/card wrapper) */
.panel {
    background-color: #ffffff;
    border-radius: 1rem;
    /* rounded-2xl */
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    /* shadow-xl */
    overflow: hidden;
    border: 1px solid #e5e7eb;
    /* gray-200 */
}

.dark .panel {
    background-color: #1f2937;
    /* gray-800 */
    border-color: #374151;
    /* gray-700 */
}

/* Slab sections (p-8 lg:p-10 + border-b) */
.slab {
    padding: 2rem;
    /* p-8 */
    border-bottom: 1px solid #e5e7eb;
    /* gray-200 */
}

@media (min-width: 1024px) {
    .slab {
        padding: 2.5rem;
    }

    /* lg:p-10 */
}

.dark .slab {
    border-bottom-color: #374151;
    /* gray-700 */
}

.slab-hero {
    background: linear-gradient(to bottom right, #ecfdf5, #ffffff, #eff6ff);
    /* emerald-50 → white → blue-50 */
}

.dark .slab-hero {
    background: linear-gradient(to bottom right,
            rgba(6, 78, 59, 0.1),
            #1f2937,
            rgba(30, 58, 138, 0.1));
}

.slab-muted {
    background-color: #f9fafb;
    /* gray-50 */
}

.dark .slab-muted {
    background-color: rgba(17, 24, 39, 0.5);
    /* gray-900/50 */
}

/* Icon tile */
.i-tile-em {
    flex-shrink: 0;
    width: 3rem;
    /* w-12 */
    height: 3rem;
    /* h-12 */
    background-color: #d1fae5;
    /* emerald-100 */
    border-radius: 0.5rem;
    /* rounded-lg */
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .i-tile-em {
    background-color: rgba(6, 78, 59, 0.4);
    /* emerald-900/40 */
}

/* Dropdown header link (white) */
.dd-headlink {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    /* space-x-1 */
    color: #ffffff;
    font-size: 0.875rem;
    /* text-sm */
    line-height: 1.25rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dd-headlink:hover {
    color: #d1fae5;
    /* emerald-100 */
}

/* Short emerald-100 utilities (to remove Tailwind tokens) */
.txt-em100 {
    color: #d1fae5;
}

/* text-emerald-100 */
.hov-txt-em100:hover {
    color: #d1fae5;
}

/* hover:text-emerald-100 */
.d-txt-em100 {
    color: inherit;
}

/* dark:text-emerald-100 marker */
.dark .d-txt-em100 {
    color: #d1fae5;
}

.bg-em100 {
    background-color: #d1fae5;
}

/* bg-emerald-100 */
.hov-bg-em100:hover {
    background-color: #d1fae5;
}

/* hover:bg-emerald-100 */
.brd-em100 {
    border-color: #d1fae5;
}

/* border-emerald-100 */

/* Emerald tiles (remove bg-emerald-100 patterns) */
.tile-em {
    background-color: #d1fae5;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.tile-em--p2 {
    padding: 0.5rem;
}

/* p-2 */
.tile-em--p3 {
    padding: 0.75rem;
}

/* p-3 */
.tile-em--mb {
    margin-bottom: 0.625rem;
}

/* mb-2.5 */

/* Hover targets */
.brand-card:hover .tile-em,
.brand-card-alt:hover .tile-em,
.m-brand-card:hover .tile-em,
.m-brand-card-kombi:hover .tile-em {
    background-color: #a7f3d0;
    /* emerald-200 */
}

.service-item:hover .tile-em {
    background-color: #a7f3d0;
    /* emerald-200 */
}

/* Mobile kurumsal button style uses emerald-600 on hover */
.m-nav:hover .tile-em--on {
    background-color: #059669;
    /* emerald-600 */
}

/* Brand Card - Dropdown menülerdeki marka kartları */
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.brand-card:hover {
    border-color: #34d399;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.brand-card-alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.brand-card-alt:hover {
    background-color: #d1fae5;
    border-color: #34d399;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Menu Link Item - Footer ve sidebar linkleri */
.menu-link {
    display: flex;
    align-items: center;
    color: #9ca3af;
    transition: color 0.2s;
}

.menu-link:hover {
    color: #60a5fa;
}

/* Service Item - Kurumsal dropdown menü öğeleri */
.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.service-item:hover {
    background-color: white;
}

/* Mobile Brand Card */
.m-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

@media (hover: hover) {
    .m-brand-card:hover {
        background-color: #eff6ff;
        border-color: #60a5fa;
    }
}

.m-brand-card-kombi {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

@media (hover: hover) {
    .m-brand-card-kombi:hover {
        background-color: #d1fae5;
        border-color: #34d399;
    }
}

/* Service Card - Servis hizmet kartları */
.service-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.dark .service-card {
    background-color: #1f2937;
    border-color: #374151;
}

/* Info Box - Bilgilendirme kutuları */
.info-box {
    background-color: #d1fae5;
    border-left: 4px solid #059669;
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.dark .info-box {
    background-color: rgba(16, 185, 129, 0.2);
}

/* Content Box */
.content-box {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.dark .content-box {
    background-color: #111827;
    border-color: #374151;
}

/* Step Card - Süreç adım kartları */
.step-card {
    background-color: #d1fae5;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #a7f3d0;
}

.dark .step-card {
    background-color: rgba(16, 185, 129, 0.2);
    border-color: #065f46;
}

.step-card-alt {
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid;
}

/* Icon Badge Group */
.icon-badge-group {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: nowrap;
}

/* Heading with Icon */
.heading-icon {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

/* ===== TEXT COMPONENTS ===== */

/* Card Title (e.g. brand/service card label) */
.card-title {
    --ct-color: #111827;
    /* gray-900 */
    --ct-hover: var(--ct-color);
    /* overridden by modifiers */
    color: var(--ct-color);
    font-weight: 600;
    text-align: center;
    transition: color 0.2s ease;
}

.dark .card-title {
    --ct-color: #f9fafb;
    /* gray-50 */
}

.group:hover .card-title {
    color: var(--ct-hover);
}

.card-title--xs {
    font-size: 0.75rem;
    /* text-xs */
    line-height: 1rem;
}

.card-title--sm {
    font-size: 0.875rem;
    /* text-sm */
    line-height: 1.25rem;
}

.card-title--base {
    font-size: 1rem;
    /* text-base */
    line-height: 1.5rem;
}

.card-title--lg {
    font-size: 1.125rem;
    /* text-lg */
    line-height: 1.75rem;
}

.card-title--blue {
    --ct-hover: #2563eb;
    /* blue-600 */
}

.card-title--emerald {
    --ct-hover: #059669;
    /* emerald-600 */
}

.card-title--cyan {
    --ct-hover: #0891b2;
    /* cyan-600 */
}

.card-title--indigo {
    --ct-hover: #4f46e5;
    /* indigo-600 */
}

.card-title--violet {
    --ct-hover: #7c3aed;
    /* violet-600 */
}

.card-title--purple {
    --ct-hover: #9333ea;
    /* purple-600 */
}

.card-title--pink {
    --ct-hover: #db2777;
    /* pink-600 */
}

.card-title--red {
    --ct-hover: #dc2626;
    /* red-600 */
}

.card-title--orange {
    --ct-hover: #ea580c;
    /* orange-600 */
}

.card-title--yellow {
    --ct-hover: #ca8a04;
    /* yellow-600 */
}

.card-title--teal {
    --ct-hover: #0d9488;
    /* teal-600 */
}

/* Badge / Pill */
.badge {
    --bd-bg: #f3f4f6;
    /* gray-100 */
    --bd-fg: #374151;
    /* gray-700 */
    --bd-bg-hover: #e5e7eb;
    /* gray-200 */
    background-color: var(--bd-bg);
    color: var(--bd-fg);
    border-radius: 0.5rem;
    /* rounded-lg */
    font-weight: 500;
    /* font-medium */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.badge--sm {
    font-size: 0.875rem;
    /* text-sm */
    line-height: 1.25rem;
    padding: 0.375rem 0.75rem;
    /* py-1.5 px-3 */
}

.badge--emerald {
    --bd-bg: #ecfdf5;
    /* emerald-50 */
    --bd-fg: #047857;
    /* emerald-700 */
    --bd-bg-hover: #d1fae5;
    /* emerald-100 */
}

.dark .badge--emerald {
    --bd-bg: rgba(6, 78, 59, 0.3);
    /* emerald-900/30 */
    --bd-fg: #6ee7b7;
    /* emerald-300 */
    --bd-bg-hover: rgba(6, 78, 59, 0.5);
    /* emerald-900/50 */
}

.badge--blue {
    --bd-bg: #eff6ff;
    /* blue-50 */
    --bd-fg: #1d4ed8;
    /* blue-700 */
    --bd-bg-hover: #dbeafe;
    /* blue-100 */
}

.dark .badge--blue {
    --bd-bg: rgba(30, 58, 138, 0.3);
    /* blue-900/30 */
    --bd-fg: #93c5fd;
    /* blue-300 */
    --bd-bg-hover: rgba(30, 58, 138, 0.5);
    /* blue-900/50 */
}

.badge--orange {
    --bd-bg: #fff7ed;
    /* orange-50 */
    --bd-fg: #c2410c;
    /* orange-700 */
    --bd-bg-hover: #ffedd5;
    /* orange-100 */
}

.dark .badge--orange {
    --bd-bg: rgba(124, 45, 18, 0.3);
    /* orange-900/30 */
    --bd-fg: #fdba74;
    /* orange-300 */
    --bd-bg-hover: rgba(124, 45, 18, 0.5);
    /* orange-900/50 */
}

.badge:hover {
    background-color: var(--bd-bg-hover);
}