* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Разрешить выделение в полях ввода */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.active .answer {
    display: block !important;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Мобильное меню */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

#mobile-menu.show {
    right: 0;
}
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}
#menu-overlay.show {
    opacity: 1;
    visibility: visible;
}
@keyframes progress-animation {
    from { width: 100%; }
    to { width: 0%; }
}

.animate-progress {
    animation: progress-animation 5000ms linear forwards;
}