.bawt-pg {
	background: #f9f5f0;
	border: 2px solid #e8ddd0;
	border-radius: 12px;
	padding: 28px 32px;
	margin: 32px 0;
	font-family: inherit;
	max-width: 640px;
}

.bawt-pg-header {
	margin-bottom: 20px;
}

.bawt-pg-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 0 6px;
	color: #1a1a1a;
}

.bawt-pg-subtitle {
	font-size: 0.95rem;
	color: #666;
	margin: 0;
}

.bawt-pg-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}

.bawt-pg-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 140px;
}

.bawt-pg-field label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #555;
}

.bawt-pg-field select {
	padding: 9px 12px;
	border: 1.5px solid #d0c4b8;
	border-radius: 7px;
	background: #fff;
	font-size: 0.95rem;
	color: #1a1a1a;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 32px;
}

.bawt-pg-field select:focus {
	outline: none;
	border-color: #c0793a;
	box-shadow: 0 0 0 3px rgba(192, 121, 58, 0.12);
}

.bawt-btn {
	padding: 10px 20px;
	border-radius: 7px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: background 0.15s, transform 0.1s;
	white-space: nowrap;
}

.bawt-btn:active {
	transform: scale(0.98);
}

.bawt-btn-primary {
	background: #c0793a;
	color: #fff;
}

.bawt-btn-primary:hover {
	background: #a8652e;
}

.bawt-btn-primary:disabled {
	background: #d4a57a;
	cursor: not-allowed;
}

.bawt-btn-secondary {
	background: #fff;
	color: #c0793a;
	border: 1.5px solid #c0793a;
}

.bawt-btn-secondary:hover {
	background: #fdf0e6;
}

.bawt-btn-ghost {
	background: transparent;
	color: #888;
	border: 1.5px solid #d0c4b8;
}

.bawt-btn-ghost:hover {
	background: #f0ebe4;
	color: #555;
}

.bawt-pg-output {
	margin-top: 24px;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	border: 1.5px solid #e0d5c8;
}

.bawt-pg-text {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #2a2a2a;
	margin: 0 0 16px;
	font-style: italic;
}

.bawt-pg-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.bawt-pg-error {
	margin-top: 16px;
	color: #c0392b;
	font-size: 0.9rem;
}

@media (max-width: 500px) {
	.bawt-pg {
		padding: 20px 18px;
	}
	.bawt-pg-controls {
		flex-direction: column;
	}
	.bawt-pg-field {
		min-width: 100%;
	}
	.bawt-btn-primary {
		width: 100%;
	}
}
