/* ── Wrapper ─────────────────────────────────────── */
.mp-bom-table-wrap {
	font-family: inherit;
	font-size: 14px;
	color: #333;
}

/* ── Notice Box ──────────────────────────────────── */
.mp-bom-notice-box {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	border: 1px dashed #d0d0d0;
	background-color: #fafafa;
	padding: 16px 20px;
	margin-bottom: 28px;
	border-radius: 4px;
}

.mp-bom-notice-content {
	flex: 1;
}

.mp-bom-notice-text {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.7;
	color: #555;
}

.mp-bom-dl-template {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #4a90d9;
	text-decoration: underline;
	cursor: pointer;
}

.mp-bom-dl-template:hover {
	color: #2c6fad;
}

/* Upload button */
.mp-bom-upload-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 10px 20px;
	background-color: #6ab04c;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s;
	align-self: center;
}

.mp-bom-upload-label:hover {
	background-color: #57963d;
}

.mp-bom-upload-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

/* ── Section title ───────────────────────────────── */
.mp-bom-section-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 4px;
	color: #1a1a1a;
}

/* ── Table scroll (mobile drag) ──────────────────── */
.mp-bom-table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ── Table ───────────────────────────────────────── */
.mp-bom-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	min-width: 600px; /* forces horizontal scroll on small screens */
}

/* Header */
.mp-bom-table thead tr {
	border-bottom: 1px solid #e0e0e0;
}

.mp-bom-table th {
	padding: 5px 10px;
	font-size: 13px;
	font-weight: 400;
	color: #999;
	text-align: left;
	white-space: nowrap;
}

/* Checkbox column */
.mp-bom-table th.mp-bom-col-check,
.mp-bom-table td.mp-bom-col-check {
	width: 32px;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
}

/* Body rows */
.mp-bom-table tbody tr {
	border-bottom: 1px solid #f0f0f0;
}

.mp-bom-table tbody tr:last-child {
	border-bottom: none;
}

.mp-bom-table td {
	padding: 4px 10px;
	vertical-align: middle;
}

/* Inline inputs */
.mp-bom-field {
	width: 100%;
	border: none;
	border-bottom: 1px solid #e0e0e0;
	border-radius: 0;
	padding: 7px 0;
	font-size: 13px;
	color: #333;
	background: transparent;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.mp-bom-field:focus {
	border-bottom-color: #6ab04c;
}

.mp-bom-field[readonly] {
	color: #444;
}

.mp-bom-field::placeholder {
	color: #c0c0c0;
}

.mp-bom-field[type="number"] {
	-moz-appearance: textfield;
}
.mp-bom-field[type="number"]::-webkit-inner-spin-button,
.mp-bom-field[type="number"]::-webkit-outer-spin-button {
	opacity: 1;
}

/* ── Table Footer ────────────────────────────────── */
.mp-bom-table-footer {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0 0;
	border-top: 1px solid #e0e0e0;
	margin-top: 2px;
}

.mp-bom-footer-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #555;
	cursor: pointer;
	margin-right: 2px;
}

/* Add Row — green outlined */
.mp-bom-add-row {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	font-size: 13px;
	border: 1px solid #6ab04c;
	border-radius: 4px;
	background: #fff;
	color: #6ab04c;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}

.mp-bom-add-row:hover {
	background-color: #6ab04c;
	color: #fff;
}

/* Delete — orange outlined */
.mp-bom-delete-rows {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	font-size: 13px;
	border: 1px solid #e8a838;
	border-radius: 4px;
	background: #fff;
	color: #e8a838;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}

.mp-bom-delete-rows:hover {
	background-color: #e8a838;
	color: #fff;
}

.mp-bom-delete-rows svg,
.mp-bom-add-row svg {
	flex-shrink: 0;
}

.info-list-right h3 {
	font-size:20px;
	font-weight:400;
	line-height:40px
}
.info-list-right .radio-box {
	display:flex;
	align-items:center;
	margin-top:20px
}
.info-list-right input {
	width:21px;
	height:21px;
	margin-right:10px;
	position:relative;
	appearance:none
  }
  .info-list-right input::after {
	content:'';
	position:absolute;
	left:0;
	top:0;
	width:21px;
	height:21px;
	border-radius:50%;
	border:1.5px solid #191e21
  }
   .info-list-right input:checked::before {
	content:'';
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);
	width:7px;
	height:7px;
	border-radius:50%;
	background:#191e21
  }
  .info-list-right label {
	cursor:pointer
  }
  .info-list-right button {
	background:#010E82;
	width:220px;
	height:50px;
	border:none;
	color:#fff;
	margin-top:30px
  }
  .info-list-right button:hover {
	background:#020732;
  }
  .mp-bom-upload-label{
	background:#010E82 !important;
  }
  .mp-bom-upload-label:hover {
	background:#020732 !important;
  }
  
.bom-form .elementor-field-type-submit{
	display: none;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 640px) {
	.mp-bom-notice-box {
		flex-direction: column;
	}

	.mp-bom-upload-label {
		align-self: flex-start;
	}

	/* Hint that the table is scrollable */
	.mp-bom-table-scroll {
		cursor: grab;
	}

	.mp-bom-table-scroll:active {
		cursor: grabbing;
	}
}

