/* Modern Admin-Style CSS for Student Dashboard */
:root {
--clr-primary: #3b82f6;
--clr-danger: #dc2626;
--clr-success: #10b981;
--clr-white: #fff;
--clr-info-dark: #64748b;
--clr-info-light: #f1f5f9;
--clr-dark: #1e293b;
--clr-warning: #f59e0b;
--clr-light: rgba(59, 130, 246, 0.1);
--clr-primary-variant: #1d4ed8;
--clr-dark-variant: #64748b;
--clr-color-background: #f8fafc;
--card-border-radius: 16px;
--border-radius-1: 8px;
--border-radius-2: 12px;
--border-radius-3: 16px;
--card-padding: 2rem;
--padding-1: 1.5rem;
--box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
border: 0;
list-style: none;
appearance: none;
}

body {
font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
width: 100%;
height: 100vh;
font-size: 0.88rem;
user-select: none;
overflow-x: hidden;
background-color: var(--clr-color-background);
margin: 0;
padding: 0;
position: relative;
}

/* GEHU Header - Modern Style */
.gehu-header {
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
padding: 1.5rem 5%;
border-bottom: 2px solid #e2e8f0;
display: flex;
align-items: center;
gap: 1.5rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gehu-header .gehu-logo {
height: 60px;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.gehu-header h1 {
margin: 0;
color: #1e293b;
font-size: 1.75rem;
font-weight: 800;
letter-spacing: -0.025em;
text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.gehu-header p {
margin: 0;
color: #64748b;
font-size: 1.125rem;
font-weight: 600;
}

/* Modern Navbar */
.modern-navbar {
background: #0f172a;
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
border-bottom: 2px solid #1e3a8a;
position: sticky;
top: 0;
z-index: 1000;
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}

.nav-content {
display: flex;
justify-content: space-between;
align-items: center;
height: 50px;
}

.nav-links {
display: flex;
align-items: center;
gap: 0.25rem;
margin-left: 0;
}

.navbar-item {
font-family: 'Inter', sans-serif;
color: white;
padding: 0.6rem 1rem;
border-radius: 6px;
font-weight: 500;
transition: all 0.3s ease;
text-decoration: none;
cursor: pointer;
position: relative;
}

.navbar-item:hover {
color: #4CAF50;
background: rgba(255,255,255,0.1);
transform: translateY(-2px);
}

.navbar-item::after {
content: '';
position: absolute;
bottom: -2px;
left: 50%;
width: 0;
height: 2px;
background: #4CAF50;
transition: all 0.3s ease;
transform: translateX(-50%);
}

.navbar-item:hover::after {
width: 80%;
}

.nav-right {
display: flex;
align-items: center;
gap: 1rem;
}



/* Container and Layout */
.container {
display: grid;
width: 100%;
gap: 1.8rem;
grid-template-columns: 14rem 1fr;
margin: 0;
}

/* Sidebar */
.sidebar {
height: 100vh;
background: var(--clr-white);
box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.logo {
background-color: var(--clr-white);
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 0.8rem;
padding: 1rem;
border-bottom: 1px solid #e2e8f0;
}

.logo h1 {
font-family: 'Inter', sans-serif;
font-size: 1.5rem;
font-weight: 900;
margin: 0;
color: #1a1a1a;
letter-spacing: 0.5px;
text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.logo .accent {
color: #dc2626;
font-weight: 900;
}

.sidebar-nav {
background-color: var(--clr-white);
display: flex;
flex-direction: column;
height: 85vh;
position: relative;
top: 1rem;
}

.nav-item {
font-family: 'Inter', sans-serif;
display: flex;
color: var(--clr-info-dark);
margin-left: 2rem;
gap: 1rem;
align-items: center;
height: 3.2rem;
transition: all 0.3s ease;
font-weight: 500;
text-decoration: none;
}

.nav-item span {
font-size: 1.4rem;
transition: all 0.3s ease;
}

.nav-item h3 {
font-size: 0.875rem;
font-weight: 500;
margin: 0;
}

.nav-item.active {
background: var(--clr-light);
color: var(--clr-primary);
margin-left: 0;
border-left: 4px solid var(--clr-primary);
}

.nav-item:hover {
color: var(--clr-primary);
transition: .3s ease;
transform: translateX(8px);
}

.nav-item:hover span {
margin-left: 0.5rem;
}

/* Main Content */
.main-content {
margin-top: 1.4rem;
min-height: calc(100vh - 200px);
width: 100%;
display: block;
overflow-y: auto;
overflow-x: auto;
padding-bottom: 4rem;
padding-left: 1rem;
padding-right: 1rem;
}

.main-section {
display: none;
padding: 1rem;
}

.main-section.active {
display: block;
}

/* Header */
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}

.header h2 {
font-family: 'Inter', sans-serif;
font-weight: 800;
font-size: 1.8rem;
letter-spacing: -0.025em;
color: var(--clr-dark);
}

.user-info {
display: flex;
align-items: center;
gap: 1rem;
}

.notification-icon {
position: relative;
cursor: pointer;
}

.notification-count {
position: absolute;
top: -8px;
right: -8px;
background: #ef4444;
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
}

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

.user-avatar {
font-size: 1.5rem;
}

/* Admin-Style Cards */
.card {
background: white;
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-top: 1rem;
box-shadow: var(--box-shadow);
border: 1px solid #f1f5f9;
transition: all 0.3s ease;
}

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

/* Dashboard Welcome - Enhanced */
.dashboard-welcome {
background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
color: white;
padding: 3rem;
border-radius: 20px;
margin-bottom: 2rem;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
}

.dashboard-welcome::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 200px;
height: 200px;
background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
border-radius: 50%;
transform: translate(50px, -50px);
}

.welcome-content {
display: flex;
align-items: center;
gap: 1rem;
}

.welcome-profile-placeholder {
font-size: 3rem;
}

.welcome-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
}

.welcome-title .student-name {
color: #bfdbfe;
}

.welcome-title .admin-name {
color: #bfdbfe;
}

.welcome-subtitle {
margin: 0.25rem 0;
opacity: 0.9;
}

/* Admin-Style Stats Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin: 2rem 0;
}

.stats-card {
background: white;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: all 0.3s ease;
border: 1px solid #f1f5f9;
position: relative;
overflow: hidden;
}

.stats-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--clr-primary), #1d4ed8);
}

.stats-card:hover {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
transform: translateY(-2px);
}

.stats-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, var(--clr-primary), #1d4ed8);
border-radius: 12px;
color: white;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.stats-icon span {
font-size: 1.5rem;
}

.stats-value {
font-size: 2.25rem;
font-weight: 700;
color: #1e293b;
margin-bottom: 0.5rem;
letter-spacing: -0.025em;
line-height: 1;
}

.stats-label {
color: #64748b;
font-size: 0.875rem;
font-weight: 500;
margin-bottom: 1rem;
line-height: 1.4;
}

.stats-trend {
font-size: 0.75rem;
color: #10b981;
margin-bottom: 1rem;
font-weight: 500;
}

.stats-trend.up {
color: #10b981;
}

.view-more {
color: var(--clr-primary);
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 0.25rem;
transition: all 0.3s ease;
}

.view-more:hover {
color: #1d4ed8;
transform: translateX(2px);
}

.progress-bar-container {
margin: 0.5rem 0;
}

.progress-bar-bg {
width: 100%;
height: 8px;
background: #e2e8f0;
border-radius: 4px;
overflow: hidden;
}

.progress-bar-fill {
height: 100%;
background: var(--clr-primary);
transition: width 0.3s ease;
}

.stats-trend {
font-size: 0.75rem;
color: #10b981;
margin-top: 0.25rem;
}

.stats-trend.up {
color: #22c55e;
}

/* Modern Info Sections */
.info-section {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-bottom: 2rem;
box-shadow: var(--box-shadow);
border: 1px solid #f1f5f9;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}

.info-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #10b981, #3b82f6);
}

.info-section:hover {
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
transform: translateY(-4px);
}

.section-title {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
color: var(--clr-dark);
}

.section-title span {
font-size: 1.4rem;
color: var(--clr-primary);
}

.section-title h3 {
font-family: 'Inter', sans-serif;
font-size: 1.4rem;
font-weight: 600;
margin: 0;
}

.info-grid-three {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}

.info-grid-two {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}

.info-item {
margin-bottom: 1rem;
}

.info-label {
font-weight: 600;
color: var(--clr-info-dark);
font-size: 0.875rem;
margin-bottom: 0.25rem;
}

.info-value {
color: var(--clr-dark);
font-weight: 500;
}

/* Modern Courses Grid */
.courses-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}

.course-category {
padding: 2rem;
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
border-radius: 16px;
border: 1px solid #bae6fd;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}

.course-category:hover {
transform: translateY(-2px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.info-list {
margin-top: 0.5rem;
}

.info-list-item {
display: flex;
align-items: center;
padding: 0.75rem 0;
border-bottom: 1px solid #e2e8f0;
gap: 1rem;
}

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

.code {
font-weight: 600;
color: var(--clr-dark);
min-width: 80px;
font-family: 'Courier New', monospace;
font-size: 0.875rem;
background: #f1f5f9;
padding: 0.25rem 0.5rem;
border-radius: 4px;
}

.name {
color: var(--clr-dark-variant);
flex: 1;
text-align: left;
font-weight: 500;
}

/* Education Stats */
.education-stats {
display: flex;
justify-content: space-around;
gap: 1rem;
}

.stats-box {
text-align: center;
padding: 1rem;
background: #f8fafc;
border-radius: 8px;
flex: 1;
}

/* Profile Section */
.id-card-container {
background: white;
border-radius: 12px;
box-shadow: var(--box-shadow);
max-width: 800px;
margin: 0 auto;
overflow: hidden;
transition: all 0.3s ease;
}

.id-card-container:hover {
box-shadow: none;
transform: translateY(-2px);
}

.id-card-header {
background: #0099ff;
color: white;
text-align: center;
padding: 20px;
border-radius: 12px 12px 0 0;
}

.id-card-body {
padding: 20px;
}

.profile-image-placeholder {
width: 120px;
height: 120px;
border-radius: 50%;
background: linear-gradient(135deg, var(--clr-primary), #764ba2);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 60px;
border: 4px solid white;
margin: 0 auto 10px;
}

.id-details {
margin-top: 4px;
font-size: 14px;
}

.program-badge {
margin-top: 8px;
font-size: 12px;
padding: 4px 12px;
background: rgba(255,255,255,0.2);
display: inline-block;
border-radius: 12px;
}

.info-group {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 8px 0;
border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-group label {
color: var(--clr-info-dark);
min-width: 140px;
font-size: 14px;
font-weight: 500;
}

.info-group span {
font-weight: 500;
color: var(--clr-dark);
}

/* Modern Buttons */
.btn {
padding: 1rem 2rem;
border-radius: 12px;
border: none;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.5rem;
justify-content: center;
font-family: 'Inter', sans-serif;
position: relative;
overflow: hidden;
}

.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s ease;
}

.btn:hover::before {
left: 100%;
}

.btn-primary {
background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-variant) 100%);
color: white;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
background: linear-gradient(135deg, var(--clr-primary-variant) 0%, #1e40af 100%);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-outline {
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
border: 2px solid var(--clr-primary);
color: var(--clr-primary);
}

.btn-outline:hover {
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Form Controls */
.form-control {
width: 100%;
padding: 0.75rem;
border: 1px solid #d1d5db;
border-radius: 8px;
font-size: 0.875rem;
transition: all 0.3s ease;
}

.form-control:focus {
border-color: var(--clr-primary);
box-shadow: 0 0 0 3px rgba(115,128,236,0.1);
outline: none;
}

/* Upload Area */
.upload-area {
border: 2px dashed #cbd5e1;
padding: 4rem;
border-radius: 16px;
background: #f0f9ff;
margin-bottom: 1.5rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-align: center;
}

.upload-area:hover {
border-color: var(--clr-primary);
background: #dbeafe;
transform: scale(1.02);
}

.upload-icon span {
font-size: 3rem;
color: #64748b;
}

.upload-title {
font-weight: 500;
margin-top: 1rem;
}

.upload-subtitle {
color: #64748b;
font-size: 0.875rem;
}

/* Tables */
.table-responsive {
overflow-x: auto;
}

.records-table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
border: 1px solid #f1f5f9;
}

.records-table th {
padding: 1rem;
text-align: left;
font-weight: 600;
color: white;
border-bottom: 2px solid #e2e8f0;
background-color: #1a1a1a;
}

.records-table td {
padding: 1rem;
border-bottom: 1px solid #e2e8f0;
color: var(--clr-dark-variant);
}

.records-table tr:hover {
background-color: #f8fafc;
}

/* Section Headers */
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}

.section-header h3 {
margin: 0;
color: var(--clr-dark);
font-size: 1.25rem;
font-weight: 600;
}

.section-actions {
display: flex;
gap: 1rem;
align-items: center;
}

.toolbar {
display: flex;
gap: 1rem;
align-items: center;
}

.search-box {
position: relative;
display: flex;
align-items: center;
}

.search-box span {
position: absolute;
left: 12px;
color: var(--clr-info-dark);
}

.search-box input {
padding: 10px 12px 10px 36px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 8px;
width: 240px;
font-size: 14px;
transition: all 0.3s ease;
}

.search-box input:focus {
border-color: var(--clr-primary);
box-shadow: 0 0 0 3px rgba(115,128,236,0.1);
outline: none;
}

.sort-select {
padding: 10px 12px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 8px;
font-size: 14px;
background: white;
cursor: pointer;
min-width: 140px;
}

.search-input {
padding: 8px 12px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 8px;
font-size: 14px;
background: white;
outline: none;
}

.search-input:focus {
border-color: #4361ee;
box-shadow: 0 0 0 3px rgba(67,97,238,0.15);
}

/* Events Grid */
.events-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 1.5rem;
margin-top: 1rem;
}

.event-card {
padding: 1.5rem;
border-left: 4px solid var(--clr-primary);
}

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

.company-info {
display: flex;
align-items: center;
gap: 1rem;
}

.company-logo {
width: 48px;
height: 48px;
background: var(--clr-light);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: var(--clr-primary);
font-size: 1.5rem;
}

.company-info h4 {
margin: 0;
color: var(--clr-dark);
font-size: 1.125rem;
font-weight: 600;
}

.company-info .role {
margin: 0.25rem 0 0 0;
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

.event-details {
margin-bottom: 1.5rem;
}

.detail-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

.detail-item span.material-symbols-outlined {
font-size: 1rem;
color: var(--clr-primary);
}

.event-actions {
display: flex;
gap: 0.75rem;
}

.events-empty {
text-align: center;
padding: 3rem;
color: var(--clr-info-dark);
}

.events-empty img {
max-width: 120px;
margin-bottom: 1rem;
opacity: 0.5;
}

.events-empty h3 {
color: var(--clr-dark);
margin-bottom: 0.5rem;
}

.events-empty p {
color: var(--clr-dark-variant);
}

/* Footer */
.gehu-footer {
background: #f8fafc;
padding: 1rem 5%;
border-top: 1px solid #e2e8f0;
text-align: center;
margin-top: 2rem;
}

.gehu-footer p {
margin: 0;
color: #64748b;
font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
.container {
grid-template-columns: 1fr;
}

.sidebar {
height: auto;
position: relative;
}

.stats-grid {
grid-template-columns: 1fr;
}

.info-grid-three,
.info-grid-two {
grid-template-columns: 1fr;
}

.courses-grid {
grid-template-columns: 1fr;
}

.education-stats {
flex-direction: column;
}

.nav-links {
display: none;
}
}

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

.main-section {
animation: fadeIn 0.3s ease;
}

.hover-scale:hover {
transform: scale(1.02);
}
/* Dashboard Grid */
.dashboard-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin: 2rem 0;
}

/* Profile Snapshot */
.profile-snapshot .profile-card {
padding: 1.5rem;
}

.profile-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}

.profile-details h4 {
margin: 0 0 0.5rem 0;
color: var(--clr-dark);
}

.profile-details p {
margin: 0.25rem 0;
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

.profile-completion {
margin: 1rem 0;
}

.completion-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}

.completion-percent {
font-weight: 600;
color: var(--clr-primary);
}

.profile-actions {
display: flex;
gap: 0.5rem;
}

/* Status Badges */
.status-badge {
padding: 0.25rem 0.75rem;
border-radius: 12px;
font-size: 0.75rem;
font-weight: 500;
}

.status-badge.eligible {
background: #dcfce7;
color: #16a34a;
}

.status-badge.shortlisted {
background: #dbeafe;
color: #2563eb;
}

.status-badge.applied {
background: #fef3c7;
color: #d97706;
}

.status-badge.rejected {
background: #fee2e2;
color: #dc2626;
}

.status-badge.selected {
background: #dcfce7;
color: #16a34a;
}

/* Applications List */
.applications-list {
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 1rem;
}

.application-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background: #f8fafc;
border-radius: 8px;
}

.company-info {
display: flex;
align-items: center;
gap: 0.75rem;
}

.company-logo {
font-size: 1.5rem;
}

.company-info h5 {
margin: 0;
color: var(--clr-dark);
}

.company-info p {
margin: 0;
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

.view-all-btn {
width: 100%;
margin-top: 1rem;
}

/* Modern Announcements */
.announcements-section {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-bottom: 2rem;
box-shadow: var(--box-shadow);
border: 1px solid #f1f5f9;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}

.announcements-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #dc2626, #f59e0b, #10b981);
}

.announcements-grid {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.announcement-item {
display: flex;
gap: 1.5rem;
padding: 2rem;
border-radius: 16px;
border-left: 4px solid;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}

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

.announcement-item.urgent {
background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
border-left-color: #dc2626;
border: 1px solid #fca5a5;
}

.announcement-item.success {
background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
border-left-color: #16a34a;
border: 1px solid #bbf7d0;
}

.announcement-item.info {
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
border-left-color: #0ea5e9;
border: 1px solid #bae6fd;
}

.announcement-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.announcement-item.urgent .announcement-icon {
background: #fee2e2;
color: #dc2626;
}

.announcement-item.success .announcement-icon {
background: #dcfce7;
color: #16a34a;
}

.announcement-item.info .announcement-icon {
background: #dbeafe;
color: #0ea5e9;
}

.announcement-icon {
flex-shrink: 0;
}

.announcement-content h5 {
margin: 0 0 0.5rem 0;
color: var(--clr-dark);
}

.announcement-content p {
margin: 0 0 0.5rem 0;
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

.announcement-time {
font-size: 0.75rem;
color: var(--clr-info-dark);
}

/* Analytics */
.analytics-dashboard {
display: flex;
flex-direction: column;
gap: 2rem;
}

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

.analytics-card {
background: white;
padding: 1.5rem;
border-radius: 12px;
box-shadow: var(--box-shadow);
text-align: center;
}

.big-number {
font-size: 2rem;
font-weight: 700;
color: var(--clr-primary);
margin: 0.5rem 0;
}

.charts-section {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

.chart-container {
background: white;
padding: 1.5rem;
border-radius: 12px;
box-shadow: var(--box-shadow);
}

.pie-chart-placeholder,
.line-chart-placeholder {
height: 200px;
background: #f8fafc;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--clr-dark-variant);
}

.chart-legend {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.legend-item {
display: flex;
align-items: center;
gap: 0.5rem;
}

.color-box {
width: 12px;
height: 12px;
border-radius: 2px;
}

.color-box.applied {
background: #f59e0b;
}

.color-box.shortlisted {
background: #3b82f6;
}

.color-box.rejected {
background: #ef4444;
}

/* Messages */
.messages-container {
display: grid;
grid-template-columns: 300px 1fr;
gap: 1rem;
height: 500px;
}

.messages-sidebar {
background: #f8fafc;
border-radius: 8px;
padding: 1rem;
overflow-y: auto;
}

.message-thread {
padding: 1rem;
border-radius: 8px;
margin-bottom: 0.5rem;
cursor: pointer;
transition: all 0.3s ease;
}

.message-thread:hover,
.message-thread.active {
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thread-avatar {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}

.thread-info h5 {
margin: 0 0 0.25rem 0;
color: var(--clr-dark);
}

.thread-info p {
margin: 0 0 0.25rem 0;
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

.thread-time {
font-size: 0.75rem;
color: var(--clr-info-dark);
}

.messages-content {
background: white;
border-radius: 8px;
display: flex;
flex-direction: column;
}

.message-header {
padding: 1rem;
border-bottom: 1px solid #e2e8f0;
}

.messages-list {
flex: 1;
padding: 1rem;
overflow-y: auto;
}

.message {
margin-bottom: 1rem;
}

.message.received .message-content {
background: #f1f5f9;
margin-right: 2rem;
}

.message.sent .message-content {
background: var(--clr-primary);
color: white;
margin-left: 2rem;
}

.message-content {
padding: 1rem;
border-radius: 12px;
}

.message-content p {
margin: 0 0 0.5rem 0;
}

.message-time {
font-size: 0.75rem;
opacity: 0.7;
}

.message-input {
display: flex;
gap: 0.5rem;
padding: 1rem;
border-top: 1px solid #e2e8f0;
}

.message-input input {
flex: 1;
}

/* Settings */
.settings-container {
display: flex;
flex-direction: column;
gap: 2rem;
}

.settings-section {
background: white;
padding: 1.5rem;
border-radius: 12px;
box-shadow: var(--box-shadow);
}

.settings-section h4 {
margin: 0 0 1rem 0;
color: var(--clr-dark);
}

.form-group {
margin-bottom: 1rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--clr-dark);
}

.notification-settings {
display: flex;
flex-direction: column;
gap: 1rem;
}

.setting-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0;
}

/* Applications Table */
.applications-table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: var(--box-shadow);
}

.applications-table th {
padding: 1rem;
text-align: left;
font-weight: 600;
color: white;
background: #1a1a1a;
}

.applications-table td {
padding: 1rem;
border-bottom: 1px solid #e2e8f0;
color: var(--clr-dark-variant);
}

.applications-table tr:hover {
background-color: #f8fafc;
}

/* Additional table styles to match admin dashboard */
.activity-table,
.student-table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
border: 1px solid #f1f5f9;
}

.activity-table th,
.student-table th {
padding: 1rem;
text-align: left;
font-weight: 600;
color: white;
background: #1a1a1a;
border-bottom: 2px solid #e2e8f0;
}

.activity-table td,
.student-table td {
padding: 1rem;
border-bottom: 1px solid #f1f5f9;
color: var(--clr-dark-variant);
}

.activity-table tr:hover,
.student-table tr:hover {
background-color: #f8fafc;
}

.activity-table tbody tr:last-child td,
.student-table tbody tr:last-child td {
border-bottom: none;
}

/* Ensure all table headers have consistent admin styling */
table th {
padding: 1rem;
text-align: left;
font-weight: 600;
color: white;
background: #1a1a1a;
border-bottom: 2px solid #e2e8f0;
}

/* Table container styling */
.table-responsive table {
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
border: 1px solid #f1f5f9;
}

/* Hover effects for all table rows */
table tbody tr:hover {
background-color: #f8fafc;
transition: all 0.2s ease;
}

/* Modern Resources Section */
.resources-section {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-bottom: 2rem;
box-shadow: var(--box-shadow);
border: 1px solid #f1f5f9;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}

.resources-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #f59e0b, #10b981);
}

.resources-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}

.resource-item {
background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
padding: 2rem;
border-radius: 16px;
border: 1px solid #e5e7eb;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
text-align: center;
}

.resource-item:hover {
transform: translateY(-4px);
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.resource-icon {
width: 60px;
height: 60px;
background: var(--clr-primary);
color: white;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin: 0 auto 1.5rem;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.resource-content {
padding: 0 1rem;
}

.resource-content h5 {
margin: 0 0 1rem 0;
color: var(--clr-dark);
font-size: 1.125rem;
font-weight: 600;
}

.resource-content p {
margin: 0 0 1.5rem 0;
color: var(--clr-dark-variant);
line-height: 1.5;
}

.resource-content .btn {
margin-top: 0.5rem;
}

/* Modern Analytics Section */
.analytics-section {
background: white;
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-bottom: 2rem;
box-shadow: var(--box-shadow);
border: 1px solid #f1f5f9;
transition: all 0.3s ease;
}

.analytics-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-top: 1rem;
}

/* Modern Progress Chart */
.progress-chart {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem;
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
border-radius: 16px;
border: 1px solid #bae6fd;
gap: 1rem;
}

.progress-step {
text-align: center;
padding: 1.5rem 1rem;
border-radius: 12px;
background: #f8fafc;
border: 2px solid #e2e8f0;
transition: all 0.3s ease;
flex: 1;
}

.progress-step.completed {
background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
border-color: #10b981;
color: #065f46;
}

.progress-step.active {
background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
border-color: #3b82f6;
color: #1e40af;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-number {
font-size: 1.5rem;
font-weight: 800;
margin-bottom: 0.75rem;
}

.step-label {
font-size: 0.875rem;
font-weight: 600;
line-height: 1.4;
}

/* Modern Probability Meter */
.probability-meter {
text-align: center;
padding: 2rem;
}

.meter-circle {
width: 120px;
height: 120px;
margin: 0 auto 1rem;
position: relative;
background: conic-gradient(#10b981 0deg 281deg, #e2e8f0 281deg 360deg);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.meter-text {
font-size: 1.75rem;
font-weight: 800;
color: #1e293b;
}

.chart-container {
padding: 1.5rem;
background: #f8fafc;
border-radius: 12px;
}

.chart-container h4 {
margin: 0 0 1.5rem 0;
color: var(--clr-dark);
font-size: 1.125rem;
font-weight: 600;
}

.placement-probability {
padding: 1.5rem;
background: #f8fafc;
border-radius: 12px;
text-align: center;
}

.placement-probability h4 {
margin: 0 0 1.5rem 0;
color: var(--clr-dark);
font-size: 1.125rem;
font-weight: 600;
}

.placement-probability p {
margin: 1rem 0 0 0;
color: var(--clr-dark-variant);
}

/* Contact Section */
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}

.contact-item {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 2rem;
}

.contact-icon {
width: 60px;
height: 60px;
background: var(--clr-primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
flex-shrink: 0;
}

.contact-details h4 {
margin: 0 0 0.5rem 0;
color: var(--clr-dark);
}

.contact-details p {
margin: 0;
color: var(--clr-dark-variant);
line-height: 1.6;
}

/* Companies Section */
.companies-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}

.company-card {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 2rem;
}

.company-logo-section {
width: 60px;
height: 60px;
background: var(--clr-success);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
flex-shrink: 0;
}

.company-info h4 {
margin: 0 0 0.5rem 0;
color: var(--clr-dark);
}

.company-info p {
margin: 0 0 1rem 0;
color: var(--clr-dark-variant);
}

.company-stats {
display: flex;
flex-direction: column;
gap: 0.25rem;
}

.company-stats .stat {
font-size: 0.875rem;
color: var(--clr-dark-variant);
}
/* Navigation Right Section */
.nav-right {
display: flex;
align-items: center;
gap: 1rem;
}

/* Notifications */
.notification-dropdown {
position: relative;
}

.notification-bell {
color: white;
cursor: pointer;
font-size: 1.5rem;
}

.notification-badge {
position: absolute;
top: -8px;
right: -8px;
background: #ef4444;
color: white;
border-radius: 50%;
width: 18px;
height: 18px;
font-size: 0.75rem;
display: flex;
align-items: center;
justify-content: center;
}

.notification-panel {
position: absolute;
top: 100%;
right: 0;
width: 300px;
background: white;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
display: none;
z-index: 1000;
}

.notification-header {
padding: 1rem;
border-bottom: 1px solid #e2e8f0;
font-weight: 600;
color: var(--clr-dark);
}

.notification-item {
display: flex;
gap: 0.75rem;
padding: 1rem;
border-bottom: 1px solid #f1f5f9;
}

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

.notification-item p {
margin: 0 0 0.25rem 0;
font-size: 0.875rem;
color: var(--clr-dark);
}

.notification-item small {
color: var(--clr-dark-variant);
font-size: 0.75rem;
}

/* Messages */
.messages-dropdown {
position: relative;
}

.message-icon {
color: white;
cursor: pointer;
font-size: 1.5rem;
}

.message-badge {
position: absolute;
top: -8px;
right: -8px;
background: #10b981;
color: white;
border-radius: 50%;
width: 18px;
height: 18px;
font-size: 0.75rem;
display: flex;
align-items: center;
justify-content: center;
}

/* Profile Menu */
.profile-dropdown {
position: relative;
}

.profile-menu {
display: flex;
align-items: center;
gap: 0.5rem;
color: white;
cursor: pointer;
padding: 0.5rem;
border-radius: 6px;
transition: all 0.3s ease;
}

.profile-menu:hover {
background: rgba(255,255,255,0.1);
}

.profile-panel {
position: absolute;
top: 100%;
right: 0;
width: 200px;
background: white;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
display: none;
z-index: 1000;
}

.profile-panel a {
display: block;
padding: 1rem;
color: var(--clr-dark);
text-decoration: none;
border-bottom: 1px solid #f1f5f9;
transition: all 0.3s ease;
}

.profile-panel a:hover {
background: #f8fafc;
}

.profile-panel a:last-child {
border-bottom: none;
}

/* Help & About */
.help-content,
.about-content {
display: flex;
flex-direction: column;
gap: 2rem;
}

.help-section {
background: white;
padding: 1.5rem;
border-radius: 12px;
box-shadow: var(--box-shadow);
}

.faq-item {
margin-bottom: 1rem;
padding: 1rem;
background: #f8fafc;
border-radius: 8px;
}

.faq-item h5 {
margin: 0 0 0.5rem 0;
color: var(--clr-dark);
}

.faq-item p {
margin: 0;
color: var(--clr-dark-variant);
}

.stat-box {
text-align: center;
padding: 1rem;
background: #f8fafc;
border-radius: 8px;
}

.stat-number {
font-size: 1.5rem;
font-weight: 700;
color: var(--clr-primary);
}

.stat-label {
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

/* Edit Profile Styles */
.edit-input {
width: 100%;
padding: 0.5rem;
border: 2px solid var(--clr-primary);
border-radius: 6px;
font-size: 0.875rem;
font-weight: 500;
color: var(--clr-dark);
background: #f8fafc;
transition: all 0.3s ease;
}

.edit-input:focus {
outline: none;
border-color: var(--clr-primary-variant);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
background: white;
}

#profile.editing .info-group {
padding: 12px 0;
background: rgba(59, 130, 246, 0.02);
border-radius: 8px;
margin: 4px 0;
padding-left: 12px;
padding-right: 12px;
}

.btn-success {
background: linear-gradient(135deg, var(--clr-success) 0%, #059669 100%);
color: white;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
background: linear-gradient(135deg, #059669 0%, #047857 100%);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Notification Animation */
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}

.notification {
animation: slideIn 0.3s ease;
}