/* ============================================
   Student Dashboard - Cards & Layout Styles
   ============================================ */

/* Navbar Styles */
.simple-navbar {
	background-color: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	padding: 0;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.simple-navbar .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

/* Navbar Logo Fix */
.navbar-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
}

.navbar-logo svg {
	width: 28px;
	height: 28px;
	color: #00bcd4;
}

.navbar-logo-text {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1f2937;
}

.navbar-logo-text .asterisk {
	color: #00bcd4;
}

.navbar-center {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

.navbar-link {
	color: #4b5563;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.2s;
}

.navbar-link:hover {
	color: #00bcd4;
}

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

/* User Dropdown */
.user-dropdown {
	position: relative;
}

.user-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 1rem;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
}

.user-dropdown-toggle:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
}

.user-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.user-avatar svg {
	width: 18px;
	height: 18px;
	color: white;
}

.user-name {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f2937;
}

.dropdown-arrow {
	width: 16px;
	height: 16px;
	color: #6b7280;
	transition: transform 0.2s;
}

.user-dropdown.active .dropdown-arrow {
	transform: rotate(180deg);
}

.user-dropdown-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	min-width: 240px;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s;
	z-index: 1000;
}

.user-dropdown.active .user-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-header {
	padding: 1rem;
	border-bottom: 1px solid #e5e7eb;
}

.dropdown-user-name {
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 0.25rem;
}

.dropdown-user-email {
	font-size: 0.85rem;
	color: #6b7280;
}

.dropdown-divider {
	height: 1px;
	background: #e5e7eb;
	margin: 0.5rem 0;
}

.dropdown-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	color: #4b5563;
	text-decoration: none;
	transition: all 0.2s;
}

.dropdown-item:hover {
	background: #f9fafb;
	color: #00bcd4;
}

.dropdown-item svg {
	width: 18px;
	height: 18px;
}

/* Mobile Toggle */
.mobile-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.mobile-toggle span {
	width: 24px;
	height: 2px;
	background: #1f2937;
	border-radius: 2px;
	transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
	.navbar-center {
		display: none;
	}

	.mobile-toggle {
		display: flex;
	}
}

/* Dashboard Banner */
.dashboard-banner {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 16px;
	padding: 2.5rem;
	margin-bottom: 2rem;
	box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.banner-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}

.banner-left {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex: 1;
}

.user-avatar-large {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid rgba(255, 255, 255, 0.3);
}

.user-avatar-large svg {
	width: 40px;
	height: 40px;
	color: white;
}

.banner-text {
	flex: 1;
}

.banner-title {
	margin: 0 0 0.5rem 0;
	font-size: 2rem;
	font-weight: 700;
	color: white;
}

.banner-subtitle {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
}

.btn-white {
	background: white;
	color: #667eea;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-white:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.stat-card {
	background: white;
	border-radius: 16px;
	padding: 1.75rem;
	display: flex;
	align-items: center;
	gap: 1.25rem;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	border-color: rgba(99, 102, 241, 0.1);
}

.stat-icon-wrapper {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper {
	transform: scale(1.05);
}

.stat-icon {
	width: 32px;
	height: 32px;
	position: relative;
	z-index: 1;
}

/* Cyan - Profile Views */
.stat-card-blue .stat-icon-wrapper {
	background: linear-gradient(135deg, #caf0f8 0%, #b0e5f0 100%);
	box-shadow: 0 4px 12px rgba(0, 188, 212, 0.15);
}

.stat-card-blue .stat-icon {
	color: #00bcd4;
}

.stat-card-blue:hover .stat-icon-wrapper {
	box-shadow: 0 8px 16px rgba(0, 188, 212, 0.25);
}

/* Cyan - Applications */
.stat-card-green .stat-icon-wrapper {
	background: linear-gradient(135deg, #caf0f8 0%, #b0e5f0 100%);
	box-shadow: 0 4px 12px rgba(0, 188, 212, 0.15);
}

.stat-card-green .stat-icon {
	color: #00bcd4;
}

.stat-card-green:hover .stat-icon-wrapper {
	box-shadow: 0 8px 16px rgba(0, 188, 212, 0.25);
}

/* Cyan - Saved Jobs */
.stat-card-orange .stat-icon-wrapper {
	background: linear-gradient(135deg, #caf0f8 0%, #b0e5f0 100%);
	box-shadow: 0 4px 12px rgba(0, 188, 212, 0.15);
}

.stat-card-orange .stat-icon {
	color: #00bcd4;
}

.stat-card-orange:hover .stat-icon-wrapper {
	box-shadow: 0 8px 16px rgba(0, 188, 212, 0.25);
}

/* Cyan - Interviews */
.stat-card-purple .stat-icon-wrapper {
	background: linear-gradient(135deg, #caf0f8 0%, #b0e5f0 100%);
	box-shadow: 0 4px 12px rgba(0, 188, 212, 0.15);
}

.stat-card-purple .stat-icon {
	color: #00bcd4;
}

.stat-card-purple:hover .stat-icon-wrapper {
	box-shadow: 0 8px 16px rgba(0, 188, 212, 0.25);
}

.stat-info {
	flex: 1;
}

.stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: #263238;
	margin-bottom: 0.25rem;
	line-height: 1;
}

.stat-label {
	color: #78909c;
	font-size: 0.875rem;
	font-weight: 500;
}

/* Profile Completion Card */
.profile-completion-card {
	background: white;
	border-radius: 16px;
	padding: 2rem;
	margin-bottom: 2rem;
	border: 1px solid #f0f0f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-title {
	margin: 0 0 1.5rem 0;
	font-size: 1.5rem;
	font-weight: 700;
	color: #263238;
}

.completion-content {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 3rem;
	align-items: center;
}

.completion-left {
	display: flex;
	justify-content: center;
}

.circular-progress {
	position: relative;
	width: 140px;
	height: 140px;
}

.progress-ring {
	transform: rotate(-90deg);
}

.progress-ring-bg {
	fill: none;
	stroke: #f0f0f0;
	stroke-width: 10;
}

.progress-ring-fill {
	fill: none;
	stroke: url(#progressGradient);
	stroke-width: 10;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s ease;
}

.progress-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.progress-value {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: #00bcd4;
	line-height: 1;
}

.progress-label {
	display: block;
	font-size: 0.875rem;
	color: #78909c;
	margin-top: 0.25rem;
}

.completion-right {
	flex: 1;
}

.completion-description {
	margin: 0 0 1.5rem 0;
	color: #546e7a;
	font-size: 1rem;
	line-height: 1.6;
}

.completion-checklist {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.checklist-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #78909c;
	font-size: 0.95rem;
}

.checklist-item.completed {
	color: #00bcd4;
}

.checklist-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.checklist-item.completed .checklist-icon {
	color: #00bcd4;
}

/* Responsive Design */
@media (max-width: 768px) {
	.banner-content {
		flex-direction: column;
		text-align: center;
	}

	.banner-left {
		flex-direction: column;
		text-align: center;
	}

	.banner-title {
		font-size: 1.5rem;
	}

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

	.completion-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* Dashboard Sections */
.dashboard-section {
	margin-bottom: 3rem;
}

.dashboard-section-title {
	font-size: 1.5rem;
	color: #263238;
	margin-bottom: 1.5rem;
	font-weight: 700;
}

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

/* Job Card */
.job-card {
	padding: 1.5rem;
	background: white;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	transition: all 0.3s;
}

.job-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

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

.job-card-title {
	margin: 0;
	font-size: 1.1rem;
	color: #263238;
	font-weight: 600;
}

.match-badge {
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}

.match-badge-primary {
	background: #e8f5e9;
	color: #388e3c;
}

.match-badge-info {
	background: #e3f2fd;
	color: #1976d2;
}

.match-badge-warning {
	background: #fff3e0;
	color: #f57c00;
}

.job-card-company {
	margin: 0 0 0.5rem 0;
	color: #00bcd4;
	font-weight: 600;
}

.job-card-meta {
	margin: 0 0 0.75rem 0;
	color: #666;
	font-size: 0.9rem;
}

.job-card-posted {
	color: #999;
	font-size: 0.85rem;
	margin-bottom: 1rem;
}

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

.job-card-action-btn {
	padding: 0.6rem 1rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s;
	font-size: 0.9rem;
}

.job-card-action-apply {
	background: #00bcd4;
	color: white;
	flex: 1;
}

.job-card-action-apply:hover {
	background: #0097a7;
}

.job-card-action-save {
	background: white;
	color: #00bcd4;
	border: 1px solid #00bcd4;
	padding: 0.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.job-card-action-save:hover {
	background: #e0f2f1;
}

.icon-svg {
	width: 20px;
	height: 20px;
}

/* Application Card */
.application-card {
	padding: 1.5rem;
	background: white;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	margin-bottom: 1rem;
	transition: all 0.3s;
}

.application-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.application-card-header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	margin-bottom: 1rem;
	gap: 1rem;
}

.application-card-info {
	flex: 1;
}

.application-card-title {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	color: #263238;
	font-weight: 600;
}

.application-card-company {
	margin: 0 0 0.25rem 0;
	color: #00bcd4;
	font-weight: 600;
}

.application-card-date {
	margin: 0;
	color: #999;
	font-size: 0.85rem;
}

.application-status-badge {
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
}

.status-pending {
	background: #fff3e0;
	color: #f57c00;
}

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

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

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

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

.application-rejected {
	opacity: 0.7;
}

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

.application-title {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	color: #263238;
	font-weight: 600;
}

.application-company {
	margin: 0;
	color: #00bcd4;
	font-weight: 600;
}

.application-date {
	margin: 0;
	color: #666;
	font-size: 0.9rem;
}

/* Progress Bar */
.review-progress {
	margin-bottom: 0.5rem;
}

.review-progress-label {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0.5rem;
}

.review-progress-bar {
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

.review-progress-fill {
	height: 100%;
	background: #f57c00;
	border-radius: 4px;
	width: 33%;
}

/* Empty State */
.empty-state {
	text-align: center;
	color: #999;
	padding: 2rem;
	font-style: italic;
}

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

	.job-card-header {
		flex-direction: column;
	}

	.match-badge {
		align-self: flex-start;
	}

	.application-card-header {
		flex-direction: column;
	}

	.application-status-badge {
		align-self: flex-start;
	}

	.job-card-actions {
		width: 100%;
	}

	.job-card-action-btn {
		flex: 1;
	}
}
