/* =========================================================
   BLOGZINE CSS — FIXED / CLEANED
   DLE 21.x + Bootstrap 5.x
   =========================================================

   Исправлено:
   - var(--bs-light-color) заменён на существующую переменную Bootstrap;
   - font-weight 750/550 приведён к стандартным значениям;
   - добавлены fallback-значения для color-mix();
   - сохранена исходная структура классов и адаптивные правила.
   ========================================================= */

/* =========================================================
   BLOGZINE — RECENT POST
   ========================================================= */

.blogzine-recent-post {
    position: relative;

    margin-bottom: 1rem !important;
    padding: 0;

    border: 0;
    background: transparent;
}


/* =========================================================
   ROW
   ========================================================= */

.blogzine-recent-post .row {
    margin: 0;
}


/* =========================================================
   COLUMNS
   ========================================================= */

.blogzine-recent-post .col-4,
.blogzine-recent-post .col-8 {
    position: relative;
}


/* =========================================================
   IMAGE
   ========================================================= */

.blogzine-recent-image {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-radius: var(--bs-border-radius);

    background-color: var(--bs-secondary-bg);
}


/* IMAGE */

.blogzine-recent-image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: cover;
    object-position: center;

    transition: transform .3s ease;
}


/* IMAGE HOVER */

.blogzine-recent-image:hover img {
    transform: scale(1.03);
}


/* =========================================================
   TITLE
   ========================================================= */

.blogzine-recent-post h6 {
    margin: 0;

    font-size: 0.875rem;       /* 14px */

    line-height: 1.35;

    font-weight: 600;
}


/* TITLE LINK */

.blogzine-recent-post h6 a {
    color: var(--bs-body-color);

    text-decoration: none;

    transition: color .2s ease;
}


/* TITLE HOVER */

.blogzine-recent-post h6 a:hover {
    color: var(--bs-primary);
}


/* =========================================================
   DATE
   ========================================================= */

.blogzine-recent-post .small {
    display: block;

    margin-top: 0.25rem !important;

    font-size: 0.75rem;        /* 12px */

    line-height: 1.3;

    color: var(--bs-secondary-color);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .blogzine-recent-post .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .blogzine-recent-post h6 {
        font-size: 0.825rem;   /* ~13.2px */
        line-height: 1.3;
    }

    .blogzine-recent-post .small {
        font-size: 0.7rem;     /* ~11.2px */
    }

}


/* =========================================================
   EXTRA SMALL
   ========================================================= */

@media (max-width: 375px) {

    .blogzine-recent-post .row {
        --bs-gutter-x: 0.6rem;
    }

    .blogzine-recent-post h6 {
        font-size: 0.8rem;     /* 12.8px */
    }

    .blogzine-recent-post .small {
        font-size: 0.68rem;
    }

}


/* ==========================================================
   ADDNEWS — DLE 21
   LIGHT / DARK
   Для разметки .addnews-page
   ========================================================== */


/* ==========================================================
   1. ОСНОВНЫЕ ПЕРЕМЕННЫЕ
   ========================================================== */

.addnews-page {

    --an-primary: #0d6efd;
    --an-primary-hover: #0b5ed7;
    --an-primary-soft: rgba(13, 110, 253, .10);

    --an-text: #212529;
    --an-text-2: #495057;
    --an-muted: #6c757d;

    --an-bg: #ffffff;
    --an-bg-soft: #f8f9fa;
    --an-input-bg: #ffffff;

    --an-border: #dee2e6;
    --an-border-hover: #adb5bd;

    --an-danger: #dc3545;

    --an-shadow:
        0 5px 20px rgba(0, 0, 0, .05);

    --an-radius: 12px;

    width: 100%;
    max-width: 1050px;

    margin: 30px auto;
    padding: 0 15px;

    color: var(--an-text);

    font-family: inherit;

    box-sizing: border-box;
}


/* ==========================================================
   2. BOX SIZING
   ========================================================== */

.addnews-page *,
.addnews-page *::before,
.addnews-page *::after {
    box-sizing: border-box;
}


/* ==========================================================
   3. DARK THEME
   ========================================================== */

/*
   Поддерживаются:
   .dark
   .darkmode
   [data-theme="dark"]
   [data-bs-theme="dark"]
   .dark-theme
   .dark-mode
*/

html.dark .addnews-page,
html.darkmode .addnews-page,
html[data-theme="dark"] .addnews-page,
html[data-bs-theme="dark"] .addnews-page,
body.dark .addnews-page,
body.darkmode .addnews-page,
body[data-theme="dark"] .addnews-page,
body[data-bs-theme="dark"] .addnews-page,
.dark-theme .addnews-page,
.dark-mode .addnews-page {

    --an-primary: #5b9cff;
    --an-primary-hover: #78adff;
    --an-primary-soft: rgba(91, 156, 255, .14);

    --an-text: #f1f3f5;
    --an-text-2: #ced4da;
    --an-muted: #adb5bd;

    --an-bg: #20252b;
    --an-bg-soft: #292f36;
    --an-input-bg: #181d22;

    --an-border: #3b434d;
    --an-border-hover: #59636e;

    --an-danger: #ff6b6b;

    --an-shadow:
        0 7px 28px rgba(0, 0, 0, .25);
}


/* ==========================================================
   4. HEADER
   ========================================================== */

.addnews-header {

    display: flex;
    align-items: center;

    gap: 16px;

    width: 100%;

    margin: 0 0 28px;
    padding: 22px;

    color: var(--an-text);

    background: var(--an-bg);

    border: 1px solid var(--an-border);
    border-radius: var(--an-radius);

    box-shadow: var(--an-shadow);

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* ==========================================================
   5. HEADER ICON
   ========================================================== */

.addnews-header-icon {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    color: var(--an-primary);

    background: var(--an-primary-soft);

    border-radius: 13px;

    font-size: 22px;
}


/* ==========================================================
   6. HEADER TEXT
   ========================================================== */

.addnews-header-content {
    min-width: 0;
}


.addnews-title {

    margin: 0 0 5px;

    color: var(--an-text);

    font-size: 23px;
    font-weight: 700;

    line-height: 1.3;
}


.addnews-intro {

    margin: 0;

    color: var(--an-muted);

    font-size: 14px;

    line-height: 1.55;
}


/* ==========================================================
   7. FIELDS
   ========================================================== */

.addnews-field {

    width: 100%;

    margin: 0 0 22px;
}


/* ==========================================================
   8. LABEL
   ========================================================== */

.addnews-label {

    display: block;

    margin: 0 0 8px;

    color: var(--an-text);

    font-size: 14px;
    font-weight: 600;

    line-height: 1.45;
}


.addnews-required {

    margin-left: 3px;

    color: var(--an-danger);

    font-weight: 700;
}


/* ==========================================================
   9. INPUTS
   ========================================================== */

.addnews-page .addnews-control {

    display: block;

    width: 100%;
    min-height: 46px;

    padding: 10px 13px;

    color: var(--an-text) !important;

    background: var(--an-input-bg) !important;

    border: 1px solid var(--an-border) !important;
    border-radius: 9px;

    outline: none;

    box-shadow: none !important;

    font-family: inherit;
    font-size: 15px;

    line-height: 1.5;

    appearance: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* ==========================================================
   10. TEXTAREA
   ========================================================== */

.addnews-page textarea.addnews-control {

    min-height: 125px;

    resize: vertical;
}


/* ==========================================================
   11. PLACEHOLDER
   ========================================================== */

.addnews-page .addnews-control::placeholder {

    color: var(--an-muted) !important;

    opacity: .75;
}


/* ==========================================================
   12. INPUT HOVER
   ========================================================== */

.addnews-page .addnews-control:hover {

    border-color: var(--an-border-hover) !important;
}


/* ==========================================================
   13. INPUT FOCUS
   ========================================================== */

.addnews-page .addnews-control:focus {

    color: var(--an-text) !important;

    background: var(--an-input-bg) !important;

    border-color: var(--an-primary) !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px var(--an-primary-soft) !important;
}


/* ==========================================================
   14. HELP
   ========================================================== */

.addnews-help {

    margin-top: 7px;

    color: var(--an-muted);

    font-size: 13px;

    line-height: 1.5;
}


/* ==========================================================
   15. CATEGORY
   ========================================================== */

.addnews-category {
    width: 100%;
}


.addnews-category select {

    display: block;

    width: 100%;
    min-height: 46px;

    padding: 10px 13px;

    color: var(--an-text) !important;

    background-color: var(--an-input-bg) !important;

    border: 1px solid var(--an-border) !important;
    border-radius: 9px;

    outline: none;

    font-family: inherit;
    font-size: 15px;

    cursor: pointer;

    color-scheme: light;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


html.dark .addnews-category select,
html.darkmode .addnews-category select,
html[data-theme="dark"] .addnews-category select,
html[data-bs-theme="dark"] .addnews-category select,
body.dark .addnews-category select,
body.darkmode .addnews-category select,
body[data-theme="dark"] .addnews-category select,
body[data-bs-theme="dark"] .addnews-category select,
.dark-theme .addnews-category select,
.dark-mode .addnews-category select {

    color-scheme: dark;
}


.addnews-category select:hover {

    border-color: var(--an-border-hover) !important;
}


.addnews-category select:focus {

    border-color: var(--an-primary) !important;

    box-shadow:
        0 0 0 3px var(--an-primary-soft) !important;
}


/* ==========================================================
   16. POLL
   ========================================================== */

.addnews-panel {

    display: block;

    width: 100%;

    margin: 0 0 22px;

    overflow: hidden;

    color: var(--an-text);

    background: var(--an-bg);

    border: 1px solid var(--an-border);

    border-radius: var(--an-radius);

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.addnews-panel[open] {

    border-color: var(--an-primary);

    box-shadow: var(--an-shadow);
}


/* ==========================================================
   17. POLL HEADER
   ========================================================== */

.addnews-panel > summary {

    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 55px;

    padding: 11px 16px;

    color: var(--an-text);

    background: var(--an-bg);

    cursor: pointer;

    list-style: none;

    user-select: none;

    transition:
        background-color .2s ease;
}


.addnews-panel > summary::-webkit-details-marker {
    display: none;
}


.addnews-panel > summary:hover {

    background: var(--an-bg-soft);
}


/* ==========================================================
   18. POLL ICON
   ========================================================== */

.addnews-panel-icon {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    color: var(--an-primary);

    background: var(--an-primary-soft);

    border-radius: 8px;

    font-size: 14px;
}


/* ==========================================================
   19. POLL TITLE
   ========================================================== */

.addnews-panel-title {

    flex: 1;

    color: var(--an-text);

    font-size: 14px;
    font-weight: 600;
}


/* ==========================================================
   20. POLL ARROW
   ========================================================== */

.addnews-panel-arrow {

    color: var(--an-muted);

    font-size: 13px;

    transition: transform .2s ease;
}


.addnews-panel[open] .addnews-panel-arrow {

    transform: rotate(180deg);
}


/* ==========================================================
   21. POLL BODY
   ========================================================== */

.addnews-panel-body {

    padding: 20px;

    color: var(--an-text);

    background: var(--an-bg-soft);

    border-top: 1px solid var(--an-border);
}


/* ==========================================================
   22. CHECKBOX
   ========================================================== */

.addnews-checkbox {

    display: flex;
    align-items: center;

    gap: 10px;

    position: relative;

    color: var(--an-text);

    font-size: 14px;

    cursor: pointer;

    user-select: none;
}


.addnews-checkbox input {

    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


.addnews-checkbox-custom {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    color: #fff;

    background: var(--an-input-bg);

    border: 1px solid var(--an-border-hover);

    border-radius: 5px;

    font-size: 12px;

    transition:
        background-color .15s ease,
        border-color .15s ease;
}


.addnews-checkbox-custom i {
    display: none;
}


.addnews-checkbox input:checked + .addnews-checkbox-custom {

    background: var(--an-primary);

    border-color: var(--an-primary);
}


.addnews-checkbox input:checked + .addnews-checkbox-custom i {
    display: block;
}


/* ==========================================================
   23. EDITOR
   ========================================================== */

.addnews-editor {

    width: 100%;

    color: var(--an-text);
}


.addnews-editor textarea {

    width: 100%;

    color: var(--an-text) !important;

    background: var(--an-input-bg) !important;

    border-color: var(--an-border) !important;
}


.addnews-editor .dle-editor,
.addnews-editor .wysiwyg {

    color: var(--an-text);

    background: var(--an-input-bg);

    border-color: var(--an-border);
}


/* ==========================================================
   24. XFIELDS
   ========================================================== */

.addnews-xfields {

    width: 100%;

    margin-bottom: 22px;

    color: var(--an-text);
}


.addnews-xfields label {

    color: var(--an-text) !important;
}


.addnews-xfields input,
.addnews-xfields textarea,
.addnews-xfields select {

    max-width: 100%;

    color: var(--an-text) !important;

    background: var(--an-input-bg) !important;

    border-color: var(--an-border) !important;
}


/* ==========================================================
   25. ADMIN
   ========================================================== */

.addnews-admin {

    width: 100%;

    margin: 0 0 22px;

    padding: 16px 18px;

    color: var(--an-text);

    background: var(--an-bg-soft);

    border: 1px solid var(--an-border);

    border-radius: var(--an-radius);
}


.addnews-admin label {
    color: var(--an-text);
}


.addnews-admin input {
    accent-color: var(--an-primary);
}


/* ==========================================================
   26. SECURITY
   ========================================================== */

.addnews-security {

    width: 100%;

    margin: 0 0 22px;

    padding: 18px;

    color: var(--an-text);

    background: var(--an-bg-soft);

    border: 1px solid var(--an-border);

    border-radius: var(--an-radius);
}


.addnews-security-title {

    display: flex;
    align-items: center;

    gap: 7px;

    margin: 0 0 15px;

    padding: 0 6px;

    color: var(--an-text);

    font-size: 14px;
    font-weight: 600;
}


.addnews-security-title i {
    color: var(--an-primary);
}


/* ==========================================================
   27. RECAPTCHA
   ========================================================== */

.addnews-recaptcha {

    max-width: 100%;

    overflow-x: auto;
}


/* ==========================================================
   28. CAPTCHA
   ========================================================== */

.addnews-captcha {

    display: grid;

    grid-template-columns:
        minmax(130px, auto)
        minmax(200px, 1fr);

    align-items: center;

    gap: 12px;
}


.addnews-captcha-image {

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 7px 10px;

    color: var(--an-text);

    background: var(--an-input-bg);

    border: 1px solid var(--an-border);

    border-radius: 9px;

    overflow: hidden;
}


.addnews-captcha-image img {

    display: block;

    max-width: 100%;

    height: auto;
}


/* ==========================================================
   29. BUTTONS
   ========================================================== */

.addnews-actions {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 12px;

    width: 100%;

    margin-top: 28px;
}


.addnews-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    width: 100%;
    min-height: 48px;

    padding: 11px 18px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    outline: none;

    transition:
        transform .15s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.addnews-button:hover {
    transform: translateY(-1px);
}


.addnews-button:active {
    transform: translateY(0);
}


/* ==========================================================
   30. PRIMARY BUTTON
   ========================================================== */

.addnews-button-primary {

    color: #fff !important;

    background: var(--an-primary) !important;

    border: 1px solid var(--an-primary) !important;
}


.addnews-button-primary:hover {

    color: #fff !important;

    background: var(--an-primary-hover) !important;

    border-color: var(--an-primary-hover) !important;

    box-shadow:
        0 6px 18px rgba(13, 110, 253, .20);
}


/* ==========================================================
   31. SECONDARY BUTTON
   ========================================================== */

.addnews-button-secondary {

    color: var(--an-text) !important;

    background: var(--an-bg) !important;

    border: 1px solid var(--an-border) !important;
}


.addnews-button-secondary:hover {

    color: var(--an-text) !important;

    background: var(--an-bg-soft) !important;

    border-color: var(--an-border-hover) !important;
}


/* ==========================================================
   32. REQUIRED NOTE
   ========================================================== */

.addnews-required-note {

    margin-top: 14px;

    color: var(--an-muted);

    font-size: 13px;

    line-height: 1.5;
}


/* ==========================================================
   33. AUTOFILL
   ========================================================== */

.addnews-page input:-webkit-autofill,
.addnews-page input:-webkit-autofill:hover,
.addnews-page input:-webkit-autofill:focus,
.addnews-page textarea:-webkit-autofill,
.addnews-page textarea:-webkit-autofill:hover,
.addnews-page textarea:-webkit-autofill:focus {

    -webkit-text-fill-color: var(--an-text) !important;

    -webkit-box-shadow:
        0 0 0 1000px var(--an-input-bg) inset !important;

    box-shadow:
        0 0 0 1000px var(--an-input-bg) inset !important;
}


/* ==========================================================
   34. VISUALLY HIDDEN
   ========================================================== */

.addnews-visually-hidden {

    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================
   35. MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .addnews-page {

        margin-top: 20px;
        margin-bottom: 20px;

        padding-left: 14px;
        padding-right: 14px;
    }


    .addnews-header {

        align-items: flex-start;

        gap: 13px;

        margin-bottom: 22px;

        padding: 17px;
    }


    .addnews-header-icon {

        width: 45px;
        height: 45px;

        flex-basis: 45px;

        font-size: 19px;

        border-radius: 11px;
    }


    .addnews-title {
        font-size: 20px;
    }


    .addnews-intro {
        font-size: 13px;
    }


    .addnews-panel-body {
        padding: 16px;
    }


    .addnews-captcha {
        grid-template-columns: 1fr;
    }


    .addnews-captcha-image {
        justify-content: flex-start;

        width: fit-content;
    }


    .addnews-actions {

        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 22px;
    }
}


/* ==========================================================
   36. SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .addnews-page {

        margin-top: 15px;
        margin-bottom: 15px;

        padding-left: 10px;
        padding-right: 10px;
    }


    .addnews-header {

        padding: 15px;

        border-radius: 10px;
    }


    .addnews-header-icon {

        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 17px;
    }


    .addnews-title {
        font-size: 18px;
    }


    .addnews-intro {
        font-size: 12px;
    }


    .addnews-page .addnews-control {

        min-height: 44px;

        font-size: 14px;
    }


    .addnews-page textarea.addnews-control {
        min-height: 110px;
    }


    .addnews-panel > summary {

        min-height: 50px;

        padding: 10px 13px;

        font-size: 13px;
    }


    .addnews-panel-icon {

        width: 28px;
        height: 28px;

        flex-basis: 28px;
    }


    .addnews-security {
        padding: 15px;
    }


    .addnews-button {

        min-height: 46px;

        padding-left: 14px;
        padding-right: 14px;
    }
}


/* ==========================================================
   FEEDBACK
   ========================================================== */

.feedback-page {
    position: relative;

    width: 100%;

    padding: 1.5rem;

    border-radius: 1rem;

    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}


/* ==========================================================
   HEADER
   ========================================================== */

.feedback-page .feedback-header {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 24px;
}

.feedback-page .feedback-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    border-radius: 14px;

    background: var(--bs-primary);
    color: #fff;

    font-size: 22px;
    line-height: 1;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

.feedback-page .feedback-icon i {
    display: block;

    margin: 0;

    font-size: inherit;
    line-height: 1;
}

.feedback-page .feedback-header-content {
    flex: 1 1 auto;

    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feedback-page .feedback-title {
    margin: 0 0 5px;

    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.feedback-page .feedback-intro {
    margin: 0;

    color: var(--bs-secondary-color);

    font-size: 1rem;
    line-height: 1.5;
}


/* ==========================================================
   INFORMATION NOTE
   ========================================================== */

.feedback-page .feedback-note {
    margin: 0 0 24px;
    padding: 12px 15px;

    border: 1px solid var(--bs-border-color);
    border-radius: 10px;

    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);

    font-size: .9rem;
    line-height: 1.5;
}


/* ==========================================================
   HONEYPOT
   ========================================================== */

.feedback-page .feedback-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================
   GRID
   ========================================================== */

.feedback-page .feedback-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 18px;
}


/* ==========================================================
   FIELD
   ========================================================== */

.feedback-page .feedback-field {
    margin-bottom: 18px;
}

.feedback-page .feedback-grid .feedback-field {
    margin-bottom: 0;
}

.feedback-page .form-label {
    display: block;

    margin-bottom: 7px;

    font-weight: 600;
    font-size: .92rem;
    line-height: 1.4;
}

.feedback-page .required-mark {
    color: var(--bs-danger);

    font-weight: 700;
}


/* ==========================================================
   INPUTS
   ========================================================== */

.feedback-page .form-control {
    display: block;

    width: 100%;
    min-height: 46px;

    padding: .65rem .8rem;

    border: 1px solid var(--bs-border-color);
    border-radius: 10px;

    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.feedback-page .form-control:hover {
    border-color: var(--bs-primary);
    border-color: color-mix(
        in srgb,
        var(--bs-primary) 35%,
        var(--bs-border-color)
    );
}

.feedback-page .form-control:focus {
    border-color: var(--bs-primary);

    outline: 0;

    box-shadow:
        0 0 0 .2rem
        rgba(var(--bs-primary-rgb), .12);
}

.feedback-page .form-control::placeholder {
    color: var(--bs-secondary-color);

    opacity: .75;
}

.feedback-page textarea.form-control {
    min-height: 175px;

    resize: vertical;
}


/* ==========================================================
   HELP TEXT
   ========================================================== */

.feedback-page .form-text {
    margin-top: 6px;

    color: var(--bs-secondary-color);

    font-size: .78rem;
    line-height: 1.4;
}


/* ==========================================================
   RECIPIENT
   ========================================================== */

.feedback-page .feedback-recipient {
    width: 100%;
}

.feedback-page .feedback-recipient select,
.feedback-page .category-select select {
    display: block;

    width: 100%;
    min-height: 46px;

    padding: .65rem .8rem;

    border: 1px solid var(--bs-border-color);
    border-radius: 10px;

    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.feedback-page .feedback-recipient select:hover,
.feedback-page .category-select select:hover {
    border-color: var(--bs-primary);
    border-color: color-mix(
        in srgb,
        var(--bs-primary) 35%,
        var(--bs-border-color)
    );
}

.feedback-page .feedback-recipient select:focus,
.feedback-page .category-select select:focus {
    outline: 0;

    border-color: var(--bs-primary);

    box-shadow:
        0 0 0 .2rem
        rgba(var(--bs-primary-rgb), .12);
}


/* ==========================================================
   FIELDSET
   ========================================================== */

.feedback-page .feedback-fieldset {
    min-width: 0;

    margin: 0 0 18px;
    padding: 16px;

    border: 1px solid var(--bs-border-color);
    border-radius: 12px;

    background: var(--bs-tertiary-bg);
}

.feedback-page .feedback-fieldset .form-text {
    margin-top: 10px;
}


/* ==========================================================
   FILE UPLOAD
   ========================================================== */

.feedback-page .feedback-file-label {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;

    padding: 14px;

    border: 1px dashed var(--bs-border-color);
    border-radius: 10px;

    cursor: pointer;

    background: var(--bs-body-bg);

    transition:
        border-color .18s ease,
        background-color .18s ease;
}

.feedback-page .feedback-file-label:hover {
    border-color: var(--bs-primary);

    background: var(--bs-tertiary-bg);
}

.feedback-page .feedback-file-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(
        var(--bs-primary-rgb),
        .10
    );

    color: var(--bs-primary);

    font-size: 19px;
    line-height: 1;
}

.feedback-page .feedback-file-icon i {
    line-height: 1;
}

.feedback-page .feedback-file-text {
    display: flex;
    flex-direction: column;

    gap: 2px;

    min-width: 0;
}

.feedback-page .feedback-file-text strong {
    font-size: .9rem;
    line-height: 1.35;
}

.feedback-page .feedback-file-description {
    color: var(--bs-secondary-color);

    font-size: .78rem;
    line-height: 1.35;
}

.feedback-page .feedback-file-input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* ==========================================================
   CAPTCHA
   ========================================================== */

.feedback-page .feedback-captcha {
    overflow: hidden;
}

.feedback-page .feedback-captcha-row {
    display: flex;
    align-items: center;

    gap: 12px;
}

.feedback-page .feedback-captcha-image {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-page .feedback-captcha-input {
    flex: 1 1 auto;

    min-width: 180px;
}


/* ==========================================================
   ACTIONS
   ========================================================== */

.feedback-page .feedback-actions {
    display: flex;
    align-items: center;

    margin-top: 26px;
}

.feedback-page .feedback-submit {
    min-height: 46px;

    padding: .65rem 1.25rem;

    border-radius: 10px;

    font-weight: 600;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.feedback-page .feedback-submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(0, 0, 0, .12);
}

.feedback-page .feedback-submit:active {
    transform: translateY(0);
}


/* ==========================================================
   FOCUS VISIBLE
   ========================================================== */

.feedback-page .form-control:focus-visible,
.feedback-page select:focus-visible,
.feedback-page button:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

    .feedback-page {
        padding: 1.25rem;

        border-radius: .9rem;
    }

    .feedback-page .feedback-header {
        align-items: center;

        gap: 12px;

        margin-bottom: 20px;
    }

    .feedback-page .feedback-icon {
        flex-basis: 46px;

        width: 46px;
        height: 46px;

        border-radius: 12px;

        font-size: 19px;
    }

    .feedback-page .feedback-title {
        margin-bottom: 4px;

        font-size: 1.3rem;
        line-height: 1.3;
    }

    .feedback-page .feedback-intro {
        font-size: .88rem;
        line-height: 1.45;
    }

    .feedback-page .feedback-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .feedback-page .feedback-grid .feedback-field {
        margin-bottom: 18px;
    }

    .feedback-page .feedback-captcha-row {
        align-items: stretch;

        flex-direction: column;
    }

    .feedback-page .feedback-captcha-input {
        min-width: 0;
    }

    .feedback-page .feedback-submit {
        width: 100%;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .feedback-page {
        padding: 1rem;

        border-radius: .8rem;
    }

    .feedback-page .feedback-header {
        gap: 10px;
    }

    .feedback-page .feedback-icon {
        flex-basis: 42px;

        width: 42px;
        height: 42px;

        border-radius: 11px;

        font-size: 17px;
    }

    .feedback-page .feedback-title {
        font-size: 1.2rem;
    }

    .feedback-page .feedback-intro {
        font-size: .84rem;
    }

    .feedback-page .feedback-note {
        padding: 11px 13px;

        font-size: .84rem;
    }

    .feedback-page .feedback-fieldset {
        padding: 13px;
    }
}


/* ==========================================================
   DARK MODE
   ========================================================== */

[data-bs-theme="dark"] .feedback-page .feedback-file-label {
    background: var(--bs-body-bg);
}

[data-bs-theme="dark"] .feedback-page .feedback-note {
    background: rgba(255, 255, 255, .03);
}

[data-bs-theme="dark"] .feedback-page .feedback-fieldset {
    background: rgba(255, 255, 255, .025);
}


.comments-header {
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.comments-header h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem;
    line-height: 1.3;
    color: var(--bs-body-color);
}

.comments-header h2 i {
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.comments-header:hover h2 i {
    transform: translateY(-1px);
}

.comments-count {
    font-size: 0.75em;
    font-weight: 500;
    margin-left: 0.15rem;
}

.comments-header p {
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 2rem;
}

@media (max-width: 575.98px) {

    .comments-header {
        padding-bottom: 0.85rem;
    }

    .comments-header h2 {
        font-size: 1.2rem;
    }

    .comments-header p {
        padding-left: 0;
        font-size: 0.9rem;
    }

}


.article-rating {
    border-radius: 0.75rem;
}

.article-rating h2 {
    line-height: 1.4;
}

.article-rating-buttons {
    overflow: hidden;
    border-radius: 0.5rem;
}

.article-rating-btn {
    min-width: 90px;
    white-space: nowrap;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.article-rating-btn:hover {
    opacity: 0.9;
}

.article-rating-btn:active {
    transform: translateY(1px);
}

.article-rating-btn i {
    vertical-align: -0.05em;
}

@media (max-width: 767.98px) {

    .article-rating-buttons {
        width: 100%;
    }

    .article-rating-buttons .article-rating-btn {
        flex: 1 1 50%;
        min-width: 0;
    }

}


/* ==========================================================
   ОСНОВНОЙ MODAL
   ========================================================== */

.account-modal .modal-dialog {
    width: 100%;
    max-width: 440px;
    margin: 1rem auto;
}

.account-modal .account-modal-content {
    overflow: hidden;

    border: 0;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, .20);
}


/* ==========================================================
   ЕДИНАЯ ШАПКА
   ========================================================== */

.account-modal .account-modal-header {

    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 78px;

    padding: 15px 20px;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0d6efd 0%,
            #2563eb 48%,
            #4f46e5 100%
        );

    border: 0;
}


/* Декоративный круг */

.account-modal .account-modal-header::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -115px;
    right: -55px;

    border-radius: 50%;

    background: rgba(255,255,255,.10);

    pointer-events: none;
}


/* Второй декоративный элемент */

.account-modal .account-modal-header::after {

    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: 105px;
    bottom: -65px;

    border-radius: 50%;

    background: rgba(255,255,255,.06);

    pointer-events: none;
}


/* ==========================================================
   ЛЕВАЯ ЧАСТЬ ШАПКИ
   ========================================================== */

.account-modal .account-header-left {

    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    min-width: 0;

    gap: 12px;
}


/* ==========================================================
   ИКОНКА ШАПКИ
   ========================================================== */

.account-modal .account-header-icon {

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    color: #ffffff;

    background: rgba(255,255,255,.15);

    border: 1px solid rgba(255,255,255,.20);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.10),
        0 5px 18px rgba(0,0,0,.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-size: 17px;
}


/* ==========================================================
   ТЕКСТ ШАПКИ
   ========================================================== */

.account-modal .account-header-info {

    min-width: 0;
}

.account-modal .account-header-info .modal-title {

    margin: 0;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -.15px;
}

.account-modal .account-header-info span {

    display: block;

    margin-top: 4px;

    color: rgba(255,255,255,.72);

    font-size: 11px;
    line-height: 1.2;

    white-space: nowrap;
}


/* ==========================================================
   КНОПКА ЗАКРЫТИЯ
   ========================================================== */

.account-modal .account-close {

    position: relative;

    z-index: 5;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    margin-left: 12px;

    padding: 0;

    border-radius: 10px;

    opacity: .75;

    background-color: rgba(255,255,255,.10);

    background-size: 11px;

    transition:
        opacity .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.account-modal .account-close:hover {

    opacity: 1;

    background-color: rgba(255,255,255,.20);

    transform: rotate(90deg);
}


/* ==========================================================
   ТЕЛО АККАУНТА
   ========================================================== */

#modalAccount .account-modal-body {

    padding: 24px;

    background:
        linear-gradient(
            180deg,
            #f8faff 0%,
            #f3f6fb 100%
        );
}


/* ==========================================================
   ПРОФИЛЬ
   ========================================================== */

#modalAccount .account-profile {

    padding-bottom: 18px;

    text-align: center;
}


/* ==========================================================
   АВАТАР
   ========================================================== */

#modalAccount .account-avatar-link {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 4px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 8px 28px rgba(37,99,235,.16);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

#modalAccount .account-avatar-link:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 32px rgba(37,99,235,.22);
}

#modalAccount .account-avatar {

    display: block;

    width: 86px;
    height: 86px;

    object-fit: cover;

    border-radius: 50%;
}


/* ==========================================================
   ЛОГИН
   ========================================================== */

#modalAccount .account-login {

    margin: 10px 0 3px;

    color: #1f2937;

    font-size: 17px;
    line-height: 1.3;

    font-weight: 700;
}

#modalAccount .account-profile-link {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #2563eb;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;
}

#modalAccount .account-profile-link:hover {

    color: #1d4ed8;

    text-decoration: underline;
}


/* ==========================================================
   АДМИНПАНЕЛЬ — ЦЕНТР
   ========================================================== */

#modalAccount .account-admin {

    display: flex;

    justify-content: center;

    width: 100%;

    margin-bottom: 10px;
}

#modalAccount .account-admin-button {

    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 7px 15px;

    color: #92400e;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            #fff7ed 0%,
            #fffbeb 100%
        );

    border: 1px solid #fed7aa;

    border-radius: 13px;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

#modalAccount .account-admin-button:hover {

    color: #78350f;

    border-color: #fdba74;

    transform: translateY(-1px);

    box-shadow:
        0 6px 18px rgba(234,88,12,.10);
}

#modalAccount .account-admin-icon {

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    color: #ea580c;

    background: #ffedd5;

    font-size: 14px;
}

#modalAccount .account-admin-text {

    font-size: 13px;

    line-height: 1;

    font-weight: 700;
}


/* ==========================================================
   ДЕЙСТВИЯ — 2 КОЛОНКИ
   ========================================================== */

#modalAccount .account-actions {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-bottom: 12px;
}


/* ==========================================================
   КНОПКА ДЕЙСТВИЯ
   ========================================================== */

#modalAccount .account-action {

    min-width: 0;

    min-height: 56px;

    display: flex;

    align-items: center;

    padding: 7px 10px;

    color: #1f2937;

    text-decoration: none;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 13px;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

#modalAccount .account-action:hover {

    color: #1f2937;

    border-color: #d1d5db;

    transform: translateY(-1px);

    box-shadow:
        0 6px 18px rgba(15,23,42,.07);
}


/* ==========================================================
   ИКОНКИ ДЕЙСТВИЙ
   ========================================================== */

#modalAccount .account-action-icon {

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    font-size: 14px;
}


/* Цвета */

#modalAccount .account-icon-green {
    color: #16a34a;
    background: #f0fdf4;
}

#modalAccount .account-icon-blue {
    color: #2563eb;
    background: #eff6ff;
}

#modalAccount .account-icon-orange {
    color: #ea580c;
    background: #fff7ed;
}

#modalAccount .account-icon-yellow {
    color: #ca8a04;
    background: #fefce8;
}

#modalAccount .account-icon-purple {
    color: #7c3aed;
    background: #f5f3ff;
}

#modalAccount .account-icon-red {
    color: #dc2626;
    background: #fef2f2;
}


/* ==========================================================
   НАЗВАНИЕ ДЕЙСТВИЯ
   ========================================================== */

#modalAccount .account-action-name {

    min-width: 0;

    margin-left: 9px;

    overflow: hidden;

    color: #374151;

    font-size: 11.5px;

    line-height: 1.25;

    font-weight: 650;

    white-space: nowrap;

    text-overflow: ellipsis;
}


/* ==========================================================
   СТРЕЛКА
   ========================================================== */

#modalAccount .account-button-arrow {

    margin-left: auto;

    flex-shrink: 0;

    color: #cbd5e1;

    font-size: 9px;
}


/* ==========================================================
   СЧЁТЧИКИ
   ========================================================== */

#modalAccount .account-badge {

    min-width: 21px;
    height: 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin-left: auto;
    margin-right: 6px;

    padding: 0 5px;

    border-radius: 20px;

    font-size: 9px;

    line-height: 1;

    font-weight: 700;
}

#modalAccount .account-badge-danger {

    color: #ffffff;

    background: #dc3545;
}

#modalAccount .account-badge-yellow {

    color: #664d03;

    background: #ffc107;
}


/* ==========================================================
   ВЫХОД — ПО ЦЕНТРУ
   ========================================================== */

#modalAccount .account-logout-wrapper {

    display: flex;

    justify-content: center;

    width: 100%;

    padding-top: 2px;
}

#modalAccount .account-logout {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 170px;

    padding: 11px 18px;

    color: #dc2626;

    text-decoration: none;

    border-radius: 11px;

    font-size: 12px;

    font-weight: 650;

    transition:
        color .18s ease,
        background-color .18s ease;
}

#modalAccount .account-logout:hover {

    color: #b91c1c;

    background: #fef2f2;
}


/* ==========================================================
   LOGIN — ТЕЛО
   ========================================================== */

#modalLogin .login-modal-body {

    padding: 25px;

    background:
        linear-gradient(
            180deg,
            #f8faff 0%,
            #f3f6fb 100%
        );
}


/* ==========================================================
   LOGIN — ФОРМА
   ========================================================== */

#modalLogin .login-form {

    width: 100%;
}

#modalLogin .login-field {

    margin-bottom: 17px;
}

#modalLogin .login-label {

    display: block;

    margin-bottom: 7px;

    color: #374151;

    font-size: 12px;

    font-weight: 700;
}


/* ==========================================================
   LOGIN — ЗАБЫЛИ ПАРОЛЬ
   ========================================================== */

#modalLogin .login-password-header {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 7px;
}

#modalLogin .forgot-password {

    color: #2563eb;

    font-size: 11px;

    text-decoration: none;

    white-space: nowrap;
}

#modalLogin .forgot-password:hover {

    color: #1d4ed8;

    text-decoration: underline;
}


/* ==========================================================
   LOGIN — INPUT
   ========================================================== */

#modalLogin .login-input {

    position: relative;

    display: flex;

    align-items: center;

    min-height: 48px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

#modalLogin .login-input:focus-within {

    border-color: #86b7fe;

    box-shadow:
        0 0 0 3px rgba(13,110,253,.10);
}

#modalLogin .login-input-icon {

    width: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #94a3b8;

    font-size: 14px;
}

#modalLogin .login-input .form-control {

    height: 46px;

    padding: 8px 12px 8px 0;

    color: #1f2937;

    background: transparent;

    border: 0;

    box-shadow: none;

    font-size: 13px;
}

#modalLogin .login-input .form-control:focus {

    box-shadow: none;

    background: transparent;
}

#modalLogin .login-input .form-control::placeholder {

    color: #9ca3af;
}


/* ==========================================================
   LOGIN — ЗАПОМНИТЬ
   ========================================================== */

#modalLogin .login-remember {

    margin: -2px 0 18px;

    color: #6b7280;

    font-size: 12px;
}

#modalLogin .login-remember .form-check-input {

    margin-top: .15em;

    cursor: pointer;
}

#modalLogin .login-remember .form-check-label {

    cursor: pointer;
}


/* ==========================================================
   LOGIN — КНОПКА
   ========================================================== */

#modalLogin .login-submit {

    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 16px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0d6efd 0%,
            #2563eb 55%,
            #4f46e5 100%
        );

    border: 0;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 7px 18px rgba(37,99,235,.20);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

#modalLogin .login-submit:hover {

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(37,99,235,.28);
}

#modalLogin .login-submit:active {

    transform: translateY(0);
}


/* ==========================================================
   СОЦИАЛЬНАЯ АВТОРИЗАЦИЯ
   ========================================================== */

#modalLogin .social-login {

    margin-top: 22px;
}

#modalLogin .social-divider {

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 0 16px;

    text-align: center;
}

#modalLogin .social-divider::before,
#modalLogin .social-divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background: #e5e7eb;
}

#modalLogin .social-divider span {

    margin: 0 10px;

    color: #9ca3af;

    font-size: 10px;

    white-space: nowrap;
}


/* ==========================================================
   СОЦИАЛЬНЫЕ КНОПКИ
   ========================================================== */

#modalLogin .social-auth-buttons-round {

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;
}

#modalLogin .social-btn {

    width: 40px;
    height: 40px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #ffffff;

    border-radius: 50%;

    text-decoration: none;

    font-size: 15px;

    box-shadow:
        0 4px 12px rgba(15,23,42,.10);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

#modalLogin .social-btn:hover {

    color: #ffffff;

    transform: translateY(-2px);

    filter: brightness(1.05);

    box-shadow:
        0 7px 16px rgba(15,23,42,.16);
}


/* VK */

#modalLogin .social-btn.vk {
    background: #0077ff;
}


/* Google */

#modalLogin .social-btn.google {
    background: #ffffff;

    color: #4285f4;

    border: 1px solid #e5e7eb;
}

#modalLogin .social-btn.google:hover {
    color: #4285f4;
}


/* Facebook */

#modalLogin .social-btn.facebook {
    background: #1877f2;
}


/* Яндекс */

#modalLogin .social-btn.yandex {
    background: #fc3f1d;
}


/* Одноклассники */

#modalLogin .social-btn.ok {
    background: #ee8208;
}


/* Mail.ru */

#modalLogin .social-btn.mailru {
    background: #168de2;
}


/* ==========================================================
   РЕГИСТРАЦИЯ
   ========================================================== */

#modalLogin .register-hint {

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 4px;

    margin-top: 22px;
    padding-top: 18px;

    color: #6b7280;

    border-top: 1px solid #e5e7eb;

    font-size: 12px;

    text-align: center;
}

#modalLogin .register-hint a {

    color: #2563eb;

    font-weight: 700;

    text-decoration: none;
}

#modalLogin .register-hint a:hover {

    color: #1d4ed8;

    text-decoration: underline;
}


/* ==========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================== */

@media (max-width: 575.98px) {

    .account-modal .modal-dialog {

        max-width: none;

        margin: .5rem;
    }


    .account-modal .account-modal-content {

        border-radius: 19px;
    }


    /* Шапка */

    .account-modal .account-modal-header {

        min-height: 70px;

        padding: 13px 16px;
    }


    .account-modal .account-header-left {

        gap: 10px;
    }


    .account-modal .account-header-icon {

        width: 40px;
        height: 40px;

        border-radius: 11px;

        font-size: 15px;
    }


    .account-modal .account-header-info .modal-title {

        font-size: 15px;
    }


    .account-modal .account-header-info span {

        margin-top: 3px;

        font-size: 10px;
    }


    .account-modal .account-close {

        width: 32px;
        height: 32px;

        margin-left: 8px;
    }


    /* Тело */

    #modalAccount .account-modal-body,
    #modalLogin .login-modal-body {

        padding: 20px 15px;
    }


    /* Аватар */

    #modalAccount .account-avatar {

        width: 78px;
        height: 78px;
    }


    /* Действия */

    #modalAccount .account-actions {

        gap: 7px;
    }


    #modalAccount .account-action {

        min-height: 53px;

        padding: 6px 8px;
    }


    #modalAccount .account-action-icon {

        width: 36px;
        height: 36px;

        border-radius: 10px;
    }


    #modalAccount .account-action-name {

        margin-left: 7px;

        font-size: 10.5px;
    }


    #modalAccount .account-button-arrow {

        font-size: 8px;
    }


    #modalAccount .account-badge {

        min-width: 19px;
        height: 19px;

        margin-right: 4px;

        font-size: 8px;
    }


    /* Админ */

    #modalAccount .account-admin-button {

        min-height: 52px;
    }


    /* Выход */

    #modalAccount .account-logout {

        min-width: 160px;

        padding: 10px 15px;
    }


    /* Login */

    #modalLogin .social-btn {

        width: 38px;
        height: 38px;

        font-size: 14px;
    }

}


/* ==========================================================
   ОЧЕНЬ УЗКИЕ ЭКРАНЫ
   ========================================================== */

@media (max-width: 360px) {

    #modalAccount .account-modal-body {

        padding: 18px 10px;
    }


    #modalAccount .account-action {

        min-height: 50px;

        padding: 5px 6px;
    }


    #modalAccount .account-action-icon {

        width: 32px;
        height: 32px;

        font-size: 12px;
    }


    #modalAccount .account-action-name {

        font-size: 9.5px;
    }


    #modalAccount .account-button-arrow {

        display: none;
    }


    #modalAccount .account-badge {

        margin-left: 3px;
        margin-right: 2px;
    }

}


/* ==========================================================
   DARK MODE
   ========================================================== */

[data-bs-theme="dark"] .account-modal .account-modal-content {

    background: #111827;
}


/* Аккаунт */

[data-bs-theme="dark"] #modalAccount .account-modal-body,
[data-bs-theme="dark"] #modalLogin .login-modal-body {

    background:
        linear-gradient(
            180deg,
            #111827 0%,
            #0f172a 100%
        );
}


[data-bs-theme="dark"] #modalAccount .account-login {

    color: #f9fafb;
}


[data-bs-theme="dark"] #modalAccount .account-profile-link {

    color: #60a5fa;
}


[data-bs-theme="dark"] #modalAccount .account-action {

    color: #e5e7eb;

    background: #111827;

    border-color: #1f2937;
}


[data-bs-theme="dark"] #modalAccount .account-action:hover {

    color: #ffffff;

    border-color: #374151;
}


[data-bs-theme="dark"] #modalAccount .account-action-name {

    color: #e5e7eb;
}


/* Админ */

[data-bs-theme="dark"] #modalAccount .account-admin-button {

    color: #fed7aa;

    background:
        linear-gradient(
            135deg,
            #431407 0%,
            #422006 100%
        );

    border-color: #7c2d12;
}


[data-bs-theme="dark"] #modalAccount .account-admin-button:hover {

    color: #ffedd5;

    border-color: #9a3412;
}


[data-bs-theme="dark"] #modalAccount .account-admin-icon {

    color: #fb923c;

    background: rgba(234,88,12,.18);
}


/* Выход */

[data-bs-theme="dark"] #modalAccount .account-logout {

    color: #f87171;
}


[data-bs-theme="dark"] #modalAccount .account-logout:hover {

    color: #fca5a5;

    background: rgba(220,38,38,.08);
}


/* Login */

[data-bs-theme="dark"] #modalLogin .login-label {

    color: #e5e7eb;
}


[data-bs-theme="dark"] #modalLogin .login-input {

    background: #111827;

    border-color: #374151;
}


[data-bs-theme="dark"] #modalLogin .login-input .form-control {

    color: #f9fafb;
}


[data-bs-theme="dark"] #modalLogin .login-input .form-control::placeholder {

    color: #6b7280;
}


[data-bs-theme="dark"] #modalLogin .login-remember {

    color: #9ca3af;
}


[data-bs-theme="dark"] #modalLogin .social-divider::before,
[data-bs-theme="dark"] #modalLogin .social-divider::after {

    background: #374151;
}


[data-bs-theme="dark"] #modalLogin .register-hint {

    color: #9ca3af;

    border-color: #374151;
}


[data-bs-theme="dark"] #modalLogin .social-btn.google {

    background: #111827;

    border-color: #374151;
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .account-modal *,
    .account-modal *::before,
    .account-modal *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }


    .account-modal .account-close:hover,
    #modalAccount .account-avatar-link:hover,
    #modalAccount .account-action:hover,
    #modalAccount .account-admin-button:hover,
    #modalLogin .login-submit:hover,
    #modalLogin .social-btn:hover {

        transform: none !important;
    }

}


.addnews-recovery {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}

.pm {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}

.pm-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.5rem;
    padding: 0;
    background: transparent;
}

.pm-title {
    margin: 0 0 .2rem;
    padding: 0;
    color: var(--bs-heading-color, var(--bs-body-color));
    font-size: 1.35rem;
    line-height : 1.3;
    font-weight: 600;
}

.pm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .12);
    font-size: 1.05rem;
}


/* ==========================================================
   REGISTRATION CARD
   ========================================================== */

.dashboard-card {
    background: var(--bs-tertiary-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 0;
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .06);
}


/* ==========================================================
   TITLE ICON
   ========================================================== */

.title-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(13, 110, 253, .12);
    color: #0d6efd;

    font-size: 1.1rem;
}


/* ==========================================================
   X-FIELDS
   ========================================================== */

.xfields-wrapper {
    width: 100%;
}

.xfields-wrapper table {
    width: 100%;
    margin: 0;
}


/* ==========================================================
   CAPTCHA
   ========================================================== */

.feedback-fieldset {
    min-width: 0;

    padding: 0;
    margin: 1rem 0 1.5rem;

    border: 0;
}

.feedback-captcha-row {
    display: flex;
    align-items: stretch;
    gap: .75rem;
    flex-wrap: wrap;
}

.feedback-captcha-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 176px;
    height: 88px;
    min-width: 176px;

    overflow: hidden;

    border: 1px solid var(--bs-border-color);
    border-radius: .625rem;

    background: var(--bs-secondary-bg);
}

.feedback-captcha-image img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}

.feedback-captcha-input {
    width: 158px;
    min-width: 0;
}

.feedback-captcha-input .form-control {
    height: 88px;
    min-height: 88px;
}


/* ==========================================================
   VISUALLY HIDDEN
   ========================================================== */

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

    .dashboard-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .title-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .feedback-captcha-row {
        width: 100%;
    }

    .feedback-captcha-image {
        width: 140px;
        height: 70px;
        min-width: 140px;
    }

    .feedback-captcha-input {
        flex: 1 1 130px;
        width: auto;
    }

    .feedback-captcha-input .form-control {
        height: 70px;
        min-height: 70px;
    }
}


/* ==========================================================
   VERY SMALL SCREENS
   ========================================================== */

@media (max-width: 380px) {

    .dashboard-card {
        padding: .85rem;
    }

    .feedback-captcha-row {
        flex-direction: column;
    }

    .feedback-captcha-image {
        width: 176px;
        height: 88px;
        min-width: 176px;
    }

    .feedback-captcha-input {
        width: 100%;
    }

    .feedback-captcha-input .form-control {
        height: 48px;
        min-height: 48px;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}


.profile-page a[href*="do=pm"][href*="doaction=newpm"] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;

    padding: .375rem .75rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;

    color: #fff !important;
    background-color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 50rem;

    text-decoration: none !important;
    cursor: pointer;

    transition:
        color .15s ease-in-out,
        background-color .15s ease-in-out,
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out;
}

.profile-page a[href*="do=pm"][href*="doaction=newpm"]:hover {
    color: #fff !important;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.profile-page a[href*="do=pm"][href*="doaction=newpm"]:active {
    color: #fff !important;
    background-color: #0a58ca;
    border-color: #0a53be;
}


.profile-page .twofactor-auth input {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid var(--bs-border-color);
    border-radius: .375rem;
}

.twofactorselect {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .375rem;
}


/* ==========================================================
   DLE 21 USERINFO
   BOOTSTRAP 5.3
   PRODUCTION CSS
   ========================================================== */

.userinfo-card {

    --ui-primary: #0d6efd;
    --ui-purple: #6f42c1;
    --ui-green: #198754;
    --ui-red: #dc3545;
    --ui-orange: #fd7e14;
    --ui-yellow: #997404;
    --ui-cyan: #087990;
    --ui-pink: #d63384;
    --ui-muted: #6c757d;

    --ui-border: rgba(0, 0, 0, .08);

    --ui-radius: 18px;
    --ui-box-radius: 16px;
    --ui-control-radius: 10px;

    width: 100%;
    min-width: 0;

    color: var(--bs-body-color);
    background: var(--bs-body-bg);

    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);

    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);

    overflow: hidden;

    isolation: isolate;
}


/* ==========================================================
   BOX MODEL
   ========================================================== */

.userinfo-card *,
.userinfo-card *::before,
.userinfo-card *::after {
    box-sizing: border-box;
}


/* ==========================================================
   MEDIA
   ========================================================== */

.userinfo-card img,
.userinfo-card video,
.userinfo-card iframe,
.userinfo-card embed,
.userinfo-card object {
    max-width: 100%;
}


.userinfo-card img {
    height: auto;
}


.userinfo-card iframe {
    border: 0;
}


/* ==========================================================
   LINKS
   ========================================================== */

.userinfo-card a {
    text-decoration: none;
}


.userinfo-card a:hover {
    text-decoration: none;
}


/* ==========================================================
   FORM ELEMENTS
   ========================================================== */

.userinfo-card button,
.userinfo-card input,
.userinfo-card textarea,
.userinfo-card select {
    font: inherit;
}


.userinfo-card input,
.userinfo-card textarea,
.userinfo-card select {
    max-width: 100%;
}


/* ==========================================================
   FOCUS
   ========================================================== */

.userinfo-card :focus {
    outline: none;
}


.userinfo-card :focus-visible {
    outline: 2px solid rgba(13, 110, 253, .65);
    outline-offset: 2px;
}


/* ==========================================================
   ICON COLORS
   ========================================================== */

.userinfo-card .icon-blue {
    color: var(--ui-primary) !important;
}

.userinfo-card .icon-purple {
    color: var(--ui-purple) !important;
}

.userinfo-card .icon-green {
    color: var(--ui-green) !important;
}

.userinfo-card .icon-red {
    color: var(--ui-red) !important;
}

.userinfo-card .icon-orange {
    color: var(--ui-orange) !important;
}

.userinfo-card .icon-yellow {
    color: var(--ui-yellow) !important;
}

.userinfo-card .icon-cyan {
    color: var(--ui-cyan) !important;
}

.userinfo-card .icon-pink {
    color: var(--ui-pink) !important;
}


/* ==========================================================
   PROFILE HEADER
   ========================================================== */

.profile-header {
    padding: 2rem;

    background:
        linear-gradient(
            135deg,
            rgba(13, 110, 253, .07),
            rgba(111, 66, 193, .04)
        );

    border-bottom: 1px solid var(--ui-border);
}


.profile-header-inner {
    display: flex;
    align-items: center;

    gap: 1.5rem;

    min-width: 0;
}


.profile-avatar-wrap {
    flex: 0 0 auto;
}


.profile-main {
    min-width: 0;
    flex: 1 1 auto;
}


/* ==========================================================
   AVATAR
   ========================================================== */

.profile-avatar {
    position: relative;

    width: 120px;
    height: 120px;
}


.profile-avatar img {
    display: block;

    width: 120px;
    height: 120px;
    max-width: none;

    object-fit: cover;

    background: var(--bs-tertiary-bg);

    border: 4px solid var(--bs-body-bg);
    border-radius: 50%;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}


/* ==========================================================
   ONLINE INDICATOR
   ========================================================== */

.profile-online {
    position: absolute;

    right: 4px;
    bottom: 5px;

    width: 19px;
    height: 19px;

    background: #20c997;

    border: 4px solid var(--bs-body-bg);
    border-radius: 50%;

    box-shadow:
        0 0 0 3px rgba(32, 201, 151, .15);
}


/* ==========================================================
   TITLE
   ========================================================== */

.profile-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: .6rem;

    min-width: 0;
}


.profile-title {
    margin: 0;

    max-width: 100%;

    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: -.02em;

    overflow-wrap: anywhere;
}


.profile-group {
    display: inline-flex;
    align-items: center;

    max-width: 100%;

    padding: .3rem .65rem;

    color: var(--ui-primary);

    background: rgba(13, 110, 253, .08);

    border: 1px solid rgba(13, 110, 253, .15);
    border-radius: 999px;

    font-size: .76rem;
    font-weight: 600;

    overflow-wrap: anywhere;
}


/* ==========================================================
   STATUS
   ========================================================== */

.profile-status {
    margin-top: .45rem;
}


.status {
    display: inline-flex;
    align-items: center;

    gap: .4rem;

    color: var(--ui-muted);

    font-size: .85rem;
}


.status-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;
}


.status-online .status-dot {
    background: #20c997;

    box-shadow:
        0 0 0 3px rgba(32, 201, 151, .12);
}


.status-offline .status-dot {
    background: #adb5bd;
}


/* ==========================================================
   PROFILE ACTIONS
   ========================================================== */

.profile-actions {
    display: flex;
    flex-wrap: wrap;

    gap: .5rem;

    margin-top: 1rem;
}


.profile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: .45rem;

    min-height: 38px;
    max-width: 100%;

    padding: .5rem .75rem;

    border: 1px solid;
    border-radius: 10px;

    font-size: .84rem;
    font-weight: 600;
    line-height: 1.2;

    overflow-wrap: anywhere;

    transition:
        background-color .15s ease,
        border-color .15s ease,
        color .15s ease,
        transform .15s ease;
}


.profile-action i {
    flex: 0 0 auto;
    font-size: .9rem;
}


.profile-action-primary {
    color: var(--ui-primary);

    background: rgba(13, 110, 253, .06);

    border-color: rgba(13, 110, 253, .18);
}


.profile-action-primary:hover {
    color: #0a58ca;

    background: rgba(13, 110, 253, .11);

    border-color: rgba(13, 110, 253, .3);
}


.profile-action-danger {
    color: var(--ui-red);

    background: rgba(220, 53, 69, .05);

    border-color: rgba(220, 53, 69, .18);
}


.profile-action-danger:hover {
    color: #b02a37;

    background: rgba(220, 53, 69, .1);

    border-color: rgba(220, 53, 69, .3);
}


.profile-action-warning {
    color: var(--ui-yellow);

    background: rgba(255, 193, 7, .08);

    border-color: rgba(255, 193, 7, .22);
}


.profile-action-warning:hover {
    color: #795c03;

    background: rgba(255, 193, 7, .14);

    border-color: rgba(255, 193, 7, .35);
}


/* ==========================================================
   BAN
   ========================================================== */

.profile-ban {
    display: flex;
    align-items: flex-start;

    gap: 1rem;

    margin-top: 1.5rem;

    padding: 1rem 1.1rem;

    color: #842029;

    background: #f8d7da;

    border: 1px solid #f1aeb5;
    border-radius: 14px;
}


.profile-ban-icon {
    flex: 0 0 auto;

    color: var(--ui-red);

    font-size: 1.5rem;
    line-height: 1;
}


.profile-ban-content {
    min-width: 0;
    flex: 1 1 auto;
}


.profile-ban-title {
    font-weight: 700;
}


.profile-ban-text {
    margin-top: .25rem;

    font-size: .9rem;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


.profile-ban-date {
    display: flex;
    align-items: center;

    gap: .35rem;

    margin-top: .5rem;

    font-size: .8rem;

    opacity: .8;
}


/* ==========================================================
   PROFILE CONTENT
   ========================================================== */

.profile-content {
    min-width: 0;

    padding: 2rem;
}


.profile-content > * + * {
    margin-top: 1.5rem;
}


/* ==========================================================
   PROFILE GRID
   ========================================================== */

.profile-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1.5rem;
}


/* ==========================================================
   PROFILE BOX
   ========================================================== */

.profile-box {
    min-width: 0;

    padding: 1.35rem;

    background: var(--bs-body-bg);

    border: 1px solid var(--ui-border);
    border-radius: var(--ui-box-radius);
}


.profile-box-header {
    display: flex;
    align-items: center;

    gap: .8rem;

    margin-bottom: 1.25rem;

    min-width: 0;
}


.profile-box-heading {
    min-width: 0;
    flex: 1 1 auto;
}


.profile-box-header h2 {
    margin: 0;

    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;

    overflow-wrap: anywhere;
}


.profile-box-header p {
    margin: .15rem 0 0;

    color: var(--ui-muted);

    font-size: .8rem;
    line-height: 1.4;

    overflow-wrap: anywhere;
}


/* ==========================================================
   BOX ICONS
   ========================================================== */

.profile-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 12px;

    font-size: 1.1rem;
}


.profile-box-icon-blue {
    color: var(--ui-primary);
    background: rgba(13, 110, 253, .1);
}


.profile-box-icon-green {
    color: var(--ui-green);
    background: rgba(25, 135, 84, .1);
}


.profile-box-icon-cyan {
    color: #0dcaf0;
    background: rgba(13, 202, 240, .1);
}


.profile-box-icon-orange {
    color: var(--ui-orange);
    background: rgba(253, 126, 20, .1);
}


/* ==========================================================
   PERSONAL INFORMATION
   ========================================================== */

.profile-info-list {
    display: flex;
    flex-direction: column;
}


.profile-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    min-width: 0;

    padding: .85rem 0;

    border-bottom: 1px solid var(--ui-border);
}


.profile-info-item:first-child {
    padding-top: 0;
}


.profile-info-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}


.profile-info-label {
    display: flex;
    align-items: center;

    gap: .55rem;

    min-width: 0;

    color: var(--ui-muted);

    font-size: .9rem;
}


.profile-info-label i {
    width: 20px;

    flex: 0 0 20px;

    text-align: center;

    font-size: .95rem;
}


.profile-info-value {
    max-width: 60%;
    min-width: 0;

    text-align: right;

    font-size: .9rem;
    font-weight: 600;

    overflow-wrap: anywhere;
}


.profile-muted {
    color: var(--ui-muted);
    font-weight: 400;
}


/* ==========================================================
   STATISTICS
   ========================================================== */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: .75rem;
}


.stat-card {
    display: flex;
    align-items: center;

    gap: .75rem;

    min-width: 0;
    min-height: 76px;

    padding: .8rem;

    background: var(--bs-tertiary-bg);

    border: 1px solid var(--ui-border);
    border-radius: 13px;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}


.stat-card-wide {
    grid-column: 1 / -1;
}


.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    border-radius: 11px;

    font-size: 1rem;
}


.stat-icon-blue {
    color: var(--ui-primary);
    background: rgba(13, 110, 253, .1);
}


.stat-icon-purple {
    color: var(--ui-purple);
    background: rgba(111, 66, 193, .1);
}


.stat-icon-yellow {
    color: var(--ui-yellow);
    background: rgba(255, 193, 7, .14);
}


.stat-icon-red {
    color: var(--ui-red);
    background: rgba(220, 53, 69, .1);
}


.stat-icon-cyan {
    color: var(--ui-cyan);
    background: rgba(13, 202, 240, .13);
}


.stat-content {
    min-width: 0;
    flex: 1 1 auto;
}


.stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;

    overflow-wrap: anywhere;
}


.stat-value-rating {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;

    overflow-wrap: anywhere;
}


.stat-label {
    margin-top: .15rem;

    color: var(--ui-muted);

    font-size: .76rem;
    line-height: 1.25;

    overflow-wrap: anywhere;
}


/* ==========================================================
   ABOUT / SIGNATURE
   ========================================================== */

.profile-about {
    padding: 1.5rem;
}


.profile-text {
    min-width: 0;

    line-height: 1.75;

    overflow-wrap: anywhere;
}


.profile-text > :first-child {
    margin-top: 0;
}


.profile-text > :last-child {
    margin-bottom: 0;
}


.profile-text img {
    display: inline-block;

    width: auto;
    max-width: 100%;
    height: auto;
}


.profile-text iframe {
    display: block;

    width: 100%;
    max-width: 100%;

    border: 0;
}


.profile-text video,
.profile-text embed,
.profile-text object {
    display: block;

    max-width: 100%;
}


.profile-text a {
    color: var(--bs-primary);

    overflow-wrap: anywhere;
}


.profile-text ul,
.profile-text ol {
    padding-left: 1.5rem;
}


.profile-text blockquote {
    margin: 1rem 0;

    padding: .75rem 1rem;

    background: var(--bs-tertiary-bg);

    border-left: 4px solid var(--bs-primary);
    border-radius: 0 8px 8px 0;
}


.profile-text pre {
    max-width: 100%;

    padding: 1rem;

    overflow-x: auto;

    background: var(--bs-tertiary-bg);

    border-radius: 10px;
}


.profile-text code {
    overflow-wrap: anywhere;
}


.profile-text table {
    display: block;

    width: max-content;
    min-width: 100%;
    max-width: 100%;

    overflow-x: auto;

    border-collapse: collapse;
}


.profile-text th,
.profile-text td {
    padding: .5rem;

    border: 1px solid var(--ui-border);
}


/* ==========================================================
   SETTINGS
   ========================================================== */

.profile-settings {
    min-width: 0;
}


.profile-settings .accordion {
    --bs-accordion-border-width: 0;
}


.profile-settings .accordion-item {
    overflow: hidden;

    border: 1px solid var(--ui-border);
    border-radius: 16px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .04);
}


.profile-settings .accordion-button {
    display: flex;
    align-items: center;

    gap: .8rem;

    padding: 1.1rem 1.25rem;

    color: var(--bs-body-color);

    background: var(--bs-body-bg);

    box-shadow: none;

    font-size: .95rem;
}


.profile-settings .accordion-button:not(.collapsed) {
    color: var(--bs-body-color);

    background: var(--bs-tertiary-bg);

    box-shadow: none;
}


.profile-settings .accordion-button:focus-visible {
    outline: 2px solid rgba(13, 110, 253, .65);
    outline-offset: -2px;

    box-shadow: none;
}


.settings-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    color: var(--ui-primary);

    background: rgba(13, 110, 253, .1);

    border-radius: 11px;
}


.settings-button-text {
    display: flex;
    flex-direction: column;

    min-width: 0;

    text-align: left;
}


.settings-button-text strong {
    font-weight: 700;
    line-height: 1.3;
}


.profile-settings .accordion-button small {
    display: block;

    margin-top: .15rem;

    color: var(--ui-muted);

    font-size: .75rem;
    font-weight: 400;
    line-height: 1.3;
}


/* ==========================================================
   ACCORDION BODY
   ========================================================== */

.profile-settings .accordion-body {
    min-width: 0;

    padding: 1.5rem;
}


/* ==========================================================
   SETTINGS SECTIONS
   ========================================================== */

.settings-section {
    min-width: 0;

    padding: 1.5rem 0;

    border-bottom: 1px solid var(--ui-border);
}


.settings-section:first-child {
    padding-top: 0;
}


.settings-section:last-child {
    border-bottom: 0;
}


.settings-title {
    display: flex;
    align-items: center;

    gap: .6rem;

    margin-bottom: 1.2rem;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}


.settings-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    border-radius: 9px;

    font-size: .9rem;
}


.settings-icon-blue {
    color: var(--ui-primary);
    background: rgba(13, 110, 253, .1);
}


.settings-icon-yellow {
    color: var(--ui-yellow);
    background: rgba(255, 193, 7, .13);
}


.settings-icon-green {
    color: var(--ui-green);
    background: rgba(25, 135, 84, .1);
}


.settings-icon-purple {
    color: var(--ui-purple);
    background: rgba(111, 66, 193, .1);
}


.settings-icon-cyan {
    color: var(--ui-cyan);
    background: rgba(13, 202, 240, .12);
}


.settings-icon-orange {
    color: var(--ui-orange);
    background: rgba(253, 126, 20, .11);
}


/* ==========================================================
   SETTINGS GRID
   ========================================================== */

.settings-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr);

    gap: 1rem;
}


.settings-grid-2 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
}


.settings-grid-3 {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}


.form-field {
    min-width: 0;
}


.form-field-full {
    grid-column: 1 / -1;
}


/* ==========================================================
   FORM CONTROLS
   ========================================================== */

.profile-settings .form-label {
    display: block;

    margin-bottom: .45rem;

    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
}


.profile-settings .form-control,
.profile-settings .form-select {
    width: 100%;
    max-width: 100%;

    min-height: 42px;

    border-radius: var(--ui-control-radius);
}


.profile-settings textarea.form-control {
    min-height: auto;

    resize: vertical;
}


.profile-settings .form-control:focus,
.profile-settings .form-select:focus {
    border-color: rgba(13, 110, 253, .55);

    box-shadow:
        0 0 0 .2rem rgba(13, 110, 253, .1);
}


.profile-settings .form-control:focus-visible,
.profile-settings .form-select:focus-visible {
    outline: 0;
}


.profile-settings .form-text,
.form-help {
    margin-top: .4rem;

    color: var(--ui-muted);

    font-size: .78rem;
    line-height: 1.4;
}


.required-mark {
    color: var(--ui-red);
}


.profile-settings .form-check {
    display: flex;
    align-items: center;

    gap: .5rem;

    min-height: 24px;
}


.profile-settings .form-check-input {
    margin-top: 0;
}


.profile-settings .form-check-input:focus {
    box-shadow:
        0 0 0 .2rem rgba(13, 110, 253, .1);
}


.profile-settings .form-check-label {
    cursor: pointer;
}


/* ==========================================================
   TIMEZONE
   ========================================================== */

#timezone {
    width: 100%;
    min-width: 0;
}


#timezone select {
    display: block;

    width: 100%;
    max-width: 100%;

    min-height: 42px;

    padding: .375rem .75rem;

    color: var(--bs-body-color);

    background-color: var(--bs-body-bg);

    border: 1px solid var(--bs-border-color);
    border-radius: var(--ui-control-radius);
}


#timezone select:focus {
    border-color: rgba(13, 110, 253, .55);

    outline: 0;

    box-shadow:
        0 0 0 .2rem rgba(13, 110, 253, .1);
}


/* ==========================================================
   GENERATED CONTENT
   ========================================================== */

.generated-content,
.profile-generated-field,
.profile-social-generated,
.twofactor-wrapper,
.ignore-list-wrapper {
    min-width: 0;

    max-width: 100%;

    overflow-wrap: anywhere;
}


.generated-content img,
.twofactor-wrapper img,
.ignore-list-wrapper img {
    display: block;

    max-width: 100%;
    height: auto;
}


/* ==========================================================
   2FA GENERATED CONTENT
   ========================================================== */

.twofactor-wrapper {
    width: 100%;
}


.twofactor-wrapper > * {
    max-width: 100%;
}


.twofactor-wrapper input,
.twofactor-wrapper select,
.twofactor-wrapper textarea {
    max-width: 100%;
}


.twofactor-wrapper table {
    width: 100%;
    max-width: 100%;

    overflow-x: auto;
}


/* ==========================================================
   IGNORE LIST
   ========================================================== */

.ignore-list-wrapper {
    width: 100%;
}


.ignore-list-wrapper a {
    overflow-wrap: anywhere;
}


.ignore-list-wrapper table {
    width: 100%;
    max-width: 100%;

    border-collapse: collapse;
}


.ignore-list-wrapper th,
.ignore-list-wrapper td {
    padding: .5rem;

    border: 1px solid var(--ui-border);
}


/* ==========================================================
   USER FIELDS
   ========================================================== */

.user_fields {
    width: 100%;
    min-width: 0;
}


.user_fields label {
    display: block;

    margin-bottom: .45rem;

    font-size: .875rem;
    font-weight: 600;
}


.user_fields input[type="text"],
.user_fields input[type="email"],
.user_fields input[type="number"],
.user_fields input[type="url"],
.user_fields input[type="date"],
.user_fields input[type="tel"],
.user_fields input[type="password"],
.user_fields input[type="file"],
.user_fields select,
.user_fields textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    min-height: 42px;

    padding: .375rem .75rem;

    color: var(--bs-body-color);

    background-color: var(--bs-body-bg);

    border: 1px solid var(--bs-border-color);
    border-radius: var(--ui-control-radius);
}


.user_fields textarea {
    resize: vertical;
}


.user_fields input:focus,
.user_fields select:focus,
.user_fields textarea:focus {
    border-color: rgba(13, 110, 253, .55);

    outline: 0;

    box-shadow:
        0 0 0 .2rem rgba(13, 110, 253, .1);
}


/* ==========================================================
   SOCIAL NETWORKS
   ========================================================== */

.social-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: .5rem;
}


.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: .45rem;

    min-height: 40px;
    max-width: 100%;

    padding: .55rem .8rem;

    color: #fff;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: .85rem;
    font-weight: 600;
    line-height: 1.2;

    transition:
        transform .15s ease,
        opacity .15s ease,
        box-shadow .15s ease;
}


.social-button i {
    flex: 0 0 auto;

    font-size: .95rem;
}


.social-button:hover {
    color: #fff;
}


.social-button:focus-visible {
    outline: 2px solid rgba(13, 110, 253, .65);
    outline-offset: 2px;
}


.social-vk {
    background: #0077ff;
}


.social-yandex {
    background: #fc3f1d;
}


.social-ok {
    background: #ee8208;
}


.social-mail {
    background: #168de2;
}


.social-google {
    color: #3c4043;

    background: #fff;

    border-color: var(--ui-border);
}


.social-google:hover {
    color: #3c4043;
}


.social-facebook {
    background: #1877f2;
}


.social-telegram {
    background: #229ed9;
}


.telegram-action {
    margin-left: auto;
}


.telegram-action a {
    color: inherit;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}


/* ==========================================================
   GENERATED SOCIAL CONTENT
   ========================================================== */

.profile-social-generated {
    width: 100%;

    margin-top: 1rem;
}


.profile-social-generated a {
    overflow-wrap: anywhere;
}


/* ==========================================================
   SUBSCRIPTIONS
   ========================================================== */

.subscription-list {
    display: flex;
    flex-direction: column;

    gap: .6rem;
}


.subscription-item {
    display: flex;
    align-items: center;

    gap: .75rem;

    min-width: 0;

    padding: .75rem;

    background: var(--bs-tertiary-bg);

    border: 1px solid var(--ui-border);
    border-radius: 11px;
}


.subscription-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border-radius: 9px;
}


.subscription-content {
    min-width: 0;

    flex: 1 1 auto;

    overflow-wrap: anywhere;
}


.subscription-content a {
    overflow-wrap: anywhere;
}


.subscription-blue {
    color: var(--ui-primary);
    background: rgba(13, 110, 253, .1);
}


.subscription-purple {
    color: var(--ui-purple);
    background: rgba(111, 66, 193, .1);
}


.subscription-red {
    color: var(--ui-red);
    background: rgba(220, 53, 69, .1);
}


/* ==========================================================
   SETTINGS ACTIONS
   ========================================================== */

.settings-actions {
    display: flex;
    flex-wrap: wrap;

    gap: .65rem;

    padding-top: 1.5rem;
}


.settings-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: .45rem;

    min-height: 44px;

    border-radius: 10px;
}


.settings-actions .btn i {
    flex: 0 0 auto;

    font-size: .95rem;
}


.settings-save {
    min-width: 190px;
}


.settings-delete {
    cursor: pointer;
}


/* ==========================================================
   HOVER DEVICES
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

    .profile-action:hover {
        transform: translateY(-1px);
    }


    .stat-card:hover {
        transform: translateY(-2px);

        box-shadow:
            0 7px 20px rgba(0, 0, 0, .06);
    }


    .social-button:hover {
        transform: translateY(-1px);

        opacity: .9;
    }

}


/* ==========================================================
   DARK MODE
   ========================================================== */

[data-bs-theme="dark"] .userinfo-card {

    --ui-muted: #adb5bd;

    --ui-border: rgba(255, 255, 255, .1);

    --ui-yellow: #ffc107;
    --ui-orange: #ff922b;
    --ui-cyan: #22d3ee;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .2);
}


[data-bs-theme="dark"] .profile-header {
    background:
        linear-gradient(
            135deg,
            rgba(13, 110, 253, .12),
            rgba(111, 66, 193, .08)
        );
}


[data-bs-theme="dark"] .profile-avatar img {
    box-shadow:
        0 8px 25px rgba(0, 0, 0, .3);
}


[data-bs-theme="dark"] .profile-ban {
    color: #f8d7da;

    background: rgba(220, 53, 69, .12);

    border-color: rgba(220, 53, 69, .25);
}


[data-bs-theme="dark"] .social-google {
    color: #f8f9fa;

    background: var(--bs-tertiary-bg);

    border-color: var(--ui-border);
}


[data-bs-theme="dark"] .social-google:hover {
    color: #f8f9fa;
}


@media (hover: hover) and (pointer: fine) {

    [data-bs-theme="dark"] .stat-card:hover {
        box-shadow:
            0 7px 20px rgba(0, 0, 0, .2);
    }

}


/* ==========================================================
   LARGE TABLET
   ========================================================== */

@media (max-width: 1199.98px) {

    .profile-content {
        padding: 1.5rem;
    }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991.98px) {

    .profile-header {
        padding: 1.5rem;
    }


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


    .settings-grid-3 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

    .profile-header {
        padding: 1.25rem;
    }


    .profile-header-inner {
        align-items: flex-start;

        gap: 1rem;
    }


    .profile-content {
        padding: 1.25rem;
    }


    .profile-box {
        padding: 1rem;
    }


    .profile-about {
        padding: 1rem;
    }


    .profile-avatar,
    .profile-avatar img {
        width: 92px;
        height: 92px;
    }


    .profile-online {
        right: 2px;
        bottom: 3px;

        width: 16px;
        height: 16px;

        border-width: 3px;
    }


    .profile-title {
        font-size: 1.3rem;
    }


    .profile-info-item {
        align-items: flex-start;

        flex-direction: column;

        gap: .3rem;
    }


    .profile-info-value {
        max-width: 100%;

        padding-left: 1.55rem;

        text-align: left;
    }


    .profile-settings .accordion-body {
        padding: 1rem;
    }


    .settings-section {
        padding: 1.25rem 0;
    }


    .settings-grid-2,
    .settings-grid-3 {
        grid-template-columns: 1fr;
    }


    .subscription-item {
        align-items: flex-start;
    }


    .profile-text iframe {
        min-height: 220px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 575.98px) {

    .profile-header-inner {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }


    .profile-avatar {
        margin: 0 auto;
    }


    .profile-title-row,
    .profile-status,
    .profile-actions {
        justify-content: center;
    }


    .profile-main {
        width: 100%;
    }


    .profile-ban {
        text-align: left;
    }


    .stats-grid {
        grid-template-columns: 1fr;
    }


    .stat-card-wide {
        grid-column: auto;
    }


    .stat-card {
        min-height: 68px;

        padding: .65rem;
    }


    .stat-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }


    .stat-label {
        font-size: .7rem;
    }


    .stat-value-rating {
        font-size: .7rem;

        line-height: 1.2;
    }


    .settings-actions .btn {
        width: 100%;
    }


    .settings-save {
        min-width: 0;
    }


    .social-button span:not(.telegram-action) {
        display: none;
    }


    .social-button {
        width: 42px;
        height: 42px;

        padding: 0;
    }


    .social-telegram {
        width: auto;

        padding: .55rem .8rem;
    }


    .social-telegram > span:not(.telegram-action) {
        display: inline;
    }


    .telegram-action {
        display: inline !important;
    }


    .profile-box-header {
        align-items: flex-start;
    }


    .profile-action {
        flex: 1 1 auto;
    }

}


/* ==========================================================
   VERY SMALL DEVICES
   ========================================================== */

@media (max-width: 380px) {

    .profile-header {
        padding: 1rem;
    }


    .profile-content {
        padding: .75rem;
    }


    .profile-box {
        padding: .85rem;
    }


    .profile-box-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .stat-card {
        gap: .5rem;
    }


    .stat-icon {
        width: 31px;
        height: 31px;

        flex-basis: 31px;

        font-size: .85rem;
    }


    .settings-actions {
        gap: .5rem;
    }


    .profile-actions {
        width: 100%;
    }


    .profile-action {
        max-width: 100%;
    }


    .profile-title {
        font-size: 1.15rem;
    }


    .profile-group {
        font-size: .7rem;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .userinfo-card *,
    .userinfo-card *::before,
    .userinfo-card *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }

}


.password-recovery {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}

.password-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.5rem;
    padding: 0;
    background: transparent;
}

.password-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .12);
    font-size: 1.05rem;
}

.password-header-content {
    min-width: 0;
}

.password-title {
    margin: 0 0 .2rem;
    padding: 0;
    color: var(--bs-heading-color, var(--bs-body-color));
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 600;
}

.password-intro {
    margin: 0;
    padding: 0;
    color: var(--bs-secondary-color);
    font-size: .9rem;
    line-height: 1.45;
}

.password-field {
    margin-bottom: 1.5rem;
}

.password-recovery .form-label {
    display: block;
    margin-bottom: .4rem;
    color: var(--bs-body-color);
    font-weight: 500;
}

.required-mark {
    color: var(--bs-danger);
    margin-left: .15rem;
}

.password-recovery .form-control {
    border-radius: .6rem;
}

.password-recovery .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .15);
}

.password-recovery .form-text {
    margin-top: .4rem;
    color: var(--bs-secondary-color);
    line-height: 1.4;
}

.password-fieldset {
    min-width: 0;
    padding: 0;
    margin: 0 0 1.5rem;
    border: 0;
}

.password-captcha {
    display: flex;
    align-items: stretch;
    gap: .75rem;
    flex-wrap: wrap;
}

.password-captcha-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 176px;
    height: 88px;
    min-width: 176px;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: .625rem;
    background: var(--bs-secondary-bg);
}

.password-captcha-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.password-captcha-input {
    width: 180px;
    min-width: 0;
}

.password-captcha-input .form-control {
    width: 100%;
    height: 88px;
    min-height: 88px;
}

.password-recaptcha {
    overflow: hidden;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.password-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: .25rem;
}

.password-submit {
    min-height: 44px;
    padding: .6rem 1.25rem;
    border-radius: .6rem;
}

@media (max-width: 767.98px) {

    .password-recovery {
        padding: 1rem;
        border-radius: .875rem;
    }

    .password-header {
        align-items: flex-start;
        margin-bottom: 1.25rem;
    }

    .password-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .password-title {
        font-size: 1.2rem;
    }

    .password-intro {
        font-size: .85rem;
    }

    .password-captcha {
        width: 100%;
    }

    .password-captcha-image {
        width: 140px;
        height: 70px;
        min-width: 140px;
    }

    .password-captcha-input {
        flex: 1 1 130px;
        width: auto;
    }

    .password-captcha-input .form-control {
        height: 70px;
        min-height: 70px;
    }

    .password-actions {
        display: block;
    }

    .password-submit {
        width: 100%;
    }
}

@media (max-width: 380px) {

    .password-recovery {
        padding: .85rem;
    }

    .password-header {
        gap: .6rem;
    }

    .password-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .password-title {
        font-size: 1.1rem;
    }

    .password-captcha {
        flex-direction: column;
    }

    .password-captcha-image {
        width: 176px;
        height: 88px;
        min-width: 176px;
    }

    .password-captcha-input {
        width: 100%;
    }

    .password-captcha-input .form-control {
        height: 48px;
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .password-recovery *,
    .password-recovery *::before,
    .password-recovery *::after {
        transition: none !important;
    }
}


.btn-primary-soft {
    display: inline-block;

    padding: .5rem 1rem;

    color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), .1);

    border: 1px solid transparent;
    border-radius: var(--bs-border-radius);

    font-weight: 500;
    line-height: 1.5;

    text-align: center;
    text-decoration: none;

    vertical-align: middle;

    cursor: pointer;

    transition:
        color .15s ease-in-out,
        background-color .15s ease-in-out,
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out;
}

.btn-primary-soft:hover {
    color: #fff !important;
    background-color: var(--bs-primary);

    border-color: var(--bs-primary);

    text-decoration: none;
}

.btn-primary-soft:focus {
    color: #fff !important;
    background-color: var(--bs-primary);

    border-color: var(--bs-primary);

    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.btn-primary-soft:focus-visible {
    color: #fff !important;
    background-color: var(--bs-primary);

    border-color: var(--bs-primary);

    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.btn-primary-soft:active {
    color: #fff !important;
    background-color: var(--bs-primary);

    border-color: var(--bs-primary);
}

.btn-primary-soft i {
    color: inherit;
}


/* =========================================================
   PREMIUM STATS DASHBOARD
   ========================================================= */

.stats-page {
    --stats-radius: 16px;
    --stats-border: rgba(0, 0, 0, .07);
    --stats-muted: #6c757d;

    --stats-primary: #0d6efd;
    --stats-success: #198754;
    --stats-warning: #d99b00;
    --stats-info: #079bb7;
    --stats-danger: #dc3545;

    padding-bottom: 2rem;
}


/* =========================================================
   HEADER
   ========================================================= */

.stats-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.stats-eyebrow {
    display: flex;
    align-items: center;
    gap: .45rem;

    margin-bottom: .45rem;

    color: var(--stats-primary);

    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.stats-eyebrow i {
    font-size: .75rem;
}

.stats-page .page-title {
    font-weight: 700;
    letter-spacing: -.035em;
}

.stats-page .text-body-reset {
    color: var(--stats-muted);
}


/* =========================================================
   CARDS
   ========================================================= */

.stats-page .card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--stats-border);
    border-radius: var(--stats-radius);

    background: var(--bs-body-bg);

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .025),
        0 5px 18px rgba(0, 0, 0, .025);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.stats-page .card:hover {
    border-color: rgba(13, 110, 253, .12);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, .04),
        0 12px 32px rgba(0, 0, 0, .055);
}


/* =========================================================
   PERIOD CARDS
   ========================================================= */

.stats-period-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    opacity: .8;
}

.stats-period-day::before {
    background: var(--stats-primary);
}

.stats-period-week::before {
    background: var(--stats-success);
}

.stats-period-month::before {
    background: var(--stats-warning);
}


/* =========================================================
   ICONS
   ========================================================= */

.stats-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 1.15rem;
}

.stats-icon-primary {
    color: var(--stats-primary);
    background: rgba(13, 110, 253, .09);
}

.stats-icon-success {
    color: var(--stats-success);
    background: rgba(25, 135, 84, .09);
}

.stats-icon-warning {
    color: #c58b00;
    background: rgba(255, 193, 7, .13);
}

.stats-icon-info {
    color: var(--stats-info);
    background: rgba(13, 202, 240, .11);
}


/* =========================================================
   CARD TITLES
   ========================================================= */

.stats-page .card-title {
    font-weight: 650;
    letter-spacing: -.015em;
}


/* =========================================================
   PERIOD LIST
   ========================================================= */

.stats-list {
    display: flex;
    flex-direction: column;
}

.stats-list-row {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(0, 0, 0, .045);

    transition:
        background-color .15s ease,
        padding .15s ease;
}

.stats-list-row:last-child {
    border-bottom: 0;
}

.stats-list-row:hover {
    margin-left: -.35rem;
    margin-right: -.35rem;

    padding-left: .35rem;
    padding-right: .35rem;

    border-radius: 9px;

    background: rgba(13, 110, 253, .025);
}


/* =========================================================
   ROW ICONS
   ========================================================= */

.row-icon {
    width: 31px;
    height: 31px;

    margin-right: .65rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-size: .8rem;
}

.row-icon-primary {
    color: var(--stats-primary);
    background: rgba(13, 110, 253, .08);
}

.row-icon-warning {
    color: #c58b00;
    background: rgba(255, 193, 7, .12);
}

.row-icon-info {
    color: var(--stats-info);
    background: rgba(13, 202, 240, .1);
}


/* =========================================================
   VALUES
   ========================================================= */

.stat-value {
    color: var(--bs-emphasis-color);

    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.comments-value {
    color: var(--bs-emphasis-color);

    font-size: 2.65rem;
    line-height: 1;

    font-weight: 800;
    letter-spacing: -.055em;
}

.database-value {
    color: var(--bs-emphasis-color);

    font-size: 1.35rem;
    line-height: 1.2;

    font-weight: 700;
    letter-spacing: -.025em;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.stats-section-title {
    min-height: 38px;
}

.section-line {
    height: 1px;

    background: var(--bs-border-color);

    opacity: .75;
}


/* =========================================================
   MAIN STATISTICS
   ========================================================= */

.main-stats-list {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.main-stat-row {
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: .35rem .65rem;

    border-radius: 9px;

    transition: background-color .15s ease;
}

.main-stat-row:hover {
    background: rgba(13, 110, 253, .025);
}


/* =========================================================
   COMMENTS
   ========================================================= */

.comments-total {
    padding-top: .25rem;
}

.comments-button {
    min-height: 40px;

    border-radius: 9px;

    font-weight: 600;

    transition:
        transform .15s ease,
        background-color .15s ease,
        border-color .15s ease;
}

.comments-button:hover {
    transform: translateY(-1px);
}

.comments-button i:last-child {
    transition: transform .15s ease;
}

.comments-button:hover i:last-child {
    transform: translateX(3px);
}


/* =========================================================
   DATABASE
   ========================================================= */

.stats-database-card {
    background:
        linear-gradient(
            120deg,
            rgba(13, 110, 253, .035),
            transparent 55%
        );
}


/* =========================================================
   TOP USERS
   ========================================================= */

.stats-topusers-card {
    overflow: hidden;
}

.stats-users-table {
    --bs-table-bg: transparent;
}

.stats-users-table > tbody > tr {
    transition: background-color .15s ease;
}

.stats-users-table > tbody > tr:hover {
    background-color: rgba(13, 110, 253, .035);
}

.stats-users-table > tbody > tr > td {
    border-color: rgba(0, 0, 0, .055);
}

.stats-users-table a {
    color: var(--bs-emphasis-color);

    font-weight: 600;

    text-decoration: none;

    transition: color .15s ease;
}

.stats-users-table a:hover {
    color: var(--stats-primary);
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-bs-theme="dark"] .stats-page {
    --stats-border: rgba(255, 255, 255, .08);
    --stats-muted: #9aa0a6;
}

[data-bs-theme="dark"] .stats-page .card {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, .15),
        0 7px 22px rgba(0, 0, 0, .14);
}

[data-bs-theme="dark"] .stats-page .card:hover {
    border-color: rgba(255, 255, 255, .12);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .2),
        0 14px 34px rgba(0, 0, 0, .2);
}

[data-bs-theme="dark"] .stats-list-row {
    border-bottom-color: rgba(255, 255, 255, .06);
}

[data-bs-theme="dark"] .stats-list-row:hover,
[data-bs-theme="dark"] .main-stat-row:hover {
    background: rgba(255, 255, 255, .025);
}

[data-bs-theme="dark"] .stats-database-card {
    background:
        linear-gradient(
            120deg,
            rgba(13, 110, 253, .075),
            transparent 60%
        );
}

[data-bs-theme="dark"] .stats-users-table > tbody > tr:hover {
    background-color: rgba(255, 255, 255, .035);
}

[data-bs-theme="dark"] .stats-users-table > tbody > tr > td {
    border-color: rgba(255, 255, 255, .06);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .stats-page {
        padding-bottom: 1rem;
    }

    .stats-page .card-body {
        padding: 1.25rem !important;
    }

    .stats-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .comments-value {
        font-size: 2.25rem;
    }
}


@media (max-width: 575.98px) {

    .stats-header {
        align-items: flex-start;
    }

    .stats-page .page-title {
        font-size: 1.3rem;
    }

    .stats-eyebrow {
        font-size: .62rem;
    }

    .stats-page .card-title {
        font-size: .94rem;
    }

    .stats-page .small.text-body-reset {
        font-size: .77rem;
    }

    .stat-value {
        font-size: .98rem;
    }

    .comments-value {
        font-size: 2rem;
    }

    .database-value {
        font-size: 1.15rem;
    }

    .stats-section-title {
        gap: .7rem !important;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .stats-page *,
    .stats-page *::before,
    .stats-page *::after {
        transition: none !important;
    }
}






.bcat-item {
    transition: all .2s ease;
}

/* Новости */
.bcat-item:nth-of-type(1) {
    background-color: rgba(255, 193, 7, .15);
}
.bcat-item:nth-of-type(1) .bcat-name {
    color: #ffc107;
}
.bcat-item:nth-of-type(1) .bcat-count {
    background-color: #ffc107;
    color: #212529;
}

/* Hi-Tech */
.bcat-item:nth-of-type(2) {
    background-color: rgba(13, 202, 240, .10);
}
.bcat-item:nth-of-type(2) .bcat-name {
    color: #0dcaf0;
}
.bcat-item:nth-of-type(2) .bcat-count {
    background-color: #0dcaf0;
    color: #fff;
}

/* Статьи */
.bcat-item:nth-of-type(3) {
    background-color: rgba(220, 53, 69, .10);
}
.bcat-item:nth-of-type(3) .bcat-name {
    color: #dc3545;
}
.bcat-item:nth-of-type(3) .bcat-count {
    background-color: #dc3545;
    color: #fff;
}

/* Обзоры */
.bcat-item:nth-of-type(4) {
    background-color: rgba(13, 110, 253, .10);
}
.bcat-item:nth-of-type(4) .bcat-name {
    color: #0d6efd;
}
.bcat-item:nth-of-type(4) .bcat-count {
    background-color: #0d6efd;
    color: #fff;
}

/* Гайды */
.bcat-item:nth-of-type(5) {
    background-color: rgba(25, 135, 84, .10);
}
.bcat-item:nth-of-type(5) .bcat-name {
    color: #198754;
}
.bcat-item:nth-of-type(5) .bcat-count {
    background-color: #198754;
    color: #fff;
}

/* Технологии */
.bcat-item:nth-of-type(6) {
    background-color: rgba(111, 66, 193, .10);
}
.bcat-item:nth-of-type(6) .bcat-name {
    color: #6f42c1;
}
.bcat-item:nth-of-type(6) .bcat-count {
    background-color: #6f42c1;
    color: #fff;
}

/* Приложения */
.bcat-item:nth-of-type(7) {
    background-color: rgba(214, 51, 132, .10);
}
.bcat-item:nth-of-type(7) .bcat-name {
    color: #d63384;
}
.bcat-item:nth-of-type(7) .bcat-count {
    background-color: #d63384;
    color: #fff;
}

/* Интернет */
.bcat-item:nth-of-type(8) {
    background-color: rgba(32, 201, 151, .10);
}
.bcat-item:nth-of-type(8) .bcat-name {
    color: #20c997;
}
.bcat-item:nth-of-type(8) .bcat-count {
    background-color: #20c997;
    color: #fff;
}

/* Мобильный софт */
.bcat-item:nth-of-type(9) {
    background-color: rgba(102, 16, 242, .10);
}
.bcat-item:nth-of-type(9) .bcat-name {
    color: #6610f2;
}
.bcat-item:nth-of-type(9) .bcat-count {
    background-color: #6610f2;
    color: #fff;
}

/* Видео */
.bcat-item:nth-of-type(10) {
    background-color: rgba(253, 126, 20, .10);
}
.bcat-item:nth-of-type(10) .bcat-name {
    color: #fd7e14;
}
.bcat-item:nth-of-type(10) .bcat-count {
    background-color: #fd7e14;
    color: #fff;
}

/* Сообщество */
.bcat-item:nth-of-type(11) {
    background-color: rgba(32, 201, 151, .10);
}
.bcat-item:nth-of-type(11) .bcat-name {
    color: #20c997;
}
.bcat-item:nth-of-type(11) .bcat-count {
    background-color: #20c997;
    color: #fff;
}

/* Windows */
.bcat-item:nth-of-type(12) {
    background-color: rgba(13, 110, 253, .10);
}
.bcat-item:nth-of-type(12) .bcat-name {
    color: #0d6efd;
}
.bcat-item:nth-of-type(12) .bcat-count {
    background-color: #0d6efd;
    color: #fff;
}

/* Искусственный интеллект */
.bcat-item:nth-of-type(13) {
    background-color: rgba(111, 66, 193, .10);
}
.bcat-item:nth-of-type(13) .bcat-name {
    color: #6f42c1;
}
.bcat-item:nth-of-type(13) .bcat-count {
    background-color: #6f42c1;
    color: #fff;
}

/* Кибербезопасность */
.bcat-item:nth-of-type(14) {
    background-color: rgba(220, 53, 69, .10);
}
.bcat-item:nth-of-type(14) .bcat-name {
    color: #dc3545;
}
.bcat-item:nth-of-type(14) .bcat-count {
    background-color: #dc3545;
    color: #fff;
}

/* Смартфоны */
.bcat-item:nth-of-type(15) {
    background-color: rgba(25, 135, 84, .10);
}
.bcat-item:nth-of-type(15) .bcat-name {
    color: #198754;
}
.bcat-item:nth-of-type(15) .bcat-count {
    background-color: #198754;
    color: #fff;
}

/* Компьютеры */
.bcat-item:nth-of-type(16) {
    background-color: rgba(255, 193, 7, .15);
}
.bcat-item:nth-of-type(16) .bcat-name {
    color: #ffc107;
}
.bcat-item:nth-of-type(16) .bcat-count {
    background-color: #ffc107;
    color: #212529;
}

.bcat-item:hover {
    filter: brightness(.97);
    transform: translateX(2px);
}

.bcat-count {
    min-width: 32px;
    text-align: center;
}

















/* =========================================================
   BLOGZINE SIDEBAR — CUSTOM COLORS
   ========================================================= */

.text-purple {
    color: #8a2be2 !important;
}

.text-orange {
    color: #ff4500 !important;
}

.text-pink {
    color: #ff69b4 !important;
}


/* Background */

.bg-purple {
    background-color: #8a2be2 !important;
}

.bg-orange {
    background-color: #ff4500 !important;
}

.bg-pink {
    background-color: #ff69b4 !important;
}


/* =========================================================
   SIDEBAR TITLES
   ========================================================= */

[data-sticky] > .mb-4 > h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================================
   ADVERTISEMENT
   ========================================================= */

[data-sticky] .card-img-flash {
    display: block;
    overflow: hidden;
    border-radius: var(--bs-border-radius-lg);
}

[data-sticky] .card-img-flash img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .3s ease;
}

[data-sticky] .card-img-flash:hover img {
    transform: scale(1.02);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    [data-sticky] {
        position: static !important;
    }

}

