/* ============================================================
   public-layout.css
   Стили "хрома" PublicLayout: фон, header, body wrapper,
   glass-карточка и footer. Эти классы пишет сам PublicLayout
   из UiKit.
   ============================================================ */

.public-layout-root {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #e0f2fe 0, #bfdbfe 30%, #e9d5ff 70%, #f5f3ff 100%);
    background-size: 220% 220%;
    animation: rlvGradientShift 26s ease infinite;
}

@keyframes rlvGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.public-header {
    background: transparent;
    box-shadow: none;
    border: none;
    padding-top: 16px;
    padding-bottom: 4px;
}

.public-header-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.public-logo {
    height: 32px;
    border-radius: 12px;
}

.public-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0f172a;
}

.public-brand-tagline {
    font-size: .85rem;
    color: #4b5563;
}

.public-body {
    padding: 0 0 24px;
}

.public-body-inner {
    max-width: 1040px;
    margin: 16px auto 32px;
    padding: 0 16px;
}

.public-card-glass {
    border-radius: 24px;
    padding: 20px 22px 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.public-footer {
    background: transparent;
    border: none;
    padding-bottom: 18px;
}

.public-footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
    font-size: .85rem;
    color: #4b5563;
}

@media (max-width: 640px) {
    .public-header-inner {
        justify-content: center;
    }

    .public-logo {
        height: 28px;
    }

    .public-brand-name {
        font-size: 0.95rem;
    }

    .public-brand-tagline {
        display: none;
    }

    .public-card-glass {
        border-radius: 18px;
        padding: 16px 14px 18px;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    }

    .public-body-inner {
        margin: 12px auto 24px;
        padding: 0 12px;
    }
}
