/* ==================== VARIABLES ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
	--primary: #FF1493;
	--primary-dark: #cc0070;
	--secondary: #00CED1;
	--accent: #FFD700;
	--dark: #0f0f1a;
	--dark-2: #1a1a2e;
	--dark-3: #16213e;
	--light: #f8f9fa;
	--danger: #e74c3c;
	--success: #2ecc71;
	--gray: #6c757d;
	--gray-light: #dee2e6;
	--glass: rgba(255, 255, 255, 0.07);
	--glass-border: rgba(255, 255, 255, 0.12);
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', 'Segoe UI', sans-serif;
	background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 40%, #16213e 100%);
	min-height: 100vh;
	color: #e0e0e0;
}

/* ==================== AUTH ==================== */
.auth-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
}

.auth-box {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 24px;
	padding: 48px 40px;
	box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	max-width: 420px;
	width: 100%;
	animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.auth-logo {
	text-align: center;
	margin-bottom: 36px;
}

.logo-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8em;
	font-weight: 800;
	color: white;
	margin: 0 auto 12px;
	box-shadow: 0 8px 24px rgba(255, 20, 147, 0.4);
}

.auth-logo h1 {
	font-size: 2.2em;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 6px;
}

.auth-logo p {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.95em;
}

.auth-form {
	display: none;
}

.auth-form.active {
	display: block;
	animation: fadeUp 0.3s ease;
}

.auth-form h2 {
	color: white;
	font-size: 1.4em;
	font-weight: 700;
	margin-bottom: 24px;
}

.input-group {
	position: relative;
	margin-bottom: 16px;
}

.input-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1em;
	pointer-events: none;
}

.input-group input {
	width: 100%;
	padding: 14px 14px 14px 42px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-sm);
	color: white;
	font-size: 0.95em;
	font-family: 'Inter', sans-serif;
	transition: border-color 0.2s, background 0.2s;
}

.input-group input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.input-group input:focus {
	outline: none;
	border-color: var(--primary);
	background: rgba(255, 20, 147, 0.06);
}

.btn-primary {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, var(--primary), #c0007a);
	color: white;
	border: none;
	border-radius: var(--radius-sm);
	font-size: 1em;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	cursor: pointer;
	margin-bottom: 16px;
	transition: transform 0.15s, box-shadow 0.15s;
	box-shadow: 0 4px 20px rgba(255, 20, 147, 0.35);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(255, 20, 147, 0.5);
}

.btn-primary:active {
	transform: translateY(0);
}

.auth-switch {
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.9em;
	margin-bottom: 12px;
}

.auth-switch a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.auth-hint {
	text-align: center;
	margin-top: 16px;
	padding: 12px;
	background: rgba(255, 215, 0, 0.07);
	border: 1px solid rgba(255, 215, 0, 0.2);
	border-radius: var(--radius-sm);
	color: rgba(255, 215, 0, 0.8);
}

.error-message {
	display: none;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-size: 0.88em;
	margin-top: 8px;
	background: rgba(231, 76, 60, 0.15);
	border: 1px solid rgba(231, 76, 60, 0.3);
	color: #ff6b6b;
}

.error-message.show {
	display: block;
	animation: fadeUp 0.2s ease;
}

/* ==================== NAVBAR ==================== */
.navbar {
	background: rgba(15, 15, 26, 0.9);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--glass-border);
	padding: 0 40px;
	height: 64px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
}

.nav-brand {
	font-size: 1.5em;
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
}

.nav-link {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 0.9em;
	font-weight: 500;
	transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
	color: white;
	background: var(--glass);
}

.badge {
	background: var(--danger);
	color: white;
	border-radius: 20px;
	padding: 2px 7px;
	font-size: 0.75em;
	margin-left: 4px;
	font-weight: 700;
}

.user-info {
	display: flex;
	gap: 12px;
	align-items: center;
	border-left: 1px solid var(--glass-border);
	padding-left: 16px;
	margin-left: 8px;
}

.user-info span {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9em;
	font-weight: 500;
}

.btn-logout {
	color: rgba(255, 255, 255, 0.45) !important;
	text-decoration: none;
	font-size: 0.85em;
	transition: color 0.2s;
}

.btn-logout:hover {
	color: var(--danger) !important;
}

/* ==================== CONTAINER / PAGES ==================== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.page-header {
	margin-bottom: 32px;
}

.page-header h2 {
	font-size: 2em;
	font-weight: 800;
	color: white;
	margin-bottom: 6px;
}

.page-subtitle {
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.95em;
}

/* ==================== CALENDRIER ==================== */
.calendar-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 24px;
}

.btn-nav {
	padding: 10px 22px;
	background: var(--glass);
	border: 1px solid var(--glass-border);
	color: white;
	border-radius: var(--radius-sm);
	cursor: pointer;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	transition: background 0.2s, transform 0.15s;
}

.btn-nav:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-1px);
}

.month-label {
	color: white;
	font-size: 1.3em;
	font-weight: 700;
	min-width: 220px;
	text-align: center;
}

.calendar-container {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	padding: 24px;
	margin-bottom: 24px;
}

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

.day-header {
	text-align: center;
	font-weight: 700;
	color: var(--primary);
	padding: 10px 0;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.day-cell {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.9em;
	transition: transform 0.15s, box-shadow 0.15s;
	user-select: none;
}

.day-cell:hover:not(.empty):not(.past) {
	transform: scale(1.08);
}

.day-cell.empty {
	cursor: default;
}

.day-cell.neutral {
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.6);
}

.day-cell.neutral:hover {
	background: rgba(255, 255, 255, 0.12);
}

.day-cell.available {
	background: linear-gradient(135deg, #2ecc71, #27ae60);
	color: white;
	box-shadow: 0 2px 12px rgba(46, 204, 113, 0.3);
}

.day-cell.unavailable {
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	box-shadow: 0 2px 12px rgba(231, 76, 60, 0.3);
}

.day-cell.selected {
		outline: 2px solid var(--primary);
		outline-offset: 2px;
		box-shadow: 0 0 14px rgba(255, 20, 147, 0.5);
	}

	/* Legend */
	.legend {
		display: flex;
		justify-content: center;
		gap: 20px;
		margin-top: 25px;
		flex-wrap: wrap;
	}

	.legend-item {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 0.9em;
		color: rgba(255, 255, 255, 0.7);
	}

	.legend-dot {
		width: 12px;
		height: 12px;
		border-radius: 50%;
	}

	.legend-dot.available {
		background: var(--success);
		box-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
	}

	.legend-dot.neutral {
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid rgba(255, 255, 255, 0.1);
	}

	.help-text {
		text-align: center;
		color: rgba(255, 255, 255, 0.35);
		font-size: 0.88em;
		padding: 12px;
	}

	/* ==================== MODAL ==================== */
	.modal {
		position: fixed;
		z-index: 1000;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.75);
		display: none;
		justify-content: center;
		align-items: center;
		backdrop-filter: blur(4px);
	}

	.modal-content {
		background: #1a1a2e;
		border: 1px solid var(--glass-border);
		padding: 40px 36px;
		border-radius: 20px;
		max-width: 420px;
		width: 90%;
		position: relative;
		box-shadow: var(--shadow-lg);
		animation: fadeUp 0.25s ease;
	}

	.modal-dates {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		margin-bottom: 20px;
	}

	.modal-content h3 {
		color: white;
		font-size: 1.2em;
		margin-bottom: 16px;
	}

	.modal-content .form-field label {
		color: rgba(255, 255, 255, 0.6);
		font-size: 0.85em;
	}

	.modal-content .form-field input {
		padding: 10px 12px;
		background: rgba(255, 255, 255, 0.07);
		border: 1px solid rgba(255, 255, 255, 0.15);
		border-radius: 8px;
		color: white;
		font-size: 0.9em;
		font-family: 'Inter', sans-serif;
		width: 100%;
	}

	.modal-content .form-field input:focus {
		outline: none;
		border-color: var(--primary);
	}

	.close {
		position: absolute;
		right: 20px;
		top: 16px;
		font-size: 1.8em;
		cursor: pointer;
		color: rgba(255, 255, 255, 0.4);
		line-height: 1;
		transition: color 0.2s;
	}

	.close:hover {
		color: white;
	}

	.selection-info {
		color: rgba(255, 255, 255, 0.6);
		font-size: 0.9em;
		margin-bottom: 24px;
		padding: 12px;
		background: var(--glass);
		border-radius: var(--radius-sm);
		border: 1px solid var(--glass-border);
	}

	.selection-buttons {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.btn-available {
		background: linear-gradient(135deg, var(--success), #27ae60);
		color: white;
		padding: 15px;
		border: none;
		border-radius: var(--radius-sm);
		font-weight: 700;
		font-size: 1em;
		cursor: pointer;
		font-family: 'Inter', sans-serif;
		transition: transform 0.15s, box-shadow 0.15s;
		box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
	}

	.btn-available:hover {
		transform: translateY(-2px);
		box-shadow: 0 8px 24px rgba(46, 204, 113, 0.4);
	}

	.btn-unavailable {
		background: linear-gradient(135deg, var(--danger), #c0392b);
		color: white;
		padding: 15px;
		border: none;
		border-radius: var(--radius-sm);
		font-weight: 700;
		font-size: 1em;
		cursor: pointer;
		font-family: 'Inter', sans-serif;
		transition: transform 0.15s, box-shadow 0.15s;
		box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
	}

	.btn-unavailable:hover {
		transform: translateY(-2px);
		box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4);
	}

	/* ==================== NOTIFICATIONS ==================== */
	.notifications-list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 20px;
	}

	.notification-card {
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid var(--glass-border);
		border-left: 4px solid var(--success);
		border-radius: var(--radius-sm);
		padding: 20px;
		transition: transform 0.2s;
	}

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

	.notification-card.unavailable {
		border-left-color: var(--danger);
	}

	.notif-header {
		font-weight: 700;
		color: white;
		margin-bottom: 10px;
	}

	.notif-date {
		color: rgba(255, 255, 255, 0.5);
		font-size: 0.9em;
		margin-bottom: 8px;
	}

	.notif-message {
		color: rgba(255, 255, 255, 0.55);
		font-size: 0.88em;
	}

	/* ==================== ADMIN ==================== */
	
	.admin-dashboard-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 20px;
		margin-bottom: 30px;
	}

	.admin-card-btn {
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid var(--glass-border);
		border-radius: var(--radius);
		padding: 30px 20px;
		text-align: center;
		cursor: pointer;
		transition: all 0.3s ease;
		color: white;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 180px;
	}

	.admin-card-btn:hover {
		transform: translateY(-5px);
		background: rgba(255, 255, 255, 0.1);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
		border-color: var(--primary);
	}

	.admin-icon {
		font-size: 3em;
		margin-bottom: 15px;
		filter: drop-shadow(0 4px 8px rgba(255, 20, 147, 0.3));
	}

	.admin-card-btn h3 {
		font-size: 1.2em;
		font-weight: 700;
		margin-bottom: 5px;
	}

	.admin-card-btn p {
		font-size: 0.85em;
		color: rgba(255, 255, 255, 0.5);
	}

	/* Admin Modals */
	.admin-modal {
		display: none;
		position: fixed;
		z-index: 2000;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.8);
		backdrop-filter: blur(5px);
		justify-content: center;
		align-items: center;
		padding: 20px;
	}

	.admin-modal.show {
		display: flex;
		animation: fadeInModal 0.2s ease;
	}

	.admin-modal-content {
		background: var(--dark-2);
		border: 1px solid var(--glass-border);
		border-radius: var(--radius);
		padding: 40px;
		width: 100%;
		max-width: 500px;
		max-height: 90vh;
		overflow-y: auto;
		position: relative;
		box-shadow: var(--shadow-lg);
	}

	.admin-modal-content.modal-large {
		max-width: 800px;
	}

	.admin-modal-close {
		position: absolute;
		top: 20px;
		right: 25px;
		color: rgba(255, 255, 255, 0.5);
		font-size: 2em;
		font-weight: bold;
		cursor: pointer;
		transition: color 0.2s;
		line-height: 1;
	}

	.admin-modal-close:hover {
		color: var(--danger);
	}

	@keyframes fadeInModal {
		from { opacity: 0; transform: scale(0.95); }
		to { opacity: 1; transform: scale(1); }
	}

	.admin-section-header {
		margin-bottom: 24px;
	}

	.admin-section-header h3 {
		color: white;
		font-size: 1.2em;
		font-weight: 700;
		margin-bottom: 4px;
	}

	.admin-section-header small {
		color: rgba(255, 255, 255, 0.4);
		font-size: 0.85em;
	}

	/* Best dates grid */
	.best-dates-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 14px;
	}

	.best-date-card {
		padding: 18px;
		border-radius: var(--radius-sm);
		text-align: center;
		color: white;
		cursor: pointer;
		transition: transform 0.2s, box-shadow 0.2s;
	}

	.best-date-card:hover {
		transform: translateY(-3px);
		box-shadow: var(--shadow);
	}

	.best-date-card.high {
		background: linear-gradient(135deg, #2ecc71, #27ae60);
	}

	.best-date-card.medium {
		background: linear-gradient(135deg, #f39c12, #e67e22);
	}

	.best-date-card.low {
		background: linear-gradient(135deg, #e74c3c, #c0392b);
	}

	.date-label {
		font-size: 0.8em;
		font-weight: 500;
		opacity: 0.9;
		margin-bottom: 6px;
	}

	.percentage {
		font-size: 2em;
		font-weight: 800;
		margin: 6px 0;
	}

	.count {
		font-size: 0.85em;
		opacity: 0.85;
	}

	.unavailable-list {
		margin-top: 8px;
		font-size: 0.78em;
		opacity: 0.85;
	}

	.use-date-btn {
		margin-top: 10px;
		padding: 6px 12px;
		background: rgba(255, 255, 255, 0.2);
		border: 1px solid rgba(255, 255, 255, 0.4);
		color: white;
		border-radius: 6px;
		cursor: pointer;
		font-size: 0.78em;
		font-weight: 600;
		font-family: 'Inter', sans-serif;
		transition: background 0.2s;
	}

	.use-date-btn:hover {
		background: rgba(255, 255, 255, 0.35);
	}

	/* Create event form */
	.event-creation-form {
		display: grid;
		gap: 16px;
	}

	.form-field {
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.form-field label {
		color: rgba(255, 255, 255, 0.7);
		font-size: 0.9em;
		font-weight: 500;
	}

	.form-field input,
	.form-field textarea {
		padding: 12px 14px;
		background: rgba(255, 255, 255, 0.07);
		border: 1px solid rgba(255, 255, 255, 0.15);
		border-radius: var(--radius-sm);
		color: white;
		font-size: 0.95em;
		font-family: 'Inter', sans-serif;
		transition: border-color 0.2s;
	}

	.form-field input:focus,
	.form-field textarea:focus {
		outline: none;
		border-color: var(--primary);
	}

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

	/* Events list */
	.events-list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 16px;
	}

	.event-card {
		background: rgba(255, 255, 255, 0.05);
		border-radius: var(--radius-sm);
		padding: 20px;
		border-left: 4px solid var(--primary);
	}

	.event-date {
		font-weight: 700;
		color: white;
		margin-bottom: 8px;
	}

	.event-created {
		font-size: 0.8em;
		color: rgba(255, 255, 255, 0.35);
		margin-top: 6px;
	}

	.stat-good {
		color: #2ecc71;
	}

	.stat-bad {
		color: #e74c3c;
	}

	.empty-msg {
		color: rgba(255, 255, 255, 0.4);
		text-align: center;
		padding: 20px 0;
		font-size: 0.95em;
	}

	.event-message {
		color: rgba(255, 255, 255, 0.55);
		font-size: 0.9em;
		margin-bottom: 8px;
	}

	.event-stats {
		font-size: 0.88em;
		color: rgba(255, 255, 255, 0.5);
	}

	/* Users list */
	.users-list {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.user-row {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 14px 16px;
		background: var(--glass);
		border: 1px solid var(--glass-border);
		border-radius: var(--radius-sm);
	}

	.user-name {
		flex: 1;
		color: white;
		font-weight: 500;
	}

	.user-role {
		padding: 3px 10px;
		border-radius: 20px;
		font-size: 0.8em;
		font-weight: 600;
	}

	.role-admin {
		background: rgba(255, 20, 147, 0.2);
		color: var(--primary);
		border: 1px solid var(--primary);
	}

	.role-user {
		background: rgba(0, 206, 209, 0.15);
		color: var(--secondary);
		border: 1px solid var(--secondary);
	}

	.btn-promote {
		padding: 6px 12px;
		background: rgba(255, 20, 147, 0.15);
		border: 1px solid var(--primary);
		color: var(--primary);
		border-radius: 6px;
		cursor: pointer;
		font-size: 0.82em;
		font-weight: 600;
		font-family: 'Inter', sans-serif;
		transition: background 0.2s;
	}

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

	/* Export / Import */
	.data-actions {
		display: flex;
		gap: 12px;
		flex-wrap: wrap;
	}

	.btn-export,
	.btn-import {
		padding: 12px 22px;
		border-radius: var(--radius-sm);
		font-size: 0.9em;
		font-weight: 600;
		font-family: 'Inter', sans-serif;
		cursor: pointer;
		transition: transform 0.15s, box-shadow 0.15s;
		border: none;
	}

	.btn-export {
		background: linear-gradient(135deg, var(--secondary), #009999);
		color: white;
		box-shadow: 0 4px 16px rgba(0, 206, 209, 0.25);
	}

	.btn-import {
		background: linear-gradient(135deg, #8e44ad, #6c3483);
		color: white;
		box-shadow: 0 4px 16px rgba(142, 68, 173, 0.25);
	}

	.btn-export:hover,
	.btn-import:hover {
		transform: translateY(-2px);
	}

	/* ==================== TOAST ==================== */
	.toast {
		position: fixed;
		bottom: 30px;
		left: 50%;
		transform: translateX(-50%) translateY(80px);
		background: rgba(20, 20, 40, 0.95);
		color: white;
		padding: 14px 28px;
		border-radius: 50px;
		font-weight: 600;
		font-size: 0.95em;
		border: 1px solid var(--glass-border);
		box-shadow: var(--shadow);
		z-index: 9999;
		transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
		pointer-events: none;
	}

	.toast.show {
		transform: translateX(-50%) translateY(0);
	}

	/* ==================== RESPONSIVE ==================== */
	@media (max-width: 768px) {
		.navbar {
			padding: 0 16px;
			flex-wrap: wrap;
			height: auto;
			padding-top: 12px;
			padding-bottom: 12px;
			gap: 12px;
		}

		.container {
			padding: 24px 16px;
		}

		.auth-box {
			padding: 32px 24px;
		}

		.best-dates-grid {
			grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		}

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

		.month-label {
			min-width: 160px;
			font-size: 1.1em;
		}
	}

	/* TARGET MONTHS */
	.month-row {
		display: flex;
		justify-content: space-between;
		align-items: center;
		background: rgba(255, 255, 255, 0.03);
		padding: 12px 16px;
		border-radius: 10px;
		border: 1px solid rgba(255, 255, 255, 0.08);
	}

	.month-name {
		color: white;
		font-weight: 600;
	}

	/* ADMIN DASHBOARD UI ENHANCEMENTS */
	.admin-dashboard {
		display: flex;
		flex-direction: column;
		gap: 30px;
		max-width: 800px;
		margin: 0 auto;
	}

	.admin-col {
		display: flex;
		flex-direction: column;
		gap: 30px;
	}

	.open-month-controls {
		display: flex;
		gap: 12px;
		margin-bottom: 20px;
	}

	.glass-input {
		background: rgba(255, 255, 255, 0.05) !important;
		border: 1px solid rgba(255, 255, 255, 0.1) !important;
		color: white !important;
		border-radius: 8px;
		padding: 10px 14px;
		flex: 1;
	}

	.btn-sm {
		margin-bottom: 0;
		padding: 10px 20px !important;
		width: auto;
	}

	.highlight-section {
		border: 1px solid rgba(46, 204, 113, 0.4);
		background: rgba(46, 204, 113, 0.02);
	}

	/* User Avatars */
	.user-avatar {
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background: linear-gradient(135deg, var(--primary), var(--secondary));
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: bold;
		color: white;
		font-size: 0.9em;
	}

	.user-info-group {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	/* Progress bars for best dates */
	.progress-bg {
		width: 100%;
		height: 8px;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 4px;
		margin-top: 10px;
		overflow: hidden;
		position: relative;
	}

	.progress-fill {
		height: 100%;
		background: linear-gradient(90deg, var(--primary), var(--secondary));
		border-radius: 4px;
		transition: width 0.5s ease;
	}

	.best-date-card {
		transition: transform 0.2s, background 0.2s, border 0.2s;
		cursor: pointer;
		position: relative;
		overflow: hidden;
	}

	.best-date-card.high .progress-fill {
		background: var(--success);
	}

	.best-date-card.medium .progress-fill {
		background: #f39c12;
	}

	.best-date-card.low .progress-fill {
		background: var(--danger);
	}

	.best-date-card:hover {
		transform: translateY(-2px);
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.2);
	}

	/* ULTRA CLEAN ADMIN OVERRIDE */
	.admin-section {
		background: rgba(20, 20, 30, 0.6) !important;
		backdrop-filter: blur(25px) !important;
		border: 1px solid rgba(255, 255, 255, 0.05) !important;
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
		border-radius: 20px !important;
		padding: 35px !important;
	}

	.page-header h2 {
		font-size: 2.5em;
		font-weight: 800;
		text-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
		letter-spacing: -1px;
	}

	.admin-section-header h3 {
		font-size: 1.4em;
		font-weight: 700;
		color: white;
		margin-bottom: 6px;
		letter-spacing: -0.5px;
	}

	.admin-section-header small {
		color: rgba(255, 255, 255, 0.45);
		font-size: 0.9em;
	}

	/* Event Creation input emphasis */
	#create-event-section {
		background: linear-gradient(145deg, rgba(255, 20, 147, 0.05), rgba(20, 20, 30, 0.6)) !important;
		border: 1px solid rgba(255, 20, 147, 0.2) !important;
	}