@import url("/css/filament/filament/app.css");

@media (min-width: 1024px) {
    .fi-global-search {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 400px;
        justify-content: center;
        z-index: 10;
    }
}

.bj-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    margin-top: 0.35rem;
    border-radius: 9999px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08));
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 150ms ease;
}

.bj-edit-link:hover {
    border-color: rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.14));
    color: #1e40af;
}

.bj-edit-link svg {
    width: 0.9rem;
    height: 0.9rem;
}

.bj-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.bj-brand-logo {
    height: 100%;
    width: auto;
    display: block;
}

.bj-logo-light {
    display: block;
}

.bj-logo-dark {
    display: none;
}

.dark .bj-logo-light {
    display: none;
}

.dark .bj-logo-dark {
    display: block;
}

.bj-brand-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: inherit;
    white-space: nowrap;
}

.dark .bj-brand-text {
    color: #f8fafc;
}

.bj-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(226, 232, 240, 0.4));
}

.bj-toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.bj-toggle-desc {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #64748b;
}

.bj-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.6rem 0.25rem 0.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #fff;
    transition: all 150ms ease;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.bj-toggle:hover {
    border-color: rgba(59, 130, 246, 0.45);
    color: #1d4ed8;
}

.bj-toggle:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bj-toggle-thumb {
    display: inline-block;
    width: 1.5rem;
    height: 0.9rem;
    border-radius: 9999px;
    background: #e2e8f0;
    position: relative;
    transition: all 150ms ease;
}

.bj-toggle-thumb::after {
    content: "";
    position: absolute;
    top: 0.1rem;
    left: 0.1rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #94a3b8;
    transition: all 150ms ease;
}

.bj-toggle.is-on .bj-toggle-thumb {
    background: rgba(37, 99, 235, 0.18);
}

.bj-toggle.is-on .bj-toggle-thumb::after {
    left: 0.7rem;
    background: #2563eb;
}

.bj-inline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.05rem;
}

.bj-inline-grid--compact {
    width: min(100%, 19rem);
}

.bj-inline-grid--statements {
    width: min(100%, 24rem);
}

.bj-inline-card {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.95rem;
    background: transparent;
    box-shadow: none;
    padding: 0.55rem 0.65rem;
}

.bj-inline-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f172a;
}

.bj-inline-control {
    width: 100%;
    height: 2.35rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #fff;
    padding: 0 0.62rem;
    font-size: 0.82rem;
    color: #0f172a;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.bj-inline-control:focus {
    border-color: rgba(37, 99, 235, 0.65);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.dark .bj-inline-card {
    border-color: rgba(148, 163, 184, 0.26);
    background: transparent;
    box-shadow: none;
}

.dark .bj-inline-label {
    color: #e2e8f0;
}

.dark .bj-inline-control {
    border-color: rgba(148, 163, 184, 0.4);
    background: rgba(2, 6, 23, 0.55);
    color: #e2e8f0;
}

.bj-notification-trigger {
    position: relative;
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    border: 1px solid #d6e0eb;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: all 140ms ease;
}

.bj-notification-trigger:hover {
    border-color: #c2d0e0;
    background: #f8fafc;
    color: #0f172a;
}

.bj-notification-counter {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1.1rem;
    border-radius: 9999px;
    border: 1px solid #ffffff;
    background: #2563eb;
    padding: 0.1rem 0.3rem;
    text-align: center;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.bj-notification-header {
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0.75rem 0.9rem;
}

.bj-notification-header-eyebrow {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.bj-notification-header-title {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.bj-notification-mark-all {
    border-radius: 0.42rem;
    padding: 0.24rem 0.55rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bj-notification-list {
    border-top: 0 !important;
    background: #f8fafc;
    padding: 0.5rem !important;
}

.bj-notification-empty {
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    background: #ffffff;
    padding: 1.5rem 1rem;
    text-align: center;
}

.bj-notification-empty-icon {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #e2e8f0;
    color: #475569;
}

.bj-notification-empty-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.bj-notification-item {
    margin-bottom: 0.5rem;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    background: #ffffff;
    padding: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: all 140ms ease;
}

.bj-notification-item:last-child {
    margin-bottom: 0;
}

.bj-notification-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.bj-notification-item.is-unread {
    border-color: #bfdbfe;
    background: #f8fbff;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.bj-notification-item-icon {
    margin-top: 0.1rem;
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.bj-notification-item-icon--interview {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.bj-notification-item-icon--invitation {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.bj-notification-item-icon--job {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.bj-notification-item-icon--default {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.bj-notification-item-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.bj-notification-unread-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #2563eb;
    padding: 0.12rem 0.4rem;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.bj-notification-item-body {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #475569;
    word-break: break-word;
}

.bj-notification-meta-row {
    margin-top: 0.65rem;
}

.bj-notification-kind {
    display: inline-flex;
    align-items: center;
    border: 1px solid;
    border-radius: 9999px;
    padding: 0.13rem 0.48rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bj-notification-kind--interview {
    border-color: rgba(34, 197, 94, 0.26);
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.bj-notification-kind--invitation {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.bj-notification-kind--job {
    border-color: rgba(37, 99, 235, 0.28);
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.bj-notification-kind--default {
    border-color: rgba(100, 116, 139, 0.24);
    background: rgba(100, 116, 139, 0.08);
    color: #475569;
}

.bj-notification-time {
    font-size: 11px;
    color: #64748b;
}

.bj-notification-read-btn {
    border: 1px solid #cbd5e1;
    border-radius: 0.4rem;
    background: #ffffff;
    padding: 0.25rem 0.52rem;
    font-size: 10px;
    font-weight: 700;
    color: #334155;
    transition: all 120ms ease;
}

.bj-notification-read-btn:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.dark .bj-notification-trigger {
    border-color: #334155;
    background: #0f172a;
    color: #cbd5e1;
    box-shadow: none;
}

.dark .bj-notification-trigger:hover {
    border-color: #475569;
    background: #111827;
    color: #f1f5f9;
}

.dark .bj-notification-counter {
    border-color: #0f172a;
    background: #2563eb;
    color: #f8fafc;
}

.dark .bj-notification-header {
    border-bottom-color: #1f2937;
    background: #0b1220;
}

.dark .bj-notification-header-eyebrow {
    color: #94a3b8;
}

.dark .bj-notification-header-title {
    color: #f1f5f9;
}

.dark .bj-notification-list {
    background: #020617;
}

.dark .bj-notification-empty {
    border-color: #1f2937;
    background: #0f172a;
}

.dark .bj-notification-empty-icon {
    background: #1e293b;
    color: #cbd5e1;
}

.dark .bj-notification-empty-text {
    color: #cbd5e1;
}

.dark .bj-notification-item {
    border-color: #1f2937;
    background: #0f172a;
    box-shadow: none;
}

.dark .bj-notification-item:hover {
    border-color: #334155;
    background: #111827;
    box-shadow: none;
}

.dark .bj-notification-item.is-unread {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(30, 64, 175, 0.14);
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.12);
}

.dark .bj-notification-item-title {
    color: #e2e8f0;
}

.dark .bj-notification-unread-pill {
    background: #1d4ed8;
    color: #eff6ff;
}

.dark .bj-notification-item-body {
    color: #94a3b8;
}

.dark .bj-notification-item-icon--interview {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.dark .bj-notification-item-icon--invitation {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
}

.dark .bj-notification-item-icon--job {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.dark .bj-notification-item-icon--default {
    background: rgba(100, 116, 139, 0.28);
    color: #cbd5e1;
}

.dark .bj-notification-kind--interview {
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.dark .bj-notification-kind--invitation {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

.dark .bj-notification-kind--job {
    border-color: rgba(59, 130, 246, 0.32);
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
}

.dark .bj-notification-kind--default {
    border-color: rgba(100, 116, 139, 0.4);
    background: rgba(100, 116, 139, 0.18);
    color: #cbd5e1;
}

.dark .bj-notification-time {
    color: #94a3b8;
}

.dark .bj-notification-read-btn {
    border-color: #334155;
    background: #0b1220;
    color: #cbd5e1;
}

.dark .bj-notification-read-btn:hover {
    border-color: #3b82f6;
    background: rgba(37, 99, 235, 0.16);
    color: #dbeafe;
}
