@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

@font-face {
  font-weight: 400;
  /* Соответствует значению normal */
  font-family: Adrianna;
  src: url("../fonts/Adrianna-Regular.ttf");
}

@font-face {
  font-weight: 500;
  /* Соответствует значению normal */
  font-family: Adrianna;
  src: url("../fonts/Adrianna-Demibold.ttf");
}

@font-face {
  font-weight: 600;
  /* Соответствует значению normal */
  font-family: Adrianna;
  src: url("../fonts/Adrianna-Bold.ttf");
}

@font-face {
  font-weight: 700;
  /* Соответствует значению normal */
  font-family: Adrianna;
  src: url("../fonts/Adrianna-Extrabold.ttf");
}

@font-face {
  font-weight: 300;
  /* Соответствует значению normal */
  font-family: Adrianna;
  src: url("../fonts/Adrianna-Light.ttf");
}

@font-face {
  font-weight: 400;
  /* Соответствует значению normal */
  font-family: Adrianna;
  font-style: italic;
  src: url("../fonts/Adrianna-Italic.ttf");
}

@font-face {
  font-weight: 500;
  /* Соответствует значению normal */
  font-family: Adrianna;
  font-style: italic;
  src: url("../fonts/Adrianna-DemiboldItalic.ttf");
}

@font-face {
  font-weight: 600;
  /* Соответствует значению normal */
  font-family: Adrianna;
  font-style: italic;
  src: url("../fonts/Adrianna-BoldItalic.ttf");
}

:root {
    --mk-violet-950: #210442;
    --mk-violet-900: #310060;
    --mk-violet-800: #4b078f;
    --mk-violet-700: #6610c8;
    --mk-violet-600: #7d12ed;
    --mk-violet-500: #9819f5;
    --mk-blue-500: #188eff;
    --mk-cyan-400: #21c7ff;

    --mk-ink: #1d1830;
    --mk-muted: #6d6878;
    --mk-border: #e6e0f0;
    --mk-surface: #ffffff;
    --mk-surface-soft: #faf8ff;

    --mk-success: #157b50;
    --mk-warning: #ab6700;
    --mk-danger: #b32c48;

    --shadow-sm: 0 7px 22px rgba(33, 4, 66, 0.10);
    --shadow-lg: 0 22px 55px rgba(18, 0, 47, 0.22);
}



* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--mk-violet-900);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--mk-ink);
    background:
        radial-gradient(circle at 95% 75%, rgba(32, 200, 255, 0.68) 0, rgba(32, 200, 255, 0) 24%),
        radial-gradient(circle at 7% 25%, rgba(187, 68, 255, 0.38) 0, rgba(187, 68, 255, 0) 27%),
        linear-gradient(135deg, #3a006f 0%, #7308d7 48%, #5100a6 100%);
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body::before,
body::after {
    position: fixed;
    z-index: -1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    filter: blur(2px);
}

body::before {
    top: 18%;
    left: -250px;
    background: rgba(177, 33, 255, 0.23);
}

body::after {
    right: -170px;
    bottom: 7%;
    background: rgba(0, 199, 255, 0.20);
}

a {
    color: var(--mk-violet-700);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--mk-violet-900);
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background:
        linear-gradient(90deg, rgba(59, 0, 110, 0.97), rgba(125, 18, 237, 0.97) 55%, rgba(83, 0, 167, 0.97));
    box-shadow: 0 5px 20px rgba(14, 0, 35, 0.27);
    backdrop-filter: blur(12px);
}

.nav {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand span {
    white-space: nowrap;
    line-height: 24px;
}

.brand-logo {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

nav a {
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.inline {
    display: inline;
}

.page {
    min-height: calc(100vh - 142px);
    padding: 48px 0 58px;
}

.site-footer {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    color: rgba(255, 255, 255, 0.84);
    background: rgba(35, 0, 70, 0.44);
    font-size: 14px;
    backdrop-filter: blur(8px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 100px 0;
    /* padding: clamp(32px, 6vw, 72px); */
    /* border: 1px solid rgba(255, 255, 255, 0.28); */
    border-radius: 28px;
    color: #fff;
    /* background:
        radial-gradient(circle at 96% 96%, rgba(20, 198, 255, 0.90), rgba(20, 198, 255, 0) 26%),
        linear-gradient(130deg, rgba(38, 0, 80, 0.96), rgba(111, 8, 209, 0.94) 57%, rgba(74, 0, 156, 0.92));
    box-shadow: var(--shadow-lg); */
}

/* .hero::before {
    position: absolute;
    top: -115px;
    right: 10%;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 50%;
    content: "";
} */

.hero::after {
    position: absolute;
    top: 25px;
    right: 32px;
    width: 82px;
    height: 82px;
    border: 2px solid rgba(255, 255, 255, 0.54);
    border-radius: 22px 22px 38px 38px;
    content: "";
    opacity: 0.52;
    transform: rotate(18deg);
}

.hero h1 {
    text-align: center;
    position: relative;
    z-index: 1;
    /* max-width: 780px; */
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.07;
    Color:#fff;
    font-family: Adrianna;
    font-weight: 400;
    font-size: clamp(24px, 5vw, 52px);
    letter-spacing: 2px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
}

.hero p {
    position: relative;
    text-align: center;
    z-index: 1;
    /* max-width: 650px; */
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.block,
fieldset,
.auth-card,
.empty,
.stat-card,
table,
.details {
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.block {
    padding: clamp(22px, 4vw, 34px);
    margin-top: 22px;
}

.block h2,
h1,
h2,
h3 {
    color: var(--mk-surface);
}

.block h2 {
    margin-top: 0;
    font-size: 26px;
    color: var(--mk-ink);
}

.block li {
    margin: 9px 0;
}

.button,
button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border:none;
    /* border: 1px solid transparent; */
    border-radius: 10px;
    color: #fff;
    outline: 0;
    background: linear-gradient(115deg, var(--mk-violet-700), var(--mk-violet-500));
    box-shadow: 0 8px 18px rgba(64, 0, 130, 0.24);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.button:hover,
button:hover {
    color: #fff;
    background: linear-gradient(115deg, #5706aa, #aa28ff);
    box-shadow: 0 11px 25px rgba(64, 0, 130, 0.35);
    filter: saturate(1.08);
    transform: translateY(-1px);
}

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

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(33, 199, 255, 0.72);
    outline-offset: 3px;
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.72);
    color: var(--mk-violet-800);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
}

.button-secondary:hover {
    color: var(--mk-violet-900);
    background: #fff;
}

.success-button {
    background: linear-gradient(115deg, #087a55, #17ad71);
}

.success-button:hover {
    background: linear-gradient(115deg, #066345, #11945f);
}

.warning-button {
    background: linear-gradient(115deg, #9d5900, #df9418);
}

.warning-button:hover {
    background: linear-gradient(115deg, #7c4400, #c77c08);
}

.link-button {
    min-height: auto;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.94);
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
}

.link-button:hover {
    color: #fff;
    background: transparent;
    box-shadow: none;
    text-decoration: underline;
    transform: none;
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
    padding: 0 2px;
    color: #fff;
}

.page-head h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -0.035em;
}

.page-head p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.page-head > a:not(.button) {
    color: #fff;
    font-weight: 700;
}

fieldset {
    margin: 0 0 22px;
    padding: clamp(20px, 4vw, 30px);
}

legend {
    padding: 0 10px;
    color: var(--mk-violet-900);
    font-size: 19px;
    font-weight: 800;
}

label {
    display: block;
    margin-bottom: 17px;
    color: #302a3c;
    font-weight: 700;
}

input,
select,
textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid #d9d2e4;
    border-radius: 9px;
    color: var(--mk-ink);
    outline: none;
    background: #fff;
    font: inherit;
    font-weight: 400;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #bca7dd;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--mk-violet-600);
    box-shadow: 0 0 0 4px rgba(125, 18, 237, 0.14);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

fieldset:disabled {
    opacity: 0.7;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid #ebe5f2;
    text-align: left;
    vertical-align: top;
}

th {
    color: #3b3150;
    background: #f6f1fc;
    font-size: 13px;
    font-weight: 800;
}

tr:last-child td {
    border-bottom: 0;
}

tbody tr {
    transition: background 0.14s ease;
}

tbody tr:hover {
    background: #fcfaff;
}

.alert {
    margin-bottom: 20px;
    padding: 14px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.alert.success {
    border-color: #bce6cc;
    color: #075b36;
    background: #e9f9ef;
}

.alert.error {
    border-color: #f1c4cf;
    color: #8c1d35;
    background: #fff0f3;
}

.hint {
    margin: 18px 0;
    padding: 15px 17px;
    border: 1px solid #dacef0;
    border-left: 4px solid var(--mk-violet-600);
    border-radius: 10px;
    color: #4a3d60;
    background: #f8f4ff;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eeeaf4;
    color: #4b4359;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.status-draft {
    background: #eceef2;
    color: #4b5765;
}

.status-submitted,
.status-resubmitted,
.status-under_review {
    background: #e4efff;
    color: #1a5caa;
}

.status-revision_requested {
    background: #fff2d7;
    color: #865300;
}

.status-accepted,
.status-admitted_second_round {
    background: #dff8e9;
    color: #08633b;
}

.status-in_evaluation,
.status-evaluation_completed {
    background: #ede6ff;
    color: #59329c;
}

.status-finalist {
    background: #e2f1ff;
    color: #175d94;
}

.status-winner {
    background: #fff1b9;
    color: #7a5100;
}

.status-prize_winner {
    background: #f6e5ff;
    color: #762798;
}

.status-rejected,
.status-not_selected {
    background: #fde9ed;
    color: #9f2941;
}

.status-archived {
    background: #e8ebee;
    color: #58636d;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 16px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 125px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 20px;
}

.stat-card::after {
    position: absolute;
    right: -20px;
    bottom: -38px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(121, 17, 235, 0.20), rgba(32, 199, 255, 0.26));
    content: "";
}

.stat-card strong {
    position: relative;
    z-index: 1;
    color: var(--mk-violet-800);
    font-size: 36px;
    line-height: 1;
}

.stat-card span {
    position: relative;
    z-index: 1;
    color: var(--mk-muted);
    font-size: 14px;
}

.filters {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.filters label {
    min-width: 260px;
    margin: 0;
}

.auth-card {
    max-width: 480px;
    padding: clamp(26px, 5vw, 42px);
    margin: 28px auto;
}

.auth-card-wide {
    max-width: 650px;
}

.auth-card h1 {
    margin: 0 0 10px;
    color: var(--mk-violet-900);
    font-size: 32px;
    letter-spacing: -0.035em;
}

.auth-footer {
    margin: 22px 0 0;
    color: var(--mk-muted);
}

.muted {
    color: var(--mk-muted);
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4b4357;
    font-weight: 400;
}

.check-label input {
    width: auto;
    margin: 4px 0 0;
    accent-color: var(--mk-violet-600);
}

.empty {
    padding: 30px;
    color: var(--mk-muted);
}

.details {
    padding: 23px;
}

.details p {
    margin: 9px 0;
}

.details strong {
    color: var(--mk-violet-900);
}

hr {
    height: 1px;
    margin: 30px 0;
    border: 0;
    background: rgba(255, 255, 255, 0.38);
}

code {
    padding: 1px 5px;
    border-radius: 4px;
    color: #53208d;
    background: #f1eaff;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.88em;
}

small {
    color: var(--mk-muted);
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav,
    .page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        justify-content: center;
        padding: 14px 0;
    }

    .page {
        padding-top: 28px;
    }

    .hero {
        border-radius: 20px;
    }

    .hero::after {
        top: 16px;
        right: 16px;
        width: 55px;
        height: 55px;
    }

    .filters {
        align-items: stretch;
        flex-direction: column;
    }

    .filters label {
        min-width: 0;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    th,
    td {
        min-width: 140px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-section {
    margin: 0 0 18px;
}

.form-section-title {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
    color: #6d0dc1;
}


.presentation-requirements {
    margin: 12px 0 20px;
}

.presentation-requirements summary {
    display: inline;
    color: inherit;
    cursor: pointer;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.presentation-requirements summary::-webkit-details-marker {
    display: none;
}

.presentation-requirements .block {
    margin-top: 14px;
}

.presentation-requirements ol {
    margin: 0;
    padding-left: 22px;
}

.presentation-requirements li {
    margin: 0 0 8px;
    line-height: 1.5;
}

.presentation-requirements li:last-child {
    margin-bottom: 0;
}

.presentation-requirements p {
    margin: 16px 0 0;
    line-height: 1.55;
}

.form-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
}

.form-step {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.84);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.form-step:hover {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.17);
    color: #ffffff;
}

.form-step.is-active {
    border-color: #1d4ed8;
    color: #1d4ed8;
    background: #eff6ff;
    font-weight: 700;
}

.form-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.form-step.is-active .form-step-number {
    background: #1d4ed8;
    color: #ffffff;
}

.form-progress {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
}

.form-step-panel[hidden] {
    display: none;
}

.form-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.secondary-button {
    color: #1e293b;
    background: #e2e8f0;
}

.secondary-button:hover {
    background: #cbd5e1;
}

.presentation-requirements {
    margin: 12px 0 0;
}

.presentation-requirements summary {
    display: inline;
    color: inherit;
    cursor: pointer;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.presentation-requirements summary::-webkit-details-marker {
    display: none;
}

.presentation-requirements .block {
    margin-top: 14px;
}

.presentation-requirements ol {
    margin: 0;
    padding-left: 22px;
}

.presentation-requirements li {
    margin: 0 0 8px;
    line-height: 1.5;
}

.presentation-requirements li:last-child {
    margin-bottom: 0;
}

.presentation-requirements p {
    margin: 16px 0 0;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .form-steps {
        display: grid;
        grid-template-columns: 1fr;
    }

    .form-step {
        width: 100%;
        justify-content: flex-start;
    }
}

.form-step:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.form-step.is-active {
    border-color: #ffffff;
    background: #ffffff;
    color: #6d28d9;
    font-weight: 700;
}

.form-step-number {
    display: none;
}

.form-progress {
    margin: 15px 0 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.form-progress #current-step-number {
    color: #ffffff;
    font-weight: 700;
}

.form-step-panel[hidden] {
    display: none;
}

@media (max-width: 720px) {
    .form-steps {
        gap: 7px;
        margin-top: 18px;
    }

    .form-step {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .form-progress {
        margin: 14px 0 22px;
    }
}

@media (max-width: 460px) {
    .form-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .form-step {
        width: 100%;
        justify-content: flex-start;
    }
}

.stat-card-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.stat-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(47, 16, 113, 0.18);
}

.stat-card-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.admin-filters {
    margin: 24px 0 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(46, 16, 101, 0.16);
}

.admin-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
}

.admin-filters-head h2 {
    margin: 0;
    color: #312e4b;
    font-size: 18px;
    line-height: 1.2;
}

.admin-filters-reset {
    color: #6d28d9;
    font-size: 14px;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.admin-filters-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.6fr) repeat(3, minmax(150px, 1fr));
    gap: 14px;
}

.admin-filters label {
    display: block;
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.admin-filters label > span {
    display: block;
    margin: 0 0 7px;
}

.admin-filters input,
.admin-filters select {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #d7d2e4;
    border-radius: 8px;
    background: #ffffff;
    color: #25233a;
    font: inherit;
    font-size: 14px;
}

.admin-filters input:focus,
.admin-filters select:focus {
    outline: 3px solid rgba(124, 58, 237, 0.2);
    border-color: #7c3aed;
}

.admin-filters-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.admin-filters-actions .button {
    min-height: 42px;
    padding: 9px 15px;
}

.secondary-button {
    color: #4c1d95;
    background: #ede9fe;
}

.secondary-button:hover {
    background: #ddd6fe;
}

.admin-metrics {
    margin: 0 0 28px;
}

.admin-metrics summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.admin-metrics summary::-webkit-details-marker {
    display: none;
}

.admin-metrics summary::before {
    width: 20px;
    height: 20px;
    content: '+';
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    line-height: 18px;
}

.admin-metrics[open] summary::before {
    content: '−';
}

.admin-metrics-hint {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 500;
}

.admin-metrics[open] .admin-metrics-hint {
    font-size: 0;
}

.admin-metrics[open] .admin-metrics-hint::after {
    content: 'Скрыть';
    font-size: 13px;
}

.admin-metrics-content {
    margin-top: 14px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(46, 16, 101, 0.16);
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.metrics-table,
.projects-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.metrics-table {
    min-width: 950px;
    color: #3f3c50;
}

.metrics-table th,
.metrics-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #e8e4f0;
    text-align: center;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.35;
}

.metrics-table th {
    color: #4c1d95;
    background: #faf8ff;
    font-weight: 700;
}

.metrics-table th:first-child,
.metrics-table td:first-child {
    min-width: 235px;
    text-align: left;
}

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

.metrics-table tbody tr:hover td {
    background: #faf8ff;
}

.projects-list-title {
    margin: 0 0 16px;
}

.projects-table-scroll {
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(46, 16, 101, 0.16);
}

.projects-table {
    min-width: 900px;
    color: #3f3c50;
}

.projects-table th,
.projects-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #e8e4f0;
    vertical-align: top;
    text-align: left;
    line-height: 1.4;
}

.projects-table th {
    color: #4c1d95;
    background: #faf8ff;
    font-size: 13px;
    font-weight: 700;
}

.projects-table td {
    font-size: 14px;
}

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

.projects-table tbody tr:hover td {
    background: #faf8ff;
}

.projects-table small {
    color: #64748b;
}

.table-action-link {
    color: #6d28d9;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.empty-state {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 14px;
    color: #3f3c50;
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 900px) {
    .admin-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .admin-filters {
        padding: 16px;
        border-radius: 12px;
    }

    .admin-filters-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-filters-actions .button {
        width: 100%;
    }
}

/* Публичные информационные блоки конкурса */
.block {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 28px 0;
    padding: clamp(26px, 4vw, 50px);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 32px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(82, 9, 173, 0.82) 0%,
            rgba(113, 17, 213, 0.76) 54%,
            rgba(59, 61, 202, 0.74) 100%
        );
    box-shadow:
        0 18px 44px rgba(37, 4, 92, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Мягкое цветное пятно, как в блоках сайта конгресса */
.block::before {
    position: absolute;
    z-index: -1;
    top: -220px;
    right: -170px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(12, 232, 254, 0.60) 0%,
        rgba(77, 0, 220, 0.34) 42%,
        rgba(77, 0, 220, 0) 72%
    );
    content: '';
    filter: blur(8px);
    pointer-events: none;
}

/* Второй световой акцент */
.block::after {
    position: absolute;
    z-index: -1;
    bottom: -280px;
    left: -210px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(245, 114, 255, 0.42) 0%,
        rgba(141, 26, 231, 0.22) 45%,
        rgba(141, 26, 231, 0) 72%
    );
    content: '';
    pointer-events: none;
}

.block h2 {
    margin: 0 0 24px;
    color: #ffffff;
    font-family: Adrianna, Arial, Helvetica, sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.15;
    text-transform: uppercase;
}

.block p,
.block li {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.5;
}

.block ol {
    max-width: 980px;
    margin: 0;
    padding-left: 1.5em;
}

.block li {
    margin: 0 0 10px;
    padding-left: 4px;
}

.block li::marker {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.block p {
    max-width: 980px;
    margin: 26px 0 0;
}

.block a {
    color: #ffffff;
    font-weight: 700;
    text-decoration-color: rgba(152, 243, 255, 0.95);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.block a:hover {
    color: #98f3ff;
}

@media (max-width: 700px) {
    .block {
        margin: 18px 0;
        padding: 28px 22px;
        border-radius: 24px;
    }

    .block::before {
        top: -260px;
        right: -330px;
        width: 520px;
        height: 520px;
    }

    .block::after {
        bottom: -310px;
        left: -360px;
        width: 520px;
        height: 520px;
    }

    .block h2 {
        margin-bottom: 18px;
        font-size: 25px;
        letter-spacing: 0.5px;
    }

    .block p,
    .block li {
        font-size: 16px;
        line-height: 1.5;
    }

    .block li {
        margin-bottom: 9px;
    }

    .block p {
        margin-top: 20px;
    }
}

.site-footer {
    position: relative;
    z-index: 1;
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(52, 7, 124, 0.22);
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.site-footer-copyright {
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    white-space: nowrap;
}

.site-footer a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration-line: underline;
    text-decoration-color: rgba(255, 255, 255, 0.38);
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition:
        color 0.16s ease,
        text-decoration-color 0.16s ease;
}

.site-footer a:hover {
    color: #9af3ff;
    text-decoration-color: #9af3ff;
}

.site-footer a:focus-visible {
    color: #ffffff;
    outline: 2px solid #9af3ff;
    outline-offset: 4px;
    text-decoration-color: transparent;
}

.site-footer a:active {
    color: #ffffff;
}

@media (max-width: 560px) {
    .site-footer {
        padding: 26px 0;
    }

    .site-footer .container,
    .site-footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer .container {
        gap: 18px;
    }

    .site-footer-links {
        gap: 12px;
    }

    .site-footer a,
    .site-footer-copyright {
        font-size: 14px;
    }

    .site-footer-copyright {
        white-space: normal;
    }
}