.enact-consent-fallback-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove background when image is present and add overlay to fallback content only */
.enact-consent-fallback-wrapper.has-background-image .consent-fallback-content {
    position: relative;
    background-color: transparent !important;
}

/* Dark overlay on fallback content when background image is present (but not for image-only) */
.enact-consent-fallback-wrapper.has-background-image:not(.image-only-fallback) .consent-fallback-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Ensure text appears above overlay */
.enact-consent-fallback-wrapper.has-background-image .consent-fallback-content .consent-fallback-text {
    position: relative;
    z-index: 2;
}

/* White text when background image is present */
.enact-consent-fallback-wrapper.has-background-image .consent-fallback-heading,
.enact-consent-fallback-wrapper.has-background-image .consent-fallback-description {
    color: #ffffff !important;
}

/* Adjust button styling for background images */
.enact-consent-fallback-wrapper.has-background-image .consent-fallback-button {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--foundation-color);
}

.enact-consent-fallback-wrapper.has-background-image .consent-fallback-button:hover {
    background-color: #ffffff;
}

.consent-fallback-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: var(--feather-color);
    text-align: center;
    height: 100%;
}
@media (min-width: 768px) {
    .consent-fallback-content {
        flex-direction: row;
        text-align: left;
        gap: 30px;
    }
}

.consent-fallback-image {
    max-width: 200px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .consent-fallback-image {
        margin-bottom: 0;
    }
}
.consent-fallback-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.consent-fallback-text {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.consent-fallback-heading {
    color: var(--foundation-color);
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}
@media (min-width: 768px) {
    .consent-fallback-heading {
        font-size: 28px;
    }
}

.consent-fallback-description {
    color: var(--charcoal-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.consent-fallback-button {
    background-color: var(--welcome-color);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.consent-fallback-button:hover {
    background-color: var(--vivid-color);
}
.consent-fallback-button:active {
    transform: translateY(0);
}
.consent-fallback-button:focus {
    outline: 2px solid var(--foundation-color);
    outline-offset: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.consent-fallback-content,
.consent-approved-content {
    animation: fadeIn 0.3s ease-in;
}

/*# sourceMappingURL=consent-fallback-wrapper.css.map */
