*{
    --colorLightOrange: #E0B481;
	--colorDarkOrange: #CF8A3A;
    --colorDarkGray: #6A6A6A;
}
.leadgate-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    color:#fff;
    font-size: 16px;
}

.leadgate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 1;
}

.leadgate-modal-content {
    position: relative;
    z-index: 2;
    background-color: #111;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 480px;
    border-radius: 1rem;
    box-shadow: 0 0 0 1px var(--colorDarkGray);
}

.leadgate-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leadgate-modal-header{
    font-size: 1.5em;
}

.leadgate-form-group > * {
    position: relative;
}
.leadgate-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;}

.leadgate-form-group label {
    display: block;
    font-weight: 300;
}
.leadgate-form{
    display: flex;
    flex-direction: column;
    gap:0.5rem;
    align-items: center;
}
.required {
    color: #c00000;
}

.leadgate-input {
    width: 100%;
    padding: 0.7em 1em;
    border: 1px solid #aaa;
    border-radius: 3em;
    box-sizing: border-box;
}

.leadgate-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px #ffffff40;
}

.leadgate-form-footer {
    margin-top: 1rem;
}

.leadgate-submit-btn {
    width: auto;
    padding: 0.7em 1.5em;
    background: linear-gradient(to bottom, var(--colorLightOrange), var(--colorDarkOrange));
    color: white;
    border: none;
    border-radius: 3em;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.leadgate-submit-btn:hover {
    background: linear-gradient(to bottom, var(--colorLightOrange) 20%, var(--colorDarkOrange) 80%);
    box-shadow: 0 0 0 3px #ffffff40;
}

.leadgate-submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.leadgate-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.leadgate-message.success {
    background-color: #d4edda;
    color: #125f35;
    display: block;
}

.leadgate-message.error {
    background-color: #f8d7da;
    color: #c00000;
    display: block;
}

body.leadgate-active .leadgate-modal {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-height: 460px){
    
}