.bg-naker-header{
    background-color: #087430cc;
}
.bg-naker {
  /*background: #244282;*/
  background: linear-gradient(90deg, rgba(36, 66, 130, 1) 35%, rgba(40, 140, 38, 1) 93%);
}

.btn-primary {
    color: #fff;
    background-color: #244282 !important;
    border-color: #244282 !important;
}
/* styling navigation class */
.navigation-step {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: #f8f9fa;
    color: #000;
    font-weight: 600;
}

.navigation-item {
    margin-left: 0.5rem;
}

.navigation-item.active {
    background: #244282;
    background: linear-gradient(90deg, rgba(36, 66, 130, 1) 35%, rgba(40, 140, 38, 1) 93%);
    color: white;
    font-weight: 600;
    border-radius: 1rem;
    padding: 0.7rem;
}

.navigation-label {
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
}

/* styling navigation class */

/* styling button class */
.btn-custom {
    background: #244282;
    background: linear-gradient(90deg, rgba(36, 66, 130, 1) 35%, rgba(40, 140, 38, 1) 93%);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.bg-blue-naker {
    background: rgba(36, 66, 130, 1);
}

.bg-green-naker {
    background: rgba(40, 140, 38, 1);
}

.nav-custom {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    padding: 0.7rem;
}

.nav-item-custom {
    margin-bottom: 0.5rem !important;
    border-radius: 0.5rem;
    cursor: pointer !important;
}

.nav-link-custom:hover {
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.nav-link-custom {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    color: #000;
    font-weight: 600;
    font-size: 0.75rem;
}

.nav-link-custom:hover {
    background: #f8f9fa;
    color: #000;
    font-weight: 600;
}

.nav-link-custom.active {
    background: #244282 !important;
    background: linear-gradient(90deg, rgba(36, 66, 130, 1) 35%, rgba(40, 140, 38, 1) 93%) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
}

.nav-link-custom:hover.active {
    background: #244282 !important;
    background: linear-gradient(90deg, rgba(36, 66, 130, 1) 35%, rgba(40, 140, 38, 1) 93%) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
}

/* ─── Loader & Skeleton Animations ───────────────────────────────────────── */

/* Shared shimmer keyframe */
@keyframes shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

@keyframes spin-arc {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-arc-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes logo-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* ─── Navigation progress bar ─────────────────────────────────────────────── */
.nav-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    z-index: 99999;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, #3d8ef8, #00d4aa, #3d8ef8);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
    box-shadow: 0 0 8px rgba(61, 142, 248, 0.6);
    pointer-events: none;
}

/* ─── Full-page loader ─────────────────────────────────────────────────────── */
.page-loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1.25rem;
    animation: fade-in-up 0.35s ease;
}

/* Logo ring spinner */
.page-loader-brand {
    position: relative;
    width: 72px;
    height: 72px;
}

.page-loader-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3d8ef8;
    border-right-color: #00d4aa;
    animation: spin-arc 1.1s cubic-bezier(0.6, 0.2, 0.4, 0.9) infinite;
}

.page-loader-logo-inner {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: #3d8ef8;
    border-left-color: rgba(61, 142, 248, 0.4);
    animation: spin-arc-reverse 0.8s linear infinite;
}

/* Text */
.page-loader-text {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
    letter-spacing: 0.04em;
    animation: logo-pulse 1.6s ease infinite;
}

/* Skeleton rows */
.page-loader-skeletons {
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ─── Shared skeleton row ──────────────────────────────────────────────────── */
.skeleton-row {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e8ecf0 25%, #d4dae2 50%, #e8ecf0 75%);
    background-size: 600px 100%;
    animation: shimmer 1.6s ease-in-out infinite;
}

.skeleton-row--title {
    height: 20px;
    width: 55%;
    border-radius: 8px;
}

.skeleton-row--wide {
    width: 95%;
}

.skeleton-row--medium {
    width: 70%;
    animation-delay: 0.1s;
}

.skeleton-row--narrow {
    width: 45%;
    animation-delay: 0.2s;
}

/* Skeleton card */
.skeleton-card {
    overflow: hidden;
}

.skeleton-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ─── Inline data loader (spinner) ────────────────────────────────────────── */
.data-loader {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem;
}

.data-loader--sm {
    padding: 0.5rem;
    gap: 0.35rem;
}

.data-loader--lg {
    padding: 2.5rem;
    gap: 0.9rem;
}

.data-loader-spinner {
    position: relative;
    width: 40px;
    height: 40px;
}

.data-loader--sm .data-loader-spinner {
    width: 24px;
    height: 24px;
}

.data-loader--lg .data-loader-spinner {
    width: 56px;
    height: 56px;
}

.data-loader-arc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3d8ef8;
    animation: spin-arc 1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.data-loader-arc--2 {
    inset: 6px;
    border-top-color: transparent;
    border-right-color: #00d4aa;
    animation: spin-arc-reverse 0.75s linear infinite;
}

.data-loader--sm .data-loader-arc {
    border-width: 2px;
}

.data-loader--sm .data-loader-arc--2 {
    inset: 4px;
    border-width: 2px;
}

.data-loader--lg .data-loader-arc {
    border-width: 4px;
}

.data-loader--lg .data-loader-arc--2 {
    inset: 9px;
    border-width: 4px;
}

.data-loader-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3d8ef8;
    transform: translate(-50%, -50%);
    animation: pulse-dot 1.2s ease infinite;
}

.data-loader--sm .data-loader-dot {
    width: 4px;
    height: 4px;
}

.data-loader--lg .data-loader-dot {
    width: 9px;
    height: 9px;
}

.data-loader-label {
    font-size: 0.8rem;
    color: #6c757d;
    letter-spacing: 0.03em;
}

.data-loader--lg .data-loader-label {
    font-size: 0.9rem;
}

/* Overlay mode */
.data-loader-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    animation: fade-in-up 0.2s ease;
}

/* class badge-notif with animation */
.badge-notif-new {
    text-align: center;
    font-size: 0.75rem !important;
    padding: 0.5rem;
    line-height: 10px;
    /* width: 25px !important; */
    position: absolute;
    /* height: 25px !important; */
    left: 0;
    bottom: 3.3rem;
    animation: pulse 1.5s infinite;
}

.badge-notif-number {
    text-align: center;
    font-size: 0.75rem !important;
    padding: 0.5rem;
    line-height: 10px;
    width: 25px !important;
    position: absolute;
    height: 25px !important;
    right: 0;
    top: -3px;
    animation: pulse 1.5s infinite;
}

.badge-notif-new::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* override class card */
.card {
    border-radius: 1.25rem !important;
}

.card .card-header {
    border-radius: 1.25rem !important;
}
/* Nav Pills Custom for Tabs */
.nav-pills-custom .nav-link {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  color: #495057;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  transition: all 0.2s;
}

.nav-pills-custom .nav-link:hover {
  background-color: #e9ecef;
}

.nav-pills-custom .nav-link.active {
  background-color: #7c3aed;
  color: white;
  border-color: #7c3aed;
}

.nav-pills-custom .nav-link .badge {
  font-size: 0.75rem;
  font-weight: 600;
}
