	* { box-sizing: border-box; margin: 0; padding: 0; }

	html { scrollbar-gutter: stable; }
		
    body {
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
		background: #f4f6f9;
		color: #334155;
		min-height: 100vh;
		padding-bottom: 30px;
		padding-top: 80px;
    }
		
    .container { 
		max-width: 900px; 
		margin: 20px auto; 
		background: white; 
		padding: 20px; 
		border-radius: 12px; 
		box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
	}

	.btn-submit { 
		width: 100%; 
		padding: 14px; 
		background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); 
		color: white; 
		border: none; 
		border-radius: 10px; 
		font-size: 16px; 
		font-weight: 700;
		cursor: pointer; 
		box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
		transition: transform 0.15s ease, box-shadow 0.15s ease;
		margin-top: 8px;
	}

	.btn-submit:active { transform: scale(0.98); }
	.btn-submit:hover { opacity: 0.95; box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4); }
	
	.btn-create {
		padding: 12px 20px;
		background: linear-gradient(135deg, #10b981 0%, #059669 100%);
		color: white;
		border: none;
		border-radius: 10px;
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
		box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
		white-space: nowrap;
		height: 43px;
	}

	.msg { 
		padding: 12px; 
		margin-bottom: 18px; 
		border-radius: 10px; 
		font-size: 14px; 
		text-align: center; 
		font-weight: 500;
	}
	.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
	.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }		
	/* ==========================================
   NAVBAR CHUẨN - TRÀN MÀN HÌNH & TÁCH 2 BÊN
   ========================================== */
	.navbar {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		background: var(--primary-color, #4f46e5);
		color: white;
		box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
		box-sizing: border-box !important;
		/* GHIM CỐ ĐỊNH BẰNG FIXED */
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
		padding: 12px 24px;
		width: 100% !important;
		z-index: 9999 !important;
	}

	.navbar-brand {
		color: white !important;
		font-weight: 700;
		font-size: 1.1rem;
		text-decoration: none;
		display: flex;
		align-items: center;
		gap: 8px;
		white-space: nowrap;
	}

	.user-info {
		display: flex;
		align-items: center;
		margin-left: auto; /* Đẩy khối user sang góc phải */
	}

	.navbar-user-container {
		position: relative;
		display: inline-block;
	}

	.btn-user-dropdown {
		background: rgba(255, 255, 255, 0.15);
		color: white;
		border: 1px solid rgba(255, 255, 255, 0.25);
		padding: 8px 16px;
		border-radius: 8px;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
		display: flex;
		align-items: center;
		gap: 6px;
		transition: all 0.2s ease;
		white-space: nowrap;
	}

	.btn-user-dropdown:hover {
		background: rgba(255, 255, 255, 0.25);
	}

	.user-dropdown-menu {
		display: none;
		position: absolute;
		right: 0;
		top: calc(100% + 8px);
		background: white;
		min-width: 180px;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
		border-radius: 10px;
		overflow: hidden;
		z-index: 9999;
		border: 1px solid #e2e8f0;
	}

	.user-dropdown-menu.show {
		display: block !important;
	}

	.user-dropdown-menu a {
		color: #334155;
		padding: 11px 16px;
		text-decoration: none;
		display: block;
		font-size: 14px;
		font-weight: 500;
		transition: background 0.2s, color 0.2s;
	}

	.user-dropdown-menu a:hover {
		background: #f1f5f9;
		color: #4f46e5;
	}

	.user-dropdown-menu a.logout-item {
		color: #ef4444;
		border-top: 1px solid #f1f5f9;
	}

	.user-dropdown-menu a.logout-item:hover {
		background: #fef2f2;
	}

