@import url('../design/gold_violet.css');
@import url('../main/elements.css');

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: radial-gradient(at 70.9625017975691% 34.229751757876315%, hsla(237.39130434782606, 38.983050847457626%, 11.568627450980392%, 1) 0%, hsla(237.39130434782606, 38.983050847457626%, 11.568627450980392%, 0) 100%),
        radial-gradient(at 49.95189950280097% 20.70217132716262%, hsla(237.77777777777774, 52.94117647058824%, 10%, 1) 0%, hsla(237.77777777777774, 52.94117647058824%, 10%, 0) 100%),
        radial-gradient(at 94.25214303217375% 79.62724785408668%, hsla(248.1081081081081, 58.73015873015872%, 12.352941176470589%, 1) 0%, hsla(248.1081081081081, 58.73015873015872%, 12.352941176470589%, 0) 100%),
        radial-gradient(at 44.625792566950395% 79.04222520024382%, hsla(247.89473684210526, 59.375000000000014%, 12.549019607843137%, 1) 0%, hsla(247.89473684210526, 59.375000000000014%, 12.549019607843137%, 0) 100%),
        radial-gradient(at 1.9831588353465768% 23.811016904083317%, hsla(252.00000000000003, 31.25%, 12.549019607843137%, 1) 0%, hsla(252.00000000000003, 31.25%, 12.549019607843137%, 0) 100%),
        radial-gradient(at 97.39717369810688% 40.538840404987944%, hsla(237.39130434782606, 38.983050847457626%, 11.568627450980392%, 1) 0%, hsla(237.39130434782606, 38.983050847457626%, 11.568627450980392%, 0) 100%),
        radial-gradient(at 47.15123796088315% 55.02441706541204%, hsla(237.77777777777774, 52.94117647058824%, 10%, 1) 0%, hsla(237.77777777777774, 52.94117647058824%, 10%, 0) 100%), radial-gradient(at 6.784548933273038% 29.340578196806966%, hsla(248.1081081081081, 58.73015873015872%, 12.352941176470589%, 1) 0%, hsla(248.1081081081081, 58.73015873015872%, 12.352941176470589%, 0) 100%),
        radial-gradient(at 74.07465613218027% 20.481667734105503%, hsla(247.89473684210526, 59.375000000000014%, 12.549019607843137%, 1) 0%, hsla(247.89473684210526, 59.375000000000014%, 12.549019607843137%, 0) 100%),
        radial-gradient(at 49.95457048891348% 29.677269849766496%, hsla(252.00000000000003, 31.25%, 12.549019607843137%, 1) 0%, hsla(252.00000000000003, 31.25%, 12.549019607843137%, 0) 100%),
        radial-gradient(at 47.64325686550133% 82.70861204106355%, hsla(237.39130434782606, 38.983050847457626%, 11.568627450980392%, 1) 0%, hsla(237.39130434782606, 38.983050847457626%, 11.568627450980392%, 0) 100%),
        radial-gradient(at 21.40765233602139% 85.40319721012337%, hsla(237.77777777777774, 52.94117647058824%, 10%, 1) 0%, hsla(237.77777777777774, 52.94117647058824%, 10%, 0) 100%);
    linear-gradient(90deg, rgba(12, 10, 20, .9) 25%, rgba(12, 10, 20, .7) 75%);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 211, 140, 0.45) rgba(12, 10, 20, 0.65);
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background-color: rgba(12, 10, 20, 0.65);
}

*::-webkit-scrollbar-track {
    background: rgba(12, 10, 20, 0.65);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(245, 211, 140, 0.08);
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(245, 211, 140, 0.9), rgba(207, 145, 42, 0.9));
    border-radius: 10px;
    border: 2px solid rgba(12, 10, 20, 0.85);
    box-shadow: 0 2px 10px rgba(6, 4, 16, 0.5);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(250, 223, 160, 0.95), rgba(218, 169, 72, 0.95));
}

.layout {
    min-height: 100vh;
    display: flex;
    color: #c2c8d8;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.85rem 1.5rem;
    margin: -1.5rem -2rem 1rem;
    position: sticky;
    top: 0;
    z-index: 12;
    background: rgba(8, 9, 21, 0.9);
    border-bottom: 1px solid rgba(245, 211, 140, 0.18);
    box-shadow: 0 12px 28px rgba(6, 4, 16, 0.35);
}

.side-bar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-height: 100vh;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
    background: rgba(8, 9, 21, 0.9);
    border-right: 1px solid rgba(245, 211, 140, 0.18);
    box-shadow: 12px 0 30px rgba(6, 4, 16, 0.45);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #f5d38c;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand img {
    margin: 0;
}

.logo-text {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.main-nav .nav-link,
.main-nav .dropbtn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    padding: 0.65rem 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    background: linear-gradient(135deg, #a5acbf 0%, #7d8499 48%, #a5acbf 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    border-radius: 10px;
    transition: background-image 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

.main-nav .nav-link:hover,
.main-nav .dropbtn:hover,
.main-nav .nav-link:focus-visible,
.main-nav .dropbtn:focus-visible {
    background-image: linear-gradient(135deg, #f8e4ac 0%, #f1c96a 45%, #d5a73f 100%);
    text-shadow: 0 0 18px rgba(245, 211, 140, 0.45);
    transform: translateX(4px);
}

.main-nav .nav-link.is-active {
    background-image: linear-gradient(135deg, #f6dc99 0%, #f0c463 48%, #c7912a 100%);
    text-shadow: 0 0 14px rgba(245, 211, 140, 0.35);
    box-shadow: inset 0 0 0 1px rgba(245, 211, 140, 0.15);
}

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: relative;
    margin-top: 0.25rem;
    background: rgba(8, 9, 21, 0.92);
    border: 1px solid rgba(245, 211, 140, 0.25);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(6, 4, 16, 0.65);
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 0.85rem;
    text-decoration: none;
    background: linear-gradient(135deg, #a5acbf 0%, #7d8499 48%, #a5acbf 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-image 0.25s ease, text-shadow 0.25s ease;
}

.dropdown-content a:hover {
    background-image: linear-gradient(135deg, #f8e4ac 0%, #f1c96a 45%, #d5a73f 100%);
    text-shadow: 0 0 14px rgba(245, 211, 140, 0.35);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.notification-wrapper {
    position: fixed;
    top: 5rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 30;
    max-width: min(420px, 90vw);
    pointer-events: none;
}

.notification {
    position: relative;
    padding: 0.9rem 1.1rem;
    background: var(--profile-glow-layer);
    border: var(--profile-sidebar-border);
    box-shadow: var(--profile-sidebar-shadow);
    border-radius: 12px;
    color: #f5e9c7;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    pointer-events: auto;
}

.notification--error {
    border-color: rgba(237, 95, 95, 0.55);
    box-shadow: 0 12px 30px rgba(169, 43, 43, 0.35), 0 0 0 1px rgba(237, 95, 95, 0.15);
    background: linear-gradient(135deg, var(--RUB-F) 0%, var(--RUB-G) 45%, var(--RUB-H) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notification--success {
    border-color: rgba(92, 197, 143, 0.5);
    box-shadow: 0 12px 30px rgba(40, 131, 93, 0.32), 0 0 0 1px rgba(92, 197, 143, 0.12);
    background: linear-gradient(135deg, var(--MAL-F) 0%, var(--MAL-G) 45%, var(--MAL-H) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notification__close {
    position: absolute;
    top: 0.45rem;
    right: 0.6rem;
    border: none;
    background: transparent;
    color: #f5d38c;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.15rem;
    line-height: 1;
}

.notification__close:focus-visible,
.notification__close:hover {
    color: #ffd278;
}

.malachite-text {
    background: linear-gradient(135deg, #6fffcf 0%, #0bb957 45%, #057a36 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ruby-text {
  background: linear-gradient(90deg, #9b0f3e, #d6245f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-auth .auth-link {
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    background: linear-gradient(135deg, #a5acbf 0%, #7d8499 48%, #a5acbf 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-image 0.25s ease, text-shadow 0.25s ease;
}

.top-auth .auth-link:hover,
.top-auth .auth-link:focus-visible {
    background-image: linear-gradient(135deg, #f8e4ac 0%, #f1c96a 45%, #d5a73f 100%);
    text-shadow: 0 0 18px rgba(245, 211, 140, 0.45);
}

.top-auth .auth-link.is-active {
    background-image: linear-gradient(135deg, #f6dc99 0%, #f0c463 48%, #c7912a 100%);
    text-shadow: 0 0 14px rgba(245, 211, 140, 0.35);
}

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

.page-hero {
    margin: 0 0 1.5rem;
}

.page-breadcrumb {
    margin: 0 0 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9da4b6;
}

.page-breadcrumb a {
    color: #a6adbe;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease, text-shadow 0.2s ease, background-image 0.2s ease;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible {
    color: transparent;
    background: linear-gradient(135deg, #f9e7b7 0%, #f0c763 42%, #c8932b 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 12px rgba(245, 211, 140, 0.45);
}

.page-breadcrumb span {
    color: #8e95a7;
}

.page-breadcrumb .breadcrumb-current {
    background: linear-gradient(135deg, #f9e7b7 0%, #f0c763 42%, #c8932b 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 18px rgba(245, 211, 140, 0.35);
    font-weight: 800;
}

.page-heading {
    margin: 0;
    font-size: 2.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--F) 0%, var(--G) 45%, var(--H) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(170, 170, 170, 0.48), 0 0 18px rgba(194, 200, 214, 0.5);
}

.base-container {
    weight: 1rem;
    margin-top: 1.25rem;
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(247, 230, 162, 0.28);
    box-shadow: 0 18px 40px rgba(5, 4, 15, 0.55), inset 0 0 0 1px rgba(161, 115, 27, 0.15);
}