:root {
    --jru-blue: #003366;
    --jru-gold: #ffd700;
    --primary-blue: #003366;
    --primary-gold: #ffd700;
    --accent-blue: #4f8cf7;
    --light-blue: #e6f0fa;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #2d3748;
    --white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --border-dark: #334155;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    --purple: #8b5cf6;
    --hover-bg: #f9fafb;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --sidebar-width: 80px;
    --sidebar-expanded-width: 248px;
    --top-header-height: 70px;
}

/* Dark Theme Variables - Enhanced from Partner Dashboard */
body[data-theme="dark"] {
    --jru-blue: #60a5fa;
    --jru-gold: #fbbf24;
    --primary-blue: #60a5fa;
    --primary-gold: #fbbf24;
    --accent-blue: #60a5fa;
    --white: #0f172a;
    --light-gray: #1e293b;
    --medium-gray: #334155;
    --dark-gray: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-light: #334155;
    --border-dark: #475569;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    --purple: #a78bfa;
    --hover-bg: #475569;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --card-bg: #1e293b;
    --border-color: #334155;
    --input-bg: #374151;
    --input-border: #4b5563;
    --section-bg: #0f172a;
    --skill-bg: #374151;
    --skill-text: #e5e7eb;
    --accent-bg: #374151;
    --accent-text: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f3f4f6;
    color: var(--dark-gray);
    margin: 0;
    padding: 0;
    line-height: 1.55;
    min-height: 100vh;
    padding-top: var(--top-header-height);
    padding-left: var(--sidebar-expanded-width);
    transition: all 0.3s ease;
    font-size: 14px;
}

body[data-theme="dark"] {
    background: #0f172a !important;
    color: #f1f5f9 !important;
}

/* ===== COMPREHENSIVE DARK MODE STYLES FROM PARTNER DASHBOARD ===== */

/* Top Header Dark Mode */
body[data-theme="dark"] .top-header {
    background: #1e293b !important;
    border-bottom: 1px solid #334155 !important;
}

body[data-theme="dark"] .logo-text h2 {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .logo-text span {
    color: #fbbf24 !important;
}

body[data-theme="dark"] .notification-bell {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .notification-bell:hover {
    color: #3b82f6 !important;
}

body[data-theme="dark"] .notification-bell i {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .notification-bell:hover i {
    color: #3b82f6 !important;
}

/* Sidebar Dark Mode */
body[data-theme="dark"] .sidebar {
    background: #1e293b !important;
    border-right: 1px solid #334155 !important;
}

body[data-theme="dark"] .sidebar-link {
    color: #cbd5e1 !important;
}

body[data-theme="dark"] .sidebar-link:hover {
    background: #334155 !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .sidebar-link.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

/* Main Container Dark Mode */
body[data-theme="dark"] .main-container {
    background: #0f172a !important;
}

body[data-theme="dark"] .hero-section {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
}

body[data-theme="dark"] .dashboard-header h1 {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .welcome-message {
    color: #cbd5e1 !important;
}

/* Cards and Containers Dark Mode */
body[data-theme="dark"] .card,
body[data-theme="dark"] .content-card,
body[data-theme="dark"] .job-post,
body[data-theme="dark"] .filter-card,
body[data-theme="dark"] .stats-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

body[data-theme="dark"] .card-header {
    background: #475569 !important;
    border-bottom: 1px solid #64748b !important;
}

body[data-theme="dark"] .card-title {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .card-content {
    color: #f1f5f9 !important;
}

/* Tables Dark Mode */
body[data-theme="dark"] .table {
    background: #1e293b !important;
}

body[data-theme="dark"] .table th {
    background: #334155 !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #475569 !important;
}

body[data-theme="dark"] .table td {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #334155 !important;
}

body[data-theme="dark"] .table tr:hover td {
    background: #334155 !important;
}

/* Form Elements Dark Mode */
body[data-theme="dark"] .form-control {
    background: #475569 !important;
    border: 1px solid #64748b !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .form-control:focus {
    border-color: #3b82f6 !important;
    background: #334155 !important;
}

body[data-theme="dark"] .form-control::placeholder {
    color: #94a3b8 !important;
}

/* Search Bar Dark Mode */
body[data-theme="dark"] input[type="text"],
body[data-theme="dark"] input[type="search"],
body[data-theme="dark"] #job-search {
    background: #475569 !important;
    border: 1px solid #64748b !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] input[type="text"]:focus,
body[data-theme="dark"] input[type="search"]:focus,
body[data-theme="dark"] #job-search:focus {
    border-color: #3b82f6 !important;
    background: #334155 !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .form-label {
    color: #f1f5f9 !important;
}

/* Buttons Dark Mode */
body[data-theme="dark"] .btn-primary {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

body[data-theme="dark"] .btn-primary:hover {
    background: #2563eb !important;
}

body[data-theme="dark"] .btn-secondary {
    background: #475569 !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .btn-secondary:hover {
    background: #64748b !important;
}

/* Badges Dark Mode */
body[data-theme="dark"] .badge {
    color: #ffffff !important;
}

body[data-theme="dark"] .badge-success {
    background: #10b981 !important;
}

body[data-theme="dark"] .badge-warning {
    background: #f59e0b !important;
}

body[data-theme="dark"] .badge-danger {
    background: #ef4444 !important;
}

body[data-theme="dark"] .badge-info {
    background: #3b82f6 !important;
}

/* Alerts Dark Mode */
body[data-theme="dark"] .alert {
    background: #334155 !important;
    border: 1px solid #475569 !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .alert-success {
    background: #064e3b !important;
    border-color: #10b981 !important;
    color: #6ee7b7 !important;
}

body[data-theme="dark"] .alert-danger {
    background: #7f1d1d !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

body[data-theme="dark"] .alert-warning {
    background: #78350f !important;
    border-color: #f59e0b !important;
    color: #fcd34d !important;
}

body[data-theme="dark"] .alert-info {
    background: #1e3a8a !important;
    border-color: #3b82f6 !important;
    color: #93c5fd !important;
}

/* Job Feed Dark Mode */
body[data-theme="dark"] .job-title {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .company-name {
    color: #cbd5e1 !important;
}

body[data-theme="dark"] .meta-item {
    color: #94a3b8 !important;
}

body[data-theme="dark"] .job-summary {
    color: #cbd5e1 !important;
}

body[data-theme="dark"] .posted-time {
    color: #94a3b8 !important;
}

/* Filter Elements Dark Mode */
body[data-theme="dark"] .filter-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

body[data-theme="dark"] .filter-option {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .filter-option:hover {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .filter-option label {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .filter-option input[type="radio"] {
    accent-color: #3b82f6 !important;
}

body[data-theme="dark"] .filter-option input[type="radio"]:checked + label {
    color: #3b82f6 !important;
}

/* Empty States Dark Mode */
body[data-theme="dark"] .empty-state {
    color: #94a3b8 !important;
}

body[data-theme="dark"] .empty-state i {
    color: #64748b !important;
}

body[data-theme="dark"] .empty-state h3 {
    color: #cbd5e1 !important;
}

body[data-theme="dark"] .empty-state p {
    color: #94a3b8 !important;
}

/* Theme Toggle Dark Mode */
body[data-theme="dark"] .theme-toggle {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .theme-toggle i {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .toggle-label {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .theme-toggle .link-text {
    color: #f1f5f9 !important;
}

/* No Jobs Message Dark Mode */
body[data-theme="dark"] .no-jobs-message,
body[data-theme="dark"] .no-jobs-found,
body[data-theme="dark"] .no-results {
    color: #cbd5e1 !important;
}

body[data-theme="dark"] .no-jobs-message h3,
body[data-theme="dark"] .no-jobs-found h3,
body[data-theme="dark"] .no-results h3 {
    color: #f1f5f9 !important;
}

/* Student Placements Dark Mode */
body[data-theme="dark"] .placements-main-container {
    background: #0f172a !important;
}

/* Ensure no white backgrounds in dark mode */
body[data-theme="dark"] .placements-main-container * {
    background-color: transparent !important;
}

body[data-theme="dark"] .placements-main-container .dashboard-header {
    background: #1e293b !important;
}


body[data-theme="dark"] .placements-content-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}


/* Fix white bar above My Placements title */
body[data-theme="dark"] .dashboard-header {
    background: #1e293b !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .dashboard-header h1 {
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .dashboard-header p {
    color: #cbd5e1 !important;
}

body[data-theme="dark"] .placements-data-table {
    background: #1e293b !important;
}

body[data-theme="dark"] .placements-data-table th {
    background: #334155 !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #475569 !important;
}

body[data-theme="dark"] .placements-data-table td {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #334155 !important;
}

body[data-theme="dark"] .placements-data-table tbody tr:hover td {
    background: #334155 !important;
}

/* Top Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top-header-height);
    z-index: 999;
    background-color: var(--jru-blue);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--jru-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--jru-blue);
}

.logo-text h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.logo-text span {
    color: var(--jru-gold);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-bell {
    position: relative;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.notification-bell:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-bell i {
    font-size: 20px;
    color: var(--white);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--error-red);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    animation: pulse-notification 2s infinite;
}

@keyframes pulse-notification {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    max-height: 500px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--hover-shadow);
    border: 1px solid #e5e7eb;
    z-index: 1000;
    display: none;
    overflow: hidden;
    margin-top: 10px;
}

body[data-theme="dark"] .notification-dropdown {
    border-color: #4b5563;
}

.notification-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
}

body[data-theme="dark"] .notification-header {
    background: #374151;
    border-bottom-color: #4b5563;
}

.notification-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--jru-blue);
}

.mark-all-read {
    background: none;
    border: none;
    color: var(--jru-blue);
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.mark-all-read:hover {
    background: rgba(0, 51, 102, 0.1);
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s ease;
    position: relative;
    cursor: pointer;
}

body[data-theme="dark"] .notification-item {
    border-bottom-color: #4b5563;
}

.notification-item:hover {
    background: #f9fafb;
}

body[data-theme="dark"] .notification-item:hover {
    background: #374151;
}

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

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 18px;
    /* Default styles - always visible */
    background: #e0e7ff;
    color: #3730a3;
}

/* Dark mode default icon */
body[data-theme="dark"] .notification-icon {
    background: #1e3a8a;
    color: #93c5fd;
}

.notification-item.approved .notification-icon,
.notification-item.accepted .notification-icon,
.notification-item.application_approved .notification-icon {
    background: #dcfce7;
    color: #166534;
}

body[data-theme="dark"] .notification-item.approved .notification-icon,
body[data-theme="dark"] .notification-item.accepted .notification-icon,
body[data-theme="dark"] .notification-item.application_approved .notification-icon {
    background: #065f46;
    color: #6ee7b7;
}

.notification-item.rejected .notification-icon {
    background: #fee2e2;
    color: #991b1b;
}

body[data-theme="dark"] .notification-item.rejected .notification-icon {
    background: #7f1d1d;
    color: #fca5a5;
}

.notification-item.under_review .notification-icon {
    background: #fef3c7;
    color: #92400e;
}

body[data-theme="dark"] .notification-item.under_review .notification-icon {
    background: #78350f;
    color: #fcd34d;
}

.notification-item.submitted .notification-icon {
    background: #e0e7ff;
    color: #3730a3;
}

body[data-theme="dark"] .notification-item.submitted .notification-icon {
    background: #1e3a8a;
    color: #93c5fd;
}

.notification-item.placement_created .notification-icon,
.notification-item.placement_rate_update .notification-icon {
    background: #ddd6fe;
    color: #6d28d9;
}

body[data-theme="dark"] .notification-item.placement_created .notification-icon,
body[data-theme="dark"] .notification-item.placement_rate_update .notification-icon {
    background: #5b21b6;
    color: #c4b5fd;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-size: 14px;
}

body[data-theme="dark"] .notification-title {
    color: #f1f5f9;
}

.notification-message {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.4;
}

body[data-theme="dark"] .notification-message {
    color: #d1d5db;
}

.notification-job {
    font-size: 12px;
    color: var(--jru-blue);
    margin-bottom: 5px;
}

body[data-theme="dark"] .notification-job {
    color: #60a5fa;
}

.notification-time {
    font-size: 11px;
    color: #9ca3af;
}

body[data-theme="dark"] .notification-time {
    color: #9ca3af;
}

.mark-read-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    opacity: 1;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body[data-theme="dark"] .mark-read-btn {
    color: #9ca3af;
    opacity: 1;
}

.mark-read-btn:hover {
    background: #f3f4f6;
    color: #6b7280;
}

body[data-theme="dark"] .mark-read-btn:hover {
    background: #4b5563;
    color: #f1f5f9;
}

.no-notifications {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.no-notifications i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-notifications p {
    margin: 0;
    font-weight: 500;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: var(--top-header-height);
    left: 0;
    width: var(--sidebar-expanded-width);
    height: calc(100vh - var(--top-header-height));
    background: var(--white);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: width 0.3s ease;
    overflow: hidden;
}

.sidebar.expanded {
    width: var(--sidebar-expanded-width);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 0;
    overflow: hidden;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    justify-content: flex-start;
    width: 100%;
    font-size: 14px;
}

.sidebar-link i {
    font-size: 18px;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link .link-text {
    opacity: 1;
    transform: translateX(0);
    transition: none;
}

.sidebar-link:hover {
    background: var(--light-blue);
    color: var(--jru-blue);
    transform: none;
}

body[data-theme="dark"] .sidebar-link:hover {
    background: #374151;
    color: #60a5fa;
}

.sidebar-link.active {
    background: rgba(17, 24, 39, 0.08);
    color: var(--jru-blue);
    width: 100%;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(53, 90, 168, 0.25);
    box-shadow: 0 6px 16px rgba(0, 41, 112, 0.10);
    backdrop-filter: blur(6px);
}

.sidebar-link.active:hover {
    background: rgba(17, 24, 39, 0.14);
    box-shadow: 0 10px 22px rgba(0, 41, 112, 0.18);
    transform: none;
}

/* Active tab matches hover state width */
/* Gradient accent bar on left */
.sidebar-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    background: linear-gradient(180deg, #3b82f6 0%, #9333ea 100%);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.45);
}

.sidebar-bottom {
    padding: 0 20px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: var(--dark-gray);
    border-radius: 12px;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.theme-toggle i {
    font-size: 20px;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: transform .3s ease, opacity .2s ease;
}

.theme-toggle .link-text {
    opacity: 1;
    transform: translateX(0);
    transition: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.05);
    background: #e5e7eb;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: linear-gradient(180deg, #f3f4f6, #e5e7eb);
    border-radius: 999px;
    transition: background-color 0.25s ease;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.25s ease;
}

input:checked + .toggle-slider {
    background: linear-gradient(180deg, var(--jru-blue), #002a66);
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 13px;
    font-weight: 500;
}

.sidebar-link.logout {
    color: var(--error-red);
    justify-content: flex-start;
}

.sidebar-link.logout:hover {
    background: #fee2e2;
    color: var(--error-red);
}

/* Main Container - Single Column Layout (Job Feed Only) */
.main-container {
display: flex;
flex-direction: column;
gap: 0;
width: 100%;
max-width: none;
margin: 0;
padding: 0;
transition: all 0.3s ease;
height: calc(100vh - var(--top-header-height)); /* take full viewport minus header */
overflow: hidden; /* stop page from scrolling */
}

/* Job Feed Container - Take full available space */
.job-feed-container {
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
padding: 10px;
position: relative;
width: 100%;
height: 100%;
}


/* Right Column - User Profile */
.profile-card {
    background: var(--white);
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    height: fit-content;
    position: sticky;
    
}

.profile-header {
    position: relative;
    height: 80px;
    background: linear-gradient(135deg, var(--jru-blue) 0%, #4f8cf7 100%);
    border-radius: 12px 12px 0 0;
}

.profile-avatar {
position: absolute;
bottom: -30px;
left: 20px;
width: 80px;
height: 80px;
border-radius: 50%;
border: 4px solid var(--white);
background: var(--jru-gold);
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
font-weight: 700;
color: var(--jru-blue);
overflow: hidden; /* keeps image inside circle */
}

.profile-avatar img.avatar-img {
width: 100%;
height: 100%;
object-fit: cover;  /* ✅ keeps proportions, fills circle */
object-position: center; /* ✅ centers the image */
display: block;
border-radius: 50%; /* keeps it circular */
}


.profile-content {
    padding: 40px 20px 20px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.profile-email {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin: 15px 0;
}

.profile-stat {
    text-align: center;
    flex: 1;
}

.profile-stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--jru-blue);
    margin-bottom: 2px;
}

.profile-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.profile-actions {
    margin-top: 15px;
}

.btn-profile {
    width: 100%;
    padding: 12px;
    background: var(--light-blue);
    color: var(--jru-blue);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-profile:hover {
    background: var(--jru-blue);
    color: white;
    transform: translateY(-1px);
}



.search-section {
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

.search-container {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Filter Section */
.filter-section {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 15px;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.filter-toggle:hover {
    color: var(--primary-blue);
}

.filter-content {
    display: none;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-content.show {
    display: flex;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: end;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-btn:hover {
    background: var(--hover-bg);
    border-color: var(--primary-blue);
}

.filter-btn.primary {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.filter-btn.primary:hover {
    background: var(--accent-blue);
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-gray);
}

.search-box input:focus {
    border-color: var(--jru-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--jru-blue);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background: #002244;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    background: var(--hover-bg);
    color: var(--dark-gray);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.filter-tag:hover, .filter-tag.active {
    background: var(--jru-blue);
    color: white;
    border-color: var(--jru-blue);
}

/* Notice Messages */
.notice {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-weight: 500;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.notice-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    color: #92400e;
}

.notice-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.job-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-post {
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.job-post:hover {
    box-shadow: var(--hover-shadow);
    border-color: var(--jru-blue);
}

.job-post.selected {
    border-color: var(--jru-blue);
    background: rgba(130, 169, 236, 0.233);
    box-shadow: 0 0 0 2px rgba(79, 140, 247, 0.2);
}

body[data-theme="dark"] .job-post.selected {
    background: rgba(150, 175, 219, 0.253);
    border-color: var(--jru-blue);
    box-shadow: 0 0 0 2px rgba(79, 140, 247, 0.3);
}

.job-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.company-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--jru-blue);
    margin-bottom: 5px;
    line-height: 1.3;
}

.company-name {
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 14px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.job-type-badge.fulltime {
    background: #dcfce7;
    color: #166534;
}

.job-type-badge.parttime {
    background: #fef3c7;
    color: #92400e;
}

.job-type-badge.internship {
    background: #e0e7ff;
    color: #3730a3;
}

.deadline-warning {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deadline-warning.urgent {
    background: #fee2e2;
    color: #991b1b;
}

.job-summary {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-actions-quick {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.btn-apply-quick {
    padding: 8px 16px;
    background: var(--jru-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-apply-quick:hover {
    background: #002244;
}

.btn-applied {
    background: var(--success-green) !important;
    cursor: not-allowed !important;
}

.btn-view-only {
    background: var(--jru-gold) !important;
    color: var(--jru-blue) !important;
    cursor: pointer !important;
}

.btn-view-only:hover {
    background: #ffed4e !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.posted-time {
    color: var(--text-muted);
    font-size: 12px;
}

/* Job Details Overlay */
.job-details-container {
position: fixed;
top: 0;
right: -100%;
width: 65%;
max-width: 1000px;
height: 100vh;
background: var(--white);
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
border-left: 1px solid var(--border-light);
overflow-y: auto;
padding: 20px;
z-index: 1000;
transition: right 0.3s ease;
}

.job-details-container.show {
right: 0;
}

/* Overlay backdrop */
.job-details-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

.job-details-backdrop.show {
opacity: 1;
visibility: visible;
}
.job-details-close {
position: absolute;
top: 15px;
right: 15px;
background: rgba(0, 0, 0, 0.1);
border: 1px solid var(--border-light);
font-size: 20px;
font-weight: bold;
cursor: pointer;
color: var(--text-muted);
transition: all 0.3s ease;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
visibility: visible;
opacity: 1;
line-height: 1;
}

.job-details-close:hover {
color: var(--error-red);
background: rgba(239, 68, 68, 0.2);
border-color: var(--error-red);
transform: scale(1.1);
}

.job-details-close:active {
transform: scale(0.95);
}

.job-details-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.job-details-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.job-details-content {
    padding: 14px;
    display: none;
}

.job-details-content.active {
    display: block;
}

.job-details-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
    margin-bottom: 20px;
    padding-right: 40px;
    position: relative;
}

.job-details-title {
    font-size: 24px;
    color: var(--jru-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.job-details-company {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-details-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.job-details-meta-item {
    padding: 15px;
    background: var(--hover-bg);
    border-radius: 8px;
    text-align: center;
}

.job-details-meta-item i {
    font-size: 16px;
    color: var(--jru-blue);
    margin-bottom: 8px;
}

.job-details-meta-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.job-details-meta-value {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}

.job-details-description {
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 10px;
    text-align: justify;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Job Details Sections */
.job-details-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.job-details-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    color: var(--jru-blue);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    font-size: 16px;
}

/* Qualifications Section */
.job-details-qualifications {
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--hover-bg);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--jru-blue);
}

/* Required Skills Section */
.job-details-skills {
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--hover-bg);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

/* Benefits Section */
.job-details-benefits {
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--hover-bg);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--success-green);
}

/* Company Information Grid */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.company-info-item {
    padding: 15px;
    background: var(--hover-bg);
    border-radius: 8px;
    text-align: center;
}

.company-info-item i {
    font-size: 16px;
    color: var(--jru-blue);
    margin-bottom: 8px;
}

.company-info-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.company-info-value {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}

.company-link {
    color: var(--jru-blue);
    text-decoration: none;
    word-break: break-all;
}

.company-link:hover {
    text-decoration: underline;
}

/* Company Description */
.company-description {
    background: var(--light-blue);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--jru-blue);
    margin-bottom: 20px;
}

.company-description h4 {
    color: var(--jru-blue);
    margin-bottom: 10px;
    font-size: 16px;
}

.company-description p {
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
}

/* Contact Information Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.contact-info-item {
    padding: 15px;
    background: var(--hover-bg);
    border-radius: 8px;
    text-align: center;
}

.contact-info-item i {
    font-size: 16px;
    color: var(--jru-blue);
    margin-bottom: 8px;
}

.contact-info-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-value {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}

.contact-link {
    color: var(--jru-blue);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Job Domains/Skills Section */
.job-domains-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.domain-tag {
    background: var(--jru-blue);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
}

.domain-tag:hover {
    background: var(--accent-blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 140, 247, 0.3);
}

/* Dark theme adjustments */
body[data-theme="dark"] .domain-tag {
    background: var(--jru-blue);
    color: var(--white);
}

body[data-theme="dark"] .domain-tag:hover {
    background: var(--accent-blue);
}

/* Application Status */
.application-status {
    background: #dcfce7;
    color: #166534;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--success-green);
}

.application-status i {
    font-size: 18px;
}

/* Dark theme adjustments */
body[data-theme="dark"] .job-details-qualifications {
    background: var(--medium-gray);
    border-left-color: var(--jru-blue);
}

body[data-theme="dark"] .job-details-skills {
    background: var(--medium-gray);
    border-left-color: var(--accent-blue);
}

body[data-theme="dark"] .job-details-benefits {
    background: var(--medium-gray);
    border-left-color: var(--success-green);
}

body[data-theme="dark"] .company-description {
    background: var(--medium-gray);
    border-left-color: var(--jru-blue);
}

body[data-theme="dark"] .company-info-item,
body[data-theme="dark"] .contact-info-item {
    background: var(--medium-gray);
}

body[data-theme="dark"] .application-status {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success-green);
    border-left-color: var(--success-green);
}

.job-details-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-details {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    border: none;
    font-family: inherit;
}

.btn-details.primary {
    background: var(--jru-blue);
    color: white;
}

.btn-details.primary:hover {
    background: #002244;
}

.btn-details.secondary {
    background: transparent;
    color: var(--jru-blue);
    border: 2px solid var(--jru-blue);
}

.btn-details.secondary:hover {
    background: var(--jru-blue);
    color: white;
}

.btn-details.disabled {
    background: var(--success-green);
    color: white;
    cursor: not-allowed;
}

.empty-feed {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

.empty-feed i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-feed h3 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-container {
        display: flex;
        flex-direction: column;
    }
    
    .job-details-container {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .main-container {
        display: flex;
        flex-direction: column;
    }
    
    .job-details-container {
        width: 60%;
    }
}

@media (max-width: 768px) {
    body {
        padding-left: 0;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-expanded-width);
    }
    
    .sidebar.expanded {
        transform: translateX(0);
    }
    
    .main-container {
        display: flex;
        flex-direction: column;
        padding: 15px;
        max-width: 100%;
    }
    
    .job-details-container {
        position: relative;
        top: auto;
        overflow-y: auto;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-post {
    animation: fadeInUp 0.5s ease forwards;
}

/* Enhanced Notification Styles */
.notification-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: #f8fafc !important;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body[data-theme="dark"] .notification-item:hover {
    background: #374151 !important;
}

.notification-item.approved .notification-icon,
.notification-item.accepted .notification-icon,
.notification-item.application_approved .notification-icon {
    background: #dcfce7;
    color: #16a34a;
}

.notification-item.rejected .notification-icon {
    background: #fef2f2;
    color: #dc2626;
}

.notification-item.under_review .notification-icon {
    background: #fef3c7;
    color: #d97706;
}

.notification-item.submitted .notification-icon {
    background: #dbeafe;
    color: #2563eb;
}

.notification-item.placement_rate_update .notification-icon {
    background: #e0e7ff;
    color: #7c3aed;
}

.notification-item.new_job_posting .notification-icon {
    background: #f0f9ff;
    color: #0284c7;
}

.mark-read-btn {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.notification-item:hover .mark-read-btn {
    opacity: 1;
}

/* ========================================
   STUDENT PLACEMENTS PAGE STYLES
   ======================================== */

/* Main Container for Placements */
.placements-main-container {
    padding: 20px;
    min-height: 100vh;
    background: #f8f9fa;
}

/* Dashboard Header Styles for Placements */
.dashboard-header {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

.dashboard-header .header-content h1 {
    color: var(--jru-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-header .header-content h1 i {
    font-size: 1.8rem;
    color: var(--jru-gold);
}

.dashboard-header .welcome-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0 0 0 3rem;
    line-height: 1.5;
    max-width: 100%;
    text-align: left;
}

/* Dark theme adjustments for dashboard header */
body[data-theme="dark"] .dashboard-header {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .dashboard-header .header-content h1 {
    color: var(--jru-blue);
}

body[data-theme="dark"] .dashboard-header .welcome-message {
    color: var(--text-secondary);
}


.placements-content-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.placements-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.placements-card-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
}

.placements-card-content {
    padding: 25px;
}

/* Data Table Styles */
.placements-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}

.placements-data-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

.placements-data-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.placements-data-table tr:hover {
    background: #f8f9fa;
}

/* Status Badge Styles */
.placements-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.placements-status-badge.status-awaiting-validation {
    background: #e2e3e5;
    color: #495057;
}

.placements-status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.placements-status-badge.status-approved {
    background: #d4edda;
    color: #155724;
}

.placements-status-badge.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

/* Action Button Styles */
.placements-btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.placements-btn-accept {
    background: #28a745;
    color: white;
}

.placements-btn-accept:hover {
    background: #218838;
}

.placements-btn-decline {
    background: #dc3545;
    color: white;
}

.placements-btn-decline:hover {
    background: #c82333;
}

.placements-btn-submit-docs {
    background: #007bff;
    color: white;
}

.placements-btn-submit-docs:hover {
    background: #0056b3;
}

.placements-btn-revise {
    background: #ffc107;
    color: #212529;
}

.placements-btn-revise:hover {
    background: #e0a800;
}

.placements-btn-secondary {
    background: #6c757d;
    color: white;
}

.placements-btn-secondary:hover {
    background: #5a6268;
}

/* Empty State Styles */
.placements-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.placements-empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #dee2e6;
}

/* Alert Styles */
.placements-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.placements-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.placements-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Job Info Styles */
.placements-job-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.placements-job-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.placements-company-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.placements-company-name {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.placements-duration-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.placements-start-date,
.placements-end-date,
.placements-hours-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.placements-supervisor-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.placements-supervisor-name {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.placements-supervisor-email {
    font-size: 0.8rem;
    color: #6c757d;
}

.placements-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Responsive Design for Placements */
@media (max-width: 768px) {
    .placements-main-container {
        padding: 15px;
    }
    
    .placements-card-content {
        padding: 15px;
    }
    
    .placements-data-table {
        font-size: 0.85rem;
    }
    
    .placements-data-table th,
    .placements-data-table td {
        padding: 10px 8px;
    }
    
    .placements-duration-info {
        gap: 5px;
    }
    
    .placements-start-date,
    .placements-end-date,
    .placements-hours-info {
        font-size: 0.8rem;
    }
}

/* Dark Theme Adjustments for Placements */
body[data-theme="dark"] .placements-main-container {
    background: #111827;
}

body[data-theme="dark"] .placements-content-card {
    background: var(--white);
    border: 1px solid var(--border-light);
}

body[data-theme="dark"] .placements-card-header {
    background: var(--medium-gray);
    border-bottom-color: var(--border-light);
}

body[data-theme="dark"] .placements-card-header h3 {
    color: var(--text-primary);
}

body[data-theme="dark"] .placements-data-table th {
    background: var(--medium-gray);
    color: var(--text-primary);
    border-bottom-color: var(--border-light);
}

body[data-theme="dark"] .placements-data-table td {
    border-bottom-color: var(--border-light);
}

body[data-theme="dark"] .placements-data-table tr:hover {
    background: var(--medium-gray);
}

body[data-theme="dark"] .placements-job-title {
    color: var(--text-primary);
}

body[data-theme="dark"] .placements-company-name {
    color: var(--text-secondary);
}

body[data-theme="dark"] .placements-supervisor-name {
    color: var(--text-primary);
}

body[data-theme="dark"] .placements-supervisor-email {
    color: var(--text-muted);
}

/* ========================================
   STUDENT DOCUMENTS PAGE STYLES
   ======================================== */

/* Main Container for Documents */
.documents-main-container {
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Override any potential fixed height from student_dashboard.css */
.documents-main-container, .documents-content-card, .documents-hero-section {
    height: auto !important;
    max-height: none !important;
}

/* Page Header Styles for Documents */
.documents-page-header {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

.documents-page-header h1 {
    color: var(--jru-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.3;
}

.documents-page-header h1 i {
    font-size: 1.4rem;
    color: var(--jru-gold);
}

.documents-page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* Document Upload Section */
.documents-upload-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.documents-upload-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.documents-upload-section p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.documents-upload-form {
    display: flex;
    gap: 15px;
    align-items: end;
}

.documents-file-input-wrapper {
    flex: 1;
}

.documents-file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed #3498db;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.documents-file-input:hover {
    border-color: #2980b9;
    background: #e3f2fd;
}

.documents-btn-upload {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.documents-btn-upload:hover {
    background: #2980b9;
}

.documents-btn-upload:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* Document Status Section */
.documents-status-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.documents-status-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.documents-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.documents-info {
    flex: 1;
}

.documents-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.documents-type {
    color: #7f8c8d;
    font-size: 0.9em;
}

.documents-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.documents-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.documents-status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.documents-status-badge.status-approved {
    background: #d4edda;
    color: #155724;
}

.documents-status-badge.status-disapproved {
    background: #f8d7da;
    color: #721c24;
}

.documents-btn-reupload {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background 0.3s ease;
}

.documents-btn-reupload:hover {
    background: #138496;
}

.documents-admin-remarks {
    margin-top: 10px;
    padding: 10px;
    background: #e9ecef;
    border-radius: 6px;
    font-size: 0.9em;
    color: #495057;
}

/* Alert Styles for Documents */
.documents-alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.documents-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.documents-alert-error {
    background: #fadbd8;
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Document Status Summary */
.documents-status-summary {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.documents-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.documents-status-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.documents-status-card.pending {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff3cd 0%, #f8f9fa 100%);
}

.documents-status-card.approved {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d4edda 0%, #f8f9fa 100%);
}

.documents-status-card.rejected {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #f8d7da 0%, #f8f9fa 100%);
}

.documents-status-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.documents-status-card.pending .documents-status-number {
    color: #f39c12;
}

.documents-status-card.approved .documents-status-number {
    color: #27ae60;
}

.documents-status-card.rejected .documents-status-number {
    color: #e74c3c;
}

.documents-status-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #495057;
}

/* Submitted Documents Table */
.documents-submitted-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.documents-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
}

.documents-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

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

.documents-action-buttons {
    display: flex;
    gap: 10px;
}

.documents-btn-view, .documents-btn-delete {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.documents-btn-view {
    background: #3498db;
    color: white;
}

.documents-btn-view:hover {
    background: #2980b9;
}

.documents-btn-delete {
    background: #e74c3c;
    color: white;
}

.documents-btn-delete:hover {
    background: #c0392b;
}

/* Information Note */
.documents-info-note {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border: 1px solid #bbdefb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.documents-note-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.documents-note-content i {
    color: #1976d2;
    font-size: 1.2em;
}

.documents-note-content div {
    color: #1976d2;
    font-weight: 500;
}

/* Empty State for Documents */
.documents-empty-state {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.documents-empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.documents-empty-state h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.documents-empty-state p {
    margin: 0;
}

/* Responsive Design for Documents */
@media (max-width: 768px) {
    .documents-main-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .documents-page-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .documents-page-header h1 {
        font-size: 1.3rem;
        gap: 0.5rem;
    }
    
    .documents-page-header h1 i {
        font-size: 1.2rem;
    }
    
    .documents-page-header p {
        font-size: 0.9rem;
    }
    
    .documents-upload-section,
    .documents-status-section,
    .documents-status-summary,
    .documents-submitted-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .documents-upload-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .documents-status-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .documents-table {
        font-size: 0.85rem;
    }
    
    .documents-table th,
    .documents-table td {
        padding: 10px 8px;
    }
}

/* Dark Theme Adjustments for Documents */
body[data-theme="dark"] .documents-main-container {
    background: #111827;
}

body[data-theme="dark"] .documents-page-header {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .documents-page-header h1 {
    color: var(--jru-blue);
}

body[data-theme="dark"] .documents-page-header p {
    color: var(--text-secondary);
}

body[data-theme="dark"] .documents-upload-section,
body[data-theme="dark"] .documents-status-section,
body[data-theme="dark"] .documents-status-summary,
body[data-theme="dark"] .documents-submitted-section {
    background: var(--white);
    border: 1px solid var(--border-light);
}

body[data-theme="dark"] .documents-upload-section h3,
body[data-theme="dark"] .documents-status-section h3 {
    color: var(--text-primary);
}

body[data-theme="dark"] .documents-upload-section p {
    color: var(--text-secondary);
}

body[data-theme="dark"] .documents-item {
    background: var(--medium-gray);
    border-color: var(--border-light);
}

body[data-theme="dark"] .documents-name {
    color: var(--text-primary);
}

body[data-theme="dark"] .documents-type {
    color: var(--text-secondary);
}

body[data-theme="dark"] .documents-table th {
    background: var(--medium-gray);
    color: var(--text-primary);
    border-bottom-color: var(--border-light);
}

body[data-theme="dark"] .documents-table td {
    border-bottom-color: var(--border-light);
}

body[data-theme="dark"] .documents-table tr:hover {
    background: var(--medium-gray);
}

body[data-theme="dark"] .documents-info-note {
    background: var(--medium-gray);
    border-color: var(--border-light);
}

body[data-theme="dark"] .documents-note-content div {
    color: var(--text-primary);
}

/* ========================================
   STUDENT OJT DASHBOARD PAGE STYLES
   ======================================== */

/* Main Container for OJT Dashboard */
.ojt-main-container {
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* OJT Dashboard Content */
.ojt-dashboard-content {
    height: auto !important;
    max-height: none !important;
}

/* Placement Approved Styles - Matching System Design */
.ojt-placement-approved {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-align: center;
}

.ojt-approval-icon {
    font-size: 3rem;
    color: var(--success-green);
    margin-bottom: 1rem;
}

.ojt-placement-approved h3 {
    color: var(--success-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ojt-placement-approved p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.ojt-placement-details {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.25rem 0;
    text-align: left;
    border: 1px solid var(--border-light);
}

.ojt-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
}

.ojt-detail-item:last-child {
    border-bottom: none;
}

.ojt-detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.ojt-detail-item span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.ojt-start-ojt-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.ojt-start-message {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ojt-btn-start-ojt {
    background: var(--success-green);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.ojt-btn-start-ojt:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.ojt-btn-start-ojt:active {
    transform: translateY(0);
}

.ojt-btn-start-ojt i {
    font-size: 0.95rem;
}

/* No Placement Styles */
.ojt-no-placement {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-align: center;
}

.ojt-no-placement i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.ojt-no-placement h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ojt-no-placement p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.ojt-btn-apply {
    background: var(--jru-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.ojt-btn-apply:hover {
    background: #002244;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

/* OJT Statistics Grid */
.ojt-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.ojt-stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.ojt-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.ojt-stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ojt-stat-card.hours .ojt-stat-value {
    color: var(--jru-blue);
}

.ojt-stat-card.days .ojt-stat-value {
    color: var(--success-green);
}

.ojt-stat-card.reports .ojt-stat-value {
    color: var(--warning-orange);
}

.ojt-stat-card.evaluations .ojt-stat-value {
    color: var(--purple);
}

.ojt-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Progress Section */
.ojt-progress-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

.ojt-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ojt-progress-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.ojt-progress-percentage {
    color: var(--jru-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.ojt-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.ojt-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--jru-blue), var(--accent-blue));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.ojt-progress-details {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Quick Actions */
.ojt-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.ojt-action-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.ojt-action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
    border-color: var(--jru-blue);
}

.ojt-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.ojt-action-card:nth-child(1) .ojt-action-icon {
    background: linear-gradient(135deg, var(--jru-blue), var(--accent-blue));
}

.ojt-action-card:nth-child(2) .ojt-action-icon {
    background: linear-gradient(135deg, var(--success-green), #34d399);
}

.ojt-action-card:nth-child(3) .ojt-action-icon {
    background: linear-gradient(135deg, var(--warning-orange), #fbbf24);
}

.ojt-action-card:nth-child(4) .ojt-action-icon {
    background: linear-gradient(135deg, var(--purple), #a78bfa);
}

.ojt-action-card:nth-child(5) .ojt-action-icon {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.ojt-action-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ojt-action-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Modal Styles */
.ojt-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.ojt-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: ojtModalSlideIn 0.3s ease-out;
}

@keyframes ojtModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ojt-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e1e8ed;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 12px 12px 0 0;
}

.ojt-modal-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.ojt-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.ojt-modal-close:hover {
    opacity: 1;
}

.ojt-modal-body {
    padding: 25px;
}

.ojt-confirmation-icon {
    text-align: center;
    margin-bottom: 20px;
}

.ojt-confirmation-icon i {
    font-size: 48px;
    color: #3498db;
}

.ojt-modal-body h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3em;
}

.ojt-modal-body p {
    color: #7f8c8d;
    margin-bottom: 20px;
    text-align: center;
}

.ojt-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.ojt-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #2c3e50;
}

.ojt-features li i {
    color: #3498db;
    width: 20px;
}

.ojt-confirmation-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: #856404;
}

.ojt-confirmation-warning i {
    color: #f39c12;
    margin-right: 8px;
}

.ojt-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px 25px;
    border-top: 1px solid #e1e8ed;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.ojt-btn-secondary {
    background: #95a5a6;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ojt-btn-secondary:hover {
    background: #7f8c8d;
}

.ojt-btn-start-confirm {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ojt-btn-start-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.ojt-btn-start-confirm i {
    margin-right: 8px;
}

.ojt-btn-secondary i {
    margin-right: 8px;
}

/* Responsive Design for OJT Dashboard */
@media (max-width: 768px) {
    .ojt-main-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .ojt-placement-approved {
        padding: 1.25rem;
        margin: 1rem 0;
    }
    
    .ojt-placement-details {
        padding: 1rem;
    }
    
    .ojt-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .ojt-btn-start-ojt {
        width: 100%;
        justify-content: center;
    }
    
    .ojt-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ojt-quick-actions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ojt-progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Dark Theme Adjustments for OJT Dashboard */
body[data-theme="dark"] .ojt-main-container {
    background: #111827;
}

body[data-theme="dark"] .ojt-placement-approved {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-placement-details {
    background: var(--medium-gray);
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-detail-item {
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-start-ojt-section {
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-no-placement {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-stat-card {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-progress-section {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-action-card {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .ojt-modal-content {
    background-color: var(--card-bg);
    color: var(--text-primary);
}

body[data-theme="dark"] .ojt-modal-body h4 {
    color: var(--text-primary);
}

body[data-theme="dark"] .ojt-features li {
    color: var(--text-primary);
}

body[data-theme="dark"] .ojt-confirmation-warning {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

body[data-theme="dark"] .ojt-modal-actions {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

/* ========================================
   STUDENT ATTENDANCE PAGE STYLES
   ======================================== */

/* Main Container for Attendance */
.attendance-main-container {
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Attendance Content */
.attendance-content {
    height: auto !important;
    max-height: none !important;
}

/* No Placement Styles for Attendance */
.attendance-no-placement {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-align: center;
}

.attendance-no-placement i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.attendance-no-placement h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.attendance-no-placement p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.attendance-btn-primary {
    background: var(--jru-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.attendance-btn-primary:hover {
    background: #002244;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

/* Monthly Statistics */
.attendance-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.attendance-stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.attendance-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.attendance-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.attendance-stat-card.total-days .attendance-stat-value {
    color: var(--jru-blue);
}

.attendance-stat-card.present-days .attendance-stat-value {
    color: var(--success-green);
}

.attendance-stat-card.absent-days .attendance-stat-value {
    color: var(--danger-red);
}

.attendance-stat-card.late-days .attendance-stat-value {
    color: var(--warning-orange);
}

.attendance-stat-card.excused-days .attendance-stat-value {
    color: var(--purple);
}

.attendance-stat-card.total-hours .attendance-stat-value {
    color: var(--accent-blue);
}

.attendance-stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Form Styles */
.attendance-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.attendance-form-group {
    display: flex;
    flex-direction: column;
}

.attendance-form-group.full-width {
    grid-column: 1 / -1;
}

.attendance-form-label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.attendance-form-input,
.attendance-form-select,
.attendance-form-textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-primary);
}

.attendance-form-input:focus,
.attendance-form-select:focus,
.attendance-form-textarea:focus {
    outline: none;
    border-color: var(--jru-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.attendance-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.attendance-btn-submit {
    background: var(--success-green);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-self: start;
}

.attendance-btn-submit:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Table Styles */
.attendance-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.attendance-data-table th {
    background: var(--light-gray);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-light);
    font-size: 0.9rem;
}

.attendance-data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    font-size: 0.9rem;
}

.attendance-data-table tr:hover {
    background: var(--light-gray);
}

.attendance-date {
    font-weight: 500;
    color: var(--text-primary);
}

.attendance-time-info {
    color: var(--text-secondary);
    font-family: monospace;
}

.attendance-hours-worked {
    font-weight: 600;
    color: var(--jru-blue);
}

.attendance-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.attendance-status-badge.status-present {
    background: #d4edda;
    color: #155724;
}

.attendance-status-badge.status-absent {
    background: #f8d7da;
    color: #721c24;
}

.attendance-status-badge.status-late {
    background: #fff3cd;
    color: #856404;
}

.attendance-status-badge.status-excused {
    background: #e2e3f1;
    color: #383d41;
}

.attendance-notes-cell {
    color: var(--text-secondary);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attendance-recorded-by {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Empty State */
.attendance-empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.attendance-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.attendance-empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.attendance-empty-state p {
    margin: 0;
}

/* Responsive Design for Attendance */
@media (max-width: 768px) {
    .attendance-main-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .attendance-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .attendance-form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .attendance-data-table {
        font-size: 0.8rem;
    }
    
    .attendance-data-table th,
    .attendance-data-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .attendance-notes-cell {
        max-width: 100px;
    }
}

/* Dark Theme Adjustments for Attendance */
body[data-theme="dark"] .attendance-main-container {
    background: #111827;
}

body[data-theme="dark"] .attendance-no-placement {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .attendance-stat-card {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .attendance-form-input,
body[data-theme="dark"] .attendance-form-select,
body[data-theme="dark"] .attendance-form-textarea {
    background: var(--white);
    border-color: var(--border-light);
    color: var(--text-primary);
}

body[data-theme="dark"] .attendance-data-table th {
    background: var(--light-gray);
    color: var(--text-primary);
    border-bottom-color: var(--border-light);
}

body[data-theme="dark"] .attendance-data-table td {
    border-bottom-color: var(--border-light);
}

body[data-theme="dark"] .attendance-data-table tr:hover {
    background: var(--light-gray);
}

/* ========================================
   BACK BUTTON STYLES
   ======================================== */

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-gray);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.back-button:hover {
    background: var(--medium-gray);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.back-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-2px);
}

/* Dark theme adjustments for back button */
body[data-theme="dark"] .back-button {
    background: var(--medium-gray);
    color: var(--text-primary);
    border-color: var(--border-light);
}

body[data-theme="dark"] .back-button:hover {
    background: var(--light-gray);
    color: var(--text-primary);
}

/* ========================================
   CHART CONTAINER STYLES
   ======================================== */

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.chart-container canvas {
    max-height: 300px !important;
    max-width: 100% !important;
}

/* Fix for Chart.js responsive issues */
.ojt-content-card .chart-container {
    min-height: 300px;
    max-height: 300px;
    overflow: hidden;
}

/* Ensure chart doesn't cause page scrolling */
#hoursChart {
    max-height: 300px !important;
    height: 300px !important;
    width: 100% !important;
}

/* Fix for progress page layout stability */
.ojt-subpage-content {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure grid containers don't overflow */
.ojt-content-card {
    overflow: hidden;
    max-width: 100%;
}

/* Fix for charts section grid */
.ojt-content-card .chart-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

/* Charts grid layout */
.ojt-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Responsive charts grid */
@media (max-width: 768px) {
    .ojt-charts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Progress details styling */
.ojt-progress-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Timeline container styling */
.ojt-timeline-container {
    max-height: 300px;
    overflow-y: auto;
}

.ojt-timeline-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-light);
    gap: 15px;
}

.ojt-timeline-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.ojt-timeline-content {
    flex: 1;
}

.ojt-timeline-title {
    margin: 0 0 5px 0;
    color: var(--text-primary);
    font-weight: 500;
}

.ojt-timeline-date {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   STUDENT EVALUATIONS PAGE STYLES
   ======================================== */

/* Main Container for Evaluations */
.evaluations-main-container {
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Evaluations Content */
.evaluations-content {
    height: auto !important;
    max-height: none !important;
}

/* Stats Grid for Evaluations */
.evaluations-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.evaluations-stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.evaluations-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.evaluations-stat-card.evaluations {
    border-left: 4px solid var(--primary-blue);
}

.evaluations-stat-card.rating {
    border-left: 4px solid var(--success-green);
}

.evaluations-stat-card.latest {
    border-left: 4px solid var(--warning-orange);
}

.evaluations-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: white;
}

.evaluations-stat-card.evaluations .evaluations-stat-icon {
    background: var(--primary-blue);
}

.evaluations-stat-card.rating .evaluations-stat-icon {
    background: var(--success-green);
}

.evaluations-stat-card.latest .evaluations-stat-icon {
    background: var(--warning-orange);
}

.evaluations-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.evaluations-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Evaluations List */
.evaluations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.evaluation-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.evaluation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.evaluation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.evaluation-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.evaluation-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.evaluation-date,
.evaluation-supervisor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.evaluation-date i,
.evaluation-supervisor i {
    color: var(--primary-blue);
}

.evaluation-rating {
    text-align: right;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.rating-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-green);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: var(--light-gray);
    font-size: 1rem;
}

.rating-stars i.filled {
    color: var(--warning-orange);
}

/* Rating Breakdown */
.rating-breakdown {
    margin-bottom: 1.5rem;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.rating-label {
    min-width: 120px;
    font-weight: 500;
    color: var(--text-primary);
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-score {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
}

/* Evaluation Sections */
.evaluation-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.evaluation-section h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.evaluation-section h5 i {
    color: var(--primary-blue);
}

.evaluation-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.evaluation-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.evaluation-status .status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-submitted {
    background: var(--success-green);
    color: white;
}

.status-badge.status-pending {
    background: var(--warning-orange);
    color: white;
}

.status-badge.status-draft {
    background: var(--medium-gray);
    color: var(--text-primary);
}

/* ========================================
   STUDENT REQUIREMENTS PAGE STYLES
   ======================================== */

/* Main Container for Requirements */
.requirements-main-container {
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Requirements Content */
.requirements-content {
    height: auto !important;
    max-height: none !important;
}

/* Requirements Overview */
.requirements-overview {
    margin-bottom: 30px;
}

.progress-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.progress-info {
    flex: 1;
}

.progress-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.progress-bar {
    flex: 2;
    height: 12px;
    background: var(--medium-gray);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-percentage {
    min-width: 60px;
    text-align: right;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Requirements Checklist */
.requirements-checklist {
    margin-bottom: 30px;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.requirement-item.completed {
    border-left: 4px solid var(--success-green);
}

.requirement-item:not(.completed) {
    border-left: 4px solid var(--warning-orange);
}

.requirement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.requirement-item.completed .requirement-icon {
    background: var(--success-green);
}

.requirement-item:not(.completed) .requirement-icon {
    background: var(--warning-orange);
}

.requirement-content {
    flex: 1;
}

.requirement-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.requirement-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.requirement-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.requirement-progress span {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.mini-progress-bar {
    height: 6px;
    background: var(--medium-gray);
    border-radius: 3px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.requirement-status {
    flex-shrink: 0;
}

.requirement-status .status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-completed {
    background: var(--success-green);
    color: white;
}

.status-badge.status-pending {
    background: var(--warning-orange);
    color: white;
}

.status-badge.status-in-progress {
    background: var(--primary-blue);
    color: white;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 30px;
}

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

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: var(--text-primary);
}

.action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.action-card h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.action-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Dark theme adjustments */
body[data-theme="dark"] .evaluations-stat-card,
body[data-theme="dark"] .evaluation-item,
body[data-theme="dark"] .requirement-item,
body[data-theme="dark"] .action-card {
    background: var(--dark-card-bg);
    border-color: var(--border-light);
}

body[data-theme="dark"] .evaluation-section,
body[data-theme="dark"] .progress-item {
    background: var(--medium-gray);
}

body[data-theme="dark"] .rating-item {
    background: var(--medium-gray);
}

body[data-theme="dark"] .mini-progress-bar {
    background: var(--medium-gray);
}

/* Responsive design */
@media (max-width: 768px) {
    .evaluation-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .evaluation-rating {
        text-align: left;
    }
    
    .rating-display {
        align-items: flex-start;
    }
    
    .progress-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .requirement-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== STUDENT PLACEMENTS INTERFACE IMPROVEMENTS ===== */



/* Main Container for Placements - Match Documents Design */
.placements-main-container {
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: #f8fafc;
}

/* Page Header Styles for Placements - Match Documents */
.placements-page-header {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

.placements-page-header h1 {
    color: var(--jru-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.3;
}

.placements-page-header h1 i {
    font-size: 1.4rem;
    color: var(--jru-gold);
}

.placements-page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

.dashboard-header {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 1.5rem 0;
}

.header-content h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-content h1 i {
    color: var(--jru-gold);
}

.welcome-message {
    font-size: 0.95rem;
    opacity: 0.9;
    max-width: 100%;
    margin: 0 0 0 3rem;
    text-align: left;
}

/* Placements Content Card - Match Documents Design */
.placements-content-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
}

/* Dark Theme Adjustments for Placements - Match Documents */
body[data-theme="dark"] .placements-main-container {
    background: #111827;
}

body[data-theme="dark"] .placements-page-header {
    background: var(--white);
    border-color: var(--border-light);
}

body[data-theme="dark"] .placements-page-header h1 {
    color: var(--jru-blue);
}

body[data-theme="dark"] .placements-page-header p {
    color: var(--text-secondary);
}

body[data-theme="dark"] .placements-content-card {
    background: var(--white);
    border: 1px solid var(--border-light);
}

.placements-card-header {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.placements-card-header h3 {
    color: var(--jru-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.placements-card-header h3 i {
    color: var(--jru-gold);
}

[data-theme="dark"] .placements-card-header {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-bottom-color: var(--border-color);
}

.placements-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.placements-card-header h3 i {
    margin-right: 0.5rem;
    color: var(--jru-blue);
}

.placements-card-content {
    padding: 1.25rem;
}

/* Empty State */
.placements-empty-state {
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(79, 140, 247, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 8px;
    border: 1px dashed var(--border-light);
    margin: 1rem 0;
}

[data-theme="dark"] .placements-empty-state {
    background: linear-gradient(135deg, rgba(79, 140, 247, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--border-color);
}

.placements-empty-state i {
    font-size: 2.5rem;
    color: var(--jru-blue);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.placements-empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.placements-empty-state p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.placements-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--jru-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(79, 140, 247, 0.2);
    border: none;
    cursor: pointer;
}

.placements-empty-state .btn:hover {
    background: #1e40af;
}

.placements-empty-state .btn i {
    font-size: 0.9rem;
}

[data-theme="dark"] .placements-empty-state .btn {
    background: var(--jru-blue);
    box-shadow: 0 2px 4px rgba(79, 140, 247, 0.3);
}

[data-theme="dark"] .placements-empty-state .btn:hover {
    background: #1e40af;
}

/* Enhanced Table Design */
.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.placements-data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

[data-theme="dark"] .placements-data-table {
    background: var(--card-bg);
}

.placements-data-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="dark"] .placements-data-table thead {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

.placements-data-table th {
    padding: 0.75rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .placements-data-table th {
    border-bottom-color: var(--border-color);
}

.placements-data-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

[data-theme="dark"] .placements-data-table td {
    border-bottom-color: var(--border-color);
}

.placements-data-table tbody tr:hover {
    background: rgba(79, 140, 247, 0.05);
}

[data-theme="dark"] .placements-data-table tbody tr:hover {
    background: rgba(79, 140, 247, 0.1);
}

/* Job Information */
.placements-job-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.placements-job-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Company Information */
.placements-company-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.placements-company-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.85rem;
}

/* Status Badges */
.placements-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.placements-status-badge.status-awaiting-validation {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.placements-status-badge.status-for-validation {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.placements-status-badge.status-approved {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.placements-status-badge.status-ojt-ongoing {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.placements-status-badge.status-completed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.placements-status-badge.status-returned-for-revision {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Duration Information */
.placements-duration-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.placements-start-date,
.placements-end-date,
.placements-hours-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.placements-start-date i,
.placements-end-date i,
.placements-hours-info i {
    color: var(--jru-blue);
    width: 12px;
    font-size: 0.75rem;
}

/* Supervisor Information */
.placements-supervisor-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.placements-supervisor-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.placements-supervisor-email {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Action Buttons */
.placements-action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.placements-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.placements-btn-submit-docs {
    background: var(--jru-blue);
    color: white;
}

.placements-btn-submit-docs:hover {
    background: #1e40af;
}

.placements-btn-secondary {
    background: var(--medium-gray);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.placements-btn-secondary:hover {
    background: var(--hover-bg);
}

.placements-btn-revise {
    background: #f59e0b;
    color: white;
}

.placements-btn-revise:hover {
    background: #d97706;
}

/* Alert Messages */
.placements-alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.placements-alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.placements-alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Dark mode support for placements */
[data-theme="dark"] .placements-card-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .placements-empty-state h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .placements-job-title,
[data-theme="dark"] .placements-company-name,
[data-theme="dark"] .placements-supervisor-name {
    color: var(--text-primary);
}

[data-theme="dark"] .placements-start-date,
[data-theme="dark"] .placements-end-date,
[data-theme="dark"] .placements-hours-info,
[data-theme="dark"] .placements-supervisor-email {
    color: var(--text-secondary);
}

[data-theme="dark"] .placements-btn-secondary {
    background: var(--medium-gray);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .placements-btn-secondary:hover {
    background: var(--hover-bg);
}

/* Responsive Design for Placements - Match Documents */
@media (max-width: 768px) {
    .placements-main-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .placements-page-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .placements-page-header h1 {
        font-size: 1.3rem;
        gap: 0.5rem;
    }
    
    .placements-page-header h1 i {
        font-size: 1.2rem;
    }
    
    .placements-page-header p {
        font-size: 0.9rem;
    }
    
    .placements-content-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .placements-data-table {
        font-size: 0.8rem;
    }

    .placements-data-table th,
    .placements-data-table td {
        padding: 0.75rem 0.5rem;
    }

    .placements-action-buttons {
        flex-direction: column;
    }

    .placements-btn-action {
        justify-content: center;
        width: 100%;
    }
}