/* OradeaOnline Portal CSS */
/* Design System Variables */
:root {
	--primary: #2D5A7B;
	--primary-light: #4A8BAF;
	--primary-dark: #1A3A4F;
	--accent: #E8814D;
	--accent-light: #FFB088;
	--bg-primary: #FDFCFA;
	--bg-secondary: #F5F3EF;
	--text-primary: #1F1F1F;
	--text-secondary: #6B6B6B;
	--text-light: #9E9E9E;
	--border: #E5E1DA;
	--shadow-sm: 0 2px 8px rgba(45, 90, 123, 0.06);
	--shadow-md: 0 4px 20px rgba(45, 90, 123, 0.1);
	--shadow-lg: 0 8px 40px rgba(45, 90, 123, 0.15);
}

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

body {
	font-family: 'DM Sans', sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
}

/* Header & Navigation */
.site-header {
	position: sticky;
	top: 0;
	background: rgba(253, 252, 250, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
	box-shadow: var(--shadow-sm);
}

.site-nav {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.5rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: 'Sora', sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--primary);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: translateY(-2px);
}

.logo-dot {
	width: 8px;
	height: 8px;
	background: var(--accent);
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.3); opacity: 0.7; }
}

.nav-links {
	display: flex;
	gap: 3rem;
	list-style: none;
}

.nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	position: relative;
	transition: color 0.3s ease;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width 0.3s ease;
}

.nav-links a:hover {
	color: var(--primary);
}

.nav-links a:hover::after {
	width: 100%;
}

/* Container */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Section Styles */
.section-header {
	margin-bottom: 3rem;
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
}

.section-title {
	font-family: 'Sora', sans-serif;
	font-size: 3rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.section-subtitle {
	font-size: 1.1rem;
	color: var(--text-secondary);
	font-weight: 400;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Hero / Evenimente Section */
.hero-section {
	padding: 4rem 0 5rem;
	background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Calendar View */
.calendar-container {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 2.5rem;
	margin-bottom: 4rem;
}

.mini-calendar {
	background: white;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: var(--shadow-md);
	opacity: 0;
	animation: fadeInLeft 0.8s ease 0.2s forwards;
}

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

.calendar-month {
	font-family: 'Sora', sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary);
}

.calendar-nav {
	display: flex;
	gap: 0.5rem;
}

.calendar-nav button {
	background: var(--bg-secondary);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1rem;
	color: var(--text-secondary);
}

.calendar-nav button:hover {
	background: var(--primary);
	color: white;
	transform: scale(1.1);
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.5rem;
}

.calendar-day-header {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-light);
	text-align: center;
	padding: 0.5rem 0;
}

.calendar-day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.calendar-day:hover {
	background: var(--bg-secondary);
}

.calendar-day.has-event {
	color: var(--primary);
	font-weight: 600;
}

.calendar-day.has-event::after {
	content: '';
	position: absolute;
	bottom: 4px;
	width: 4px;
	height: 4px;
	background: var(--accent);
	border-radius: 50%;
}

.calendar-day.today {
	background: var(--primary);
	color: white;
}

.calendar-day.other-month {
	color: var(--text-light);
	opacity: 0.3;
}

/* Clickable calendar day links */
a.calendar-day {
	text-decoration: none;
	color: var(--primary);
}

a.calendar-day:hover {
	background: var(--primary);
	color: white;
	transform: scale(1.1);
}

a.calendar-day.has-event::after {
	background: var(--accent);
}

a.calendar-day:hover::after {
	background: white;
}

/* Events List */
.events-list {
	display: grid;
	gap: 1.5rem;
	opacity: 0;
	animation: fadeInRight 0.8s ease 0.3s forwards;
}

.event-card {
	display: grid;
	grid-template-columns: 200px 1fr;
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.event-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.event-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-image {
	transform: scale(1.08);
}

.event-image-container {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.event-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(45, 90, 123, 0.9), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
	display: flex;
	align-items: flex-end;
	padding: 1rem;
}

.event-card:hover .event-overlay {
	opacity: 1;
}

.event-badge {
	background: white;
	color: var(--primary);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.event-content {
	padding: 1.5rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.event-date {
	font-size: 0.85rem;
	color: var(--accent);
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.event-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.event-location {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-secondary);
	font-size: 0.95rem;
}

.event-location::before {
	content: '\1F4CD';
}

/* Jobs Section */
.jobs-section {
	padding: 5rem 0;
	background: white;
}

.jobs-grid {
	display: grid;
	gap: 1rem;
}

.job-card {
	background: var(--bg-secondary);
	border-radius: 12px;
	padding: 1.75rem 2rem;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 2rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 2px solid transparent;
	text-decoration: none;
	color: inherit;
}

.job-card:hover {
	background: white;
	border-color: var(--primary-light);
	box-shadow: var(--shadow-md);
	transform: translateX(8px);
}

.job-info h3 {
	font-family: 'Sora', sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 0.5rem;
}

.job-meta {
	display: flex;
	gap: 2rem;
	color: var(--text-secondary);
	font-size: 0.95rem;
}

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

.job-company::before {
	content: '\1F3E2';
}

.job-location::before {
	content: '\1F4CD';
}

/* Classifieds Section */
.classifieds-section {
	padding: 5rem 0;
	background: var(--bg-secondary);
}

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

.classified-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 2px solid transparent;
	text-decoration: none;
	color: inherit;
	display: block;
}

.classified-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-light);
}

.classified-card.with-image .classified-content {
	padding: 1.5rem;
}

.classified-card:not(.with-image) .classified-content {
	padding: 2rem;
}

.classified-image-container {
	position: relative;
	height: 180px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.classified-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.classified-card:hover .classified-image {
	transform: scale(1.1);
}

.classified-price {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: white;
	color: var(--primary-dark);
	font-weight: 700;
	font-size: 1.1rem;
	padding: 0.5rem 1rem;
	border-radius: 10px;
	box-shadow: var(--shadow-md);
}

.classified-category {
	display: inline-block;
	background: var(--bg-secondary);
	color: var(--primary);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.4rem 0.9rem;
	border-radius: 8px;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.classified-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.classified-description {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.classified-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
	color: var(--text-light);
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
}

.classified-price-inline {
	color: var(--accent);
	font-weight: 700;
	font-size: 1.1rem;
}

/* Articles Section */
.articles-section {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.articles-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 3rem;
}

.articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

/* Sidebar Widgets */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.widget {
	background: white;
	border-radius: 16px;
	padding: 2rem;
	border: 2px solid var(--border);
	transition: all 0.3s ease;
}

.widget:hover {
	border-color: var(--primary-light);
	box-shadow: var(--shadow-md);
}

.widget-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--border);
}

.widget-link {
	display: inline-flex;
	align-items: center;
	color: var(--primary);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	margin-top: 1rem;
	transition: all 0.3s ease;
}

.widget-link:hover {
	color: var(--accent);
	transform: translateX(4px);
}

/* Banner Widget */
.banner-ad {
	background: linear-gradient(135deg, var(--bg-secondary), var(--border));
	border: 2px dashed var(--primary-light);
	border-radius: 12px;
	min-height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.banner-ad.tall {
	min-height: 600px;
}

.banner-ad:hover {
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
	border-color: var(--primary);
}

.banner-ad:hover .banner-content {
	color: white;
}

.banner-content {
	padding: 2rem;
	transition: color 0.3s ease;
}

.banner-label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.6;
	margin-bottom: 1rem;
}

.banner-content h4 {
	font-family: 'Sora', sans-serif;
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.banner-widget {
	background: transparent;
	border: none;
	padding: 0;
}

.banner-widget:hover {
	border: none;
	box-shadow: none;
}

/* Image Banner Styles */
.banner-image {
	background: none;
	border: none;
	padding: 0;
}

.banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-image:hover .banner-img {
	transform: scale(1.05);
}

.banner-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(29, 78, 123, 0.95), rgba(29, 78, 123, 0.7), transparent);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.banner-image:hover .banner-overlay {
	opacity: 1;
}

.banner-overlay .banner-content {
	color: white;
	padding: 2rem;
}

.banner-overlay .banner-label {
	opacity: 0.9;
}

/* Horoscope Widget */
.horoscope-date {
	text-align: center;
	font-size: 0.85rem;
	color: var(--text-light);
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.zodiac-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.zodiac-sign {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 0.25rem;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: var(--bg-secondary);
}

.zodiac-sign:hover {
	background: var(--primary-light);
	color: white;
	transform: translateY(-2px);
}

.zodiac-sign.active {
	background: var(--primary);
	color: white;
}

.zodiac-icon {
	font-size: 1.25rem;
}

.zodiac-name {
	font-size: 0.65rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
}

.horoscope-text {
	background: var(--bg-secondary);
	padding: 1.25rem;
	border-radius: 12px;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--text-secondary);
}

.horoscope-text strong {
	color: var(--primary);
}

/* Cinema Widget */
.cinema-content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.movie-item {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 1rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
	transition: all 0.3s ease;
}

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

.movie-item:hover {
	transform: translateX(4px);
}

.movie-poster {
	width: 60px;
	height: 90px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.movie-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.movie-info h4 {
	font-family: 'Sora', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 0.5rem;
}

.movie-meta {
	display: flex;
	gap: 1rem;
	font-size: 0.8rem;
	margin-bottom: 0.5rem;
}

.movie-rating {
	color: var(--accent);
	font-weight: 600;
}

.movie-genre {
	color: var(--text-light);
}

.movie-times {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.movie-times span {
	background: var(--bg-secondary);
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--primary);
	cursor: pointer;
	transition: all 0.3s ease;
}

.movie-times span:hover {
	background: var(--primary);
	color: white;
}

/* Article Card */
.article-card {
	background: white;
	border-radius: 16px;
	padding: 2rem;
	border: 2px solid var(--border);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	transform: translateY(30px);
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
}

.article-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.article-card:hover {
	border-color: var(--primary-light);
	box-shadow: var(--shadow-lg);
	transform: translateY(-8px);
}

.article-card:hover::before {
	transform: scaleX(1);
}

.article-category {
	display: inline-block;
	background: linear-gradient(135deg, var(--accent-light), var(--accent));
	color: white;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.4rem 1rem;
	border-radius: 20px;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.article-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.article-description {
	color: var(--text-secondary);
	margin-bottom: 1.25rem;
	line-height: 1.7;
}

.article-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	font-size: 0.85rem;
	color: var(--text-light);
}

.article-date::before {
	content: '\1F4C5 ';
}

.article-read-time::before {
	content: '\23F1 ';
}

/* Buttons */
.btn {
	padding: 0.75rem 1.75rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

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

.btn-primary:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

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

.btn-accent:hover {
	background: var(--accent-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
	background: linear-gradient(135deg, var(--primary-dark) 0%, #0f2942 100%);
	color: white;
	padding: 5rem 2rem 2rem;
	position: relative;
	overflow: hidden;
}

/* Ensure content doesn't sit flush to footer */
main {
	padding-bottom: 3.5rem;
}

/* Extra spacing between content and footer on larger screens */
.site-footer {
	margin-top: 2rem;
}

.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.site-footer::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(232, 129, 77, 0.1) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 4rem;
	margin-bottom: 3rem;
	position: relative;
	z-index: 1;
}

.footer-about h3 {
	font-family: 'Sora', sans-serif;
	font-size: 1.75rem;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, white, var(--accent-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.footer-about p {
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.8;
	margin-bottom: 2rem;
	font-size: 0.95rem;
}

.footer-section h4 {
	font-family: 'Sora', sans-serif;
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	color: var(--accent-light);
	font-weight: 600;
	position: relative;
	padding-bottom: 0.75rem;
}

.footer-section h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), transparent);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.875rem;
	transform: translateX(0);
	transition: transform 0.3s ease;
}

.footer-links li:hover {
	transform: translateX(4px);
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.footer-links a::before {
	content: '\2192';
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: white;
}

.footer-links a:hover::before {
	opacity: 1;
	transform: translateX(0);
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-link {
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	font-size: 1.25rem;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.social-link::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--accent), var(--primary-light));
	opacity: 0;
	transition: opacity 0.4s ease;
}

.social-link:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 8px 20px rgba(232, 129, 77, 0.4);
}

.social-link:hover::before {
	opacity: 1;
}

.social-link svg,
.social-link span {
	position: relative;
	z-index: 1;
}

.footer-bottom {
	text-align: center;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.9rem;
	position: relative;
	z-index: 1;
}

.footer-bottom p {
	margin: 0.5rem 0;
}

/* Breadcrumb */
.breadcrumb {
	padding: 2rem 0 1rem;
	font-size: 0.9rem;
}

.breadcrumb a {
	color: var(--text-light);
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb a:hover {
	color: var(--primary);
}

.breadcrumb span {
	color: var(--text-light);
	margin: 0 0.5rem;
}

/* Scroll animations */
.scroll-fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.scroll-fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

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

	.mini-calendar {
		max-width: 400px;
		margin: 0 auto;
	}

	.articles-with-sidebar {
		grid-template-columns: 1fr;
	}

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

	.footer-content {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none !important;
	}

	/* Hide desktop header items on mobile */
	.header-search {
		display: none !important;
	}

	.user-menu {
		display: none !important;
	}

	/* Show hamburger on mobile */
	.hamburger-btn {
		display: flex !important;
		margin-left: auto;
	}

	.section-title {
		font-size: 2rem;
	}

	.event-card {
		grid-template-columns: 1fr;
	}

	.event-image-container {
		height: 200px;
	}

	.job-card {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1.25rem 1.5rem;
	}

	.job-card .btn {
		width: 100%;
		justify-content: center;
	}

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

	.job-info h3 {
		font-size: 1.1rem;
	}

	.jobs-section form {
		flex-direction: column;
	}

	.jobs-section input[type="text"],
	.jobs-section button {
		width: 100%;
	}

	.jobs-cta {
		padding: 1.5rem 1rem !important;
	}

	.jobs-cta h3 {
		font-size: 1.5rem !important;
	}

	.jobs-cta p {
		font-size: 0.95rem !important;
	}

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

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

	.footer-content {
		grid-template-columns: 1fr;
	}

	/* Reduce horizontal padding to avoid mobile overflow */
	.container {
		padding: 0 1rem;
	}

	/* Make sure wide elements don't exceed the viewport */
	img, .gallery-main img, iframe, .event-image {
		max-width: 100%;
		height: auto;
	}
}

/* Job Detail Page Styles */
.job-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 3rem;
	padding: 2rem 0 5rem;
}

.job-main {
	max-width: 800px;
}

.job-header-card {
	background: white;
	border-radius: 20px;
	padding: 3rem;
	box-shadow: var(--shadow-md);
	margin-bottom: 2rem;
	border: 2px solid var(--border);
	animation: fadeInUp 0.8s ease;
}

.job-date-badge {
	display: inline-block;
	background: var(--bg-secondary);
	color: var(--text-secondary);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	margin-bottom: 1.5rem;
}

.job-page-title {
	font-family: 'Sora', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-dark);
	line-height: 1.2;
	margin-bottom: 1rem;
}

.job-company-name {
	font-size: 1.25rem;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 2rem;
}

.job-meta-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	padding: 2rem 0;
	border-top: 2px solid var(--border);
	border-bottom: 2px solid var(--border);
}

.meta-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.meta-label {
	font-size: 0.85rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.meta-value {
	font-size: 1rem;
	color: var(--text-primary);
	font-weight: 600;
}

.job-section-card {
	background: white;
	border-radius: 20px;
	padding: 2.5rem;
	box-shadow: var(--shadow-sm);
	margin-bottom: 2rem;
	border: 2px solid var(--border);
	transition: all 0.3s ease;
}

.job-section-card:hover {
	border-color: var(--primary-light);
	box-shadow: var(--shadow-md);
}

.job-section-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--border);
}

.job-section-card p {
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.job-section-card ul {
	list-style: none;
	padding-left: 0;
}

.job-section-card li {
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 0.75rem;
	padding-left: 1.5rem;
	position: relative;
}

.job-section-card li::before {
	content: '\2192';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 600;
}

.info-box {
	background: var(--bg-secondary);
	border-left: 4px solid var(--accent);
	padding: 1.5rem;
	border-radius: 12px;
	margin: 1.5rem 0;
}

.info-box p {
	margin: 0;
	color: var(--text-primary);
}

.info-box strong {
	color: var(--primary-dark);
}

/* Job Sidebar */
.job-sidebar {
	position: sticky;
	top: 100px;
	height: fit-content;
}

.sidebar-card {
	background: white;
	border-radius: 20px;
	padding: 2.5rem;
	box-shadow: var(--shadow-md);
	border: 2px solid var(--border);
	margin-bottom: 2rem;
	transition: all 0.3s ease;
}

.sidebar-card:hover {
	border-color: var(--primary-light);
	box-shadow: var(--shadow-lg);
}

.sidebar-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.form-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-primary);
}

.form-label .required {
	color: var(--accent);
}

.form-input,
.form-textarea {
	padding: 0.875rem;
	border: 2px solid var(--border);
	border-radius: 10px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	background: var(--bg-primary);
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--primary);
	background: white;
	box-shadow: 0 0 0 3px rgba(45, 90, 123, 0.1);
}

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

.file-input {
	padding: 0.875rem;
	border: 2px dashed var(--border);
	border-radius: 10px;
	background: var(--bg-secondary);
	cursor: pointer;
	transition: all 0.3s ease;
	display: block;
	width: 100%;
}

.file-input:hover {
	border-color: var(--primary);
	background: var(--bg-primary);
}

.form-note {
	font-size: 0.85rem;
	color: var(--text-light);
}

.btn-submit {
	background: var(--primary);
	color: white;
	border: none;
	padding: 1rem 2rem;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
}

.btn-submit:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

/* Article Detail Page */
.article-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	padding: 2rem 0 5rem;
}

.article-main {
	max-width: 800px;
}

.article-header-full {
	margin-bottom: 2.5rem;
	animation: fadeInUp 0.8s ease;
}

.article-category-badge {
	display: inline-block;
	background: linear-gradient(135deg, var(--accent-light), var(--accent));
	color: white;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.5rem 1.25rem;
	border-radius: 20px;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.article-title-full {
	font-family: 'Sora', sans-serif;
	font-size: 3rem;
	font-weight: 700;
	color: var(--primary-dark);
	line-height: 1.2;
	margin-bottom: 1rem;
}

.article-subtitle {
	font-size: 1.3rem;
	color: var(--text-secondary);
	line-height: 1.5;
	margin-bottom: 2rem;
}

.article-meta-full {
	display: flex;
	gap: 2rem;
	padding: 1.5rem 0;
	border-top: 2px solid var(--border);
	border-bottom: 2px solid var(--border);
}

.author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 600;
}

.featured-image {
	width: 100%;
	height: 500px;
	border-radius: 20px;
	overflow: hidden;
	margin: 3rem 0;
	box-shadow: var(--shadow-lg);
}

.featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.featured-image:hover img {
	transform: scale(1.05);
}

.image-caption {
	text-align: center;
	font-size: 0.9rem;
	color: var(--text-light);
	font-style: italic;
	margin-top: 1rem;
}

.article-body {
	font-size: 1.1rem;
	line-height: 1.9;
	color: var(--text-primary);
}

.article-body p {
	margin-bottom: 1.75rem;
}

.article-body h2 {
	font-family: 'Sora', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin: 3rem 0 1.5rem;
	line-height: 1.3;
}

.article-body h3 {
	font-family: 'Sora', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary);
	margin: 2.5rem 0 1rem;
}

.article-body blockquote {
	background: var(--bg-secondary);
	border-left: 4px solid var(--accent);
	padding: 1.5rem 2rem;
	margin: 2.5rem 0;
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: var(--text-secondary);
}

.article-body ul, .article-body ol {
	margin: 1.5rem 0 1.5rem 2rem;
}

.article-body li {
	margin-bottom: 0.75rem;
}

.article-body strong {
	color: var(--primary-dark);
	font-weight: 600;
}

/* Related Articles */
.related-articles {
	margin-top: 5rem;
	padding-top: 3rem;
	border-top: 2px solid var(--border);
}

.related-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 2rem;
}

.related-grid {
	display: grid;
	gap: 1.5rem;
}

.related-card {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 1.5rem;
	padding: 1.5rem;
	background: white;
	border-radius: 12px;
	border: 2px solid var(--border);
	transition: all 0.3s ease;
	text-decoration: none;
	color: inherit;
}

.related-card:hover {
	border-color: var(--primary-light);
	box-shadow: var(--shadow-md);
	transform: translateX(8px);
}

.related-image {
	width: 120px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.related-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-info h4 {
	font-family: 'Sora', sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 0.5rem;
}

.related-date {
	font-size: 0.85rem;
	color: var(--text-light);
}

/* Article Sidebar */
.article-sidebar {
	position: sticky;
	top: 100px;
	height: fit-content;
}

.share-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.share-btn {
	padding: 0.75rem;
	border: none;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.share-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.share-facebook { background: #1877F2; color: white; }
.share-twitter { background: #1DA1F2; color: white; }
.share-whatsapp { background: #25D366; color: white; }
.share-email { background: var(--text-secondary); color: white; }

/* Vertical Banner */
.vertical-banner {
	min-height: 600px;
	background: linear-gradient(180deg, var(--bg-secondary), var(--border));
	border: 2px dashed var(--primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	border-radius: 12px;
}

.vertical-banner:hover {
	background: linear-gradient(180deg, var(--primary-light), var(--primary));
	border-color: var(--primary);
}

.vertical-banner:hover .banner-content {
	color: white;
}

@media (max-width: 1024px) {
	.job-layout,
	.article-layout {
		grid-template-columns: 1fr;
	}

	.job-sidebar,
	.article-sidebar {
		position: static;
	}
}

@media (max-width: 768px) {
	.job-page-title {
		font-size: 1.75rem;
	}

	.article-title-full {
		font-size: 2rem;
	}

	.job-meta-grid {
		grid-template-columns: 1fr;
	}

	.featured-image {
		height: 300px;
	}

	/* Job detail page mobile fixes */
	.job-header-card {
		padding: 1.5rem;
	}

	.job-header-card,
	.job-section-card {
		margin-bottom: 1.5rem;
	}

	.job-section-card {
		padding: 1.5rem;
	}

	.sidebar-card {
		padding: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.sidebar-title {
		font-size: 1.1rem;
		margin-bottom: 1rem;
	}

	.search-form {
		flex-direction: column;
	}

	.search-form input[type="text"],
	.search-form button {
		width: 100%;
	}

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

	.btn-submit {
		width: 100%;
	}

	.job-company-name {
		font-size: 1.1rem;
	}
}

/* ==========================================
   User Menu & Profile Styles
   ========================================== */

/* User Menu in Header */
.user-menu {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.auth-links {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.btn-login {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.btn-login:hover {
	background: var(--bg-secondary);
	color: var(--primary-dark);
}

.btn-register {
	background: var(--primary);
	color: white;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.btn-register:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

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

.user-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.75rem 0.35rem 0.35rem;
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	border-radius: 9999px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
}

.user-dropdown-toggle:hover {
	border-color: var(--primary-light);
	background: white;
}

.user-dropdown.open .user-dropdown-toggle {
	border-color: var(--primary);
	box-shadow: var(--shadow-sm);
}

.user-avatar {
	width: 32px;
	height: 32px;
	min-width: 32px;
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	line-height: 1;
}

.user-name {
	font-weight: 600;
	color: var(--text-primary);
	font-size: 0.875rem;
}

.dropdown-arrow {
	width: 12px;
	height: 12px;
	color: var(--text-secondary);
	transition: transform 0.3s ease;
}

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

.user-dropdown-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: white;
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	border: 2px solid var(--border);
	padding: 0.75rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1000;
}

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

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

.dropdown-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	color: var(--text-primary);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	border-radius: 10px;
	transition: all 0.2s ease;
}

.dropdown-item:hover {
	background: var(--bg-secondary);
	color: var(--primary);
}

.dropdown-item svg {
	width: 18px;
	height: 18px;
	min-width: 18px;
	color: var(--text-light);
	transition: color 0.2s ease;
}

.dropdown-item:hover svg {
	color: var(--primary);
}

.dropdown-item-danger {
	color: #dc3545;
}

.dropdown-item-danger:hover {
	background: #fff5f5;
	color: #dc3545;
}

.dropdown-item-danger svg {
	color: #dc3545;
}

.dropdown-divider {
	height: 1px;
	background: var(--border);
	margin: 0.5rem 0;
}

/* Profile Page Styles */
.profile-section {
	padding: 3rem 0 5rem;
	background: var(--bg-primary);
}

.profile-card {
	background: white;
	border-radius: 20px;
	box-shadow: var(--shadow-md);
	border: 2px solid var(--border);
	overflow: hidden;
	animation: fadeInUp 0.6s ease;
}

.profile-header {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	padding: 3rem;
	position: relative;
}

.profile-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40px;
	background: white;
	border-radius: 40px 40px 0 0;
}

.profile-avatar-large {
	width: 100px;
	height: 100px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
	box-shadow: var(--shadow-lg);
	position: relative;
	z-index: 1;
	margin-bottom: 1.5rem;
}

.profile-name {
	font-family: 'Sora', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: white;
	margin-bottom: 0.5rem;
}

.profile-email {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1rem;
}

.profile-content {
	padding: 2rem 3rem 3rem;
}

.profile-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 2px solid var(--border);
}

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

.profile-stat-value {
	font-family: 'Sora', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary);
	display: block;
}

.profile-stat-label {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-top: 0.25rem;
}

.profile-info-grid {
	display: grid;
	gap: 1.5rem;
}

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

.profile-info-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.profile-info-value {
	font-size: 1.1rem;
	color: var(--text-primary);
	font-weight: 500;
}

.profile-roles {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.profile-role-badge {
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
	color: white;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.4rem 1rem;
	border-radius: 20px;
}

.profile-actions {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 2px solid var(--border);
}

.btn-edit-profile {
	background: var(--primary);
	color: white;
	padding: 0.875rem 1.5rem;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
}

.btn-edit-profile:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-manage-roles {
	background: var(--bg-secondary);
	color: var(--primary);
	padding: 0.875rem 1.5rem;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 2px solid var(--border);
	transition: all 0.3s ease;
}

.btn-manage-roles:hover {
	border-color: var(--primary);
	background: white;
}

/* Profile Edit Form */
.profile-edit-section {
	padding: 3rem 0 5rem;
	background: var(--bg-primary);
}

.profile-edit-card {
	background: white;
	border-radius: 20px;
	padding: 3rem;
	box-shadow: var(--shadow-md);
	border: 2px solid var(--border);
	max-width: 600px;
	margin: 0 auto;
	animation: fadeInUp 0.6s ease;
}

.profile-edit-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--border);
}

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

.profile-form .form-actions {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 2px solid var(--border);
}

.btn-save {
	background: var(--primary);
	color: white;
	padding: 0.875rem 2rem;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-save:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-cancel {
	background: var(--bg-secondary);
	color: var(--text-secondary);
	padding: 0.875rem 2rem;
	border: 2px solid var(--border);
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.btn-cancel:hover {
	border-color: var(--text-secondary);
	background: white;
}

/* Username input with status indicator */
.input-with-status {
	position: relative;
	display: flex;
	align-items: center;
}
.input-with-status .form-input {
	flex: 1;
	padding-right: 2.5rem;
}
.input-status {
	position: absolute;
	right: 0.875rem;
	font-size: 1.1rem;
	font-weight: 700;
	pointer-events: none;
}
.status-ok { color: #16a34a; }
.status-error { color: #dc2626; }
.status-warning { color: #ca8a04; }
.status-checking { color: var(--text-secondary); }

.input-hint {
	font-size: 0.8rem;
	color: var(--text-secondary);
	min-height: 1.2em;
}
.hint-ok { color: #16a34a; font-weight: 600; }
.hint-error { color: #dc2626; font-weight: 600; }
.hint-warning { color: #ca8a04; }

.form-error {
	color: #dc2626;
	font-size: 0.8rem;
	font-weight: 600;
}

/* Form divider */
.form-divider {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 2rem 0 1.5rem;
	color: var(--text-secondary);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.form-divider::before,
.form-divider::after {
	content: '';
	flex: 1;
	height: 2px;
	background: var(--border);
}

/* Password strength bar */
.password-strength {
	margin-top: 0.5rem;
}
.password-strength-bar {
	height: 6px;
	background: var(--border);
	border-radius: 3px;
	overflow: hidden;
}
.password-strength-fill {
	height: 100%;
	width: 0;
	border-radius: 3px;
	transition: width 0.3s ease, background 0.3s ease;
}
.password-strength-text {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.8rem;
	font-weight: 600;
	transition: color 0.3s ease;
}

/* Empty State Messages */
.no-events-message,
.no-classifieds-message,
.no-articles-message {
	grid-column: 1 / -1;
	text-align: center;
	padding: 4rem 2rem;
	background: white;
	border-radius: 20px;
	border: 2px dashed var(--border);
}

.no-events-message p,
.no-classifieds-message p,
.no-articles-message p {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.no-events-message .btn,
.no-classifieds-message .btn,
.no-articles-message .btn {
	display: inline-flex;
}

/* Profile Page Responsive */
@media (max-width: 768px) {
	.profile-header {
		padding: 2rem;
	}

	.profile-avatar-large {
		width: 80px;
		height: 80px;
		font-size: 2rem;
	}

	.profile-name {
		font-size: 1.5rem;
	}

	.profile-content {
		padding: 1.5rem;
	}

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

	.profile-actions {
		flex-direction: column;
	}

	.profile-edit-card {
		padding: 1.5rem;
	}

	.user-dropdown-menu {
		right: -1rem;
		min-width: 200px;
	}

	.user-name {
		display: none;
	}
}

/* ===========================
   FAVORITES SYSTEM
   =========================== */

/* Heart button - card overlay (positioned over image) */
.btn-fav {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 36px;
	height: 36px;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-light);
	transition: all 0.2s ease;
	z-index: 2;
	padding: 0;
}

.btn-fav:hover {
	background: white;
	color: var(--accent);
	transform: scale(1.1);
	box-shadow: var(--shadow-sm);
}

.btn-fav.is-favorited {
	color: var(--accent);
	background: white;
}

.btn-fav.is-favorited svg {
	fill: var(--accent);
}

/* Heart button on detail pages (btn-icon style) */
.btn-icon.is-favorited {
	border-color: var(--accent);
	color: var(--accent);
}

.btn-icon.is-favorited svg {
	fill: var(--accent);
}

/* Image containers need position:relative for overlay heart */
.classified-image-container {
	position: relative;
}

.event-image-container {
	position: relative;
}

/* Job card heart - not overlay, inline next to button */
.job-card .btn-fav {
	position: static;
	background: var(--bg-secondary);
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.job-card .btn-fav:hover {
	background: white;
}

.job-card-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

/* Classifieds without image - heart in content area */
.classified-card:not(.with-image) .btn-fav {
	position: static;
	float: right;
	margin: -0.25rem -0.25rem 0.5rem 0.5rem;
	background: var(--bg-secondary);
}

/* ===========================
   FAVORITES PAGE
   =========================== */

.fav-tabs {
	display: flex;
	gap: 0.5rem;
	margin: 2rem 0;
	flex-wrap: wrap;
}

.fav-tab {
	padding: 0.6rem 1.25rem;
	border: 2px solid var(--border);
	background: white;
	border-radius: 10px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-secondary);
	transition: all 0.2s ease;
	font-family: inherit;
}

.fav-tab:hover {
	border-color: var(--primary-light);
	color: var(--primary);
}

.fav-tab.active {
	background: var(--primary);
	border-color: var(--primary);
	color: white;
}

.fav-loading {
	text-align: center;
	padding: 4rem 2rem;
	color: var(--text-light);
}

.fav-section-group {
	margin-bottom: 3rem;
}

.fav-section-group .subsection-title {
	font-family: 'Sora', sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--border);
}

.fav-events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

/* Favorite card - positioned relative for remove button */
.fav-card-wrap {
	position: relative;
}

.fav-card-wrap .btn-fav {
	top: 0.5rem;
	right: 0.5rem;
}

/* Job header actions on detail page */
.job-header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

@media (max-width: 768px) {
	.fav-tabs {
		gap: 0.4rem;
	}

	.fav-tab {
		padding: 0.5rem 0.9rem;
		font-size: 0.8rem;
	}

	.job-card-actions {
		width: 100%;
		justify-content: flex-end;
	}
}

/* ===========================
   HEADER SEARCH
   =========================== */

.header-search {
	display: flex;
	align-items: center;
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	border-radius: 9999px;
	padding: 0.3rem 0.3rem 0.3rem 1rem;
	gap: 0.25rem;
	transition: all 0.3s ease;
}

.header-search:focus-within {
	border-color: var(--primary-light);
	background: white;
	box-shadow: var(--shadow-sm);
}

.header-search-input {
	border: none;
	background: transparent;
	outline: none;
	font-family: inherit;
	font-size: 0.875rem;
	color: var(--text-primary);
	width: 140px;
	transition: width 0.3s ease;
}

.header-search-input:focus {
	width: 200px;
}

.header-search-input::placeholder {
	color: var(--text-light);
}

.header-search-btn {
	background: var(--primary);
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: background 0.3s ease;
	flex-shrink: 0;
}

.header-search-btn:hover {
	background: var(--primary-dark);
}

/* Calendar nav as links */
.calendar-nav-btn {
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	width: 40px;
	height: 40px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1.4rem;
	color: var(--text-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	line-height: 1;
}

.calendar-nav-btn:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: white;
	transform: scale(1.05);
}

/* ===========================
   HAMBURGER BUTTON
   =========================== */

.hamburger-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	color: var(--text-primary);
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.hamburger-btn:hover {
	background: white;
	border-color: var(--primary-light);
	color: var(--primary);
}

/* ===========================
   MOBILE MENU
   =========================== */

.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(15, 30, 50, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-menu-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(340px, 92vw);
	height: 100%;
	background: var(--bg-primary);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
	box-shadow: -8px 0 40px rgba(45, 90, 123, 0.15);
	pointer-events: auto;
}

.mobile-menu-overlay.open .mobile-menu-panel {
	transform: translateX(0);
}

.mobile-menu-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--border);
	background: white;
	flex-shrink: 0;
}

.mobile-menu-logo {
	font-size: 1.4rem;
}

.mobile-menu-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--bg-secondary);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	color: var(--text-secondary);
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.mobile-menu-close:hover {
	background: #fee2e2;
	color: #dc2626;
}

.mobile-menu-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1.25rem 1.25rem 0.5rem;
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	border-radius: 12px;
	padding: 0.625rem 0.625rem 0.625rem 1rem;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.mobile-menu-search:focus-within {
	border-color: var(--primary-light);
	background: white;
}

.mobile-menu-search input {
	flex: 1;
	min-width: 0;
	border: none;
	background: transparent;
	outline: none;
	font-family: inherit;
	font-size: 0.9rem;
	color: var(--text-primary);
}

.mobile-menu-search input::placeholder {
	color: var(--text-light);
}

.mobile-menu-search button {
	background: var(--primary);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s ease;
}

.mobile-menu-search button:hover {
	background: var(--primary-dark);
}

.mobile-nav {
	padding: 0.5rem 1rem;
	flex: 1;
}

.mobile-nav ul {
	list-style: none;
}

.mobile-nav a {
	display: flex;
	align-items: center;
	padding: 0.875rem 0.75rem;
	color: var(--text-primary);
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	border-radius: 10px;
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--border);
}

.mobile-nav li:last-child a {
	border-bottom: none;
}

.mobile-nav a:hover {
	background: var(--bg-secondary);
	color: var(--primary);
	padding-left: 1.1rem;
}

.mobile-menu-auth {
	padding: 1.25rem;
	border-top: 2px solid var(--border);
	background: white;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	flex-shrink: 0;
}

.mobile-menu-profile {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	background: var(--bg-secondary);
	border-radius: 12px;
	text-decoration: none;
	color: var(--text-primary);
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.mobile-menu-profile:hover {
	background: var(--border);
}

.mobile-menu-links {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.mobile-menu-links a {
	padding: 0.625rem 0.75rem;
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.9rem;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.mobile-menu-links a:hover {
	background: var(--bg-secondary);
	color: var(--primary);
}

.btn-mobile-fav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	border-radius: 10px;
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.btn-mobile-fav:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: #fff5f0;
}

.btn-mobile-login {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem;
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	border-radius: 10px;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.btn-mobile-login:hover {
	border-color: var(--primary-light);
	background: white;
}

.btn-mobile-register {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem;
	background: var(--primary);
	border-radius: 10px;
	color: white;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.2s ease;
}

.btn-mobile-register:hover {
	background: var(--primary-dark);
}

.btn-mobile-logout {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem;
	background: #fff5f5;
	border: 1.5px solid #fca5a5;
	border-radius: 10px;
	color: #dc2626;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.btn-mobile-logout:hover {
	background: #fee2e2;
}

