.abs-subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
}

.abs-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: -5px;
}

.abs-form-names {
    flex-direction: row;
    gap: 0;
}

.abs-form-names input {
    flex: 1;
    min-width: 0;
}

.abs-subscription-form .abs-form-names input[type="text"]:first-of-type {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.abs-subscription-form .abs-form-names input[type="text"] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.abs-label:not(caption) {
    position: absolute !important;
}
.abs-label {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.abs-subscription-form input[type="text"],
.abs-subscription-form input[type="email"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.abs-subscription-form input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.abs-form-actions {
    display: flex;
    gap: 0.5rem;
}

.abs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: initial;
}

.abs-button:disabled,
.abs-button[data-submitting="true"] {
    opacity: 0.65;
    cursor: not-allowed;
}

.abs-error-message,
.abs-response-message {
    display: none;
    font-size: 0.875rem;
    min-height: 1.25rem;
}

.abs-error-message {
    color: #dc3545;
}

.abs-response-message .success {
    color: #198754;
}

.abs-response-message .error {
    color: #dc3545;
}

.abs-recaptcha-statement {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 1rem;
}

.abs-form-heading {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
}

.grecaptcha-badge {
    visibility: hidden;
}

.abs-modal-trigger {
    margin: 1rem 0;
}

.abs-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.abs-modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.abs-modal-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    margin: 0 !important;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: auto;
    animation: abs-modal-fade 0.25s ease;
}

@keyframes abs-modal-fade {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.abs-modal-close {
    position: absolute;
    right: 1rem;
    /* top: 1rem; */
    top: .5rem;
    background: transparent;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    color: #666;
}

.abs-modal-close:hover {
    color: #000;
}

.abs-modal-content {
    padding: 1.5rem;
}

.abs-modal-content .abs-subscription-form {
    gap: 0.75rem;
    padding-top: 1rem;
}

.abs-modal-content .abs-form-heading {
    text-align: left;
    margin-top: -.5rem !important;
}

.abs-modal-content .abs-response-message {
    text-align: center;
}

.abs-modal, .abs-modal * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
:where(.is-layout-constrained) > .abs-modal { margin-block-start: 0 !important; margin-top: 0 !important; }

