/* Ensure lead magnet input text and placeholders are always white */
.lead-magnet-input {
    color: #ffffff !important;
}

.lead-magnet-input::placeholder {
    color: #ffffff !important;
    opacity: 0.8;
}

.lead-magnet-input:-ms-input-placeholder {
    color: #ffffff !important;
}

.lead-magnet-input::-ms-input-placeholder {
    color: #ffffff !important;
}

/* GoHighLevel embedded form iframe */
.lead-magnet-form-section {
    align-items: flex-start;
    overflow: hidden;
}

.lead-magnet-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.lead-magnet-iframe-wrap {
    flex: 1;
    min-height: 0;
    max-height: calc(100vh - 200px);
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.lead-magnet-iframe {
    display: block;
    min-height: 767px;
}

@media (max-width: 992px) {
    .lead-magnet-iframe-wrap {
        max-height: calc(100vh - 380px);
    }
}

@media (max-width: 576px) {
    .lead-magnet-iframe-wrap {
        max-height: calc(100vh - 320px);
    }

    .lead-magnet-iframe {
        min-height: 600px;
    }
}

