/* Lead Capture Popup Styles */
#lead-capture-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-capture-form {
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

#empty .main-title-sm{
    font-size: 1.4em;
}

/* Success Message Section */
#lead-capture-success {
    text-align: center;
}

#lead-capture-success .success-message {
    margin-bottom: 25px;
}

#lead-capture-success .success-message h3 {
    color: #2196F3;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

#lead-capture-success .download-text {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 15px;
}

/* Success Actions - Buttons on Same Line */
#lead-capture-success .success-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#lead-capture-success .success-actions .button {
    margin: 0;
    min-width: 140px;
}

/* Secondary Button Styling */
#lead-capture-success .button.secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

#lead-capture-success .button.secondary:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

#lead-capture-success h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #4CAF50;
}

#lead-capture-success p {
    margin: 0 0 20px 0;
    color: #666;
}

#download-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

body.popup-open {
    overflow: hidden;
}

body input[type=submit],
body .button,
body a.button:link,
body a.button:visited,
body .button-icon-gallery,
body a.button-icon-gallery:link,
body a.button-icon-gallery:visited,
body .button-icon-pdf,
body a.button-icon-pdf:link,
body a.button-icon-pdf:visited {
    min-width: 127px;
    height: 29px;
    font-size: 1em;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center
}

body input[type=submit]:after,
body .button:after,
body a.button:link:after,
body a.button:visited:after,
body .button-icon-gallery:after,
body a.button-icon-gallery:link:after,
body a.button-icon-gallery:visited:after,
body .button-icon-pdf:after,
body a.button-icon-pdf:link:after,
body a.button-icon-pdf:visited:after {
    font-size: 22px;
    right: .7em
}

.layout-general .form .button.back{
    display: inline-flex;
}

form .error, .form .hs-form .hs-error-msgs {
    color: #cc0014;
    font-size: .875em;
    font-weight: bold;
}