.zenhost-domain-checkout-modal {
position: fixed;
inset: 0;
z-index: 100000;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.zenhost-domain-checkout-modal[hidden] {
display: none !important;
}
.zenhost-domain-checkout-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.55);
}
.zenhost-domain-checkout-modal__panel {
position: relative;
width: 100%;
max-width: 28rem;
padding: 1.35rem 1.5rem 1.5rem;
border-radius: 12px;
background: var(--uicore-light-color, rgba(25, 25, 41, 0.98));
color: inherit;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.zenhost-domain-checkout-modal__close {
position: absolute;
top: 0.65rem;
right: 0.65rem;
border: 0;
background: transparent;
color: inherit;
font-size: 1.5rem;
line-height: 1;
cursor: pointer;
opacity: 0.75;
}
.zenhost-domain-checkout-modal__close:hover {
opacity: 1;
}
.zenhost-domain-checkout-modal__title {
margin: 0 2rem 0.5rem 0;
font-size: 1.15rem;
font-weight: 600;
}
.zenhost-domain-checkout-modal__domain {
margin: 0 0 1rem;
font-weight: 500;
opacity: 0.85;
word-break: break-all;
}
.zenhost-domain-checkout-modal__options {
margin: 0 0 1rem;
padding: 0;
border: 0;
display: flex;
flex-direction: column;
gap: 0.65rem;
}
.zenhost-domain-checkout-modal__option {
display: flex;
align-items: flex-start;
gap: 0.55rem;
padding: 0.75rem 0.85rem;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
cursor: pointer;
transition: border-color 0.2s ease, background-color 0.2s ease;
}
.zenhost-domain-checkout-modal__option:hover {
border-color: rgba(255, 255, 255, 0.32);
}
.zenhost-domain-checkout-modal__option input {
margin-top: 0.2rem;
accent-color: var(--uicore-primary-color, #6c63ff);
flex-shrink: 0;
}
.zenhost-domain-checkout-modal__option.is-disabled {
opacity: 0.45;
cursor: not-allowed;
pointer-events: none;
}
.zenhost-domain-checkout-modal__option-body {
display: flex;
flex-direction: column;
gap: 0.25rem;
min-width: 0;
}
.zenhost-domain-checkout-modal__option-title {
font-weight: 500;
line-height: 1.35;
}
.zenhost-domain-checkout-modal__option-hint {
display: block;
font-size: 0.85em;
line-height: 1.35;
opacity: 0.78;
font-weight: 400;
}
.zenhost-domain-checkout-modal__option.is-disabled .zenhost-domain-checkout-modal__option-hint {
opacity: 0.92;
}
.zenhost-domain-checkout-modal__option-price {
font-size: 0.92em;
opacity: 0.9;
}
.zenhost-domain-checkout-modal__option-price .woocommerce-Price-amount {
color: inherit;
}
.zenhost-domain-checkout-modal__status {
margin: 0 0 0.75rem;
font-size: 0.92em;
}
.zenhost-domain-checkout-modal__status.is-error {
color: #f87171;
}
.zenhost-domain-checkout-modal__actions {
margin: 0;
text-align: center;
}
.zenhost-domain-checkout-modal__submit {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 100%;
padding: 1rem 1.5rem;
border: 0;
border-radius: 100px;
font-family: var(--uicore-primary-font-family, inherit);
font-size: 1.05rem;
color: #fff !important;
background-color: var(--uicore-primary-color, #6c63ff) !important;
cursor: pointer;
transition: opacity 0.2s ease, background-color 0.2s ease;
}
.zenhost-domain-checkout-modal__submit:hover:not(:disabled),
.zenhost-domain-checkout-modal__submit:focus:not(:disabled) {
opacity: 0.95;
background-color: var(--uicore-secondary-color, #6c63ff) !important;
}
.zenhost-domain-checkout-modal__submit:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.zenhost-domain-checkout-modal.is-loading .zenhost-domain-checkout-modal__submit {
opacity: 0.65;
}