

/* Start:/local/templates/help/components/bitrix/system.auth.form/template1/style.min.css?1742458330424*/
div.bx-system-auth-form span.bx-auth-secure{background-color:#fffae3;border:1px solid #dedbc8;padding:2px;display:inline-block;vertical-align:bottom;margin-top:-1px}div.bx-system-auth-form div.bx-auth-secure-icon{background-image:url(/local/templates/help/components/bitrix/system.auth.form/template1/images/sec.png);background-repeat:no-repeat;background-position:center;width:19px;height:18px}div.bx-system-auth-form div.bx-auth-secure-unlock{background-image:url(/local/templates/help/components/bitrix/system.auth.form/template1/images/sec-unlocked.png)}
/* End */


/* Start:/local/templates/help/template_styles.css?174602596118499*/
:root {
    --primary-color: #333;
    --secondary-color: #666;
    --hover-color: #f0f0f0;
    --border-color: #ddd;
    --background-color: #fff;
    --secondary-background-color: #f5f5f5;;
}

html { font-size: 16px; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
}

header {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-title {
    font-size: 1.8rem;
    margin: 0 auto;
    order: 0;
}

.logout-btn {
    background: none;
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: auto;
    color: var(--primary-color);
}

.logout-btn:hover {
    background: var(--primary-color);
    color: white;
}

.main-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.main-menu button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.main-menu button:hover {
    background: var(--hover-color);
}

.main-menu button.active {
    border-bottom: 2px solid var(--primary-color);
}

.breadcrumbs {
    padding: 1rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.breadcrumbs .bx-breadcrumb-item-link {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs .bx-breadcrumb-item-link:hover {
    text-decoration: underline;
}

.content-wrapper {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
}

.sidebar {
    width: 370px;
    border-right: 1px solid var(--border-color);
    padding: 2rem 1rem 1rem;
    overflow-y: auto;
    transition: transform 0.3s;
    position: relative;
    height: 100%;
}

.menu-item {
    list-style: none;
    margin: 0.25rem 0;
    position: relative;
    font-size: 1rem;
}

.menu-item > a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    display: block;
    border-radius: 4px;
    transition: background 0.3s;
}

/* .menu-item.has-children > a::before {
     content: '▶';
     position: absolute;
     left: 0.5rem;
     transition: transform 0.3s;
     font-size: 0.8rem;
 }

 .menu-item.expanded.has-children > a::before {
     transform: rotate(90deg);
 } Закоментировано, потому что не знаю, можно ли так на Битриксе сделать*/

.menu-item a:hover {
    background: var(--hover-color);
}

.menu-item.active > a {
    background: var(--hover-color);
    /*font-weight: bold;*/
}
.menu-item a.current {
    font-weight: bold;
}
.submenu {
    padding-left: 1rem;
    /*display: none;*/
}

.expanded > .submenu {
    display: block;
}

.content-area {
    flex-grow: 1;
    padding: 1rem;
}

.page-title {
    margin-bottom: 1rem;
}

.image-placeholder {
    background: #f5f5f5;
    /*aspect-ratio: 16/9;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.content-text {
    line-height: 1.6;
    color: var(--primary-color);
}

.content-text h2 {
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.content-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.content-text ul, .content-text ol {
    margin: 1rem 0;
    padding-left: 2rem;
    font-size: 1rem;
}

.content-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1rem;
}

.content-text td, .content-text th {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
}

.content-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.content-text a:hover {
    text-decoration: none;
    opacity: 0.9;
}

footer {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
    margin-top: auto;
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    padding: 0.5rem;
    margin-right: auto;
    background: none;
    border: none;
    color: var(--primary-color);
}

.close-menu-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Добавлено */
}

.menu-item > a {
    padding: 0.1rem 1rem 0.1rem 2rem; 
    max-width: calc(100% - 2rem); 
}

.header-user {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    order: 1;
}

.admin-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.admin-link:hover {
    text-decoration: underline;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        background: white;
        z-index: 1000;
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: block;
        order: 0;
        margin-right: 0;
    }

    .close-menu-btn {
        display: block;
    }

    .content-area {
        padding-top: 1rem;
    }
    .menu-item > a {
        padding-right: 3rem; /* Оставляем место для крестика */
    }

    header {
        padding: 0.75rem 1rem; /* Уменьшен внутренний отступ */
        gap: 0.75rem;
    }

    .header-title {
        width: 100%;
        order: 2;
        font-size: 1.4rem;
        text-align: center;
        padding: 0.5rem 0 0; /* Уменьшен отступ */
        margin-top: 0.5rem; /* Уменьшен отступ */
        border-top: none; /* Убрана граница */
    }

    .header-title::before {
        content: '';
        position: absolute;
        top: -1px;
        left: -20px;
        right: -20px;
        height: 1px;
        background: var(--border-color);
    }

    .header-user {
        gap: 0.75rem;
        padding-right: 0.5rem;
    }

    .mobile-menu-btn {
        font-size: 1.8rem;
        padding: 0.5rem;
    }

    .logout-btn {
        padding: 0.5rem 1rem;
    }
    .admin-link {
        font-size: 0.9rem;
    }
}
@media (min-width: 769px) {
    .header-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2rem;
    }
}

/* Общие стили для форм */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.input-group input {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

/* Специфичные стили для страницы авторизации */
/*body.auth-page {
    background: var(--secondary-background-color);
}
*/
.auth-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--secondary-background-color);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.auth-notice {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.auth-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    width: 100%;
}

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

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-direction: row;
}

.auth-error {
    color: #dc3545;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #dc3545;
    border-radius: 4px;
    background: #f8d7da;
}

.auth-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}
.auth-link {
    color: var(--primary-color);
}

.captcha img {
    margin: 1rem 0;
    max-width: 180px;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

a.forgot-password  {
    color: var(--primary-color);
    text-decoration: underline;
}

a.forgot-password:hover {

    text-decoration: none;
}

/* Стили для страницы выбора */
.main-header {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background-color);
}

/* Адаптивность для шапки */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .header-user {
        order: 1;
        width: 50%;
        justify-content: flex-end;
    }
}

 .main.content-wrapper {
    flex-grow: 1;
    background: var(--secondary-background-color);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-container {
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-container .auth-title {
    margin-bottom: 3rem;
}

.choice-content {
    width: 100%;
    text-align: center;
}

.choice-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.choice-button {
    flex: 1;
    padding: 2.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 220px;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.choice-button:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .choice-buttons {
        flex-direction: column;
    }

    .choice-button {
        width: 100%;
        padding: 1.5rem;
        height: auto;
    }
    .choice-container {
        min-height: auto;
        padding: 2rem 1rem;
    }
    .choice-container .auth-title {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }
}

/* catalog links */
.display_menu_none {
    display: none;
}

.profile-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem 3rem;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-container p {
    text-align: center;
    margin-bottom: 1.2rem;
}

.profile-container .alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    border: 1px solid;
}

.profile-container .alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.profile-container .alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.profile-container .section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    text-align: center;
}

.profile-container .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
}

.profile-container .input-group {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-container label {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
    text-align: left;
}

.profile-container .form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    background: var(--background-color);
}

.profile-container .form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
    outline: none;
}

.profile-container .required {
    color: #dc3545;
    margin-left: 0.2rem;
}

.profile-container .form-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.profile-container .btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    min-width: 120px;
    text-align: center;
}

.profile-container .btn-primary {
    background: var(--primary-color);
    color: var(--background-color);
}

.profile-container .btn-primary:hover {
    opacity: 0.9;
}

.profile-container .btn-secondary {
    background: var(--secondary-color);
    color: var(--background-color);
}

.profile-container .btn-secondary:hover {
    opacity: 0.9;
}

@media (max-width: 992px) {
    .profile-container {
        max-width: 800px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .profile-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .profile-container .form-grid {
        grid-template-columns: 1fr;
    }

    .profile-container .input-group {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: left;
    }

    .profile-container label {
        text-align: left;
    }

    .profile-container .form-actions {
        flex-direction: column;
        padding-top: 1.5rem;
    }

    .profile-container .btn {
        width: 100%;
    }
}

.forgot-password-page .auth-container {
    max-width: 440px;
    padding: 2.5rem;
}

.forgot-password-page .auth-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.forgot-password-page .auth-notice {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--secondary-color);
}

.forgot-password-page .input-group {
    margin-bottom: 1.5rem;
}

.forgot-password-page .bx-authform-formgroup-container {
    margin-bottom: 1.5rem;
}

.forgot-password-page .bx-authform-label-container {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.forgot-password-page input[type="text"],
.forgot-password-page input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.forgot-password-page .login-label {
    display: block;
    text-align: center;
    margin: 1rem 0;
    color: var(--secondary-color);
    position: relative;
}

.forgot-password-page .login-label:before,
.forgot-password-page .login-label:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.forgot-password-page .login-label:before {
    left: 0;
}

.forgot-password-page .login-label:after {
    right: 0;
}

.forgot-password-page .bx-captcha {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.forgot-password-page .bx-captcha img {
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.forgot-password-page .dbg_captha input {
    width: 180px;
}

.forgot-password-page .bx-authform-link-container {
    text-align: center;
    margin: 1rem 0;
}

.forgot-password-page .bx-authform-link-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.forgot-password-page .bx-authform-link-container a:hover {
    text-decoration: underline;
}

.forgot-password-page .btn-primary {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .forgot-password-page .auth-container {
        padding: 1.5rem;
    }

    .forgot-password-page .bx-captcha {
        flex-direction: column;
        align-items: flex-start;
    }

    .forgot-password-page .dbg_captha input {
        width: 100%;
    }
}
.change-password-page .auth-container {
    max-width: 440px;
    padding: 2.5rem;
}

.change-password-page .auth-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.change-password-page .input-group {
    margin-bottom: 1.5rem;
}

.change-password-page .bx-authform-label-container {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.change-password-page .form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.change-password-page .bx-authform-psw-protected {
    margin: 0.5rem 0;
    padding: 0.75rem;
    background: var(--secondary-background-color);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.change-password-page .bx-captcha {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.change-password-page .bx-captcha img {
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.change-password-page .dbg_captha input {
    width: 180px;
}

.change-password-page .policy-description {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--secondary-background-color);
    border-radius: 4px;
}

.change-password-page .btn-primary {
    width: 100%;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.change-password-page .auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.change-password-page .auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    margin: 0.5rem 0;
}

.change-password-page .auth-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .change-password-page .auth-container {
        padding: 1.5rem;
    }

    .change-password-page .bx-captcha {
        flex-direction: column;
        align-items: flex-start;
    }

    .change-password-page .dbg_captha input {
        width: 100%;
    }
}
/* End */
/* /local/templates/help/components/bitrix/system.auth.form/template1/style.min.css?1742458330424 */
/* /local/templates/help/template_styles.css?174602596118499 */
