body {
	color: #fff !important;
}

.desktopView {
	display: block;
}

.mobileView {
	display: none;
}

.dropdown-menu.show {
	background: #030920 !important;
	border: 1px solid #313658 !important;
}

#mainAdminTabsContent {
	background-color: #020518;
	border-radius: 24px;
	border: 1px solid #313658;
	margin: 0 12px 0 0;

}

/* --- LAYOUT WRAPPER --- */
.admin-wrapper {
	display: flex;
	width: 100%;
	min-height: 100vh;
	overflow-x: hidden;
}

/* --- SIDEBAR (Stânga) --- */
.admin-sidebar {
	width: 260px;
	background-color: #060e2e;
	/* Culoarea ta de fundal închis */
	border-right: 1px solid #313658;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	position: sticky;
	top: 0;
	height: 100vh;
	z-index: 1000;
	padding: 20px 10px;
}

.admin-sidebar.collapsed {
	width: 80px;
}

/* Ascundem textul când e collapsed */
.admin-sidebar.collapsed .nav-text,
.admin-sidebar.collapsed .logo-text {
	display: none;
}

.admin-sidebar.collapsed .sidebar-header {
	justify-content: center;
}

/* Sidebar Links */
.sidebar-nav {
	list-style: none;
	padding: 0;
	margin-top: 20px;
	flex-grow: 1;
}

.sidebar-nav .nav-item {
	margin-bottom: 8px;
}

.sidebar-nav .nav-link {
	color: #fff !important;
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border-radius: 12px;
	transition: background 0.2s;
	text-decoration: none;
	white-space: nowrap;
	/* Previne ruperea textului */
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
	background-color: rgba(0, 255, 255, 0.1);
	color: #00ffff !important;
}

.sidebar-nav .material-symbols-rounded {
	margin-right: 12px;
	font-size: 24px;
}

.admin-sidebar.collapsed .sidebar-nav .material-symbols-rounded {
	margin-right: 0;
}

.admin-sidebar.collapsed .nav-link {
	justify-content: center;
	padding: 12px;
}

/* --- MAIN CONTENT AREA --- */
.admin-main {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	width: calc(100% - 260px);
	/* Ajustare lățime */
	transition: width 0.3s ease;
}

.admin-sidebar.collapsed+.admin-main {
	width: calc(100% - 80px);
}

/* --- TOPBAR (Sus - Contextual) --- */
.admin-topbar {
	height: 70px;
	background-color: rgba(6, 14, 46, 0.4);
	border-bottom: 1px solid #313658;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* Elemente stânga - dreapta */
	padding: 0 24px;
	position: sticky;
	top: 0;
	z-index: 900;
	backdrop-filter: blur(10px);
}

.topbar-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.topbar-center {
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Toggle Button Sidebar */
#sidebarToggle {
	background: transparent;
	border: none;
	color: #a7ffff;
	cursor: pointer;
	padding: 18px 20px;
}

/* Tab-urile din Topbar (pentru Manage Event) */
.topbar-tabs .nav-link {
	color: #fff;
	padding: 8px 16px;
	border-bottom: 2px solid transparent;
	border-radius: 0;
}

.topbar-tabs .nav-link.active,
.topbar-tabs .nav-link:hover {
	color: #00ffff;
	border-bottom-color: #00ffff;
	background: transparent !important;
}


.mobileCheckin_event_select {
	display: none;
}

/* Mobile Adjustments */
@media only screen and (max-width: 992px) {
	.mobileCheckin_event_select {
		display: block;
		margin: 0 auto;
	}

	.admin-sidebar {
		display: none;
		/* Ascundem sidebar pe mobile, păstrăm vechiul nav */
	}

	.admin-main {
		width: 100%;
	}

	.admin-topbar {
		display: none;
		/* Ascundem topbar-ul nou pe mobile */
	}

	.fab-container {
		position: fixed;
		bottom: 20px;
		right: 20px;
		z-index: 1000;
	}

	.fab-button {
		border: none !important;
		background-color: #a7ffff !important;
		color: #000 !important;
		width: 56px !important;
		height: 56px !important;
		border-radius: 50% !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
		cursor: pointer;
		font-size: 24px !important;
		transition: transform 0.2s !important;
		padding: .5rem 1rem !important;
	}

	.fab-button:hover {
		transform: scale(1.1);
	}

	.desktopView {
		display: none;
	}

	.mobileView {
		display: block;
	}

	#mainAdminTabsContent,
	#mainAdminSubTabsContent {
		height: unset;
		margin: 0;
		background-color: unset;
		border-radius: unset;
		border: none;
	}

	#fc-export-checkin-btn-mobile {
		display: none;
	}

}


.sidebar-header-container {
	padding: 0 10px 20px 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* Butonul de toggle din interiorul sidebar-ului */
#sidebarToggleInside {
	background: transparent;
	border: none;
	color: #a7ffff;
	/* Cyan-ul tău */
	cursor: pointer;
	padding: 0;
	margin-bottom: 16px;
	/* Spațiu până la logo */
	display: block;
}

.logo-area {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	overflow: hidden;
	/* Ascunde textul frumos la collapse */
	white-space: nowrap;
}

/* Ajustare Avatar */
.admin-sidebar .avatar-circle {
	width: 32px;
	height: 32px;
	font-size: 14px;
	background-color: #007bff;
	/* Sau culoarea ta preferată */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	flex-shrink: 0;
}

/* Când sidebar-ul e restrâns (collapsed) */
.admin-sidebar.collapsed .logo-text {
	display: none;
}

.admin-sidebar.collapsed .sidebar-header-container {
	text-align: center;
	padding: 0 0 20px 0;
}

.admin-sidebar.collapsed #sidebarToggleInside {
	margin: 0 auto 16px auto;
	/* Centrat */
}

.admin-sidebar.collapsed .logo-area {
	justify-content: center;
}

/* --- TOPBAR REORGANIZAT --- */
.admin-topbar {
	/* ... stilurile vechi rămân (height, background etc) ... */
	justify-content: space-between;
	/* Împarte stânga/dreapta */
	padding: 0 32px;
	/* Mai mult spațiu lateral */
}

/* Tab-urile lipite în stânga */
.topbar-left {
	display: flex;
	align-items: center;
	height: 100%;
}

.topbar-tabs .nav-link {
	height: 70px;
	/* Înălțimea topbar-ului */
	display: flex;
	align-items: center;
	border-bottom: 3px solid transparent;
	color: #aeb9cc;
	/* Un gri deschis, nu alb complet, pentru inactive */
	font-weight: 500;
	padding: 0 20px;
}

.topbar-tabs .nav-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

.topbar-tabs .nav-link.active {
	color: #00ffff;
	border-bottom-color: #00ffff;
	background: transparent !important;
}

/* Zona de Search + Action în dreapta */
.topbar-right {
	display: flex;
	align-items: center;
	gap: 16px;
	/* Spațiu între Search și Buton */
}

/* Search input mai stilizat */
.search-compact {
	background: rgba(6, 14, 46, 0.6) !important;
	border: 1px solid #313658 !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 8px 16px !important;
	width: 250px !important;
	transition: all 0.2s;
}

.search-compact:focus {
	width: 320px !important;
	/* Se lungește puțin când scrii */
	border-color: #00ffff !important;
	background: rgba(6, 14, 46, 0.9) !important;
}


/*Navbar*/
.admin-topnav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	background-color: rgba(6, 14, 46, 0.4);
	margin-bottom: 24px;
	border: 1px solid #313658;
	border-radius: 18px;
}

.admin-topnav .avatar-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #007bff;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	flex-shrink: 0;
}

.admin-topnav .nav {
	flex-grow: 1;
}

.admin-topnav .nav-link {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
}

.admin-topnav .nav-link.active,
.admin-topnav .nav-link:hover {
	color: #00ffff;
	border-bottom-color: #00ffff;
}

.admin-topnav .dropdown-toggle::after {
	display: none;
	/* Ascundem săgeata default de la dropdown */
}

.admin-topnav .dropdown-menu,
.dropdown-menu {
	background-color: #1a294d !important;
	border: none !important;
}

.admin-topnav .dropdown-item,
.dropdown-item {
	color: #fff !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 12px 24px !important;
}

.admin-topnav .dropdown-item:hover,
.admin-topnav .dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:focus {
	background-color: #1a294d !important;
	color: #00ffff !important;
}

/*Dropdown*/
.dropdown-item-active {
	background-color: #1a294d;
	color: #00ffff;
	font-weight: bold;
}

.dropdown-toggle::after {
	display: none !important;
}

/*Text*/
.material-symbols-rounded {
	vertical-align: middle;
	padding: 0 4px;
}

.detailsUppercase {
	margin-bottom: 0;
	color: #94a3b8;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}

.uppercaseP {
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 0.5em;
	font-size: 0.8em;
}

/*Buttons*/
.otherButton {
	border: none !important;
	color: #a7ffff !important;
	background-color: transparent !important;
	padding: 8px !important;
	width: fit-content !important;
	transition: none !important;
}

.otherButton:hover {
	border: 1px solid #313658;
	color: #a7ffff;
	background-color: transparent !important;
	border-radius: 8px !important;
	padding: 8px !important;
	transition: none !important;
	width: fit-content !important;
}

.otherFullButton,
.otherFullButton:hover,
.otherFullButtonGhost:hover {
	border: none !important;
	background-color: #a7ffff !important;
	color: #000 !important;
	font-weight: bold !important;
	padding: 8px 16px !important;
	border-radius: 12px !important;
	width: fit-content !important;
	transition: none;
}

.otherFullButtonGhost {
	border: 1px solid #313658 !important;
	background-color: transparent !important;
	color: #a7ffff !important;
	font-weight: bold !important;
	padding: 8px 16px !important;
	border-radius: 12px !important;
	width: fit-content !important;
	transition: none;
}

.justLikeLink {
	background-color: transparent !important;
	border: none !important;
	color: #a7ffff !important;
	text-align: left;
	padding: .5rem 0 !important;
	display: flex !important;
	align-items: center;
	gap: 8px;
	width: fit-content !important;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.justLikeLink:hover {
	text-decoration: underline;
	cursor: pointer;
}

/*Modals*/
.modal-content {
	background-color: #020518 !important;
	box-shadow: 0px 0px 12px 2px rgba(0, 255, 255, 0.3) !important;
}

.modal-header {
	padding: 1rem 1rem 0 !important;
	border: none !important;
	justify-content: space-between;
}

.modal-footer {
	padding: 0 1rem !important;
	border: none !important;
	justify-content: center !important;
}

.modal-title {
	color: cyan;
	font-weight: 900;
	font-size: 28px !important;
}

.modal-body {
	color: #fff;
}

/*Tabs*/
.nav-link {
	color: #fff !important;
	padding: 12px !important;
}

.nav-link:hover,
.nav-link.active {
	background-color: transparent !important;
	color: #a7ffff !important;
	padding: 12px !important;
	border-radius: 0 !important;
}

/*Tables*/
.table-dark {
	--bs-table-hover-bg: none !important;
}

.table,
.table tr {
	background-color: transparent !important;
	border: none !important;
}

.table th,
.table td {
	background-color: transparent !important;
	border-top: none !important;
	border-right: none !important;
	border-bottom: 1px solid #313658 !important;
	border-left: none !important;
	text-align: center;
	vertical-align: middle !important;
	padding: 1rem !important;
}

.atendeeTable .tableStyling {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.tableStyling th,
.tableStyling td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

.tableStyling th {
	background-color: #f2f2f2;
}

/*pentru mobile, tabel ca si carduri*/
.tableCards {
	background: rgba(6, 14, 46, 0.4);
	margin: 24px 12px;
	padding: 8px 12px 20px;
	border-radius: 12px;
	box-shadow: 0px 0px 6px 0px rgba(0, 255, 255, 0.3);
}

.tableCards th {
	text-align: left;
}

.tableCards td {
	text-align: right;
}

/*Checkin Tab*/
.justScannedPerson {
	color: #fff;
	margin-bottom: 0.2em;
	font-size: 1.1em;
}

.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 34px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 50%;
}

input:checked+.slider {
	background-color: #2196F3;
}

input:focus+.slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/*Cards*/
.card {
	border: 1px solid #313658 !important;
	background: transparent !important;
}

.card-title {
	color: cyan !important;
	font-weight: bold !important;
}

.card-subtitle {
	color: #fff !important;
	padding-bottom: 6px;
}

.card-text {
	color: #fff !important;
}

.cardIncasari {
	padding: 12px;
	width: fit-content !important;
}

/*Inputs*/
input.searchInput,
input.searchInput:focus-visible {
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	border-bottom: 1px solid #313658 !important;
	padding: 16px !important;
	background: transparent;
	color: #a7ffff;
	margin: 0;
	outline: none;
}

input.searchInputOther,
input.searchOther:focus-visible {
	border: 1px solid #313658 !important;
	border-radius: 12px !important;
	padding: 16px !important;
	background: rgba(6, 14, 46, 0.4);
	color: #a7ffff;
	margin: 0;
	outline: none;
}

input.writeInput,
select.dropdownSelect {
	border: 1px solid #313658 !important;
	border-radius: 12px !important;
	padding: .8rem 1.5rem;
	margin: 12px 0 0;
	background: rgba(6, 14, 46, 0.4);
	color: #a7ffff;
}

label {
	color: #a7ffff;
}

.fc-am-form-container {
	max-width: 500px;
	box-shadow: 0px 0px 12px 2px rgba(0, 255, 255, 0.3) !important;
	border-radius: 24px;
	padding: 16px 32px;
	margin: 0 auto;
}

.inputAdd {
	width: 100%;
	padding: 8px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/*Other*/
#eventDetailsTab {
	padding: 12px 0 24px;
}

/*Responsive containers*/

@media only screen and (max-width: 580px) {
	.searchInputOther {
		margin: 0 0 12px;
	}

	.mobile-event-cards .card {
		padding: 12px;
		border: 1px solid #a7ffff;
		border-radius: 12px;
		margin-bottom: 16px;
		text-decoration: none;
		display: block;
	}

	.mobile-event-cards .card-title {
		font-size: 1.2rem;
		margin-bottom: 8px;
	}

	.mobile-event-cards .card-subtitle,
	.mobile-event-cards .card-text {
		font-size: 0.9rem;
		margin-bottom: 4px;
	}

	.mobileView .searchInput {
		width: 100% !important;
	}
}

/* --- PWA Custom Toast CSS --- */
#pwa-install-toast {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 400px;
	background: rgba(2, 5, 24, 0.95);
	/* Culoarea ta dark theme */
	border: 1px solid #76ffff;
	/* Culoarea neon din tema ta */
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	padding: 15px;
	z-index: 99999;
	/* Să fie peste tot */
	animation: slideUp 0.5s ease-out;
	backdrop-filter: blur(10px);
}

.pwa-content {
	display: flex;
	align-items: center;
	gap: 15px;
}

.pwa-icon img {
	width: 50px;
	height: 50px;
	border-radius: 10px;
}

.pwa-text h3 {
	margin: 0;
	font-size: 16px;
	color: #fff;
	font-weight: 700;
}

.pwa-text p {
	margin: 4px 0 0;
	font-size: 12px;
	color: #ccc;
}

.pwa-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-left: auto;
	/* Împinge butoanele în dreapta */
}

#pwa-install-btn {
	background: #76ffff;
	color: #020518;
	border: none;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 12px;
	cursor: pointer;
}

#pwa-dismiss-btn {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 10px;
	cursor: pointer;
	text-align: center;
}

@keyframes slideUp {
	from {
		bottom: -100px;
		opacity: 0;
	}

	to {
		bottom: 20px;
		opacity: 1;
	}
}

/* Ascundem badge-ul când e lipit de body (ca să nu apară dublat sau plutitor) */
body>.grecaptcha-badge {
	display: none !important;
}

/* Când badge-ul este mutat în containerul nostru, îl facem vizibil și static */
.fc-recaptcha-badge-wrapper .grecaptcha-badge {
	display: block !important;
	position: relative !important;
	/* Nu mai e fixed */
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	top: auto !important;
	width: 256px !important;
	/* Lățimea standard Google */
	height: 60px !important;
	box-shadow: none !important;
	/* Elementor scoate umbra de obicei, arată mai clean */
	transition: all 0.3s ease !important;
	transform: scale(0.9);
	/* Opțional: îl facem puțin mai mic să încapă bine */
	transform-origin: center top;
}

/* Stil pentru inputul care are eroare */
/* Stil pentru câmpul cu eroare */
.fc-input-error {
    border-color: #ff4d4d !important; /* Bordură roșie */
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.5) !important;
}

/* Stil pentru mesajul de eroare de sub câmp */
.fc-error-message {
    color: #ff4d4d;
    font-size: 0.85em;
    margin-top: 4px;
    font-weight: 500;
    display: block;
}