/* CTA Popup Bootstrap Styles */
/* Used for the common-cta popup on Bootstrap layout pages */

.cta-popup-bootstrap__success {
    max-width: 896px;
    background-color: #dcfce7;
    color: #166534;
    padding: 2rem;
    padding-bottom: 5rem;
    text-align: center;
    border-radius: 0.25rem;
}

.cta-popup-bootstrap__success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.cta-popup-bootstrap__success p {
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.cta-popup-bootstrap__wrapper {
    position: relative;
    display: inline-block;
    max-width: 896px;
}

.cta-popup-bootstrap__close-btn {
    background-color: #FFD000;
    top: -10px;
    right: -10px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border: none;
    padding: 0.25rem;
    border-radius: 50%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-popup-bootstrap__content {
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    border: 1px solid #d4d4d8;
    padding: 1.5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cta-popup-bootstrap__content {
        flex-direction: row;
    }
}

.cta-popup-bootstrap__form-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    font-family: 'Lato', sans-serif;
}

.cta-popup-bootstrap__heading {
    font-size: 1.5rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

.cta-popup-bootstrap__guide-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.25rem;
    text-align: center;
}

.cta-popup-bootstrap__subheading {
    font-size: 1.125rem;
    color: #4b5563;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-align: center;
}

.cta-popup-bootstrap__form {
    margin-top: 1.5rem;
}

.cta-popup-bootstrap__input {
    height: 52px;
    border: 2px solid #e5e5e5;
    padding: 0 1rem;
    width: 100%;
    border-radius: 0.25rem;
}

.cta-popup-bootstrap__input:focus {
    border-color: #6b7280;
    outline: none;
}

.cta-popup-bootstrap__submit-btn {
    background-color: #FFD000;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #000;
    width: 100%;
    border-radius: 0.25rem;
}

.cta-popup-bootstrap__submit-btn:hover {
    background-color: #e6bb00;
}

.cta-popup-bootstrap__submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cta-popup-bootstrap__divider {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.cta-popup-bootstrap__divider hr {
    flex-grow: 1;
    margin: 0;
    border-color: #d1d5db;
}

.cta-popup-bootstrap__divider span {
    padding: 0 1rem;
    color: #4b5563;
    font-weight: 700;
    text-transform: uppercase;
}

.cta-popup-bootstrap__social-btn {
    background-color: #3399ff;
    padding: 1rem 2rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #fff;
    width: 100%;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}

.cta-popup-bootstrap__social-btn:hover {
    background-color: #1a8cff;
    color: #fff;
    text-decoration: none;
}

.cta-popup-bootstrap__social-btn svg {
    position: absolute;
    left: 1rem;
}

.cta-popup-bootstrap__terms-hr {
    margin-top: 1rem;
    margin-bottom: 0;
}

.cta-popup-bootstrap__terms {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}

.cta-popup-bootstrap__terms a {
    color: #6b7280;
    text-decoration: underline;
}

.cta-popup-bootstrap__terms a:hover {
    text-decoration: none;
}

.cta-popup-bootstrap__no-thanks {
    color: inherit;
    text-decoration: underline;
    padding: 0;
    background: none;
    border: none;
}

.cta-popup-bootstrap__no-thanks:hover {
    text-decoration: none;
}

.cta-popup-bootstrap__image-column {
    flex: 1;
    display: none;
}

@media (min-width: 768px) {
    .cta-popup-bootstrap__image-column {
        display: block;
    }
}

.cta-popup-bootstrap__image-column img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
}
