/**
 * Unlock Modal Styles - Exact copy from single-.php template
 * NO modifications to original styling
 */

/* Registration Modal Styles */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.registration-modal.active {
    opacity: 1;
    visibility: visible;
}

.registration-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Darker overlay */
    z-index: 1;
    pointer-events: none; /* Prevents clicking through but also prevents closing by clicking */
}

.registration-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.registration-modal.active .registration-modal-content {
    transform: translateY(0);
}

.registration-modal-header {
    display: flex;
    justify-content: center; /* Center the header text */
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
}

.registration-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.registration-modal-body {
    padding: 20px;
}

/* Add some styling to make the form look more prominent */
/* #hubspot-form-container {
    padding: 10px 0;
} */

/* Override any HubSpot form styles to match your brand */
#hubspot-form-container .hs-form {
    font-family: inherit;
}

/* Prevent page scrolling when modal is open */
body.modal-open {
    overflow: hidden;
}

@media (max-height: 600px) {
    .registration-modal-content {
        max-height: 85vh;
    }
}

#block-15 {
    display: none;
}