@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.ams-raport-overlay,
.ams-raport-overlay *,
.ams-raport-overlay *::before,
.ams-raport-overlay *::after {
    box-sizing: border-box;
}

.ams-raport-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(17, 17, 17, 0.55);
    overflow-y: auto;
    font-family: 'Poppins', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ams-raport-overlay[hidden] {
    display: none !important;
}

.ams-raport-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    background: #d01431;
    color: #fff;
    padding: 42px 56px 48px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.ams-raport-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}

.ams-raport-close:hover,
.ams-raport-close:focus {
    opacity: 0.75;
    outline: none;
}

.ams-raport-title {
    margin: 0;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.ams-raport-title .ams-raport-regular {
    font-weight: 400;
}

.ams-raport-lead {
    margin: 0 0 18px;
    font-size: 44px;
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #fff;
}

.ams-raport-lead strong {
    font-weight: 700;
}

.ams-raport-copy {
    margin: 0 0 28px;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 400;
    color: #fff;
}

.ams-raport-copy strong {
    font-weight: 700;
}

.ams-raport-form {
    margin: 0;
    padding: 0;
    border: 0;
}

.ams-raport-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ams-raport-input {
    display: block;
    width: 100%;
    height: 58px;
    margin: 0 0 28px;
    padding: 0 42px;
    border: 0;
    border-radius: 999px;
    background: #f6f6f6;
    color: #1d1d1b;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 58px;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.ams-raport-input::placeholder {
    color: #606060;
    font-weight: 700;
    opacity: 1;
}

.ams-raport-input:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.ams-raport-check {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 22px;
    cursor: pointer;
}

.ams-raport-check input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.ams-raport-check input:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #d01431;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ams-raport-check input:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.ams-raport-check span {
    flex: 1;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    color: #fff;
}

.ams-raport-legal {
    margin: 0 0 28px;
    font-size: 9px;
    line-height: 1.35;
    font-weight: 400;
    color: #fff;
}

.ams-raport-legal a {
    color: #fff;
    text-decoration: underline;
}

.ams-raport-error {
    display: none;
    margin: -18px 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: #ffe3e8;
}

.ams-raport-error.is-visible {
    display: block;
}

.ams-raport-submit {
    display: block;
    width: 252px;
    max-width: 100%;
    height: 56px;
    margin: 0 auto;
    padding: 0 20px;
    border: 2px solid #1d1d1b;
    border-radius: 999px;
    background: #fff;
    color: #1d1d1b;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 52px;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.ams-raport-submit:hover,
.ams-raport-submit:focus {
    background: #f3f3f3;
    outline: none;
}

.ams-raport-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.ams-raport-success {
    display: none;
    text-align: center;
    padding: 24px 0 8px;
}

.ams-raport-success.is-visible {
    display: block;
}

.ams-raport-success p {
    margin: 0 0 16px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 400;
    color: #fff;
}

.ams-raport-success a {
    color: #fff;
    font-weight: 700;
}

.ams-raport-form.is-hidden {
    display: none;
}

body.ams-raport-lock {
    overflow: hidden;
}

@media (max-width: 720px) {
    .ams-raport-card {
        padding: 36px 24px 32px;
    }

    .ams-raport-title,
    .ams-raport-lead {
        font-size: 26px;
        line-height: 1.2;
    }

    .ams-raport-copy {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .ams-raport-input {
        height: 48px;
        padding: 0 22px;
        font-size: 16px;
        line-height: 48px;
        margin-bottom: 20px;
    }

    .ams-raport-check span {
        font-size: 12px;
        line-height: 1.4;
    }

    .ams-raport-legal {
        font-size: 8px;
        margin-bottom: 20px;
    }

    .ams-raport-submit {
        width: 200px;
        height: 48px;
        font-size: 18px;
        line-height: 44px;
    }
}
