:root {
    --bg: #f6f7fb;
    --card: #D8DEE9;
    --glass: #D8DEE9;
    --accent: #5b9cff;
    --muted: #6b7280;
    --radius: 14px;
    --shadow: 0 6px 18px rgba(20, 30, 80, 0.08);
    --max-width: 1100px;
}

* {
    box-sizing: border-box
}

html,
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #0a0f2c, #1c2a5c);
    color: #fff;
    overflow: hidden;
    height: 100%;
}

a {
    color: var(--accent);
    text-decoration: none
}

.wrap {
    max-width: var(--max-width);
    margin: 28px auto;
    padding: 20px
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo img {
    height: 40px;
    border-radius: 8px;
    display: block;
}

.brand h1 {
    font-size: 18px;
    margin: 0
}

.brand p {
    margin: 0;
    font-size: 12px;
    color: var(--muted)
}

nav {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-links {
    display: flex;
    gap: 8px
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600
}

.nav-links a.active {
    background: var(--card);
    box-shadow: var(--shadow)
}

.btn {
    background: var(--accent);
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    border: 0;
    cursor: pointer
}

.ghost {
    background: transparent;
    border: 1px solid rgba(15, 23, 36, 0.06);
    padding: 8px 12px;
    border-radius: 10px
}

.hamburger {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    border-radius: 8px
}

@media(max-width:860px) {
    .nav-links {
        display: none
    }

    .hamburger {
        display: inline-flex
    }
}

main {
    display: block
}

.page {
    display: none;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow)
}

.page.active {
    display: block
}

.card {
    padding: 18px;
    border-radius: 12px;
    background: var(--glass);
    backdrop-filter: blur(6px);
}

.muted {
    color: var(--muted);
    font-size: 18px
}

.text {
    color: black;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px
}

label {
    font-size: 13px;
    color: var(--muted)
}

input,
select {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 36, 0.06);
    font-size: 15px
}

.small {
    font-size: 13px;
    color: var(--muted)
}

footer {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 13px
}

.fade-in {
    animation: fade .45s ease both
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.success-illustr {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dff4ff, #eafef7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #065f46
}

.summary {
    border-radius: 10px;
    padding: 12px;
    background: var(--card);
    box-shadow: 0 6px 18px rgba(12, 30, 80, 0.04)
}
