.tf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 47, 63, 0.78);
    z-index: 9999;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-modal {
    width: 70%;
    max-width: 1220px;
    margin: 0 auto;
    background: #f3f3f3;
    box-shadow: 0 4px 18px rgba(0,0,0,0.28);
    color: #3f3f3f;
    font-family: Arial, Helvetica, sans-serif;
}

.tf-modal-header {
    background: #2c9acc;
    padding: 18px 34px 18px;
}

.tf-modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.875em;
    font-weight: 700;
    line-height: 1;
}

.tf-modal-body {
    padding: 34px 34px 24px;
    font-size: 1em;
    line-height: 1.35;
    background: #f6f6f6;
}

.tf-modal-body p {
    /*margin: 0 0 34px;*/
    font-size: 1em;
    margin-bottom: 1em;
}

.tf-modal a {
    text-decoration: underline !important;
}

.tf-modal-body .tf-lead {
    font-size: 1em;
    font-weight: 700;
    color: #3a3a3a;
}

.tf-list {
    margin: 10px 0 0 20px;
    padding: 0 0 0 18px;
}

.tf-list li {
    margin-bottom: 10px;
}

.tf-modal-footer {
    background: #efefef;
    padding: 30px 0 30px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.tf-agree-btn {
    min-width: 250px;
    padding: .815em 2.5em;
    border: 0;
    background: #62c395;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.22);
    transition: background 0.2s ease, transform 0.1s ease;
}

.tf-agree-btn:hover {
    background: #57b98b;
}

.tf-agree-btn:active {
    transform: translateY(1px);
}

@media (max-width: 900px) {
    .tf-modal {
        width: 100%;
    }

    .tf-modal-header {
        padding: 18px 56px 18px;
    }

    .tf-list {
        margin-left: 10px;
    }

    .tf-agree-btn {
        min-width: auto;
        width: calc(100% - 48px);
        font-size: 28px;
        padding: 20px 24px;
    }
}