/* =========================
   Base / Reset
========================= */
body {
	font-family: Arial, sans-serif;
	background: linear-gradient(135deg, #f8fafc, #eef2ff);
	margin: 0;
	padding: 20px;
}

label {
	font-weight: bold;
}

input,
textarea,
select {
	width: 100%;
	padding: 8px;
	margin: 6px 0;
	box-sizing: border-box;
}

button {
	padding: 10px 20px;
	margin-top: 10px;
	cursor: pointer;
}

/* =========================
   Layout
========================= */
.container {
	max-width: 900px;
	margin: auto;
	background: white;
	padding: 20px;
	border-radius: 10px;
}

/* =========================
   User Bar
========================= */
.user-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	background: #f8f9fa;
	border-bottom: 1px solid #ddd;
	margin-bottom: 15px;
}

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

#user-pic {
	border-radius: 50%;
}

/* =========================
   Select2
========================= */
.select2-container--default
	.select2-selection--multiple
	.select2-selection__choice {
	display: inline-flex !important;
	align-items: center !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	padding: 4px 8px !important;
	border-radius: 999px !important;
}

/* remove button */
.select2-container--default
	.select2-selection--multiple
	.select2-selection__choice__remove {
	all: unset !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	height: 20px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #666 !important;
	cursor: pointer !important;
}

.select2-container--default
	.select2-selection--multiple
	.select2-selection__choice__remove:hover {
	color: #000 !important;
}

/* =========================
   Login (Google)
========================= */
.gsi-material-button {
	background-color: white;
	border: 1px solid #dadce0;
	border-radius: 4px;
	padding: 10px 16px;
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #3c4043;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: box-shadow 0.2s;
}

.gsi-material-button:hover {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gsi-material-button-icon img {
	display: block;
}

/* =========================
   Login Card (modern UI)
========================= */
.login-card {
	width: 380px;
	border-radius: 16px;
	border: 1px solid #eee;
}

.login-title {
	font-weight: 600;
	letter-spacing: 0.5px;
}

.google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid #ddd;
	background: #fff;
	transition: 0.2s;
	font-weight: 500;
}

.google-btn:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.google-icon {
	width: 18px;
	height: 18px;
}

/* =========================
   Toast / Message Box
========================= */
#message-box-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;

	display: flex;
	justify-content: center;

	pointer-events: none;
}

#message-box {
	margin-top: 10px;
	min-width: 320px;
	max-width: 600px;

	pointer-events: auto;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	border-radius: 10px;

	animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
