/* ================================================================
   Cianjur Jobs — Auth & Dashboard Styles
   Only loaded on /masuk/, /daftar/, /dashboard/ pages.
   ================================================================ */

/* ── Auth form container ──────────────────────────── */
.cj-auth-wrap {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background-color: #1f3697; /* Base blue background for particles */
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cj-auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 51, 128, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: cjFadeUp 0.5s ease both;
    position: relative;
    z-index: 1;
}

.cj-auth-header {
    text-align: center;
    padding: 2rem 2rem 0;
}

.cj-auth-header .cj-auth-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003380 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 14px rgba(0, 51, 128, 0.2);
}

.cj-auth-icon svg {
    stroke: #fff;
    width: 28px;
    height: 28px;
}

.cj-auth-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.cj-auth-header p {
    font-size: 0.875rem;
    color: #64748b;
}

.cj-auth-body {
    padding: 1.5rem 2rem 2rem;
}

/* ── Form fields ──────────────────────────────────── */
.cj-field {
    position: relative;
    margin-bottom: 1rem;
}

/* Added !important to override GeneratePress default input styles */
.cj-auth-wrap .cj-field input,
.cj-dash-wrap .cj-field input {
    width: 100% !important;
    padding: 0.75rem 1rem 0.75rem 2.75rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    font-size: 0.9375rem !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.cj-auth-wrap .cj-field input:focus,
.cj-dash-wrap .cj-field input:focus {
    border-color: #003380 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0, 51, 128, 0.08) !important;
}

.cj-auth-wrap .cj-field input::placeholder,
.cj-dash-wrap .cj-field input::placeholder {
    color: #94a3b8 !important;
}

.cj-auth-wrap .cj-field .cj-field-icon,
.cj-dash-wrap .cj-field .cj-field-icon {
    position: absolute !important;
    left: 0.875rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    stroke: #94a3b8 !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.2s !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cj-auth-wrap .cj-field input:focus~.cj-field-icon,
.cj-dash-wrap .cj-field input:focus~.cj-field-icon {
    color: #003380 !important;
    stroke: #003380 !important;
}

.cj-field .cj-toggle-pass {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cj-field .cj-toggle-pass svg {
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    transition: stroke 0.2s;
}

.cj-field .cj-toggle-pass:hover svg {
    stroke: #003380;
}

/* ── Submit button ────────────────────────────────── */
.cj-btn-primary {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #003380, #0052cc);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cj-btn-primary:hover {
    background: linear-gradient(135deg, #002a6b, #004abd);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 51, 128, 0.3);
}

.cj-btn-primary:active {
    transform: translateY(0);
}

.cj-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── Google button ────────────────────────────────── */
.cj-btn-google {
    width: 100%;
    padding: 0.75rem;
    background: #fff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.cj-btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cj-btn-google svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Divider ──────────────────────────────────────── */
.cj-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.cj-divider::before,
.cj-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* ── Remember me / forgot ─────────────────────────── */
.cj-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
}

.cj-form-row label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #475569;
    cursor: pointer;
}

.cj-form-row label input[type="checkbox"] {
    accent-color: #003380;
    width: 15px;
    height: 15px;
}

.cj-form-row a {
    color: #003380;
    font-weight: 600;
    text-decoration: none;
}

.cj-form-row a:hover {
    text-decoration: underline;
}

/* ── Auth footer link ─────────────────────────────── */
.cj-auth-footer {
    text-align: center;
    padding: 1.25rem 2rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #64748b;
    background: #fafbfc;
}

.cj-auth-footer a {
    color: #003380;
    font-weight: 700;
    text-decoration: none;
}

.cj-auth-footer a:hover {
    text-decoration: underline;
}

/* ── OTP Input ────────────────────────────────────── */
.cj-otp-step {
    display: none;
    animation: cjFadeUp 0.4s ease both;
}

.cj-otp-step.active {
    display: block;
}

.cj-otp-inputs {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.cj-otp-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.375rem;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
    outline: none;
}

.cj-otp-inputs input:focus {
    border-color: #003380;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 51, 128, 0.1);
}

.cj-otp-timer {
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.75rem;
}

.cj-otp-timer button {
    background: none;
    border: none;
    color: #003380;
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
    text-decoration: underline;
}

.cj-otp-timer button:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}

/* ── Turnstile widget ─────────────────────────────── */
.cj-turnstile {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ── Toast notification ───────────────────────────── */
.cj-auth-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 90vw;
}

.cj-auth-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cj-auth-toast.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.cj-auth-toast.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── Spinner ──────────────────────────────────────── */
.cj-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cjSpin 0.6s linear infinite;
}

/* ================================================================
   DASHBOARD STYLES
   ================================================================ */
.cj-dash-wrap {
    padding: 2rem 1rem;
    min-height: calc(100vh - 64px);
    background-color: #1f3697;
    position: relative;
    overflow: hidden;
}

/* Extra floating blobs using box-shadow trick on content */
.cj-dash-content {
    max-width: 56rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cj-dash-content::before {
    content: '';
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
    bottom: -120px;
    left: -100px;
    animation: cjFloat 18s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -1;
}

.cj-dash-content::after {
    content: '';
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: cjFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 639px) {
    .cj-dash-wrap {
        padding: 1rem 0.75rem;
    }

    /* Avatar upload badge always visible on mobile */

    .cj-profile-info h2 {
        font-size: 1.05rem;
    }

    .cj-profile-info p {
        font-size: 0.75rem;
    }
}

/* ── Profile card ─────────────────────────────────── */
/* ── Profile card (Stic UI Redesign) ─────────────────────────────────── */
.cj-profile-card {
    position: relative;
    background: linear-gradient(145deg, #0d4bc7 0%, #08308a 60%, #05246e 100%);
    border-radius: 1.5rem;
    padding: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(10, 16, 40, 0.8);
    border: 1px solid rgba(96, 165, 250, 0.25);
    overflow: hidden;
    animation: cjFadeUp 0.5s ease both;
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .cj-profile-card { padding: 1.5rem; }
}

/* Background glows for the card */
.cj-profile-card::before {
    content: '';
    position: absolute;
    top: -4rem; right: -4rem;
    width: 12rem; height: 12rem;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}
.cj-profile-card::after {
    content: '';
    position: absolute;
    bottom: -5rem; left: -3rem;
    width: 12rem; height: 12rem;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

/* Top Row (Online Badge) */
.cj-profile-top-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 10;
}

.cj-online-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(147, 197, 253, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.cj-online-pill-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.cj-online-pill-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.025em;
}

/* Main Row: Avatar + Details side-by-side */
.cj-profile-main-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 10;
}
@media (min-width: 640px) {
    .cj-profile-main-row { gap: 1.25rem; }
}

/* Avatar Container */
.cj-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.cj-avatar-glow {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    padding: 2.5px;
    background-color: #fff;
    box-shadow: 0 0 16px 2px rgba(56, 189, 248, 0.75), 0 0 30px 4px rgba(14, 165, 233, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s;
}

@media (min-width: 640px) {
    .cj-avatar-glow { width: 7rem; height: 7rem; }
}

.cj-avatar-wrap:hover .cj-avatar-glow {
    transform: scale(1.02);
}

.cj-avatar-glow img, .cj-avatar-glow svg {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

/* Online dot on avatar */
.cj-avatar-online-dot {
    position: absolute;
    bottom: -4px; right: -4px;
    width: 20px; height: 20px;
    background-color: #34d399;
    border: 3px solid #072d7f;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* User Details */
.cj-user-details {
    flex: 1;
    min-width: 0;
}

.cj-greeting-text {
    font-size: 0.75rem;
    color: rgba(191, 219, 254, 0.9);
    font-weight: 400;
    margin-bottom: 0.125rem;
}

.cj-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cj-name-row h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 640px) {
    .cj-name-row h2 { font-size: 1.5rem; }
}

.cj-verified-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #10b981;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Meta list (Stacked vertically on mobile) */
.cj-meta-list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.cj-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(219, 234, 254, 0.9);
}
@media (min-width: 640px) {
    .cj-meta-item { font-size: 0.875rem; }
}

.cj-meta-item svg {
    width: 1rem; height: 1rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.cj-meta-item a { color: inherit; text-decoration: none; }
.cj-meta-item a:hover { color: #fff; }

.cj-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Action button area */
.cj-profile-action {
    position: relative;
    z-index: 10;
}

.cj-btn-change-photo {
    display: flex;
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(147, 197, 253, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.cj-btn-change-photo svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cj-btn-change-photo:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cj-photo-hint {
    display: block;
    font-size: 11px;
    color: rgba(191, 219, 254, 0.6);
    text-align: left;
    margin-top: 0.75rem;
}
@media (min-width: 640px) {
    .cj-photo-hint { text-align: center; }
}




/* ── Dashboard cards grid ─────────────────────────── */
.cj-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 639px) {
    .cj-dash-grid {
        grid-template-columns: 1fr;
    }
}

.cj-dash-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    animation: cjFadeUp 0.5s ease both;
}

.cj-dash-card:nth-child(2) {
    animation-delay: 0.05s;
}

.cj-dash-card:nth-child(3) {
    animation-delay: 0.1s;
}

.cj-dash-card:nth-child(4) {
    animation-delay: 0.15s;
}

.cj-dash-card:hover {
    border-color: #003380;
    box-shadow: 0 4px 16px rgba(0, 51, 128, 0.08);
    transform: translateY(-2px);
}

.cj-dash-card .cj-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.cj-dash-card .cj-card-icon.blue {
    background: #eff6ff;
    color: #003380;
}

.cj-dash-card .cj-card-icon.green {
    background: #ecfdf5;
    color: #059669;
}

.cj-dash-card .cj-card-icon.amber {
    background: #fffbeb;
    color: #d97706;
}

.cj-dash-card .cj-card-icon.red {
    background: #fef2f2;
    color: #dc2626;
}

.cj-dash-card .cj-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.cj-dash-card .cj-card-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.125rem;
}

/* ── Dashboard section panels ─────────────────────── */
.cj-dash-section {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    margin-top: 1.5rem;
    overflow: hidden;
    display: none;
    animation: cjFadeUp 0.3s ease both;
}

.cj-dash-section.active {
    display: block;
}

.cj-dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.cj-dash-section-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cj-dash-section-header .cj-close-section {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 0.375rem;
    transition: all 0.15s;
}

.cj-dash-section-header .cj-close-section:hover {
    background: #f1f5f9;
    color: #475569;
}

.cj-dash-section-body {
    padding: 1.25rem;
}

/* ── Saved jobs list ──────────────────────────────── */
.cj-saved-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: background 0.15s;
}

.cj-saved-item:hover {
    background: #f8fafc;
}

.cj-saved-item+.cj-saved-item {
    border-top: 1px solid #f1f5f9;
}

.cj-saved-item .cj-saved-thumb {
    width: 44px;
    height: 44px;
    border-radius: 0.625rem;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.cj-saved-item .cj-saved-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cj-saved-item .cj-saved-info {
    flex: 1;
    min-width: 0;
}

.cj-saved-item .cj-saved-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cj-saved-item .cj-saved-company {
    font-size: 0.75rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cj-saved-item .cj-saved-remove {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    border-radius: 0.375rem;
    transition: all 0.15s;
    flex-shrink: 0;
}

.cj-saved-item .cj-saved-remove:hover {
    background: #fef2f2;
    color: #ef4444;
}

/* ── New card icon colors ─────────────────────────── */
.cj-card-icon.purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.cj-card-icon.teal {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.cj-card-icon.orange {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

/* ── Premium card styling ────────────────────────── */
.cj-card-icon-gradient {
    background: linear-gradient(135deg, #1d4ed8, #7c3aed) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.cj-dash-card-premium {
    border-color: rgba(29, 78, 216, 0.15);
    background: linear-gradient(135deg, #fff 0%, #f5f3ff 100%);
}

.cj-dash-card-premium:hover {
    border-color: #7c3aed;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.cj-premium-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0.3px;
}

/* ── Article items ───────────────────────────────── */
.cj-article-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.cj-article-item:last-of-type {
    border-bottom: none;
}

.cj-article-item:hover {
    padding-left: 0.25rem;
}

.cj-article-info {
    flex: 1;
    min-width: 0;
}

.cj-article-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cj-article-item:hover .cj-article-title {
    color: #003380;
}

.cj-article-date {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.125rem;
}

/* ── View all link ───────────────────────────────── */
.cj-view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #003380;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.cj-view-all-link:hover {
    color: #0047b3;
    gap: 0.625rem;
}

/* ── Channel grid ────────────────────────────────── */
.cj-channel-grid {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cj-channel-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cj-channel-btn:hover {
    border-color: var(--ch-color, #003380);
    background: rgba(0, 51, 128, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: var(--ch-color, #003380);
}

.cj-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(0, 51, 128, 0.1);
    color: var(--ch-color, #003380);
    flex-shrink: 0;
}

.cj-channel-label {
    flex: 1;
}

/* ── Location tags grid ──────────────────────────── */
.cj-location-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cj-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    text-decoration: none;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cj-location-tag:hover {
    background: rgba(0, 51, 128, 0.06);
    border-color: #003380;
    color: #003380;
}

.cj-location-tag svg {
    color: #ea580c;
    flex-shrink: 0;
}

.cj-loc-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.375rem;
    height: 1.375rem;
    padding: 0 0.375rem;
    background: #003380;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 2rem;
}

/* ── Animations ───────────────────────────────────── */
@keyframes cjFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cjSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Mobile Responsive ────────────────────────────── */
@media (max-width: 480px) {
    .cj-otp-inputs {
        gap: 0.375rem;
        margin: 1rem 0;
    }

    .cj-otp-inputs input {
        width: 40px;
        height: 46px;
        font-size: 1.125rem;
        border-radius: 0.5rem;
    }

    .cj-auth-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 360px) {
    .cj-otp-inputs {
        gap: 0.25rem;
    }

    .cj-otp-inputs input {
        width: 36px;
        height: 42px;
        font-size: 1rem;
    }
}