@font-face {
    font-family: 'Manrope';
    font-display: swap;
    src: url('/app/modules/auth/static/fonts/Manrope-Regular.woff2') format('woff2'),
         url('/app/modules/auth/static/fonts/Manrope-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    font-display: swap;
    src: url('/app/modules/auth/static/fonts/Manrope-Medium.woff2') format('woff2'),
         url('/app/modules/auth/static/fonts/Manrope-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    font-display: swap;
    src: url('/app/modules/auth/static/fonts/Manrope-SemiBold.woff2') format('woff2'),
         url('/app/modules/auth/static/fonts/Manrope-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    font-display: swap;
    src: url('/app/modules/auth/static/fonts/Manrope-Bold.woff2') format('woff2'),
         url('/app/modules/auth/static/fonts/Manrope-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

:root {
    --bg: #f9f7fd;
    --text: #383838;
    --muted: #6d6986;
    --border: #e7e1f6;
    --brand-a: #7368de;
    --brand-b: #c15fba;
    --brand-c: #564ec1;
    --soft: #f7f4ff;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(900px 220px at 8% -110px, rgba(115, 104, 222, 0.24), transparent 70%),
        radial-gradient(860px 240px at 100% -130px, rgba(193, 95, 186, 0.2), transparent 68%),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.seo-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

.seo-header {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-a) 10%, var(--brand-b) 100%);
    box-shadow: 0 12px 24px rgba(86, 78, 193, 0.18);
}

.seo-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.seo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.seo-brand img {
    width: 42px;
    height: 32px;
    object-fit: contain;
}

.seo-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.seo-nav a.is-active,
.seo-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
}

.seo-main {
    padding: 24px 0 42px;
}

.seo-shell {
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(108, 91, 194, 0.1);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--muted);
}

.breadcrumbs a {
    color: var(--brand-c);
    font-weight: 600;
}

.breadcrumbs span {
    margin: 0 4px;
    color: #b4a8df;
}

.breadcrumbs strong {
    font-weight: 600;
}

.seo-hero {
    margin-bottom: 18px;
}

.seo-main h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.seo-meta {
    margin-top: 10px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.45;
}

.alert-noindex {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #ffd89a;
    color: #7d560c;
    background: #fff8eb;
}

.alert-info {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #c8d8ff;
    color: #204588;
    background: #eef4ff;
}

.seo-prefilters {
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-chip {
    border: 1px solid #dfd4ff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.2;
    color: #5f4eaa;
    background: linear-gradient(180deg, #ffffff 0%, #f6f1ff 100%);
}

.seo-chip strong {
    color: #3f356d;
}

.seo-table-wrap {
    margin-top: 8px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(71, 66, 111, 0.06);
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.seo-table thead th {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 700;
    color: #4d446e;
    text-align: left;
    background: #f9f7ff;
    white-space: nowrap;
}

.seo-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0ebff;
    vertical-align: middle;
    font-size: 14px;
    color: #3b345d;
}

.seo-table tbody tr:last-child td {
    border-bottom: 0;
}

.seo-table tbody tr:hover {
    background: #fcfaff;
}

.seo-profile-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--soft);
    display: block;
}

.seo-profile-main {
    display: grid;
    gap: 2px;
}

.seo-profile-name {
    font-size: 15px;
    font-weight: 700;
    color: #322a59;
}

.seo-profile-name:hover {
    color: var(--brand-c);
}

.seo-profile-nick {
    font-size: 12px;
    color: var(--muted);
}

.pagination {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination strong {
    display: inline-block;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1;
    border: 1px solid #d8d0f1;
    background: #ffffff;
    color: #4e4683;
}

.pagination a:hover {
    border-color: var(--brand-a);
    color: var(--brand-c);
}

.pagination strong {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, var(--brand-a) 0%, var(--brand-b) 100%);
}

.seo-sections {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.seo-section {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    background: #fcfbff;
}

.seo-section h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    color: #2f2a4d;
}

.seo-section p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.seo-links a {
    border: 1px solid #dfd4ff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #5f4eaa;
    background: linear-gradient(180deg, #ffffff 0%, #f6f1ff 100%);
}

.seo-links a:hover {
    border-color: var(--brand-a);
    color: var(--brand-c);
}

@media (max-width: 860px) {
    .seo-header-inner {
        min-height: 0;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .seo-main {
        padding-top: 16px;
    }

    .seo-main h1 {
        font-size: 31px;
    }

    .seo-shell {
        padding: 18px;
        border-radius: 18px;
    }
}

@media (max-width: 620px) {
    .seo-brand {
        font-size: 22px;
    }

    .seo-main h1 {
        font-size: 27px;
    }

    .seo-chip {
        font-size: 12px;
        padding: 7px 10px;
    }

    .seo-table {
        min-width: 620px;
    }

    .seo-table thead th,
    .seo-table tbody td {
        padding: 10px 12px;
    }

    .seo-avatar {
        width: 38px;
        height: 38px;
    }

    .seo-profile-name {
        font-size: 14px;
    }

    .seo-section h2 {
        font-size: 21px;
    }
}
