
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	background-attachment: fixed;
	min-height: 100vh;
	padding: 2rem;
}

a {
	color: #92162e;
	text-decoration: none;
}
a:hover, a:focus, .FV-CardList li:hover a {
	color: #cc0022;
	text-decoration: underline;
}


.FV-Container {
	max-width: 800px;
	margin: 0 auto;
}

.FV-Card {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
	margin-bottom: 2rem;
}

.FV-Card:hover {
	/*transform: translateY(-10px);*/
	box-shadow: 0 30px 60px rgba(172,37,62,0.15);
}

.FV-CardHeader {
	background: linear-gradient(135deg, #ac253e 0%, #8b1a2f 100%);
	color: white;
	padding: 2.5rem 2rem 2rem;
	position: relative;
}

.FV-CardHeader::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="75" cy="25" r="12.8" fill="rgba(255,255,255,0.07)"/><circle cx="25" cy="75" r="15" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	pointer-events: none;
}

.FV-curs-denumire {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	position: relative;
	width: 90%;
	z-index: 1;
	line-height: 1.2;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.FV-curs-titular {
	display: block;
	font-size: 1.1rem;
	font-weight: 400;
	opacity: 0.95;
	position: relative;
	z-index: 1;
	color: white;
}
.FV-curs-titular:hover, .FV-curs-titular:active {
	color: white;
}

.FV-curs-detalii {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}


.FV-CardContent {
	padding: 0 2rem 2.5rem;
	background: linear-gradient(to bottom, transparent 0%, rgba(172,37,62,0.03) 100%);
}

.FV-curs-prezentare {
	font-size: 1.1rem;
	color: #4a5568;
	margin: 2rem 0 2.5rem;
	line-height: 1.7;
}
.FV-curs-prezentare.larger {
	font-size: 1.25rem;
}

.FV-CardSection {
	margin-bottom: 2rem;
}

.FV-CardSection-title {
	color: #ac253e;
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.FV-CardSection-title::before {
	content: '✨';
	font-weight: 700;
	font-size: 1.2rem;
}

.FV-CardList {
	list-style: none;
}

.FV-CardList li {
	background: #f8fafc;
	margin-bottom: 0.75rem;
	padding: 1.25rem 1.5rem 1.25rem 3.5rem;
	border-radius: 12px;
	border-left: 4px solid #ac253e;
	transition: all 0.2s ease;
	position: relative;
	line-height: 1.5;
}

.FV-CardList li:hover {
	background: white;
	transform: translateX(5px);
	box-shadow: 0 5px 15px rgba(172,37,62,0.1);
}

.FV-CardList li .FV-MoreInfo {
	display: none;
	color: #949290;
	font-size: 0.85rem;
	margin-left: 1em;
}
.FV-CardList li:hover .FV-MoreInfo {
	display: initial;
}

/* ✅ ÎNTREBĂRI: Semn de întrebare */
.FV-CardList.FV-curs-intrebari li::before {
	content: '❓';
	color: #ac253e;
	font-size: 1.6rem;
	font-weight: bold;
	position: absolute;
	left: 1.0rem;
	top: 50%;
	transform: translateY(-50%);
}

/* 🔗 LEGĂTURI: Rămâne lanț */
.FV-CardList.FV-curs-legaturi li::before {
	content: '🔗';
	font-size: 1.2rem;
	position: absolute;
	left: 1.3rem;
	top: 50%;
	transform: translateY(-50%);
}

.FV-curs-cod {
	position: absolute;
	top: 1.25rem;
	right: 1.5rem;
	background: #949290;
	color: white;
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}


.FV-Card {
	animation: fadeInUp 0.6s ease-out;
}


.FV-curs-statut {
	display: inline-flex;
	align-items: stretch;
	height: 1.8em;
	border-radius: 0.75em;
	overflow: hidden;
	font-size: 0.875em;
	font-weight: 500;
	line-height: 1;
	margin: 0;
	box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}

.FV-curs-statut > span, .FV-curs-statut > a {
	display: inline-block;
	color: white;
	padding: 0.4em 0.8em;
	border-radius: 0 0 0 0;
}
.FV-curs-statut-an {
	background: #af1d38;
	padding-left: 1.2em;
	border-radius: 0.75em 0 0 0.75em;
}
.FV-curs-statut-semestru {
	background: #bf4057;
}
.FV-curs-statut-statut {
	background: #ac253e;
	padding-right: 1.2em;
	border-radius: 0 0.75em 0.75em 0;
}

.FV-curs-interlist {
	padding-bottom: 1em;
	color: #4a5568;
}

.FV-curs-appendix {
	padding-bottom: 0.5em;
	color: #4a5568;
}

.FV-curs-RAW {
	font-size: 0.85rem;
	color: #683f3f;
	background: #fffcf0;
}
.FV-V-valid .FV-curs-denumire::after {
	content: "✔️";
	display: inline-block;
	position: absolute;
	width: 1em;
	text-align: center;
	font-size: 1rem;
	vertical-align: top;
	border-radius: 0.5rem;
	margin-left: 1em;
	background-color: #10b981;
}
.FV-V-error .FV-curs-denumire::after {
	content: "❌";
	display: inline-block;
	position: absolute;
	width: 1em;
	text-align: center;
	font-size: 1rem;
	vertical-align: top;
	border-radius: 0.5rem;
	margin-left: 1em;
	margin-right: -2em;
	background-color: hsl(350, 100%, 65%);
}

.FV-V-warning .FV-curs-denumire::after {
	content: "⁉️";
	display: inline-block;
	position: absolute;
	width: 1em;
	text-align: center;
	font-size: 1rem;
	vertical-align: top;
	border-radius: 0.5rem;
	margin-left: 1em;
	margin-right: -2em;
	background-color: hsl(50, 100%, 65%);
}

.FV-Nav {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	font-size: 1.2rem;
}

details.FV-Selector {
	border-radius: 10px;
	margin-bottom: 2rem;
	font-size: 0.875rem;
}

details.FV-Selector[open] {
	border: 1px solid #aaa;
}

details.FV-Selector summary {
	cursor: default;
	color: #567;
	padding-left: 1em;
	border-radius: 10px;
	font-size: 1rem;
}
details.FV-Selector[open] summary {
	border-radius: 10px 10px 0 0;
	border-bottom: 1px solid #aaa;
}
details.FV-Selector summary:hover {
	background-color: #ffebee;
	color: black;
}
.FV-Selector-Content {
	padding: 1em;
}
.FV-Selector-Content h4 {
	color: #4a5568;
	font-size: 1.1rem;
	font-weight: 600;
	padding: 0;
	margin: 0.5rem 0 0.4rem 0;
}
.FV-Selector-Option {
	display: inline-block;
	color: #333;
	border: 1px solid #ac253e;
	border-radius: 0.75em;
	padding: 0.1em 1em;
	margin: 0 0.5em 0.75rem 0;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.FV-Selector-Option:hover {
	background-color: #ffebee;
}

.FV-Option-Selected, .FV-Option-Selected:hover, .FV.FV-Option-Selected:active {
	background-color: #ac253e;
	color: white;
}

.FV-NoWrap {
	display: inline-block;
}


@media (max-width: 800px) {
	body {
		padding: 0.5rem;
		background-color: red;
	}
	
	.FV-curs-denumire {
		font-size: 1.6rem;
	}
	
	.FV-CardHeader {
		padding: 1.5rem 1.0rem 1.25rem;
	}
	
	.FV-CardContent {
		padding: 0 0.5rem 2rem;
	}

	.FV-CardList li:hover {
		transform: translateX(-5px);
	}

	.FV-Nav {
		font-size: 0.8rem;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

