.pechataem-products-page,
.pechataem-register-product {
	width: 100%;
}

.pechataem-products-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
}

.pechataem-products-header h2,
.pechataem-register-product h2 {
	margin-top: 0;
	margin-bottom: 10px;
}

.pechataem-products-header p {
	margin: 0;
}

.pechataem-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border: none;
	border-radius: 4px;
	background: #0073aa;          /* яркий синий (можно заменить на ваш брендовый цвет) */
	color: #fff !important;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease, transform 0.1s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pechataem-button:hover,
.pechataem-button:focus {
	background: #005a87;          /* затемнение при наведении */
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.pechataem-button:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Стиль для неактивной кнопки (disabled) */
.pechataem-button:disabled {
	background: #cccccc !important;
	color: #666666 !important;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
	opacity: 0.7;
}

/* Усиленная специфичность для кнопки регистрации */
.woocommerce-MyAccount-content .pechataem-button,
.pechataem-registration-form .pechataem-button,
.pechataem-products-page .pechataem-button {
    background: #0073aa !important;   /* или ваш брендовый цвет */
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Состояние при наведении */
.woocommerce-MyAccount-content .pechataem-button:hover,
.pechataem-registration-form .pechataem-button:hover,
.pechataem-products-page .pechataem-button:hover {
    background: #005a87 !important;
    opacity: 0.9;
}

/* Если кнопка будет disabled — сделайте её читаемой */
.pechataem-button:disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
    opacity: 0.7;
}


/* Альтернативный вариант: если хотите зелёную кнопку (успех/регистрация) */
.pechataem-button-success {
	background: #46b450;
}
.pechataem-button-success:hover {
	background: #38903a;
}

.pechataem-products-table-wrapper {
	width: 100%;
	overflow-x: auto;
}

.pechataem-products-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.pechataem-products-table th,
.pechataem-products-table td {
	padding: 14px 12px;
	border-bottom: 1px solid #e5e5e5;
	text-align: left;
	vertical-align: middle;
}

.pechataem-products-table th {
	font-weight: 600;
	white-space: nowrap;
}

.pechataem-products-table td {
	white-space: nowrap;
}

.pechataem-empty {
	padding: 30px;
	border: 1px solid #e5e5e5;
	text-align: center;
}

.pechataem-empty p {
	margin-bottom: 20px;
}

.pechataem-register-product {
	max-width: 800px;
}

.pechataem-registration-form {
	margin-top: 30px;
}

.pechataem-registration-form .form-row {
	margin-bottom: 20px;
}

.pechataem-registration-form label {
	display: block;
	margin-bottom: 7px;
	font-weight: 600;
}

.pechataem-registration-form .required {
	color: #d63638;
}

.pechataem-registration-form input,
.pechataem-registration-form select {
	width: 100%;
	min-height: 45px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
}

.pechataem-registration-form button {
	margin-top: 10px;
}

.pechataem-success,
.pechataem-error {
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 3px;
}

.pechataem-success {
	background: #edf8ee;
	color: #216b2a;
}

.pechataem-error {
	background: #fff0f0;
	color: #a00000;
}

@media (max-width: 768px) {

	.pechataem-products-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.pechataem-products-table {
		min-width: 900px;
	}
}