:root {
    --transition: 0.25s ease-in-out;
}

#main {
    display: flex;
    align-items: anchor-center;
    flex-wrap: wrap;
    padding: 40px;
    min-height: calc(100vh - 80px);
    justify-content: center;
    gap: 30px;
}

.bl-head {
    width: 100%;
    margin-bottom: auto;
}

.bl-foot {
    width: 100%;
    margin-top: auto;
}

.svglogo {
    width: 240px;
    margin-bottom: 10px;
    line-height: 0px;
}

.bl-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cf-turnstile frame {
    width: 100% !important;
    max-width: 100% !important;
}

.blcenter {
    max-width: 100%;
    max-width: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.blcenter h1 {
    padding: 0;
    margin: 0;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.2px;
    text-align: center;
    width: 100%;
}

.blcenter form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Общие стили для полей ввода */
.blcenter input:focus,
.blcenter input {
    width: 100%;

}


.auth-links {
    display: block;
    text-align: center;
    margin-top: 30px;
}

.auth-links a {
    color: var(--wh);
    font-size: 16px;
    letter-spacing: 0.2px;
}

.auth-links a:hover {
    color: var(--brand1);
}

/* Кнопка "Войти" */
.blcenter button {
    width: 100%;
}

.error {
    color: #ff4d4d;
    font-size: 15px;
    background: rgba(255, 77, 77, 0.1);
    padding: 12px 20px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 77, 77, 0.2);
    text-align: center;
    width: 100%;
    letter-spacing: 0.2px;
}

.authbl p {
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.2px;
    opacity: 0.6;
    transition: all 0.5s;
    cursor: default;
}

.authbl p:hover {
    opacity: 1;
}

.tg-block {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    width: calc(100% - 2px);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    background: linear-gradient(175deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05) 100%);
    font-size: 15px;
    line-height: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tg-block a.btn-tg {
    background-color: var(--blue);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
}

.tg-block .inf {}

.tg-block .inf:hover {}

.blver {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: start;
}

.blver > div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    font-size: 15px;
    letter-spacing: 0.2px;
    line-height: 20px;
}

.blver > div b {
    color: var(--brand1);
}

.blver input:focus,
.blver input {
    width: 100%;
    font-size: 18px;
    letter-spacing: 10px;
    font-weight: 700;
    text-align: center;
    padding: 0
}

.blcenter input::placeholder {
    letter-spacing: 0.2px;
    font-size: 15px;
    font-weight: 500;
}

/* recss */

.bl-head .fixedtop {
    flex-flow: row;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px 40px;
    justify-content: start;
    position: relative;
    width: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    padding: 0;
    background-color: transparent;
    transition: all 0.5s;
}

.bl-head .lang-container {
    margin-left: auto;
}

.bl-head a.brand-text svg {
    width: auto;
    height: 30px;
}



.bl-foot footer#cb-footer {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.bl-foot .fbottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
    flex-wrap: wrap;
    font-size: 16px;
    line-height: 20px;
    width: 100%;
}

@media only screen and (max-width: 699px) {

    .bl-foot .fbottom {
        justify-content: center;
        gap: 10px 40px;
    }
}

/* */

@media only screen and (max-width: 699px) {
    #main {
        padding: 30px;
        min-height: calc(100vh - 60px);
    }

    .blcenter {
        padding: 30px;
    }
}