/* views/product_inquiry/update.tpl */
.pi-hero {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.pi-hero-id { font-size: 1.3rem; font-weight: 700; color: #1a1d2e; }
.pi-hero-id span { color: #8b8fa3; font-weight: 400; }
.pi-hero-meta { font-size: 0.82rem; color: #5b6178; display: flex; align-items: center; gap: 5px; }
.pi-hero-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.pi-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	margin-bottom: 20px;
	overflow: hidden;
}
.pi-card-head {
	padding: 16px 20px;
	border-bottom: 1px solid #f0f0f5;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.pi-card-head h6 {
	margin: 0;
	font-weight: 600;
	font-size: 0.88rem;
	color: #1a1d2e;
	display: flex;
	align-items: center;
	gap: 8px;
}
.pi-card-body { padding: 20px; }

.pi-info-grid {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 10px 16px;
	font-size: 0.85rem;
}
.pi-info-grid .label { color: #8b8fa3; font-size: 0.78rem; }
.pi-info-grid .value { color: #1a1d2e; }
.pi-info-grid .value a { color: #0d6efd; text-decoration: none; }
.pi-info-grid .value a:hover { text-decoration: underline; }

.pi-product-box { display: flex; gap: 16px; align-items: flex-start; }
.pi-product-box img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid #e8e9f0; }
.pi-product-box__name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.pi-product-box__name a { color: #1a1d2e; text-decoration: none; }
.pi-product-box__name a:hover { color: #0d6efd; }
.pi-product-box__code { font-size: 0.78rem; color: #8b8fa3; margin-bottom: 4px; }
.pi-product-box__price { font-size: 1.05rem; font-weight: 700; color: #d63384; }
.pi-product-box__link { margin-top: 8px; }
.pi-product-box__link a { font-size: 0.78rem; color: #0d6efd; text-decoration: none; }
.pi-product-box__link a:hover { text-decoration: underline; }

.pi-message {
	background: #fffbeb;
	border: 1px solid #fbbf24;
	border-radius: 8px;
	padding: 16px;
	line-height: 1.7;
	color: #333;
	font-size: 0.88rem;
}
.pi-competitor { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #fbbf24; }
.pi-competitor__label { font-size: 0.7rem; color: #8b8fa3; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.pi-competitor a { color: #0d6efd; word-break: break-all; text-decoration: none; font-size: 0.85rem; }
.pi-competitor a:hover { text-decoration: underline; }

.pi-notes textarea {
	width: 100%;
	border: 1px solid #e8e9f0;
	border-radius: 8px;
	padding: 12px;
	font-size: 0.85rem;
	min-height: 80px;
	resize: vertical;
	transition: border-color 0.15s;
}
.pi-notes textarea:focus { outline: 0; border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13,110,253,.1); }

/* views/product_inquiry/list.tpl */
.pi-product-cell { display: flex; align-items: center; gap: 10px; }
.pi-product-cell img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid #e0e0e0; }
.pi-product-cell__info { min-width: 0; }
.pi-product-cell__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.pi-product-cell__name a { color: #1a1d2e; text-decoration: none; }
.pi-product-cell__name a:hover { color: #0d6efd; }
.pi-product-cell__code { font-size: 0.72rem; color: #999; }
.pi-customer-cell a { color: #555; text-decoration: none; }
.pi-customer-cell a:hover { color: #0d6efd; }
.pi-customer-cell .name { font-weight: 500; color: #1a1d2e; font-size: 0.85rem; }
.pi-customer-cell .meta { font-size: 0.75rem; color: #8b8fa3; }
.pi-date-cell { white-space: nowrap; }
.pi-date-cell .date-day { font-weight: 500; color: #3a3f58; font-size: 0.8rem; }
.pi-date-cell .date-time { font-size: 0.72rem; color: #8b8fa3; }

/* Styles extracted from addon templates. */
[data-addon-style="product_inquiry-1c35feb666"] {
	display:none;
}
[data-addon-style="product_inquiry-4b8f2e4b1b"] {
	width:5%;
}
[data-addon-style="product_inquiry-5642cece58"] {
	font-size:2.5rem;
	color:#ccc;
}
[data-addon-style="product_inquiry-63e6baf9db"] {
	font-size:10px;
	opacity:.5;
}
[data-addon-style="product_inquiry-7169b87645"] {
	width:8%;
}
[data-addon-style="product_inquiry-7f1c62ffff"] {
	overflow:visible;
}
[data-addon-style="product_inquiry-b983325b27"] {
	width:3%;
}
[data-addon-style="product_inquiry-c469467eda"] {
	background:#eff6ff;
	color:#2563eb;
}
[data-addon-style="product_inquiry-d2d0807c4f"] {
	width:12%;
}
