/* assets/style.css - Estilo inspirado en hyperpc.ru */
.mobile-floating-menu {
    position: fixed;
    bottom: var(--bottom-spacing, 8px);
    left: var(--side-spacing, 12px);
    right: var(--side-spacing, 12px);
    z-index: 990;
    background: var(--bg-color, #252525);
    border: 1px solid var(--border-color, rgba(245, 245, 245, 0.1));
    border-radius: var(--border-radius, 8px);
    padding: var(--padding-vertical, 11px) var(--padding-horizontal, 19px);
    margin: 8px 12px;
    transition: all 0.3s ease;
}

.mfm-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tm-main-tabbar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-width, 32px);
    height: var(--icon-height, 32px);
    color: var(--icon-color, #c0c0c0);
    position: relative;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.tm-main-tabbar__item:hover {
    background: rgba(192, 255, 1, 0.1);
    color: var(--icon-active-color, #c0ff01);
}

.tm-main-tabbar__item.uk-active {
    color: var(--icon-active-color, #c0ff01);
    background: rgba(192, 255, 1, 0.1);
}

.tm-main-tabbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tm-main-tabbar__icon i {
    font-size: var(--icon-size, 24px);
}

.uk-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    padding: 0 4px;
    z-index: 1;
}

._dot_uktqy_3 {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: var(--icon-active-color, #c0ff01);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.mfm-label {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.8;
    color: var(--icon-color, #c0c0c0);
}

.tm-main-tabbar__item.uk-active .mfm-label {
    color: var(--icon-active-color, #c0ff01);
}

.tm-main-tabbar__divider {
    width: 1px;
    height: 24px;
    background: rgba(245, 245, 245, 0.1);
    margin: 0 8px;
}

.tm-main-tabbar__item:active {
    transform: scale(0.95);
}

.tm-main-tabbar__item:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(192, 255, 1, 0.3);
}

@media (min-width: 768px) {
    .mobile-floating-menu {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-floating-menu {
        left: 8px;
        right: 8px;
        padding: 8px 12px;
    }
    
    .tm-main-tabbar__item {
        width: 28px;
        height: 28px;
    }
    
    .tm-main-tabbar__icon i {
        font-size: 20px;
    }
    
    .mfm-label {
        font-size: 8px;
    }
}

@media (max-width: 380px) {
    .mfm-label {
        display: none;
    }
    
    .mobile-floating-menu {
        padding: 6px 8px;
    }
    
    .tm-main-tabbar__item {
        width: 24px;
        height: 24px;
    }
    
    .tm-main-tabbar__icon i {
        font-size: 18px;
    }
}

.mobile-floating-menu.animate-in {
    animation: slideUpFade 0.5s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-floating-menu.menu-hidden {
    transform: translateY(100px);
    opacity: 0;
}

.mfm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.mfm-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mfm-modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.mfm-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #95a5a6;
    transition: color 0.3s ease;
}

.mfm-close:hover {
    color: #e74c3c;
}

.mfm-search-container {
    display: flex;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.mfm-search-container input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background: #f8f9fa;
    color: #2c3e50;
}

.mfm-search-container input::placeholder {
    color: #95a5a6;
}

.mfm-search-container button {
    padding: 15px 20px;
    background: linear-gradient(45deg, #c0ff01, #a8e600);
    color: #252525;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 60px;
    font-weight: bold;
}

.mfm-search-container button:hover {
    background: linear-gradient(45deg, #a8e600, #c0ff01);
    transform: scale(1.05);
}

.mfm-search-results {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.uk-hidden\@s {
    display: block !important;
}

@media (min-width: 768px) {
    .uk-hidden\@s {
        display: none !important;
    }
}

.uk-position-fixed {
    position: fixed !important;
}

.uk-position-bottom {
    bottom: 0;
    left: 0;
    right: 0;
}

.uk-position-z-index {
    z-index: 1;
}

.uk-flex {
    display: flex !important;
}

.uk-flex-between {
    justify-content: space-between !important;
}