.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #ffffff;
    font-family: 'Segoe UI', sans-serif;
}

.login-box {
    background: #fff;
    border: 2px solid #d2c3af;
    border-radius: 16px;
    padding: 40px;
    width: 340px;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.login-box .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.login-box .subtitle {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #000;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #d2c3af;
    border-radius: 6px;
    background: #f9f9f9;
    color: #000;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    border-color: #b58b2a;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background: #d2c3af;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #000;
    color: #fff;
}

.error {
    color: #b00020;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* 📱 Для телефонов */
@media (max-width: 768px) {
    .login-box {
        width: 90%;
        padding: 30px;
    }
}

#stickyMenu {
    position: fixed;
    /* всегда наверху */
    top: 0;
    left: 0;
    width: 100%;
    /* во всю ширину экрана */
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* изменится на center, если мало категорий */
    align-items: center;
    gap: 10px;
    padding: 10px 20px;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.3s ease;
    transform: translateY(-100%);
}

#stickyMenu.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Центровка, если ≤ 5 кнопок */
#stickyMenu.centered {
    justify-content: center;
}

/* Внутренний контейнер кнопок */
#stickyMenu .sticky-menu-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: inherit;
    width: 100%;
}

/* Кнопки */
#stickyMenu button {
    background: transparent;
    border: none;
    font-size: 1rem;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #222;
}

#stickyMenu button:hover {
    background: rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}