.sidebar-content::-webkit-scrollbar {
    display: none;
}

.sidebar-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.navbar-brand img {
    height: 40px!important;
}

.navbar-brand {
    padding-top: 10px!important;
    padding-bottom: 10px!important;
}

.sidebar {
    width: 16.75rem;
}

.page-title {
    padding: 1rem 0;
}

.w-250px{
    width: 250px!important;
}

.btn-table-action {
    width: 30px;
    height: 30px;
}

.dataTables_info {
    margin-top:auto;
    margin-bottom:auto;
}

.dataTables_paginate {
    margin: 0!important;
}

.required:after {
    content: "*";
    position: relative;
    font-size: inherit;
    color: #e41d36;
    padding-left: 0.25rem;
    font-weight: 700;
}

.sidebar-main-resized:not(.sidebar-main-unfold) .divNotificationCount {
    display: none;
}

.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}

.student-hero {
    border: 0;
    border-radius: 1.1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f3fff7 0%, #e5fff0 48%, #f8fffb 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.student-hero-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
}

.student-hero-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b5563;
}

.student-hero-name {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111827;
}

.student-hero-passport {
    font-size: 0.98rem;
    color: #1f2937;
}

.student-hero-logout {
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    font-weight: 700;
}

.student-side-panel {
    position: sticky;
    top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.student-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1rem 1.15rem;
    border: 1px solid #16A34A;
    border-radius: 1rem;
    background: #E6FFF0;
    color: #111111;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 24px rgba(34, 197, 94, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.student-side-link::after {
    content: "\2192";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    color: #111111;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.student-side-link:hover,
.student-side-link:focus {
    color: #000000;
    border-color: #16A34A;
    background: #E6FFF0;
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 32px rgba(34, 197, 94, 0.24);
}

.student-feed-card {
    border: 1px solid #e7edf3;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.student-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e7edf3;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.student-feed-header-notification {
    background: linear-gradient(135deg, #f7fcf8 0%, #edf9f1 100%);
}

.student-feed-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7a90;
}

.student-feed-header .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.student-feed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.student-feed-header-notification .student-feed-icon {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.student-feed-card .card-body {
    padding: 1.25rem 1.25rem 1rem;
    background: #ffffff;
}

.student-feed-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    padding: 1rem 1rem 0.95rem;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.student-feed-item:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.student-feed-item:last-child {
    margin-bottom: 0;
}

.student-feed-title {
    display: block;
    font-size: 1rem;
    line-height: 1.45;
    color: #111827;
}

.student-feed-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b !important;
    white-space: nowrap;
    margin-top: 0.2rem;
}

.student-feed-meta {
    font-size: 0.84rem;
    color: #64748b;
}

.student-feed-context {
    font-size: 0.82rem;
    color: #334155;
}

.student-feed-content {
    color: #1f2937;
    line-height: 1.65;
}

.student-feed-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 0.85rem;
    padding: 1rem;
    color: #64748b;
    background: #f8fafc;
}

.student-status-card {
    border: 1px solid #e6edf5;
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.student-status-card .card-body {
    padding: 1.4rem 1.4rem 1.6rem;
}

.student-status-heading {
    margin-bottom: 1.35rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937;
}

.student-status-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1rem;
}

.student-status-timeline::before {
    content: "";
    position: absolute;
    top: 1.18rem;
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
}

.student-status-progress {
    position: absolute;
    top: 1.18rem;
    left: 0;
    width: 52%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #166534 0%, #22c55e 65%, #f87171 100%);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08), 0 6px 16px rgba(34, 197, 94, 0.18);
    transform-origin: left center;
    animation: studentStatusPulse 4.5s ease-in-out infinite;
}

.student-status-step {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.student-status-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
}

.student-status-label {
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.45;
}

.student-status-step-complete .student-status-marker {
    background: #166534;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(22, 101, 52, 0.22);
}

.student-status-step-complete .student-status-label {
    color: #14532d;
}

.student-status-step-current .student-status-marker {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.22);
}

.student-status-step-current .student-status-marker i {
    animation: fa-spin 2.4s linear infinite;
}

.student-status-step-current .student-status-label {
    color: #b91c1c;
}

.student-status-step-pending .student-status-marker {
    background: #e5e7eb;
    color: #94a3b8;
}

.student-status-step-pending .student-status-label {
    color: #9ca3af;
}

@keyframes studentStatusPulse {
    0% {
        transform: scaleX(0.94);
        opacity: 0.88;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0.94);
        opacity: 0.88;
    }
}

@media (max-width: 767.98px) {
    .student-hero-body {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1.1rem;
    }

    .student-hero-name {
        font-size: 1.5rem;
    }

    .student-feed-header {
        padding: 1rem 1.1rem;
    }

    .student-feed-card .card-body {
        padding: 1rem;
    }

    .student-feed-date {
        margin-top: 0.45rem;
    }

    .student-status-timeline {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding-top: 0;
    }

    .student-status-timeline::before,
    .student-status-progress {
        display: none;
    }

    .student-status-step {
        padding-top: 0;
        padding-left: 0;
    }
}
