.btn-auth{ 
    text-align: center;
    padding: 10px;
    border: 2px solid #426EC1;
    border-radius: 30px !important;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline !important;
    color: #fff !important;
    background: linear-gradient(137deg, rgb(62,108,179) 0%, rgb(133,90,164) 79%);
    font-size: 15px;
	  display: inline-block;
    width: 200px;
    margin-bottom: 10px;
}


.btn-reg { 
    text-align: center;
    padding: 12px;
    border: 2px solid #426EC1;
    border-radius: 30px !important;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline !important;
    color: #000 !important;
    background:#fff;
    font-size: 15px; 
	
	    display: inline-block;
    width: 200px;
    margin-bottom: 10px;
}


/* =============================================
   СТРАНИЦА АВТОРИЗАЦИИ (ЦЕНТРИРОВАНИЕ И КАРТОЧКА)
   ============================================= */
.auth-page-wrapper {
   
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 40px 20px;
    box-sizing: border-box;
}

.container > .row:nth-of-type(2) {
    display: none !important;
}



.auth-page-box {
    width: 100%;
    max-width: 580px; /* Оптимальная ширина для формы */
    background: #FDFDFD;
    box-shadow: 0px 0px 17px rgba(96.12, 96.12, 96.12, 0.08);
    border-radius: 12px;
    padding: 40px 56px;
}

/* Внутреннему контейнеру профиля убираем лишние отступы, так как есть карточка */
.auth-page-box .profile-container {
    gap: 24px;
}

.auth-page-box .profile-header {
    margin-bottom: 0;
}

/* =============================================
   ДОПОЛНИТЕЛЬНЫЕ КНОПКИ И ССЫЛКИ
   ============================================= */

/* Вторичная кнопка (Регистрация) - серая, под стиль сайта */
.profile-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 10px 32px;
    background: #F3F2F4;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #575757;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.profile-btn-secondary:hover {
    background: #EBEAEC;
    color: #575757;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Ссылка "Забыли пароль?" */
.auth-forgot-link {
    color: rgba(87, 87, 87, 0.70);
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-forgot-link:hover {
    color: #9378FB;
    text-decoration: none;
}

/* Блок соцсетей */
.auth-social-block table {
    width: 100%;
    margin: 0 auto;
}

/* =============================================
   АДАПТАЦИЯ АВТОРИЗАЦИИ ДЛЯ МОБИЛЬНЫХ
   ============================================= */
@media (max-width: 992px) {
    .auth-page-wrapper {
        min-height: auto;
        padding: 20px 16px;
    }

    .auth-page-box {
        padding: 24px;
    }

    .auth-page-box .profile-title {
        font-size: 28px;
        text-align: center;
    }

    .auth-page-box .profile-input {
        height: 48px;
        font-size: 16px;
    }

    .auth-page-box .profile-input::placeholder {
        font-size: 16px;
    }

    .profile-btn, 
    .profile-btn-secondary {
        height: 48px;
        font-size: 18px;
        width: 100%;
    }
	
	.profile-form .mb-4 {margin-bottom:0.1rem !important;}
	
	.auth-forgot-link {font-size:16px;}
}

@media (max-width: 576px) {
    .auth-page-box {
        padding: 20px;
    }
    
    .auth-page-box .profile-btn,
    .auth-page-box .profile-btn-secondary {
        width: 100%;
    }
}

/* === ПРИНУДИТЕЛЬНАЯ ШИРИНА ПОЛЕЙ И ФОРМЫ === */
.auth-page-box .profile-container,
.auth-page-box .profile-form {
    width: 100%;
    align-items: stretch !important;
}

.auth-page-box .row {
    width: 100%;
}

.auth-page-box .profile-field {
    width: 100%;
    align-items: stretch !important;
}

.auth-page-box .profile-input {
    width: 100%;
    box-sizing: border-box;
}

/* === ИСПРАВЛЕНИЕ КНОПОК (В ОДНУ СТРОКУ) === */
.auth-buttons-row .profile-btn,
.auth-buttons-row .profile-btn-secondary {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}




/* =============================================
   ПОКАЗ / СКРЫТИЕ ПАРОЛЯ (ИКОНКА ГЛАЗИКА)
   ============================================= */
.password-field-wrapper {
    position: relative;
    width: 100%;
}

/* Добавляем отступ справа, чтобы текст не залезал на иконку */
.password-field-wrapper .profile-input {
    padding-right: 45px;
}

/* Кнопка-глаз */
.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    /* Убираем все рамки и подсветку */
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent; /* Убирает синюю подсветку на мобилках */
}

.toggle-password:hover {
    opacity: 0.7;
}

/* ПРИНУДИТЕЛЬНО убираем рамку фокуса при клике (бордер) */
.toggle-password:focus,
.toggle-password:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.toggle-password svg {
    pointer-events: none; /* Чтобы клик считывался по всей области кнопки */
}