/* Custom styles for Telegram Auto-Save Contacts */

/* Smooth scrollbar for dark layout */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0f1117;
}
::-webkit-scrollbar-thumb {
    background: #262b3a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* Nav Item active state */
.nav-item.active {
    background-color: #1f2433;
    color: #ffffff;
    font-weight: 600;
    border-left: 3px solid #3b82f6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.view-panel:not(.hidden) {
    animation: fadeIn 0.2s ease-out forwards;
}

/* Mobile drawer touch-friendly button active feedback */
button:active {
    transform: scale(0.98);
}

/* Ensure no horizontal overflow */
body, html {
    overflow-x: hidden;
    max-width: 100vw;
}
