/* Анімований фон */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    background: linear-gradient(-45deg, #1e3c72, #2a5298, #ff6b6b, #f8e9a1);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="password"], select, textarea {
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Форма */
.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 1;
    width: 320px;
    text-align: center;
}

.login-container h2 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    outline: none;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background: #3b82f6;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
}

.login-container button:hover {
    background: #2563eb;
}
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #0f172a;
}
.login-container {
    z-index: 1;
    position: relative;
}


.login-registration-link {
    color: #ffffff;
    margin-top: 20px;
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
}
.login-registration-link:hover {
    color: #FFFFFF;
    opacity: .75;
}



.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.modal-dialog {
    position: relative;
    width: auto;
    max-width: 520px;
    margin: 1.75rem auto;
    pointer-events: none;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: rgba(255,255,255,0.15);
    background-clip: padding-box;
    backdrop-filter: blur(12px);
    outline: 0;
    padding: 40px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    color: #ffffff;
    z-index: 1;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    opacity: 0;
    z-index: -1;
}
.modal-backdrop.show {
    opacity: .65;
    z-index: 1049;
}
.modal-title {
    margin-bottom: 20px;
    text-align: center;
}
.modal-close {
    position: absolute;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-image: url(../images/close.svg);
    mask-image: url(../images/close.svg);
    background-color: #ffffff;
    width: 34px;
    height: 34px;
    top: 12px;
    right: 12px;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: .25s;
    z-index: 9;
}
.modal-close:hover {
    background-color: #ffffff;
    opacity: .45;
}




.wpcf7-acceptance,
.wpcf7-checkbox {
    display: block;
    cursor: pointer;
    padding-top: 6px;
}
.wpcf7-acceptance .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
    margin-left: 0;
    display: block;
}
.wpcf7-acceptance .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item-label {
    display: block;
    padding-left: 29px;
    cursor: pointer;
}
.wpcf7-acceptance label,
.wpcf7-checkbox label {
    position: relative;
    display: inline-block;
}
.wpcf7-acceptance input[type="checkbox"],
.wpcf7-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: inline-block;
    vertical-align: middle;
    background: transparent;
    border: 1px solid var(--white);
    width: 20px;
    height: 20px;
    outline: 0;
    padding: 0px;
    margin: 0;
    margin-right: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    transition: .25s;
}
.wpcf7-acceptance input[type="checkbox"]:checked,
.wpcf7-checkbox input[type="checkbox"]:checked {
    background: var(--white);
}
.wpcf7-acceptance input[type="checkbox"]:checked:after,
.wpcf7-checkbox input[type="checkbox"]:checked:after {
    content: '';
    width: 7px;
    height: 12px;
    border-bottom: 1px solid var(--black);
    border-right: 1px solid var(--black);
    display: block;
    position: absolute;
    top: 1px;
    left: 6px;
    transform: rotate(45deg);
}
.form-field-button .btn {
    min-width: 180px;
}


.form-field-group-checkbox {
    position: relative;
    z-index: 1;
}
.form-field-group-checkbox-title {
    font-size: var(--text-size);
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    margin-bottom: 0px !important;
}
.form-field-group-checkbox .wpcf7-list-item {
    margin-bottom: 5px;
}
.form-field-group-checkbox .wpcf7-list-item:last-child {
    margin-bottom: 0;
}