/* UNC Research Tracker Custom Styles */

:root {
    --unc-blue: #4b9cd3;
    --unc-navy: #13294b;
    --unc-carolina-blue: #7bafd4;
    --success-green: #28a745;
    --warning-orange: #fd7e14;
    --danger-red: #dc3545;
}

/* Global Styles */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation Styles */
.navbar-nav .nav-link {
    border-radius: 6px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Notification dropdown styles */

/* Modern Navigation Styles */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand-modern {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--unc-navy);
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-brand-modern:hover {
    color: var(--unc-blue);
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--unc-blue), var(--unc-carolina-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 400;
}

.navbar-toggler-modern {
    border: none;
    background: none;
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.navbar-toggler-modern span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--unc-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--unc-blue), var(--unc-carolina-blue));
    opacity: 0.1;
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--unc-blue);
}

.nav-link-modern:hover::before,
.nav-link-modern.active::before {
    width: 100%;
}

.nav-link-modern i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.nav-link-modern span {
    font-size: 0.9rem;
}

.navbar-brand-image {
    max-height: 44px;
    width: auto;
    max-width: 300px;
    display: block;
}

@media (max-width: 992px) {
    .navbar-brand-image {
        max-height: 36px;
        max-width: 230px;
    }
}

@media (max-width: 576px) {
    .navbar-brand-image {
        max-height: 28px;
        max-width: 170px;
    }
}

/* User Profile Section */
.user-profile-link {
    padding: 0.5rem 1rem !important;
}

.user-profile {
    display: flex;
    align-items: center;
}

.profile-avatar,
.profile-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-right: 0.75rem;
    object-fit: cover;
}

.profile-avatar-placeholder {
    background: linear-gradient(135deg, var(--unc-blue), var(--unc-carolina-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.profile-info {
    display: flex;
    flex-direction: column;
    margin-right: 0.5rem;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--unc-navy);
    line-height: 1.2;
}

.profile-role {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1;
}

.profile-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item-modern.dropdown.show .profile-arrow {
    transform: rotate(180deg);
}

/* Notification Icon */
.notification-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(75, 156, 211, 0.1);
    transition: all 0.3s ease;
}

.notification-icon:hover {
    background: rgba(75, 156, 211, 0.2);
}

.notification-icon i {
    font-size: 1.2rem;
    color: var(--unc-blue);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

/* Modern Dropdown Styles */
.dropdown-menu-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
}

.dropdown-header-modern {
    color: var(--unc-navy);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item-modern {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--unc-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item-modern:hover,
.dropdown-item-modern:focus {
    background: rgba(75, 156, 211, 0.1);
    color: var(--unc-blue);
}

.dropdown-item-modern i {
    font-size: 1rem;
    width: 20px;
}

.dropdown-divider-modern {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(75, 156, 211, 0.3), transparent);
    margin: 0.5rem 1rem;
}

.logout-btn {
    color: #dc3545 !important;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #c82333 !important;
}

/* Notification Dropdown Specific */
.notification-dropdown {
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
}

.user-dropdown {
    min-width: 250px;
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
    .navbar-modern {
        padding: 0.75rem 0;
    }
    
    .brand-text .brand-title {
        font-size: 1.1rem;
    }
    
    .brand-text .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .navbar-nav-modern {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1rem;
        width: 100%;
    }
    
    .nav-item-modern {
        margin: 0.25rem 0;
    }
    
    .nav-link-modern {
        justify-content: flex-start;
        padding: 1rem;
    }
    
    .user-profile {
        justify-content: flex-start;
    }
    
    .dropdown-menu-modern {
        position: static !important;
        transform: none !important;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(248, 249, 250, 0.5);
        margin: 0.5rem 0;
    }
}

/* Logout button styles */
.notification-dropdown {
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-dropdown .dropdown-item {
    white-space: normal;
    padding: 0.75rem 1rem;
}

/* Logout button styles */
.dropdown-item.border-0.bg-transparent {
    background: transparent !important;
    border: none !important;
    text-align: left;
    width: 100%;
    padding: 0.375rem 1rem;
    color: #212529;
    text-decoration: none;
    display: block;
    clear: both;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
}

.dropdown-item.border-0.bg-transparent:hover,
.dropdown-item.border-0.bg-transparent:focus {
    background-color: #e9ecef !important;
    color: #16181b;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1.1rem 2.2rem rgba(17, 71, 125, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1.5rem 3rem rgba(17, 71, 125, 0.12);
}

.card-header {
    background: linear-gradient(135deg, var(--unc-blue), var(--unc-carolina-blue));
    color: white;
    border-radius: 1rem 1rem 0 0 !important;
    border: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.1rem 1.6rem;
}

.header-subtitle {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.page-shell {
    position: relative;
}

.page-hero {
    position: relative;
    background: linear-gradient(135deg, #0056b3 0%, #007bff 40%, #4b9cd3 100%);
    box-shadow: 0 1.5rem 3rem rgba(17, 71, 125, 0.25);
    border-radius: 1.5rem;
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    z-index: 1;
}

.page-hero::before {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -160px;
}

.page-hero::after {
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -140px;
    background: rgba(255, 255, 255, 0.12);
}

.page-hero .card-body {
    position: relative;
    z-index: 2;
    padding: 2.75rem;
}

.page-hero,
.page-hero:hover {
    transform: none !important;
    box-shadow: 0 1.5rem 3rem rgba(17, 71, 125, 0.25);
}

.page-hero-title {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.6;
}

.hero-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.hero-summary strong {
    color: #ffffff;
    font-weight: 700;
}

.page-hero-actions .btn {
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-weight: 600;
}

.hero-breadcrumb {
    letter-spacing: 0.18em;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #eef2f8;
    color: #12395b;
}

.status-chip.status-pending,
.status-chip.status-under-review {
    background: rgba(255, 193, 7, 0.2);
    color: #7a4c00;
}

.status-chip.status-submitted,
.status-chip.status-resubmitted {
    background: rgba(75, 156, 211, 0.2);
    color: #0f2745;
}

.status-chip.status-accepted {
    background: rgba(25, 135, 84, 0.2);
    color: #0f5132;
}

.status-chip.status-rejected {
    background: rgba(220, 53, 69, 0.18);
    color: #842029;
}

.status-chip.status-withdrawn {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
}

.status-chip--hero {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 0.4rem 0.9rem;
    backdrop-filter: blur(4px);
}

.status-chip--hero i {
    font-size: 0.95rem;
}


.hero-meta-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.hero-meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

.hero-meta-value {
    font-weight: 600;
    font-size: 1rem;
}

.hero-progress .progress {
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    overflow: hidden;
}

.progress-hero {
    border-radius: 999px;
}

.progress-bar-hero {
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.insight-row .insight-card {
    border: 1px solid #e4eef8;
    border-radius: 1rem;
    padding: 1.4rem;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

.progress-sm {
    height: 6px;
}
    height: 100%;
}

.insight-row .insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.3rem 2.6rem rgba(17, 71, 125, 0.1);
}

.insight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 123, 255, 0.12);
    font-size: 1.3rem;
    color: #0d6efd;
}

.insight-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #72839b;
}

.insight-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f3d69;
}

.insight-hint {
    font-size: 0.75rem;
    color: #94a1b2;
}

.data-point {
    padding: 1.1rem 1.25rem;
    border: 1px solid #e4eef8;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #f9fbfe 0%, #ffffff 70%);
    height: 100%;
}

.data-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #77869c;
    margin-bottom: 0.35rem;
}

.data-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #12395b;
}

.rich-text {
    border-radius: 1rem;
    border: 1px solid #e4eef8;
    background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 70%);
    padding: 1.75rem;
}

.rich-text-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #12395b;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #d9e6f5;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(75, 156, 211, 0.14);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.timeline-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #72839b;
}

.timeline-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #12395b;
}

.timeline-muted {
    font-size: 0.95rem;
    color: #a4b0c3;
    font-style: italic;
}

.quick-action-list {
    display: flex;
    flex-direction: column;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.1rem 1.6rem;
    border-bottom: 1px solid #eef3f8;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    color: inherit;
}

.quick-action-item:last-child {
    border-bottom: none;
}

.quick-action-item:hover {
    background: #f5f9ff;
    transform: translateX(4px);
}

.quick-action-item:hover .quick-action-label {
    color: #0d6efd;
}

.quick-action-item:hover .quick-action-icon {
    background: rgba(0, 123, 255, 0.2);
}

.quick-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0, 123, 255, 0.12);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.quick-action-label {
    font-weight: 600;
    color: #12395b;
}

.quick-action-hint {
    font-size: 0.75rem;
    color: #8a97aa;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.25rem;
}

.stat-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e4eef8;
    border-radius: 1rem;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.stat-block:hover {
    box-shadow: 0 1.25rem 2.5rem rgba(17, 71, 125, 0.08);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(75, 156, 211, 0.14);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #72839b;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #12395b;
}

.manuscript-table thead th {
    letter-spacing: 0.08em;
}

.manuscript-table tbody td {
    vertical-align: middle;
}

.manuscript-table tbody td.text-break {
    word-break: break-word;
}

.comment {
    border-left: 3px solid #e3ebf5;
    position: relative;
}

.comment:hover {
    border-left-color: #4b9cd3;
}

.comment .reply-context {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 65%);
    border-left: 3px solid #0d6efd;
}

.comment-content {
    word-wrap: break-word;
}

.comment[style*="border-left"]:before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(75, 156, 211, 0.6) 0%, transparent 100%);
}

.comment .reply-form {
    margin-left: 0.5rem;
}

.comment + .comment {
    margin-top: 0.75rem;
}

.project-card .project-actions-toggle {
    background: rgba(19, 41, 75, 0.05);
    border: 1px solid rgba(19, 41, 75, 0.12);
    color: var(--unc-navy);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    box-shadow: none;
}

.project-card .project-actions-toggle:hover,
.project-card .project-actions-toggle:focus {
    background: rgba(75, 156, 211, 0.12);
    border-color: rgba(75, 156, 211, 0.35);
    color: var(--unc-blue);
    box-shadow: none;
}

.project-card .project-actions-toggle:active {
    background: rgba(75, 156, 211, 0.2);
    color: var(--unc-navy);
    box-shadow: none;
}

.project-card .project-actions-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 0.25rem 0;
    min-width: 180px;
}

.project-card .project-actions-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--unc-navy);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.project-card .project-actions-menu .dropdown-item i {
    font-size: 1rem;
    width: 1rem;
}

.project-card .project-actions-menu .dropdown-item:hover,
.project-card .project-actions-menu .dropdown-item:focus {
    background-color: rgba(75, 156, 211, 0.1);
    color: var(--unc-blue);
}

.project-card .project-actions-menu .dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #c82333;
}

.project-filters .form-control,
.project-filters .form-select {
    min-height: 3.25rem;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.project-filters label.form-label {
    font-weight: 600;
    color: var(--unc-navy);
}

.project-filters .input-group {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #d9e7f4;
    background: rgba(240, 248, 255, 0.6);
}

.project-filters .input-group-text {
    border: none;
    background: transparent;
    color: #6b7b8c;
    padding-left: 1rem;
}

.project-filters .input-group .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding-left: 0.25rem;
    padding-right: 1rem;
}

.project-table-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
}

.project-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.project-table thead th {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #12395b;
    background: rgba(19, 41, 75, 0.05);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(19, 41, 75, 0.08);
}

.project-table tbody td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-top: 1px solid rgba(19, 41, 75, 0.07);
    background-color: #ffffff;
}

.project-table tbody tr:first-child td {
    border-top: none;
}

.project-table .project-title a {
    font-weight: 600;
    color: #0d2542;
}

.project-table .project-title a:hover {
    color: var(--unc-blue);
}

.project-table .badge {
    font-weight: 600;
    letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
    .project-table-wrapper {
        border-radius: 1.25rem;
    }

    .project-table thead {
        display: none;
    }

    .project-table,
    .project-table tbody,
    .project-table tr,
    .project-table td {
        display: block;
        width: 100%;
    }

    .project-table tbody tr {
        background: #ffffff;
        border-radius: 1.1rem;
        box-shadow: 0 12px 24px rgba(17, 71, 125, 0.08);
        margin: 0 1rem 1.25rem;
        padding: 1.25rem 1rem 0.75rem;
        border: none;
    }

    .project-table tbody td {
        border: none;
        padding: 0.75rem 0;
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .project-table tbody td::before {
        content: attr(data-label);
        flex: 0 0 120px;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 700;
        color: #12395b;
        opacity: 0.75;
    }

    .project-table tbody td[data-label="Project"] {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1rem;
    }

    .project-table tbody td[data-label="Project"]::before {
        display: none;
    }

    .project-table tbody td[data-label="Project"] + td {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    .project-table tbody td[data-label="Actions"] {
        justify-content: flex-start;
    }

    .project-table tbody td[data-label="Actions"]::before {
        flex-basis: 110px;
    }

    .project-table tbody td[data-label="Actions"] .btn-group {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .project-table tbody td[data-label="Actions"] .btn-group .btn {
        flex: 1;
    }

    .project-table tbody td[data-label="Progress"] {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-table tbody td[data-label="Progress"]::before {
        margin-bottom: 0.5rem;
    }

    .project-table tbody td[data-label="Progress"] .progress-sm {
        width: 100%;
    }

    .project-table tbody td[data-label="Progress"] .d-flex {
        width: 100%;
        flex-direction: column;
        gap: 0.6rem;
    }

    .project-table tbody td[data-label="Progress"] .text-muted {
        margin-left: 0;
        align-self: flex-end;
    }

    .project-table tbody td:not([data-label="Project"]) {
        border-top: 1px solid rgba(19, 41, 75, 0.08);
        padding-top: 0.9rem;
        margin-top: 0.9rem;
    }

    .project-table tbody td[data-label="IRB"]::before {
        flex-basis: 80px;
    }

    .project-table tbody td[data-label="IRB"] .badge {
        display: inline-flex;
        margin-top: -0.15rem;
    }
}

.irb-badge {
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.irb-card {
    border-radius: 1.5rem;
    overflow: hidden;
    border: none;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(19, 41, 75, 0.08);
    position: relative;
}

.irb-card .card-header {
    background: linear-gradient(135deg, #4b9cd3, #2f6fa6);
    color: #ffffff;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.irb-card .card-header i {
    font-size: 1.25rem;
}

.irb-card .card-body {
    padding: 1.75rem 1.75rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.irb-edit-fab {
    position: absolute;
    top: 1.2rem;
    right: 1.25rem;
    z-index: 10;
}

.irb-edit-fab-group {
    position: absolute;
    top: 1.2rem;
    right: 1.25rem;
    display: none;
    gap: 0.4rem;
    z-index: 11;
}

.irb-summary-form.is-editing .irb-edit-fab-group {
    display: flex;
}

.team-card {
    position: relative;
}

.team-manage-fab {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    z-index: 5;
}

.irb-card .card-body .form-label {
    color: #627081;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.irb-card .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.irb-card .collapse {
    border: 1px solid #d9e7f4;
    border-radius: 1.25rem;
    background: rgba(240, 248, 255, 0.7);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.irb-notes-preview {
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed #c5d6e6;
    border-radius: 1.25rem;
}

.irb-card .form-select,
.irb-card textarea {
    border-radius: 0.85rem;
    border: 1px solid #c7d7e6;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.irb-card .form-select:focus,
.irb-card textarea:focus {
    border-color: #4b9cd3;
    box-shadow: 0 0 0 0.25rem rgba(75, 156, 211, 0.15);
}

.irb-card textarea {
    min-height: 140px;
}

.btn-icon-only {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-icon-only i {
    font-size: 0.95rem;
}

.btn-icon-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.25rem 0.85rem;
}

.btn-icon-inline i {
    font-size: 0.9rem;
}

.irb-not_started {
    background-color: #e9ecef;
    color: #495057;
}

.irb-draft {
    background-color: #fff3cd;
    color: #856404;
}

.irb-submitted {
    background-color: #d1ecf1;
    color: #0c5460;
}

.irb-revision {
    background-color: #f8d7da;
    color: #721c24;
}

.irb-accepted {
    background-color: #d4edda;
    color: #155724;
}

.irb-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.irb-not_applicable,
.badge.irb-not_applicable {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

/* Login Page Specific Styles */
.login-main {
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

/* Status badges */
.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-planning { background-color: #e3f2fd; color: #1976d2; }
.status-irb_pending { background-color: #fff3e0; color: #f57f17; }
.status-irb_approved { background-color: #e8f5e8; color: #2e7d32; }
.status-data_collection { background-color: #f3e5f5; color: #7b1fa2; }
.status-data_analysis { background-color: #e1f5fe; color: #0277bd; }
.status-manuscript_prep { background-color: #fff8e1; color: #f9a825; }
.status-manuscript_review { background-color: #fce4ec; color: #c2185b; }
.status-published { background-color: #e8f5e8; color: #1b5e20; }
.status-on_hold { background-color: #fafafa; color: #616161; }
.status-completed { background-color: #e8f5e8; color: #1b5e20; }
.status-cancelled { background-color: #ffebee; color: #c62828; }

/* Project detail layout */
.overview-grid {
    display: grid;
    gap: 1.25rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

@media (min-width: 768px) {
    .overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.overview-tile {
    background: rgba(75, 156, 211, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(19, 41, 75, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
}

.tile-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #6c757d;
    font-weight: 600;
}

.tile-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #13294b;
}

.tile-value .tile-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(19, 41, 75, 0.1);
    font-size: 0.95rem;
    font-weight: 600;
    color: #13294b;
}

.tile-tag--status {
    background: rgba(75, 156, 211, 0.18);
    color: #0f2b4b;
}

.tile-tag--irb {
    background: rgba(28, 170, 141, 0.18);
    color: #0d5c46;
}

.tile-tag--inactive {
    background: rgba(97, 97, 97, 0.18);
    color: #555555;
}

.tile-tag-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.tile-tag-dot--active {
    background: #1bb978;
    box-shadow: 0 0 0 3px rgba(27, 185, 120, 0.2);
}

.tile-tag-dot--inactive {
    background: #9e9e9e;
    box-shadow: 0 0 0 3px rgba(158, 158, 158, 0.2);
}

.overview-divider {
    border-top: 1px solid rgba(19, 41, 75, 0.1);
}

.progress.progress-thin {
    height: 6px;
    background-color: rgba(19, 41, 75, 0.12);
}

.progress-thin .progress-bar {
    background: linear-gradient(135deg, var(--unc-blue), var(--unc-carolina-blue));
}

.pulse-value {
    font-size: 1.2rem;
}

.pulse-meta-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(19, 41, 75, 0.08);
}

.pulse-meta-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.pulse-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(75, 156, 211, 0.12);
    color: var(--unc-blue);
    font-size: 1.05rem;
}

.meta-label {
    letter-spacing: 0.08em;
}

.meta-value {
    display: block;
    font-weight: 600;
    color: #13294b;
}

.key-dates-list {
    margin: 0;
}

.key-date-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px dashed rgba(19, 41, 75, 0.12);
}

.key-date-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.key-date-value {
    font-weight: 600;
    color: #13294b;
    min-width: 140px;
    text-align: right;
}

.key-date-pill {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.key-date-pill--late {
    background: rgba(220, 53, 69, 0.12);
    color: #c82333;
}

.key-date-pill--soon {
    background: rgba(253, 126, 20, 0.12);
    color: #d96a0f;
}

.key-date-pill--ontrack {
    background: rgba(40, 167, 69, 0.12);
    color: #1e7e34;
}

@media (max-width: 575.98px) {
    .key-date-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .key-date-value {
        text-align: left;
        margin-top: 0.35rem;
    }
}


.page-shell--project-form .page-hero {
    background: linear-gradient(135deg, #0f2b4b, #264b7d);
}

.form-section {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.form-section + .form-section {
    margin-top: 1.5rem;
}

.form-section-header {
    background: linear-gradient(135deg, rgba(19, 41, 75, 0.9), rgba(75, 156, 211, 0.85));
    padding: 1.25rem 1.5rem;
}

.form-section-header h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.form-section-header p {
    color: rgba(255, 255, 255, 0.75);
}

.form-section .card-body {
    padding: 1.75rem;
}

.form-section .form-label {
    font-weight: 600;
    color: #0f2945;
}

.form-section .form-control,
.form-section .form-select {
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(19, 41, 75, 0.2);
}

.form-section .form-control:focus,
.form-section .form-select:focus {
    border-color: var(--unc-blue);
    box-shadow: 0 0 0 0.25rem rgba(75, 156, 211, 0.18);
}

.form-section .input-group-text {
    border-radius: 12px 0 0 12px;
    border: 1px solid rgba(19, 41, 75, 0.1);
}

.form-section .form-text {
    color: #6c7a89;
}

.form-sidebar {
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(246, 250, 255, 0.95), rgba(229, 240, 255, 0.9));
    min-height: 100%;
}

.form-sidebar-list {
    display: grid;
    gap: 0.9rem;
    padding-left: 0;
}

.form-sidebar-list li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #405167;
    line-height: 1.5;
}

.page-shell--project-list .page-hero {
    background: linear-gradient(135deg, #102a4a, #265a8b);
}

.page-shell--project-list .hero-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.page-shell--project-list .hero-summary span {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.page-shell--project-list .card {
    border-radius: 18px;
    border: none;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.08);
}

.page-shell--project-list .card-body {
    border-radius: inherit;
}

.page-shell--project-list .project-table-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--project-list .project-table thead {
    background: rgba(16, 42, 74, 0.08);
}

.page-shell--project-list .project-table tbody tr:hover td {
    background: rgba(75, 156, 211, 0.06);
}

.page-shell--project-list .project-table .status-chip {
    background: rgba(16, 42, 74, 0.12);
    color: #0f2b4b;
    font-weight: 600;
}

.page-shell--project-list .project-table .btn-outline-primary {
    border-color: rgba(16, 42, 74, 0.55);
    color: #102a4a;
}

.page-shell--project-list .project-table .btn-outline-primary:hover {
    background: rgba(16, 42, 74, 0.12);
    color: #102a4a;
}

.page-shell--project-list .project-table .btn-outline-secondary:hover {
    background: rgba(75, 156, 211, 0.12);
}

.page-shell--project-list .project-table .btn-outline-danger:hover {
    background: rgba(220, 53, 69, 0.12);
}

.page-shell--project-detail .page-hero {
    background: linear-gradient(135deg, #102a4a, #29588a);
}

.page-shell--project-detail .form-section,
.page-shell--project-detail .card {
    border-radius: 18px;
    border: none;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.08);
}

.page-shell--project-detail .card-header{
    border-radius: inherit;
}

.page-shell--project-detail .project-details {
    background: rgba(16, 42, 74, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(16, 42, 74, 0.08);
}

.page-shell--project-detail .project-details .description-edit-btn {
    align-self: flex-start;
}

.page-shell--project-detail .overview-tile {
    background: rgba(16, 42, 74, 0.06);
    box-shadow: inset 0 0 0 1px rgba(16, 42, 74, 0.08);
}

.page-shell--project-detail .overview-status {
    background: rgba(75, 156, 211, 0.16);
}

.page-shell--project-detail .tile-tag {
    background: rgba(255, 255, 255, 0.85);
    color: #0f2745;
}

.page-shell--project-detail .irb-card {
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--project-detail .irb-summary-notes {
    background: rgba(16, 42, 74, 0.06);
    border-left-color: #224e82;
}

.page-shell--project-detail .card-header {
    background: linear-gradient(135deg, rgba(16, 42, 74, 0.92), rgba(75, 156, 211, 0.85));
    border-radius: inherit;
    padding: 1.25rem 1.5rem;
}

.page-shell--project-detail .card-header h5,
.page-shell--project-detail .card-header h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.page-shell--project-detail .card-header .header-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.page-shell--project-detail .card-header .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.page-shell--dashboard .page-hero {
    background: linear-gradient(135deg, #0d2542, #1f4a7a);
}

.page-shell--dashboard .hero-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
}

.page-shell--dashboard .hero-summary span {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.page-shell--dashboard .insight-card {
    background: linear-gradient(145deg, rgba(16, 42, 74, 0.82), rgba(75, 156, 211, 0.82));
    border-radius: 18px;
    border: none;
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.15);
}

.page-shell--dashboard .insight-icon {
    background: rgba(255, 255, 255, 0.28);
    color: #0f2745;
}

.page-shell--dashboard .insight-label {
    color: rgba(255, 255, 255, 0.85);
}

.page-shell--dashboard .insight-hint {
    color: rgba(255, 255, 255, 0.7);
}

.page-shell--dashboard .insight-value {
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffffff;
}

.page-shell--dashboard .card {
    border-radius: 18px;
    border: none;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--dashboard .card-header {
    background: linear-gradient(135deg, rgba(16, 42, 74, 0.92), rgba(75, 156, 211, 0.85));
    border-radius: inherit;
    padding: 1.25rem 1.5rem;
}

.page-shell--dashboard .card-header h5,
.page-shell--dashboard .card-header h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.page-shell--dashboard .card-header .text-white {
    color: #ffffff !important;
}

.page-shell--dashboard .card-header i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-shell--dashboard .card-header .header-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.page-shell--dashboard .card-body {
    border-radius: inherit;
}

.page-shell--dashboard .project-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    border: 1px solid rgba(16, 42, 74, 0.08);
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-shell--dashboard .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 28px rgba(16, 42, 74, 0.18);
}

.page-shell--dashboard .timeline-list .timeline-item {
    background: rgba(16, 42, 74, 0.05);
    border-radius: 12px;
    padding: 1rem;
}

.page-shell--dashboard .timeline-list .timeline-icon {
    background: rgba(16, 42, 74, 0.12);
    color: #0f2745;
}

.page-shell--dashboard .activity-feed .activity-item {
    border-radius: 12px;
    border: 1px solid rgba(16, 42, 74, 0.08);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
}

.page-shell--dashboard .activity-feed .activity-item .bi {
    color: #0f2745;
}

.page-shell--dashboard .activity-feed .activity-item .text-muted {
    color: rgba(15, 39, 69, 0.6) !important;
}

.nav-link--disabled {
    color: rgba(15, 39, 69, 0.45) !important;
    cursor: not-allowed;
    opacity: 0.9;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link--disabled i {
    color: inherit !important;
}

.badge-coming-soon {
    background: rgba(255, 193, 7, 0.22);
    color: #725403;
    font-size: 0.65em;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.04em;
}

.page-shell--manuscript-form .page-hero {
    background: linear-gradient(135deg, #102a4a, #29588a);
}

.page-shell--manuscript-form .form-section,
.page-shell--manuscript-form .form-sidebar {
    border-radius: 18px;
    border: none;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--manuscript-form .form-sidebar {
    background: linear-gradient(135deg, rgba(246, 250, 255, 0.95), rgba(229, 240, 255, 0.92));
}

.page-shell--manuscript-form .form-sidebar-list li {
    color: #3c4e63;
}

.page-shell--manuscript-form .form-section-header {
    background: linear-gradient(135deg, rgba(16, 42, 74, 0.92), rgba(75, 156, 211, 0.85));
}

.manuscript-form-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.submission-log-row .form-section {
    min-height: 100%;
}

.submission-history {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.submission-history__item {
    position: relative;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(16, 42, 74, 0.08);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(16, 42, 74, 0.05);
}

.submission-history__item--status {
    border-left: 4px solid rgba(75, 156, 211, 0.75);
}

.submission-history__item--note {
    border-left: 4px solid rgba(16, 42, 74, 0.12);
}

.submission-history__note-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.submission-history__actions {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
}

.submission-history__delete {
    color: rgba(16, 42, 74, 0.45) !important;
    padding: 0.15rem 0.35rem;
    transition: color 0.2s ease;
}

.submission-history__delete:hover,
.submission-history__delete:focus {
    color: #c53030 !important;
    text-decoration: none;
}

.submission-log-feedback .alert {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.submission-history__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.submission-history__status-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.submission-history__status-chip {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.submission-history__status-info {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.submission-history__status-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(75, 156, 211, 0.15);
    color: #0f2745;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.submission-history__status-icon--note {
    background: rgba(16, 42, 74, 0.08);
}

.submission-history__status-text {
    font-weight: 600;
    color: #102a4a;
}

.submission-history__status-flow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.submission-history__status-arrow {
    font-size: 1.25rem;
    color: rgba(16, 42, 74, 0.45);
}

.submission-status-pill {
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(16, 42, 74, 0.08);
    color: #102a4a;
}

.submission-status-pill.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #8a5a00;
}

.submission-status-pill.status-submitted,
.submission-status-pill.status-resubmitted {
    background: rgba(75, 156, 211, 0.2);
    color: #0f2745;
}

.submission-status-pill.status-revisions {
    background: rgba(255, 193, 7, 0.25);
    color: #7a4c00;
}

.submission-status-pill.status-rejected {
    background: rgba(220, 53, 69, 0.18);
    color: #842029;
}

.submission-history__status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    background: rgba(75, 156, 211, 0.12);
    color: #0f2745;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.submission-history__meta {
    font-size: 0.85rem;
    color: #6c7a8c;
}

.submission-history__note {
    margin-top: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(16, 42, 74, 0.04);
    color: #3c4e63;
    font-size: 0.95rem;
    border-left: 3px solid rgba(75, 156, 211, 0.45);
}

.submission-history__note--text {
    background: rgba(16, 42, 74, 0.06);
    border-left-color: rgba(16, 42, 74, 0.35);
}

.conference-insight {
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, rgba(16, 42, 74, 0.08), rgba(75, 156, 211, 0.08));
    color: #102a4a;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(16, 42, 74, 0.08);
}

.conference-insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.conference-insight-block {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 12px 24px rgba(16, 42, 74, 0.08);
    min-height: 120px;
    border: 1px solid rgba(16, 42, 74, 0.05);
}

.line-height-tight {
    line-height: 1.35;
}

.conference-insight-block [data-field="deadline-display"],
.conference-insight-block [data-field="date-range"],
.conference-insight-block [data-field="location"] {
    white-space: unset;
    overflow-wrap: break-word;
}

.conference-insight-block [data-field="deadline-meta"],
.conference-insight-block [data-field="date-meta"],
.conference-insight-block [data-field="venue"] {
    white-space: unset;
    overflow-wrap: break-word;
}
}

.page-shell--profile .page-hero,
.page-shell--user-edit .page-hero,
.page-shell--password-change .page-hero,
.page-shell--password-reset .page-hero {
    background: linear-gradient(135deg, #102a4a, #255a90);
}

.page-shell--profile .profile-summary-card,
.page-shell--user-edit .profile-summary-card,
.page-shell--password-change .profile-summary-card,
.page-shell--password-reset .profile-summary-card {
    background: linear-gradient(145deg, rgba(16, 42, 74, 0.95), rgba(61, 121, 181, 0.95));
    color: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.2);
}

.page-shell--profile .profile-avatar,
.page-shell--user-edit .profile-avatar,
.page-shell--password-change .profile-avatar,
.page-shell--password-reset .profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.page-shell--profile .profile-email,
.page-shell--user-edit .profile-email,
.page-shell--password-change .profile-email,
.page-shell--password-reset .profile-email {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.page-shell--profile .profile-position,
.page-shell--user-edit .profile-position,
.page-shell--password-change .profile-position,
.page-shell--password-reset .profile-position {
    font-size: 0.85rem;
}

.page-shell--profile .profile-badge,
.page-shell--user-edit .profile-badge,
.page-shell--password-change .profile-badge,
.page-shell--password-reset .profile-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.page-shell--profile .profile-badge--staff,
.page-shell--user-edit .profile-badge--staff,
.page-shell--password-change .profile-badge--staff,
.page-shell--password-reset .profile-badge--staff {
    background: rgba(255, 193, 7, 0.3);
    color: #ffe08a;
}

.page-shell--profile .profile-badge--super,
.page-shell--user-edit .profile-badge--super,
.page-shell--password-change .profile-badge--super,
.page-shell--password-reset .profile-badge--super {
    background: rgba(220, 53, 69, 0.35);
    color: #ffb3be;
}

.page-shell--profile .profile-meta,
.page-shell--user-edit .profile-meta,
.page-shell--password-change .profile-meta,
.page-shell--password-reset .profile-meta {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
    text-align: left;
}

.page-shell--profile .profile-meta-item,
.page-shell--user-edit .profile-meta-item,
.page-shell--password-change .profile-meta-item,
.page-shell--password-reset .profile-meta-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.page-shell--profile .profile-meta-label,
.page-shell--user-edit .profile-meta-label,
.page-shell--password-change .profile-meta-label,
.page-shell--password-reset .profile-meta-label {
    color: rgba(255, 255, 255, 0.6);
}

.page-shell--profile .profile-meta-value,
.page-shell--user-edit .profile-meta-value,
.page-shell--password-change .profile-meta-value,
.page-shell--password-reset .profile-meta-value {
    font-weight: 600;
}

.page-shell--profile .profile-section,
.page-shell--user-edit .profile-section,
.page-shell--password-change .profile-section,
.page-shell--password-reset .profile-section {
    border-radius: 20px;
    border: none;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--profile .profile-section .card-header,
.page-shell--user-edit .profile-section .card-header,
.page-shell--password-change .profile-section .card-header,
.page-shell--password-reset .profile-section .card-header {
    background: linear-gradient(135deg, rgba(16, 42, 74, 0.92), rgba(75, 156, 211, 0.85));
    border-radius: inherit;
    padding: 1.25rem 1.5rem;
}

.page-shell--user-edit .hero-summary span {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.page-shell--user-edit .user-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-shell--user-edit .form-section {
    border: none;
    border-radius: 20px;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--user-edit .form-actions {
    border-radius: 20px;
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.08);
}

.page-shell--user-edit .form-actions .btn {
    min-width: 160px;
}

@media (max-width: 575.98px) {
    .page-shell--user-edit .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.page-shell--password-change .password-change-form .form-label {
    font-weight: 600;
    color: #102a4a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
}

.page-shell--password-change .password-change-form input[type="password"] {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(16, 42, 74, 0.2);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 0.04em;
}

.page-shell--password-change .password-change-form input[type="password"]:focus {
    border-color: var(--unc-blue);
    box-shadow: 0 0 0 0.25rem rgba(75, 156, 211, 0.18);
}

.page-shell--password-change .password-guidelines-card {
    background: rgba(16, 42, 74, 0.04);
    border: none;
}

.page-shell--password-change .password-guidelines li {
    font-size: 0.9rem;
    color: #0f2945;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.page-shell--password-change .safety-icon,
.page-shell--password-change .step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(75, 156, 211, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #102a4a;
    font-size: 1.1rem;
}

.page-shell--password-change .success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #198754;
}

.page-shell--password-reset .hero-summary span {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.page-shell--password-reset .reset-warning {
    border: none;
    border-radius: 18px;
    background: rgba(255, 193, 7, 0.18);
    color: #6c4a01;
}

.page-shell--password-reset .reset-warning .warning-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 193, 7, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.page-shell--password-reset .reset-warning-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.page-shell--password-reset .reset-warning-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.page-shell--password-reset .reset-warning-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #b07403;
    font-weight: 700;
}

.page-shell--password-reset .confirmation-card {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--password-reset .confirmation-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.16);
    color: #c12a36;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
}

.page-shell--password-reset .password-display-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--password-reset .temp-password-group {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(16, 42, 74, 0.08);
}

.page-shell--password-reset .temp-password-field {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem;
    border: none;
    background: rgba(255, 238, 186, 0.6);
}

.page-shell--password-reset .temp-password-copy {
    border: none;
    border-left: 1px solid rgba(16, 42, 74, 0.12);
    background: #ffffff;
}

.page-shell--password-reset .temp-password-copy.btn-success {
    background: rgba(25, 135, 84, 0.85);
    border-color: rgba(25, 135, 84, 0.85);
    color: #ffffff;
}

.page-shell--profile .profile-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5c6d82;
}

.page-shell--profile .profile-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(16, 42, 74, 0.08);
}

.page-shell--profile .profile-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-shell--profile .profile-field-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6e7d93;
    font-weight: 600;
}

.page-shell--profile .profile-field-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #102a4a;
}

.page-shell--profile .profile-project-card {
    border: 1px solid rgba(16, 42, 74, 0.1);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: inset 0 0 0 1px rgba(16, 42, 74, 0.03);
}

.page-shell--profile .profile-project-card:hover {
    box-shadow: 0 14px 24px rgba(16, 42, 74, 0.16);
}

.page-shell--profile .profile-project-status {
    background: rgba(75, 156, 211, 0.18);
    color: #0f2b4b;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.page-shell--profile .profile-project-meta i {
    color: #0f2b4b;
}

.page-shell--user-list .page-hero {
    background: linear-gradient(135deg, #102a4a, #205a88);
}

.page-shell--user-list .badge-total {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.page-shell--user-list .user-table-card {
    border-radius: 20px;
    box-shadow: 0 18px 32px rgba(16, 42, 74, 0.12);
}

.page-shell--user-list .user-table-card .card-header {
    background: linear-gradient(135deg, rgba(16, 42, 74, 0.92), rgba(75, 156, 211, 0.85));
    border-radius: inherit;
    padding: 1.25rem 1.5rem;
}

.page-shell--user-list .user-table-card .card-header h5,
.page-shell--user-list .user-table-card .card-header .header-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-shell--user-list .user-table-card .card-header i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-shell--user-list .user-table-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

.user-table thead {
    background: rgba(16, 42, 74, 0.08);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.user-table tbody tr:hover td {
    background: rgba(75, 156, 211, 0.06);
}

.user-table .user-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-table .user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(75, 156, 211, 0.18);
    color: #0f2b4b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
}

.user-table .badge-admin {
    background: rgba(220, 53, 69, 0.18);
    color: #a10f1f;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-table .badge-status-active {
    background: rgba(40, 167, 69, 0.18);
    color: #1d6b35;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-table .badge-status-inactive {
    background: rgba(108, 117, 125, 0.18);
    color: #495057;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.page-shell--user-list .btn-outline-primary,
.page-shell--user-list .btn-outline-secondary {
    border-radius: 10px;
}

.page-shell--user-list .pagination .page-link {
    border-radius: 10px;
    border: none;
    background: rgba(16, 42, 74, 0.08);
    color: #0f2b4b;
}

.page-shell--user-list .pagination .page-item.active .page-link {
    background: rgba(75, 156, 211, 0.85);
    color: #ffffff;
}

#user-table-container.is-loading {
    pointer-events: none;
}

.user-loading-indicator-slot {
    min-height: 1.75rem;
    margin-bottom: 0.75rem;
}

.user-loading-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 42, 74, 0.09);
    color: #102a4a;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 42, 74, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
}

.user-loading-indicator.is-active {
    opacity: 1;
    visibility: visible;
}

.team-list .list-group-item {
    border-color: rgba(19, 41, 75, 0.08);
}

.overview-status {
    background: rgba(75, 156, 211, 0.12);
}

.overview-status .status-summary-form {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.status-summary-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.status-summary-section.status-summary-edit {
    flex-direction: column;
    align-items: stretch;
}

.status-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.status-summary-form .status-summary-edit {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.status-summary-form.is-editing .status-summary-view {
    display: none;
}

.status-summary-form.is-editing .status-summary-edit {
    display: flex;
}

.status-summary-edit-btn {
    white-space: nowrap;
}

.description-summary-form {
    display: grid;
    gap: 1rem;
}

.description-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 576px) {
    .description-view {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.description-edit {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.description-summary-form.is-editing .description-view {
    display: none;
}

.description-summary-form.is-editing .description-edit {
    display: flex;
}

.description-edit textarea {
    min-height: 180px;
}

.project-details .description-view .rich-text-body p:last-child {
    margin-bottom: 0;
}

.irb-summary-display {
    display: grid;
    gap: 1.5rem;
}

.irb-summary-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.irb-summary-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.irb-summary-label {
    letter-spacing: 0.08em;
}

.irb-summary-status .badge {
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(19, 41, 75, 0.12);
}

.irb-summary-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.irb-beta-controls {
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.irb-summary-notes {
    border-left: 3px solid rgba(75, 156, 211, 0.7);
    background: rgba(75, 156, 211, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.irb-summary-notes p {
    margin-bottom: 0;
}

.irb-summary-form .irb-edit {
    display: none;
}

.irb-summary-form.is-editing .irb-view {
    display: none;
}

.irb-summary-form.is-editing .irb-edit {
    display: block;
}

.irb-summary-form .irb-edit-actions {
    display: none;
    gap: 0.5rem;
}

.irb-summary-form.is-editing .irb-edit-actions {
    display: flex;
}

.irb-status-input select {
    min-width: 220px;
}

.irb-notes-editor {
    border-left: 3px solid rgba(75, 156, 211, 0.7);
    background: rgba(75, 156, 211, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.irb-notes-editor textarea {
    min-height: 140px;
}

/* Progress bars */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
    background-color: var(--unc-blue);
}

.progress-bar.bg-gradient {
    background: linear-gradient(90deg, #4b9cd3 0%, #2f6fa6 100%);
}

/* Dashboard widgets */
.dashboard-widget {
    margin-bottom: 1.5rem;
}

.widget-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.widget-content {
    padding: 1.5rem;
}

/* Statistics cards */
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
    border-left: 4px solid var(--unc-blue);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--unc-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Form styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--unc-blue);
    box-shadow: 0 0 0 0.2rem rgba(75, 156, 211, 0.25);
}

.form-label.fw-bold {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #72839b;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--unc-blue), var(--unc-carolina-blue));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--unc-carolina-blue), var(--unc-blue));
    box-shadow: 0 4px 15px rgba(75, 156, 211, 0.3);
}

/* Timeline styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--unc-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--unc-blue);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--unc-blue);
}

/* Table styles */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.table thead th {
    background-color: #f8f9fa;
    color: #212529;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.9rem;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

@media (max-width: 992px) {
    .page-hero .card-body {
        padding: 2.1rem;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        border-radius: 1.25rem;
    }
    
    .page-hero .card-body {
        padding: 1.8rem;
    }
    
    .hero-meta {
        gap: 1.2rem;
    }
    
    .insight-row .insight-card {
        padding: 1.25rem;
    }
    
    .quick-action-item {
        padding: 1rem 1.25rem;
    }

    .navbar-brand span {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .notification-dropdown {
        width: 300px;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-hero-title {
        font-size: 1.9rem;
    }
    
    .hero-meta-item {
        min-width: auto;
    }
    
    .status-chip--hero {
        font-size: 0.72rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Loading animations */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--unc-blue);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--unc-navy);
}

/* File upload styles */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.file-upload-area:hover {
    border-color: var(--unc-blue);
    background-color: #e3f2fd;
}

.file-upload-area.dragover {
    border-color: var(--unc-blue);
    background-color: #e3f2fd;
    transform: scale(1.02);
}

/* Alert styles */
.alert {
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0d47a1;
}

.alert-success {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #1b5e20;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
}

.alert-danger {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
}

/* Footer Styles */
.footer-modern {
    background: linear-gradient(135deg, var(--unc-navy), #1a365d);
    color: white;
    border-top: 3px solid var(--unc-blue);
}

.footer-logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--unc-blue), var(--unc-carolina-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--unc-carolina-blue);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-links {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-modern .text-md-end {
        text-align: center !important;
    }
}
