:root {
    --bg-color: #FCFCFC;
    --text-color: #1D1D1D;
    --gold: #FCA311;
    --dark-gold: #D18201;
    --danger: #ff7373;
}


@font-face {
    font-family: 'SF-Pro-Display';
    src: url('../fonts/SFProDisplay-Thin.eot');
    src: url('../fonts/SFProDisplay-Thin.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SFProDisplay-Thin.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Thin.woff') format('woff'),
    url('../fonts/SFProDisplay-Thin.ttf') format('truetype'),
    url('../fonts/SFProDisplay-Thin.svg#SFProDisplay-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro-Display';
    src: url('../fonts/SFProDisplay-Light.eot');
    src: url('../fonts/SFProDisplay-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SFProDisplay-Light.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Light.woff') format('woff'),
    url('../fonts/SFProDisplay-Light.ttf') format('truetype'),
    url('../fonts/SFProDisplay-Light.svg#SFProDisplay-Light') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro-Display';
    src: url('../fonts/SFProDisplay-Regular.eot');
    src: url('../fonts/SFProDisplay-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SFProDisplay-Regular.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Regular.woff') format('woff'),
    url('../fonts/SFProDisplay-Regular.ttf') format('truetype'),
    url('../fonts/SFProDisplay-Regular.svg#SFProDisplay-Regular') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro-Display';
    src: url('../fonts/SFProDisplay-Medium.eot');
    src: url('../fonts/SFProDisplay-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SFProDisplay-Medium.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Medium.woff') format('woff'),
    url('../fonts/SFProDisplay-Medium.ttf') format('truetype'),
    url('../fonts/SFProDisplay-Medium.svg#SFProDisplay-Medium') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro-Display';
    src: url('../fonts/SFProDisplay-Semibold.eot');
    src: url('../fonts/SFProDisplay-Semibold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SFProDisplay-Semibold.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Semibold.woff') format('woff'),
    url('../fonts/SFProDisplay-Semibold.ttf') format('truetype'),
    url('../fonts/SFProDisplay-Semibold.svg#SFProDisplay-Semibold') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF-Pro-Display';
    src: url('../fonts/SFProDisplay-Bold.eot');
    src: url('../fonts/SFProDisplay-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SFProDisplay-Bold.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Bold.woff') format('woff'),
    url('../fonts/SFProDisplay-Bold.ttf') format('truetype'),
    url('../fonts/SFProDisplay-Bold.svg#SFProDisplay-Bold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'SF-Pro-Display', system-ui;
}

body {
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
}

a {
    text-decoration: none !important;
}

.site-header,
.footer-nav {
    padding: 20px 0;
    box-shadow: 0px 2px 10px rgba(29, 29, 29, 0.25);
}

.section-offset {
    padding-top: 50px;
    padding-bottom: 50px;
}

.form-registration__title {
    font-size: 32px;
    margin-bottom: 25px;
}

.form-body__field input:not([type="checkbox"], input#mfcf7_zl_add_file),
.form-body__field select {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ececec;
}

.form-body__field input:not([type="checkbox"],[type="submit"], input#mfcf7_zl_add_file),
.form-body__field select {
    background-color: var(--bg-color);
}

label {
    width: 100%;
}

#buttonEye-your-check-password, #buttonEye-your-password {
    margin-left: -40px !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.help-text {
    font-size: 12px;
    color: #616161;
    line-height: 133%;
    display: inline-block;
    margin-top: 5px;
}

.btn-main:disabled {
    background-color: #ffefd6;
    color: #575757;
}

.btn-main {
    background-color: var(--gold);
    color: var(--bg-color);

    transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
}

.btn-main:not(.btn-main:disabled):hover {
    background-color: var(--dark-gold);
}

.privacy-link-dynamic {
    color: var(--gold);
    transition: color 300ms ease-in-out;
}

.privacy-link-dynamic:hover {
    color: var(--dark-gold);
}

.wpcf7-not-valid-tip {
    color: var(--danger) !important;
}

.form-body__title {
    font-size: 24px;
    margin-bottom: 20px;

    padding: 10px;
    background-color: #FCA311;
    color: var(--bg-color);
    border-radius: 5px;
}

.form-body {
    margin-bottom: 35px;
}

/* Скрытый попап-уведомление */
.success-popup {
    position: fixed;
    left: 20px;
    bottom: -100px;
    background: var(--gold);
    color: var(--bg-color);
    padding: 16px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

/* Активный попап */
.success-popup.show {
    bottom: 20px;
    opacity: 1;
}

/* Анимация исчезновения */
.success-popup.hide {
    bottom: -100px;
    opacity: 0;
}

.wpcf7-spinner {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    margin: 0;
    background: var(--bg-color);
    left: 0;
}

form {
    position: relative;
}

.form-body {
    position: relative;
}

.wpcf7-spinner::before {
    content: url('../img/spinner-solid-full.svg');
    transform-origin: unset;
    background-color: unset;
    width: unset;
    height: unset;
    top: 45%;
    left: 45%;
}

p {
    margin: 0 !important;
}

.wpcf7-form-control {
    margin-top: 10px;
    margin-bottom: 15px;
}

.codedropz-upload-handler {
    border: none;
    margin: 0;
}

.codedropz-upload-handler h3,
.codedropz-upload-container span {
    display: none;
}

.codedropz-upload-container {
    padding: 0;
}

.cd-upload-btn:hover {
    color: unset;
}

.cd-upload-btn {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border: 1px solid #ececec;
    border-radius: 5px;
    color: #757575;
    cursor: pointer;
}

.cd-upload-btn::before {
    content: 'Прикрепите файлы';
    flex: 1;
    padding: 15px;
    text-align: left;
}

.cd-upload-btn::after {
    content: 'Выбрать';
    padding: 15px;
    background: var(--gold);
    color: var(--bg-color);
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    transition: background 0.2s ease;
}

.cd-upload-btn:hover::after {
    background: var(--dark-gold);
}

.dnd-upload-status {
    display: none;
}

.wpcf7-list-item-label::after {
	content: initial;
}

.cd-upload-btn[data-selected]::before {
    content: attr(data-selected);
}

.dnd-upload-counter {
    display: none;
}

select {
    appearance: none;
    background-image: url('../img/arrow.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
}

input:focus-visible,
select:focus-visible,
.cd-upload-btn:focus-visible {
    outline: 1px solid var(--gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    align-items: center;
}

.upload-files::-webkit-file-upload-button {
    display: none;
}

.upload-files::before {
    content: '\f0c6';
    cursor: pointer;
    transform: rotate(270deg);
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 15px;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-container {
    flex: 1;
}