*{
    margin: 0;
    padding: 0;
}
li{list-style-type: none}

html, body{
    min-height: 100%;
}
a{
    text-decoration: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

body{
    overflow-y: scroll;
    background: #FFF;
    font-family: Roboto, Tahoma, sans-serif;
    margin:0;
}
.none{
    display: none;
}

/* Форма настроек */
.settings_form {
    padding: 20px 0;
    max-width: 600px;
}
.content_wrapper .content_inner{
    padding: 10px 30px;
    border-left: #d5d5d5 dashed 1px;
}
.form_group {
    margin-bottom: 25px;
}
.form_group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}
.form_group label > a{
    color: #1976d2;
}
.form_group label > a:hover{
    text-decoration: underline;
}
.form_group label:hover{
    color: #000;
}
.form_group label > span {
    color: #777;
    font-size: 14px;
}
.form_group.checkbox{
    display: flex;
    flex-direction: row;
}
.form_group.checkbox > input[type=checkbox]{
    display: none;
}
.form_group.checkbox > input[type=checkbox]:checked ~ .checkbox_wrapper{
    background: #0075ff;
    border: #0075ff solid 1px;
}
.form_group.checkbox > input[type=checkbox]:not(:checked) ~ .checkbox_wrapper{
    background: #FFF;
    border: #CCC solid 1px;
    transition: background 0.25s ease-in-out, border 0.25s ease-in-out;
}
.form_group.checkbox > .checkbox_wrapper{
    width: 14px;
    height: 14px;
    order: 1;
    display: inline-block;
    border: #CCC solid 1px;
    overflow: hidden;
    border-radius: 0;
}
.form_group.checkbox > .checkbox_wrapper .cover{
    width: 0;
    height: 14px;
    overflow: hidden;
    line-height: 12px;
    transition: width 0.15s ease-in-out;
}
.form_group.checkbox > .checkbox_wrapper .cover img{
    vertical-align: middle;
    margin-left: 1px;
}
.form_group.checkbox > input[type=checkbox]:checked ~ .checkbox_wrapper .cover{
    width: 14px;
}
.form_group.checkbox > label{
    display: inline-block;
    order: 2;
    margin: 0 0 0 5px;
}
.form_group.checkbox > label:hover + .checkbox_wrapper{
    border: #888 solid 1px;
}
.form_group.checkbox > .checkbox_wrapper .cover > img{
    -webkit-filter: invert(1);
    filter: invert(1);
}
.form_control {
    width: 95%;
    padding: 8px 2.3%;
    border: 1px solid #DDD;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s;
}
.form_control:focus {
    border-color: #1976d2;
    outline: none;
}
.form_group > textarea {
    resize: none;
}
.form_actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}
.auth_wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F5F5F5 url("/img/pic/preview.png") no-repeat center center;
    transition: all 1s ease-in-out;
    animation: background_size 90s ease infinite;
    overflow: hidden;
    padding: 0;
}
@keyframes background_size {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}
.logo_wrapper {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    /*margin: 40px 0;*/
}
.logo_wrapper text {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.logo_link svg text{
    font-family: Orbitron, Roboto, Tahoma, Arial, sans-serif;
}
.auth_container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    /*border-radius: 8px;*/
    padding: 40px;
    z-index: 100;
}
.auth_header {
    text-align: center;
    margin: 10px 0 30px 0;
    display: flex;
    width: 100%;
}
.auth_header h1{
    width: 50%;
    font-size: 20px;
    padding: 0 20px;
    font-weight: 500;
}
.auth_header h1:first-child {
    text-align: right;
}
.auth_header h1:last-child {
    text-align: left;
}
.auth_header h1 > a{
    font-weight: 400;
    color: #777;
}
.auth_header h1 > a:hover{
    color: #000;
}
.auth_header h1 > a.active{
    font-weight: 600;
    color: #000;
}
.auth_container p.description {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #777;
    margin: 10px 0 30px 0;
}
.auth_form {
    margin-bottom: 20px;
}
.form_group {
    margin-bottom: 20px;
}
.auth_form_wrapper{
    display: block;
    margin: 15px 0 0 0;
}
.auth_form_wrapper form label {
    display: block;
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}
.form_control {
    width: 90%;
    padding: 12px 4.6%;
    background: #FFF;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: border-color 0.3s;
    outline: none;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    font-family: Tahoma, Arial, sans-serif;
}
.form_control:focus {
    border-color: #1976d2;
    outline: none;
}
.form_control::placeholder {
    color: #999;
}
.auth_form_wrapper form > div{
    margin: 0 0 25px 0;
}
.auth_submit_wrapper{
    padding: 20px 0 0;
}
.auth_form_wrapper form > div > button[type="submit"] {
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    border: none;
    display: inline-block;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    line-height: 30px;
    vertical-align: middle;
    position: relative;
    outline: none;
    cursor: pointer;
}
.auth_form_wrapper form > div > button[type="submit"]:hover {
    background: #2665a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}
.btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn_primary {
    background: #1976d2;
    color: #fff;
}
.btn_primary:hover {
    background: #1565c0;
}
.auth_footer {
    text-align: center;
}
.link {
    font-size: 14px;
    color: #1976d2;
    text-decoration: none;
    transition: color 0.3s;
}
.link:hover {
    color: #1565c0;
}
.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}
.alert-error{
    background: #fff6f8;
    color: #953d3d;
    border: 1px dashed #fbc5ca;
    border-radius: 0;
}

/* Адаптивные стили */
@media (max-width: 480px) {
    .auth_container {
        padding: 30px 20px;
    }

    .auth_header h1 {
        font-size: 20px;
    }

    .form_control {
        padding: 10px;
    }

    .btn {
        padding: 10px;
    }
}
.login-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.login-content {
    position: relative;
    z-index: 2;
}

/* Затемнение поверх видео */
.login-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Стили для формы логина */
.login-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.auth_wrapper:before{
    content: "";
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    opacity: 0.7;
    z-index: 100;
    background: linear-gradient(-45deg, #a60085, #573d24, #180b18, #2c2c2c);
    background-size: 300% 300%;
    animation: gradient 15s ease infinite;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}





















