/**
 * V2 Category Page — Refined Design
 * Brand: #6366f1 primary, #10b981 accent
 * Cards: Modern Card Listing "soft" style
 */

.alc-wrap { font-family: system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; color: #1e293b; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.alc-ctr { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.alc-sec { margin-bottom: 28px; }

/* ===== BREADCRUMBS ===== */
.alc-bc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8; margin-bottom: 10px; flex-wrap: wrap; }
.alc-bc a { color: #64748b; text-decoration: none; transition: color .15s; }
.alc-bc a:hover { color: #6366f1; }
.alc-bc-s { color: #cbd5e1; font-size: 11px; }
.alc-bc-c { color: #334155; font-weight: 600; }

/* ===== HERO — Soft UI Evolution (UI UX Pro Max) ===== */
/* Style: Soft UI Evolution | Palette: SaaS Trust Blue | Shadows: multi-layer soft */
.alc-hero { padding: 22px 0 18px; overflow: hidden; }
.alc-hero-body { text-align: center; }
.alc-hero-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
.alc-hero-h1 { font-size: 24px; font-weight: 800; margin: 0; line-height: 1.25; letter-spacing: -.025em; }
.alc-hero-sub { font-size: 13.5px; margin: 6px auto 0; max-width: 500px; line-height: 1.5; }

/* Gradient — SaaS trust blue tones with soft depth */
.alc-hero--gradient {
    background: linear-gradient(145deg, #F8FAFC 0%, #E9EFF8 40%, #DBEAFE 70%, #EFF6FF 100%);
    box-shadow: inset 0 -1px 0 #E2E8F0;
}
.alc-hero--gradient .alc-hero-ic { background: #fff; border: 1px solid #DBEAFE; color: #2563EB; box-shadow: 0 1px 4px rgba(37,99,235,.1); }
.alc-hero--gradient .alc-hero-h1 { color: #1E293B; }
.alc-hero--gradient .alc-hero-sub { color: #64748B; }
.alc-hero--gradient .alc-bc a { color: #64748B; }
.alc-hero--gradient .alc-bc a:hover { color: #2563EB; }
.alc-hero--gradient .alc-bc-c { color: #1E293B; }

/* Glass — frosted with subtle blue tint */
.alc-hero--glass {
    background: rgba(248,250,252,.72);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 -1px 0 rgba(226,232,240,.6);
}
.alc-hero--glass .alc-hero-ic { background: rgba(37,99,235,.06); color: #2563EB; }
.alc-hero--glass .alc-hero-h1 { color: #0F172A; }
.alc-hero--glass .alc-hero-sub { color: #64748B; }

/* Dark — deep slate with trust blue accents */
.alc-hero--dark {
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.06);
}
.alc-hero--dark .alc-bc a, .alc-hero--dark .alc-bc-s { color: rgba(148,163,184,.7); }
.alc-hero--dark .alc-bc a:hover { color: #60A5FA; }
.alc-hero--dark .alc-bc-c { color: rgba(241,245,249,.8); }
.alc-hero--dark .alc-hero-ic { background: rgba(37,99,235,.12); color: #60A5FA; box-shadow: 0 1px 4px rgba(37,99,235,.15); }
.alc-hero--dark .alc-hero-h1 { color: #F1F5F9; }
.alc-hero--dark .alc-hero-sub { color: #94A3B8; }

/* Accent — trust blue gradient with warm shift */
.alc-hero--accent {
    background: linear-gradient(145deg, #2563EB 0%, #3B82F6 50%, #1D4ED8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.alc-hero--accent .alc-bc a, .alc-hero--accent .alc-bc-s { color: rgba(255,255,255,.5); }
.alc-hero--accent .alc-bc a:hover { color: #fff; }
.alc-hero--accent .alc-bc-c { color: rgba(255,255,255,.9); }
.alc-hero--accent .alc-hero-ic { background: rgba(255,255,255,.14); color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.alc-hero--accent .alc-hero-h1 { color: #fff; }
.alc-hero--accent .alc-hero-sub { color: rgba(219,234,254,.85); }

/* Minimal — clean with subtle shadow depth (Soft UI Evolution signature) */
.alc-hero--minimal {
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), inset 0 -1px 0 #F1F5F9;
}
.alc-hero--minimal .alc-hero-ic { background: #F1F5F9; color: #2563EB; }
.alc-hero--minimal .alc-hero-h1 { color: #0F172A; }
.alc-hero--minimal .alc-hero-sub { color: #64748B; }

/* ===== STAT PILLS ===== */
.alc-pills { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 8px 0; }
.alc-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 50px;
    padding: 6px 14px 6px 6px; font-size: 13px; color: #374151;
    transition: all .15s; font-family: inherit;
}
.alc-pill:hover { border-color: #c7d2fe; box-shadow: 0 1px 6px rgba(99,102,241,.06); }
.alc-pill-ic {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg,#eef2ff); color: var(--c,#6366f1);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.alc-pill strong { font-weight: 700; color: #111827; }
.alc-pill span { color: #6b7280; font-size: 11px; }
.alc-pill--btn { cursor: pointer; }
.alc-pill--btn:focus { outline: 2px solid #6366f1; outline-offset: 2px; }
.alc-pill--on { background: #2563EB!important; border-color: #2563EB!important; color: #fff!important; box-shadow: 0 2px 8px rgba(37,99,235,.25)!important; }
.alc-pill--on strong { color: #fff!important; }
.alc-pill--on span { color: rgba(255,255,255,.85)!important; }
.alc-pill--on .alc-pill-ic { background: rgba(255,255,255,.25)!important; color: #fff!important; }
.alc-pill--on .alc-pill-ic svg { color: #fff!important; }
.alc-pill--on svg { color: #fff!important; }

/* ===== PRICE RANGE ===== */
.alc-range-box { display: flex; justify-content: center; margin-top: 10px; animation: alc-fi .2s ease; }
@keyframes alc-fi { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:translateY(0)} }
.alc-range-inner {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 10px 16px; box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.alc-range-inner label { font-size: 12px; font-weight: 500; color: #6b7280; display: flex; align-items: center; gap: 3px; }
.alc-range-inner input[type="number"] { width: 70px; padding: 5px 8px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 12px; font-family: inherit; }
.alc-range-inner input:focus { border-color: #6366f1; outline: none; }
.alc-range-btn {
    padding: 7px 20px; font-size: 13px; font-weight: 600; font-family: inherit;
    border-radius: 8px; cursor: pointer; border: 1px solid transparent;
    transition: all .2s ease; background: #2563EB; color: #fff;
    box-shadow: 0 1px 3px rgba(37,99,235,.2), 0 1px 2px rgba(37,99,235,.12);
}
.alc-range-btn:hover { background: #1D4ED8; box-shadow: 0 2px 6px rgba(37,99,235,.3); }
.alc-range-btn:active { transform: scale(.97); }
.alc-range-btn--alt {
    background: #F8FAFC; color: #64748B; border-color: #E2E8F0;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.alc-range-btn--alt:hover { background: #F1F5F9; color: #334155; border-color: #CBD5E1; }

/* ===== PROSE ===== */
.alc-prose {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
    padding: 22px 26px; font-size: 14px; line-height: 1.75; color: #4b5563;
}
.alc-prose-h {
    display: flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 700; color: #111827;
    margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #f3f4f6;
}
.alc-prose h3 { font-size: 15px; font-weight: 700; color: #111827; margin: 16px 0 6px; }
.alc-prose p { margin: 0 0 12px; }
.alc-prose p:last-child { margin-bottom: 0; }
.alc-prose strong { color: #111827; font-weight: 600; }
.alc-prose ul, .alc-prose ol { padding-left: 18px; margin: 0 0 12px; }
.alc-prose li { margin-bottom: 4px; }
.alc-prose--guide { border-left: 3px solid #10b981; }

/* ===== SECTION HEADINGS ===== */
.alc-sec-h { font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.alc-badge { font-size: 11px; font-weight: 600; color: #4338ca; background: #eef2ff; padding: 2px 9px; border-radius: 20px; }

/* ===== LISTING GRID ===== */
.alc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.alc-empty { grid-column: 1/-1; text-align: center; padding: 40px 0; color: #9ca3af; }

/* ===== MODERN CARD SOFT ===== */
.alc-wrap .mc-card.mc-soft.alc-mc {
    background: #fff; border: 1px solid #e5e5ea; border-radius: 14px;
    display: flex; flex-direction: column; overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.alc-wrap .mc-card.mc-soft.alc-mc:hover { border-color: #c7c7cc; box-shadow: 0 4px 20px rgba(0,0,0,.07); transform: translateY(-1px); }
.alc-wrap .mc-link { display: block; text-decoration: none!important; color: inherit; padding: 16px 18px 8px; }
.alc-wrap .mc-link:hover { text-decoration: none!important; color: inherit; }
.alc-wrap .mc-main { display: flex; align-items: flex-start; gap: 14px; }
.alc-wrap .mc-logo { flex-shrink: 0; }
.alc-wrap .mc-logo-img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; display: block; border: 1px solid #ebebf0; }
.alc-wrap .mc-logo--ph { width: 48px; height: 48px; border-radius: 12px; background: #f8fafc; border: 1px solid #ebebf0; display: flex; align-items: center; justify-content: center; }
.alc-wrap .mc-text { flex: 1; min-width: 0; }
.alc-wrap .mc-title { font-size: 15px!important; font-weight: 700!important; line-height: 1.3!important; margin: 0!important; padding: 0!important; color: #1a1a1a!important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alc-wrap .mc-tagline { font-size: 12.5px; line-height: 1.45; margin: 3px 0 0; color: #6e6e73; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alc-wrap .mc-head-buttons { padding: 0 18px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: auto; }
/* Design 1: bookmark inline with pills */
.alc-wrap .mc-design-design1 .mc-head-buttons { justify-content: flex-start; padding-bottom: 14px; }
.alc-wrap .mc-design-design1 .mc-head-buttons .mc-bookmark { margin-left: auto; }
.alc-wrap .mc-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; line-height: 1.3; white-space: nowrap; }
.alc-wrap .mc-pill-tier { background: #065f46; color: #fff; border: 1px solid #065f46; }
.alc-wrap .mc-pill-price { background: #1e40af; color: #fff; border: 1px solid #1e40af; }
.alc-wrap .mc-footer { padding: 8px 18px; border-top: 1px solid #f0f0f5; background: #f9f9fb; display: flex; align-items: center; justify-content: space-between; border-radius: 0 0 14px 14px; }
.alc-wrap .mc-footer-cats { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; overflow: hidden; }
.alc-wrap .mc-cat-term { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: #374151; white-space: nowrap; text-decoration: none; }
a.mc-cat-term--link { cursor: pointer; transition: color .15s, background .15s; padding: 2px 6px; border-radius: 6px; margin: -2px -6px; }
a.mc-cat-term--link:hover { color: #4f46e5; background: #eef2ff; }
.alc-wrap .mc-design-design1 .mc-footer { display: none; }
.alc-wrap .mc-cat-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alc-wrap .mc-cat-icon i { width: 22px; height: 22px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.alc-wrap .mc-cat-icon .term-icon.image-icon { width: 22px; height: 22px; border-radius: 5px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.alc-wrap .mc-cat-icon .term-icon.image-icon img { width: 14px; height: 14px; object-fit: contain; }
.alc-wrap .mc-bookmark { flex-shrink: 0; width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #9ca3af; text-decoration: none; transition: all .15s; }
.alc-wrap .mc-bookmark:hover { background: #f3f4f6; color: #374151; }
.alc-wrap .mc-bookmark.bookmarked, .alc-wrap .mc-bookmark.bookmarked:hover { color: #ef4444; }
.alc-wrap .mc-bookmark i { font-size: 17px; line-height: 1; }

/* ===== LOAD MORE ===== */
.alc-loadmore-wrap { text-align: center; margin-top: 22px; }
.alc-loadmore {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 28px; font-size: 13px; font-weight: 600; font-family: inherit;
    color: #4f46e5; background: #eef2ff; border: 1px solid #c7d2fe;
    border-radius: 50px; cursor: pointer; transition: all .15s;
}
.alc-loadmore:hover { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.alc-loadmore:disabled { opacity: .6; cursor: wait; }
.alc-loadmore:disabled svg { animation: alc-sp .8s linear infinite; }
.alc-spin {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid rgba(37,99,235,.2); border-top-color: #2563EB;
    border-radius: 50%; animation: alc-sp .6s linear infinite;
}
.alc-loadmore:disabled .alc-spin { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
@keyframes alc-sp { from{transform:rotate(0)} to{transform:rotate(360deg)} }

/* ===== FAQ ===== */
.alc-faq-list { display: flex; flex-direction: column; gap: 6px; }
.alc-faq { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: border-color .15s; }
.alc-faq[open] { border-color: #c7d2fe; }
.alc-faq-q { padding: 14px 18px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; color: #111827; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: background .1s; }
.alc-faq-q:hover { background: #fafafa; }
.alc-faq-q::-webkit-details-marker { display: none; }
.alc-faq-chv { flex-shrink: 0; color: #9ca3af; transition: transform .2s; }
.alc-faq[open] .alc-faq-chv { transform: rotate(180deg); color: #6366f1; }
.alc-faq-a { padding: 0 18px 14px; font-size: 13px; line-height: 1.7; color: #4b5563; }
.alc-faq-a p { margin: 0 0 8px; }
.alc-faq-a p:last-child { margin-bottom: 0; }

/* ===== RELATED ===== */
.alc-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.alc-rel { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; text-decoration: none; color: #1e293b; transition: all .15s; }
.alc-rel:hover { border-color: #c7d2fe; box-shadow: 0 3px 10px rgba(99,102,241,.07); transform: translateY(-1px); }
.alc-rel-ic { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.alc-rel-ic i { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.alc-rel-ic .term-icon.image-icon { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.alc-rel-ic .term-icon.image-icon img { width: 20px; height: 20px; object-fit: contain; }
.alc-rel-info { flex: 1; }
.alc-rel-info strong { font-size: 13px; font-weight: 600; color: #111827; display: block; }
.alc-rel-info span { font-size: 11px; color: #6b7280; }
.alc-rel-arr { flex-shrink: 0; color: #d1d5db; transition: color .15s, transform .15s; }
.alc-rel:hover .alc-rel-arr { color: #6366f1; transform: translateX(2px); }
/* Colorful related cards (job pages) — white card, colored icon only */
.alc-rel--color { background: #fff; }
.alc-rel--color:hover { border-color: #c7d2fe; }
.alc-rel-ic--color { background: var(--rel-bg, #eef2ff); }

/* ===== TOAST (position variants) ===== */
.alc-toast {
    position: fixed; z-index: 99999;
    background: #1e293b; color: #fff; padding: 10px 20px; border-radius: 10px;
    font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 7px;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none;
}
.alc-toast i { color: #ef4444; font-size: 16px; }
.alc-toast--on { opacity: 1; pointer-events: auto; }
/* Position variants */
.alc-toast--bottom-center { bottom: 28px; left: 50%; transform: translateX(-50%) translateY(16px); }
.alc-toast--bottom-center.alc-toast--on { transform: translateX(-50%) translateY(0); }
.alc-toast--bottom-right { bottom: 28px; right: 24px; transform: translateY(16px); }
.alc-toast--bottom-right.alc-toast--on { transform: translateY(0); }
.alc-toast--top-center { top: 28px; left: 50%; transform: translateX(-50%) translateY(-16px); }
.alc-toast--top-center.alc-toast--on { transform: translateX(-50%) translateY(0); }
.alc-toast--middle { top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.9); }
.alc-toast--middle.alc-toast--on { transform: translate(-50%,-50%) scale(1); }

/* ===== INLINE CTA ===== */
.alc-cta-card { grid-column: 1/-1; background: linear-gradient(135deg,#eef2ff,#f5f3ff); border: 1px solid #c7d2fe; border-radius: 14px; padding: 20px 24px; text-align: center; }

/* ===== VISIBILITY — Desktop/Mobile independent ===== */
@media (min-width: 769px) { .alc-hide-desk { display: none !important; } }
@media (max-width: 768px) { .alc-hide-mob { display: none !important; } }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .alc-ctr { padding: 0 14px; }
    .alc-hero { padding: 14px 0 10px; }
    .alc-hero-h1 { font-size: 20px; }
    .alc-hero-ic { width: 30px; height: 30px; border-radius: 8px; }
    .alc-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .alc-pill { padding: 5px 10px 5px 5px; font-size: 12px; }
    .alc-pill-ic { width: 24px; height: 24px; }
    .alc-range-inner { gap: 6px; padding: 8px 12px; }
    .alc-range-inner input { width: 60px; }
    .alc-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
    .alc-wrap .mc-link { padding: 14px 14px 6px; }
    .alc-wrap .mc-head-buttons { padding: 0 14px 8px; }
    .alc-wrap .mc-footer { padding: 7px 14px; }
    .alc-wrap .mc-logo-img, .alc-wrap .mc-logo--ph { width: 40px; height: 40px; border-radius: 10px; }
    .alc-wrap .mc-title { font-size: 13.5px!important; }
    .alc-wrap .mc-tagline { font-size: 11.5px; }
    .alc-prose { padding: 16px 18px; border-radius: 12px; font-size: 13px; }
    .alc-prose-h { font-size: 14px; }
    .alc-sec-h { font-size: 16px; }
    .alc-faq-q { padding: 12px 14px; font-size: 13px; }
    .alc-faq-a { padding: 0 14px 12px; font-size: 12px; }
    .alc-rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .alc-hero-h1 { font-size: 18px; }
    .alc-grid { grid-template-columns: 1fr; }
}
