/**
 * Styles SweetAlert2 notifications used by WERegcus.
 *
 * @package WERegcus
 */
/* SweetAlert2 hooks for login/register notifications. */
.swal2-container.weregcus-swal-container {
	z-index: 100100 !important;
}

.weregcus-swal {
	border-radius: 16px;
	padding: 28px;
}

.weregcus-swal__title {
	color: #162033;
	font-size: 1.5rem;
}

.weregcus-swal__content {
	color: #64748b;
}

.weregcus-swal__confirm {
	min-width: 120px;
}

.weregcus-swal__actions {
	display: flex;
	gap: 12px;
}

.weregcus-swal__confirm,
.weregcus-swal__cancel {
	margin: 0 !important;
}

.weregcus-swal--error .weregcus-swal__confirm {
	background: #b42318;
	border-color: #b42318;
}

.weregcus-swal--success .weregcus-swal__confirm {
	background: #155eef;
	border-color: #155eef;
}

/* Dashboard action hooks: customize each dialog independently. */
.weregcus-swal--dashboard-profile {}
.weregcus-swal--dashboard-password {}
.weregcus-swal--dashboard-logout {}
.weregcus-swal__cancel {}

@media (max-width: 575px) {
	.weregcus-swal {
		width: calc(100% - 24px);
		padding: 22px 18px;
	}
}

/* Xử lý nút đăng ký đăng nhập*/
.jc-product-card__register {
    width: 100%;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #155eef;
    border-radius: 6px;
    background-color: #155eef;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jc-product-card__register:hover {
    border-color: #0b4bd4;
    background-color: #0b4bd4;
    color: #fff;
    transform: translateY(-1px);
}

.jc-product-card__register:focus-visible {
    outline: 3px solid rgba(21, 94, 239, 0.25);
    outline-offset: 2px;
}

.jc-product-price-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 24px;
    border: 1px solid #155eef;
    border-radius: 8px;
    background-color: #155eef;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jc-product-price-register:hover {
    border-color: #0b4bd4;
    background-color: #0b4bd4;
    color: #fff;
    box-shadow: 0 6px 16px rgba(21, 94, 239, 0.2);
    transform: translateY(-1px);
}

.jc-product-price-register:focus-visible {
    outline: 3px solid rgba(21, 94, 239, 0.25);
    outline-offset: 3px;
}

.jc-product-price-register:active {
    box-shadow: none;
    transform: translateY(0);
}