
.cf-wrapper [hidden] {
    display: none !important;
}

.cf-hero {
    background: linear-gradient(135deg,#092754,#194777);
    color: #fff;
    text-align: center;
    padding: 55px 20px;
}

.cf-hero h1 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 10px;
}

.cf-hero p {
    color: #e0eaf6;
    font-size: 16px;
}

.cf-wrapper {
    width: min(920px,calc(100% - 32px));
    margin: 40px auto 70px;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 10px 45px rgba(9,39,84,.07);
}

.cf-intro {
    text-align: center;
    margin-bottom: 32px;
}

.cf-intro h2 {
    color: #092754;
    font-size: 24px;
    margin-bottom: 8px;
}

.cf-intro p {
    color: #64748b;
    font-size: 14px;
}

.cf-progress {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 35px;
}

.cf-progress-item {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #8492a6;
    border-bottom: 4px solid #e6edf5;
    padding-bottom: 15px;
}

.cf-progress-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 9px;
    border-radius: 50%;
    background: #edf2f8;
}

.cf-progress-item.active,
.cf-progress-item.completed {
    color: #092754;
    border-color: #092754;
}

.cf-progress-item.active span,
.cf-progress-item.completed span {
    background: #092754;
    color: #fff;
}

.cf-step {
    display: none;
}

.cf-step.active {
    display: block;
}

.cf-step h3 {
    font-size: 21px;
    color: #092754;
    margin-bottom: 25px;
}

.cf-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
}

.cf-full {
    grid-column: 1 / -1;
}

.cf-wrapper label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #233b59;
}

.cf-wrapper input:not([type=checkbox]),
.cf-wrapper select,
.cf-wrapper textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #d5dfeb;
    border-radius: 9px;
    background: #fafcfe;
    color: #172e4d;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.cf-wrapper input:focus,
.cf-wrapper select:focus,
.cf-wrapper textarea:focus {
    border-color: #194777;
    box-shadow: 0 0 0 3px #19477712;
}

.cf-wrapper textarea {
    resize: vertical;
}

.cf-countries {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin: 15px 0 25px;
}

.cf-wrapper .cf-country {
    flex-direction: row;
    align-items: center;
    padding: 14px;
    border: 1px solid #dce5f0;
    border-radius: 10px;
    cursor: pointer;
}

.cf-country:has(input:checked) {
    background: #edf4ff;
    border-color: #194777;
}

.cf-wrapper input[type=checkbox] {
    width: 17px;
    height: 17px;
    accent-color: #092754;
    flex-shrink: 0;
}

.cf-language {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
    gap: 10px;
    margin: 12px 0;
}

.cf-remove {
    border: 0;
    background: #fff0f0;
    color: #b42318;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
}

.cf-upload {
    padding: 20px;
    border: 2px dashed #cddbeb;
    border-radius: 12px;
    background: #f8fafc;
}

.cf-upload small {
    color: #64748b;
    font-weight: 400;
}

.cf-wrapper .cf-consent {
    flex-direction: row;
    align-items: flex-start;
    margin-top: 25px;
    padding: 15px;
    background: #f5f8fc;
    border-radius: 10px;
    font-weight: 400;
}

.cf-consent input {
    margin-top: 5px;
}

.cf-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #e5eaf1;
    padding-top: 25px;
    margin-top: 30px;
}

.cf-primary,
.cf-secondary {
    border-radius: 10px;
    padding: 13px 26px;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.cf-primary {
    background: #092754;
    color: white;
    border: 1px solid #092754;
    margin-inline-start: auto;
}

.cf-primary:disabled {
    opacity: .6;
    cursor: wait;
}

.cf-secondary {
    background: #fff;
    color: #092754;
    border: 1px solid #c9d7e7;
}

.cf-errors,
.cf-message:not(:empty) {
    background: #fff2f2;
    border: 1px solid #f4c5c5;
    color: #b42318;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 14px;
}

.cf-privacy {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 25px;
}

@media(max-width:650px) {

    .cf-wrapper {
        padding: 20px 16px;
        margin-top: 20px;
    }

    .cf-hero {
        padding: 35px 15px;
    }

    .cf-hero h1 {
        font-size: 25px;
    }

    .cf-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .cf-progress {
        gap: 5px;
    }

    .cf-progress-item {
        font-size: 10px;
    }

    .cf-countries {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .cf-language {
        grid-template-columns: 1fr 1fr;
    }

    .cf-primary,
    .cf-secondary {
        padding: 12px 18px;
    }
}

