.public-header {
    position: sticky;
    z-index: 10;
    top: 0;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #e6eaf0;
    backdrop-filter: blur(10px);
}

.public-header-container {
    width: min(1240px, calc(100% - 64px));
    margin: auto;
}

.public-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 68px;
}

.public-header-logo {
    color: #1f2937;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.04em;
    text-decoration: none;
}

.public-header-logo i {
    color: #2f80ed;
    margin-right: 8px;
}

.public-header-actions,
.public-header-language-switcher {
    display: flex;
    align-items: center;
}

.public-header-actions { gap: 12px; }
.public-header-language-switcher { gap: 4px; }

.public-header-language-button {
    padding: 3px 5px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1;
    opacity: .52;
    text-decoration: none;
}

.public-header-language-button.active {
    border-color: #bfd7f8;
    opacity: 1;
}

.public-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .16s ease;
}

.public-header-button-primary {
    color: #fff;
    background: #2f80ed;
    box-shadow: 0 5px 12px rgba(47, 128, 237, .2);
}

.public-header-button-primary:hover {
    color: #fff;
    background: #1f5faf;
    transform: translateY(-1px);
}

.public-header-button-outline {
    color: #1f5faf;
    background: #fff;
    border-color: #c7d9f2;
}

.public-header-button-outline:hover {
    color: #1f5faf;
    background: #f4f8ff;
    border-color: #2f80ed;
}

@media (max-width: 540px) {
    .public-header-container { width: calc(100% - 32px); }
    .public-header-inner { min-height: 61px; }
    .public-header-actions { gap: 7px; }
    .public-header-button { min-height: 36px; padding: 0 10px; font-size: 12px; }
}
