body {
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    position: relative;
    padding: 20px;
}

.text-center {
    margin-top: 100px;
}

.logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 50vh;
    padding-right: 15%;
}

.prev {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-size: 15px;
    text-transform: lowercase;
    color: #ffffff;
    text-align: center;
    margin: 10px 0 0 0;
    width: 100%;
    padding: 0 15px; /* Добавляем внутренние отступы */
    box-sizing: border-box; /* Учитываем padding в ширине */
}

.logo-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-size: 160px;
    text-align: center;
    letter-spacing: -3px;
    line-height: 0.9;
    text-transform: lowercase;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.logo-title span {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 160px;
    text-align: center;
    color: #ff6a00;
}

.auth-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
    padding-left: 15%;
}

form {
    width: 100%;
    max-width: 400px;
}

.auth-text-login,
.auth-text-password {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-size: 18px;
    margin-bottom: 0px;
    letter-spacing: -0.5px;
}

.auth-form-login,
.auth-form-password {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: white;
    outline: none;
    transition: border-color 1s ease;
    margin-bottom: 0px;
}

.auth-form-login:focus,
.auth-form-password:focus {
    border-color: #ff6a00;
}

.auth-button {
    width: 100%;
    background: #ff6a00;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    cursor: pointer;
    transition: all 1s ease;
    text-transform: lowercase;
    border-style: none;
    border-radius: 8px;
    padding: 10px 0;
}

.auth-button:hover {
    background: #ff6a00;
}

.checkbox-label {
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.checkbox-input {
    margin-right: 8px;
}

.privacy-links {
    color: #ff6a00;
    text-decoration: none;
}

/* Адаптивность для мобильных */
@media (max-width: 992px) {
    .container {
        position: static !important;
        padding: 20px;
    }
    
    .row {
        flex-direction: column;
    }
    
    .logo-block,
    .auth-block {
        height: auto;
        padding: 30px 15px !important;
        width: 100%;
    }
    
    .logo-title {
        font-size: 140px;
        margin-bottom: 30px;
    }
    
    .logo-title span {
        font-size: 140px;
    }
    
    .prev {
        display: block;
        font-size: 18px;
    }
    
    .col-6 {
        width: 100%;
    }
    
    /* Увеличиваем размеры текста и элементов формы */
    .auth-text-login,
    .auth-text-password {
        font-size: 32px;
        margin-bottom: 5px;
    }
    
    .auth-form-login,
    .auth-form-password {
        font-size: 32px;
        padding: 12px 0;
        margin-bottom: 30px;
        border-bottom-width: 3px;
    }
    
    .auth-button {
        padding: 32px 0;
        font-size: 18px;
    }
    
    .checkbox-label {
        font-size: 18px;
        line-height: 1.4;
    }
    
    /* Увеличиваем максимальную ширину формы */
    form {
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Увеличиваем отступы вокруг блоков */
    .logo-block,
    .auth-block {
        padding: 50px 20px !important;
    }
    
    .mt-5 {
        margin-top: 30px !important;
        font-size: 18px;
    }

    .form-checkbox {
        position: relative; /* Добавляем контекст позиционирования */
        margin-top: 30px !important;
        padding-left: 30px; /* Оставляем место для чекбокса */
    }
    
    .checkbox-label {
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
        display: block;
        position: relative;
        padding-left: 30px; /* Отступ для чекбокса */
        margin-left: -30px; /* Компенсируем отступ родителя */
    }
    
    .checkbox-input {
        position: absolute;
        left: 0;
        top: 3px;
        width: 20px;
        height: 20px;
        margin: 0; /* Убираем стандартные отступы */
    }
    
    .privacy-links {
        display: inline-block;
        white-space: nowrap;
    }
    
    .mt-5 {
        font-size: 16px;
        text-align: center;
    }
    
    /* Убираем фиксированные отступы для центрирования */
    .logo-block,
    .auth-block {
        padding: 30px 20px !important;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 100px;
    }
    
    .logo-title span {
        font-size: 100px;
    }
    
    .auth-text-login,
    .auth-text-password {
        font-size: 24px;
    }
    
    .auth-form-login,
    .auth-form-password {
        font-size: 24px;
    }
    
    .auth-button {
        padding: 24px 0;
        font-size: 16px;
    }
    
    .checkbox-label {
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 12px;
        padding-left: 28px;
    }
    
    .checkbox-input {
        width: 18px;
        height: 18px;
    }
    
    .mt-5 {
        font-size: 14px;
    }
    
    /* Для очень маленьких экранов делаем переносы в ссылках */
    .privacy-links {
        white-space: normal;
    }
}

/* Стили для чекбокса на ПК */
.form-checkbox {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.checkbox-label {
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: white;
}

.checkbox-input {
    margin-right: 12px;
    margin-top: 3px;
    min-width: 16px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.checkbox-input:checked {
    background-color: #ff6a00;
    border-color: #ff6a00;
    position: relative;
}

.checkbox-input:checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.3);
}

.privacy-link {
    color: #ff6a00;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.privacy-link:hover {
    text-decoration: underline;
    color: #ff8c42;
}