/* Admin Portal Style CSS for Company 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 */
.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.2rem;
font-weight: 900;
margin: 0;
color: #1a1a1a;
letter-spacing: 0.5px;
text-shadow: 0 1px 2px rgba(0,0,0,0.1);
display: flex;
align-items: center;
gap: 0.3rem;
}

.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.2rem;
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;
}

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

.company-avatar {
font-size: 2rem;
}

.company-details {
display: flex;
flex-direction: column;
}

.company-name {
font-weight: 600;
color: var(--clr-dark);
}

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

/* Cards */
.card {
background: var(--clr-white);
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-top: 1rem;
box-shadow: var(--box-shadow);
transition: all .3s ease;
}

.card:hover {
box-shadow: none;
}

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

.stats-card {
background: var(--clr-white);
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-top: 1rem;
box-shadow: var(--box-shadow);
transition: all .3s ease;
}

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

.stats-icon {
font-size: 2rem;
margin-bottom: 1rem;
color: var(--clr-primary);
}

.stats-value {
font-size: 2rem;
font-weight: 700;
color: var(--clr-dark);
margin-bottom: 0.5rem;
}

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

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

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

/* Dashboard Content */
.dashboard-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

/* Info Sections */
.info-section {
background: var(--clr-white);
padding: var(--card-padding);
border-radius: var(--card-border-radius);
margin-bottom: 2rem;
box-shadow: var(--box-shadow);
transition: all .3s ease;
}

.info-section:hover {
box-shadow: none;
}

.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;
}

/* Activity List */
.activity-list {
display: flex;
flex-direction: column;
gap: 1rem;
}

.activity-item {
display: flex;
gap: 1rem;
padding: 1rem 0;
border-bottom: 1px solid #e2e8f0;
}

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

.activity-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--clr-light);
display: flex;
align-items: center;
justify-content: center;
color: var(--clr-primary);
}

.activity-details p {
margin-bottom: 0.3rem;
color: var(--clr-dark);
}

.activity-time {
font-size: 0.8rem;
color: var(--clr-dark-variant);
}

/* Upcoming List */
.upcoming-list {
display: flex;
flex-direction: column;
gap: 1rem;
}

.upcoming-item {
display: flex;
gap: 1rem;
padding: 1rem 0;
border-bottom: 1px solid #e2e8f0;
}

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

.interview-date {
width: 60px;
height: 60px;
background-color: var(--clr-primary);
color: white;
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.interview-date .date {
font-size: 1.2rem;
font-weight: bold;
line-height: 1;
}

.interview-date .month {
font-size: 0.8rem;
}

.interview-details h4 {
margin-bottom: 0.3rem;
color: var(--clr-primary);
}

.interview-details p {
font-size: 0.9rem;
margin-bottom: 0.2rem;
color: var(--clr-dark-variant);
}

/* Buttons */
.btn {
padding: 0.75rem 1.5rem;
border-radius: 8px;
border: none;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 0.5rem;
justify-content: center;
font-family: 'Inter', sans-serif;
}

.btn-primary {
background: var(--clr-primary);
color: white;
}

.btn-primary:hover {
background: #1d4ed8;
transform: translateY(-1px);
}

.btn-outline {
background: transparent;
border: 1px solid var(--clr-primary);
color: var(--clr-primary);
}

.btn-outline:hover {
background: rgba(59,130,246,0.05);
}

/* 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;
}

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

.students-table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: var(--card-border-radius);
overflow: hidden;
box-shadow: var(--box-shadow);
}

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

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

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

/* Status Badges */
.status-badge {
padding: 0.3rem 0.7rem;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 500;
}

.status-applied {
background-color: #e3f2fd;
color: #1976d2;
}

.status-shortlisted {
background-color: #e8f5e9;
color: #388e3c;
}

.status-rejected {
background-color: #ffebee;
color: #d32f2f;
}

.status-hired {
background-color: #f3e5f5;
color: #7b1fa2;
}

/* Recent Applicants */
.recent-applications {
margin-top: 1.5rem;
}

.application-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.9rem 1rem;
background: #f8fafc;
border-radius: 10px;
margin-bottom: 0.6rem;
border: 1px solid #e2e8f0;
transition: background 0.2s;
}

.application-item:hover {
background: #eff6ff;
border-color: #bfdbfe;
}

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

.company-info .material-symbols-outlined {
font-size: 2rem;
color: var(--clr-primary);
background: rgba(59,130,246,0.1);
border-radius: 50%;
padding: 0.3rem;
flex-shrink: 0;
}

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

.company-info p {
margin: 0;
font-size: 0.78rem;
color: var(--clr-dark-variant);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.application-item .status-badge {
flex-shrink: 0;
margin-left: 1.5rem;
}
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;
}

/* Jobs Grid */
.jobs-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
}

/* Section Header */
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid #f1f5f9;
}

.section-header h3 {
margin: 0;
color: var(--clr-dark);
font-size: 1.25rem;
font-weight: 700;
display: flex;
align-items: center;
gap: 0.5rem;
}

.section-header h3 .material-symbols-outlined {
color: var(--clr-primary);
font-size: 1.4rem;
}

.job-card {
background: white;
border-radius: 16px;
padding: 1.5rem;
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
transition: all 0.3s ease;
border: 1px solid #e2e8f0;
display: flex;
flex-direction: column;
gap: 1rem;
}

.job-card:hover {
box-shadow: 0 6px 24px rgba(59,130,246,0.15);
transform: translateY(-3px);
border-color: var(--clr-primary);
}

.job-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
}

.job-header > div:first-child {
flex: 1;
min-width: 0;
}

.job-title {
font-size: 1.05rem;
font-weight: 700;
color: var(--clr-dark);
margin: 0 0 0.3rem 0;
}

.job-department {
font-size: 0.8rem;
color: var(--clr-dark-variant);
margin: 0;
display: flex;
align-items: center;
gap: 0.25rem;
}

.job-actions {
display: flex;
flex-direction: column;
gap: 6px;
flex-shrink: 0;
}

.job-actions .btn {
padding: 0.3rem 0.9rem;
font-size: 0.78rem;
width: 72px;
justify-content: center;
}

.job-details {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.6rem 1rem;
padding: 0.75rem 0;
border-top: 1px solid #f1f5f9;
border-bottom: 1px solid #f1f5f9;
}

.job-detail {
display: flex;
align-items: center;
gap: 0.4rem;
color: var(--clr-dark-variant);
font-size: 0.82rem;
}

.job-detail .material-symbols-outlined {
font-size: 1rem;
color: var(--clr-primary);
flex-shrink: 0;
}

.job-footer {
display: flex;
justify-content: space-between;
align-items: center;
}

/* Interviews Container */
.interviews-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

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

/* College Info */
.college-info-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}

.contact-info p {
display: flex;
align-items: center;
gap: 0.7rem;
margin-bottom: 0.8rem;
color: var(--clr-dark-variant);
}

.events-list {
display: flex;
flex-direction: column;
gap: 1rem;
}

.event-item {
padding: 1rem 0;
border-bottom: 1px solid #e2e8f0;
}

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

.event-item h4 {
color: var(--clr-primary);
margin-bottom: 0.3rem;
}

.event-item p {
font-size: 0.9rem;
margin-bottom: 0.2rem;
color: var(--clr-dark-variant);
}

.stat-item {
background: white;
border-radius: 8px;
padding: 1rem;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-item h4 {
font-size: 1.5rem;
color: var(--clr-primary);
margin-bottom: 0.3rem;
}

.stat-item p {
font-size: 0.9rem;
color: var(--clr-dark-variant);
}

.department-chart {
margin-top: 1rem;
}

.dept-bar {
display: flex;
align-items: center;
margin-bottom: 1rem;
}

.dept-label {
width: 100px;
font-weight: 500;
color: var(--clr-dark);
}

.dept-progress {
flex: 1;
height: 20px;
background-color: #e2e8f0;
border-radius: 10px;
overflow: hidden;
}

.progress-fill {
height: 100%;
background-color: var(--clr-primary);
border-radius: 10px;
}

.dept-percent {
width: 40px;
text-align: right;
font-weight: 500;
color: var(--clr-dark);
}

/* Reports */
.report-filters {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
}

.charts-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 2rem;
}

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

.export-options {
display: flex;
gap: 1rem;
}

/* Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
align-items: center;
justify-content: center;
}

.modal.active {
display: flex;
}

.modal-content {
background: white;
border-radius: var(--card-border-radius);
width: 90%;
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem;
border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
color: var(--clr-primary);
}

.close {
font-size: 1.5rem;
cursor: pointer;
color: var(--clr-dark-variant);
}

.close:hover {
color: var(--clr-dark);
}

.modal-body {
padding: 1.5rem;
}

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

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

.form-actions {
display: flex;
justify-content: flex-end;
gap: 1rem;
margin-top: 2rem;
}

/* 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;
}

.dashboard-content,
.interviews-container,
.college-info-container,
.charts-container {
grid-template-columns: 1fr;
}

.nav-links {
display: none;
}

.section-actions,
.report-filters,
.export-options {
flex-direction: column;
}
}

/* 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 Welcome */
.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;
position: relative;
z-index: 1;
}

.welcome-profile-placeholder {
font-size: 3rem;
color: rgba(255,255,255,0.9);
}

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

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

.welcome-subtitle {
margin: 0.25rem 0;
opacity: 0.9;
color: #fff;
font-size: 0.95rem;
}

/* Stats Cards — override */
.stats-card {
background: white;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
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);
transform: translateY(-2px);
}

.stats-icon {
width: 56px;
height: 56px;
background: linear-gradient(135deg, var(--clr-primary), #1d4ed8);
border-radius: 12px;
color: white;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.25rem;
}

.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;
}

.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);
}

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

.status-badge.open, .status-badge.registered {
background: #dbeafe;
color: #2563eb;
}

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

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

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

.status-badge.completed, .status-badge.closed {
background: #f3f4f6;
color: #6b7280;
}

/* Company Profile Styles */
.profile-container {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

.company-profile-card {
display: grid;
grid-template-columns: 200px 1fr;
gap: 2rem;
align-items: start;
}

.company-logo-section {
text-align: center;
}

.company-logo-placeholder {
width: 120px;
height: 120px;
background: var(--clr-light);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1rem;
color: var(--clr-primary);
font-size: 3rem;
}

.company-details-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}

.detail-item {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.detail-item label {
font-weight: 600;
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

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

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

.location-card {
padding: 1.5rem;
background: var(--clr-light);
border-radius: 12px;
border-left: 4px solid var(--clr-primary);
}

.location-card h4 {
color: var(--clr-primary);
margin-bottom: 0.5rem;
}

.location-card p {
color: var(--clr-dark-variant);
margin-bottom: 0.25rem;
}

.company-description p {
color: var(--clr-dark-variant);
line-height: 1.6;
margin-bottom: 2rem;
}

.company-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}

/* Applicant Management Styles */
.applicant-filters {
margin-bottom: 2rem;
}

.filter-row {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 1rem;
align-items: center;
}

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

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

.search-box input {
padding: 10px 12px 10px 36px;
border: 1px solid #d1d5db;
border-radius: 8px;
width: 100%;
}

.applicants-table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: var(--card-border-radius);
overflow: hidden;
box-shadow: var(--box-shadow);
}

.applicants-table th,
.applicants-table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid #e2e8f0;
}

.applicants-table th {
background: #1a1a1a;
color: white;
font-weight: 600;
}

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

.btn-sm {
padding: 0.5rem 1rem;
font-size: 0.875rem;
}

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

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

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

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

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

/* Recruitment Process Styles */
.recruitment-stages {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}

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

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

.stage-header h4 {
color: var(--clr-primary);
margin: 0;
}

.candidate-count {
background: var(--clr-light);
color: var(--clr-primary);
padding: 0.25rem 0.75rem;
border-radius: 12px;
font-size: 0.875rem;
font-weight: 500;
}

.stage-progress {
margin-bottom: 1rem;
}

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

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

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

.recruitment-timeline {
margin-top: 2rem;
}

.timeline {
position: relative;
padding-left: 2rem;
}

.timeline::before {
content: '';
position: absolute;
left: 1rem;
top: 0;
bottom: 0;
width: 2px;
background: #e2e8f0;
}

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

.timeline-marker {
position: absolute;
left: -1.75rem;
top: 0.5rem;
width: 12px;
height: 12px;
background: #e2e8f0;
border-radius: 50%;
border: 3px solid white;
box-shadow: 0 0 0 3px #e2e8f0;
}

.timeline-item.completed .timeline-marker {
background: var(--clr-success);
box-shadow: 0 0 0 3px var(--clr-success);
}

.timeline-item.active .timeline-marker {
background: var(--clr-primary);
box-shadow: 0 0 0 3px var(--clr-primary);
}

.timeline-content h4 {
color: var(--clr-dark);
margin-bottom: 0.25rem;
}

.timeline-content p {
color: var(--clr-dark-variant);
font-size: 0.875rem;
}

/* Scheduling Styles */
.scheduling-container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 2rem;
}

.drive-requests {
display: flex;
flex-direction: column;
gap: 1rem;
}

.request-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background: var(--clr-light);
border-radius: 8px;
}

.request-info h4 {
color: var(--clr-dark);
margin-bottom: 0.25rem;
}

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

.communication-log {
max-height: 300px;
overflow-y: auto;
margin-bottom: 1rem;
}

.log-item {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid #e2e8f0;
}

.log-avatar {
width: 40px;
height: 40px;
background: var(--clr-light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--clr-primary);
}

.log-content h5 {
color: var(--clr-dark);
margin-bottom: 0.25rem;
}

.log-content p {
color: var(--clr-dark-variant);
margin-bottom: 0.25rem;
}

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

.message-input {
display: flex;
gap: 0.5rem;
}

.upload-section {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.upload-item h4 {
color: var(--clr-dark);
margin-bottom: 0.5rem;
}

.upload-area {
border: 2px dashed #d1d5db;
padding: 2rem;
border-radius: 8px;
text-align: center;
background: #f9fafb;
transition: all 0.3s ease;
}

.upload-area:hover {
border-color: var(--clr-primary);
background: var(--clr-light);
}

.upload-area span {
font-size: 2rem;
color: var(--clr-dark-variant);
margin-bottom: 0.5rem;
display: block;
}

.upload-area p {
color: var(--clr-dark-variant);
margin-bottom: 1rem;
}

/* Notifications Styles */
.notifications-container {
display: flex;
flex-direction: column;
gap: 1rem;
}

.notification-filters {
padding: 1rem;
}

.filter-tabs {
display: flex;
gap: 0.5rem;
}

.filter-tab {
padding: 0.5rem 1rem;
border: 1px solid #d1d5db;
background: white;
border-radius: 6px;
cursor: pointer;
transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
background: var(--clr-primary);
color: white;
border-color: var(--clr-primary);
}

.notifications-list {
display: flex;
flex-direction: column;
gap: 1rem;
}

.notification-item {
display: flex;
gap: 1rem;
padding: 1.5rem;
background: white;
border-radius: 12px;
box-shadow: var(--box-shadow);
border-left: 4px solid #e2e8f0;
transition: all 0.3s ease;
}

.notification-item.unread {
border-left-color: var(--clr-primary);
background: var(--clr-light);
}

.notification-item.important {
border-left-color: var(--clr-danger);
}

.notification-icon {
width: 40px;
height: 40px;
background: var(--clr-light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--clr-primary);
}

.notification-content {
flex: 1;
}

.notification-content h4 {
color: var(--clr-dark);
margin-bottom: 0.5rem;
}

.notification-content p {
color: var(--clr-dark-variant);
margin-bottom: 0.5rem;
}

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

.notification-actions {
display: flex;
align-items: center;
}

/* Documents Styles */
.documents-container {
display: flex;
flex-direction: column;
gap: 2rem;
}

.document-categories {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}

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

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

.category-header span {
font-size: 2rem;
color: var(--clr-primary);
}

.category-header h4 {
color: var(--clr-dark);
margin: 0;
}

.category-stats {
display: flex;
flex-direction: column;
gap: 0.25rem;
margin-bottom: 1rem;
}

.category-stats span {
font-size: 0.875rem;
color: var(--clr-dark-variant);
}

.recent-documents {
margin-top: 1rem;
}

.documents-list {
display: flex;
flex-direction: column;
gap: 1rem;
}

.document-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: var(--clr-light);
border-radius: 8px;
transition: all 0.3s ease;
}

.document-item:hover {
background: rgba(115,128,236,0.1);
}

.document-icon {
width: 40px;
height: 40px;
background: white;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--clr-primary);
font-size: 1.5rem;
}

.document-info {
flex: 1;
}

.document-info h4 {
color: var(--clr-dark);
margin-bottom: 0.25rem;
}

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

.document-date {
font-size: 0.75rem;
color: var(--clr-dark-variant);
}

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

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
.company-profile-card {
grid-template-columns: 1fr;
text-align: center;
}

.company-details-grid {
grid-template-columns: 1fr;
}

.filter-row {
grid-template-columns: 1fr;
}

.recruitment-stages {
grid-template-columns: 1fr;
}

.scheduling-container {
grid-template-columns: 1fr;
}

.document-categories {
grid-template-columns: 1fr;
}

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

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