/* Substitui o chrome nativo (Choose File / No file chosen) por rótulos em PT. */
.mg-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	width: 100%;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid #CFD3E2;
	border-radius: 10px;
	background: #F6F8FD;
	box-sizing: border-box;
}

.mg-file__btn {
	appearance: none;
	border: 0;
	border-radius: 8px;
	padding: 8px 14px;
	background: #010658;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.mg-file__btn:hover {
	background: #CE2028;
}

.mg-file__name {
	flex: 1 1 140px;
	min-width: 0;
	color: #5B6078;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mg-file input[type="file"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	opacity: 0 !important;
}
