﻿/****************************************************
    QUICK ACTION BUTTONS (Vertical Scroll Inside View)
****************************************************/

/* Container (not fixed) */
.quick-scroll.vert-scroll {
    display: flex;
    flex-wrap:wrap;
    justify-content:center;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* buttons fill row evenly */
    grid-auto-rows: 80px; /* button height */
    gap: 5px;
    /*max-height: 80px; /* show only 1 row at a time */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
    /* Mobile touch support */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    /* Optional: border/background for inside view */
    background: var(--bg-secondary, #fff);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

    /* Scrollbar */
    .quick-scroll.vert-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .quick-scroll.vert-scroll::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

/* Buttons */
.quick-btn {
    background: var(--btn-bg, #f5f5f5);
    color: var(--text, #333);
    height: 80px; /* fixed height */
    width: 80px; /* fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    margin: 0;
    padding: 12px;
    text-decoration: none;
    box-shadow: var(--shadow-soft, 0 2px 6px rgba(0, 0, 0, 0.1));
    transition: all 0.25s ease;
}

    .quick-btn:hover {
        background: var(--btn-bg-hover, #e0e0e0);
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.2));
    }

/* Icon & Label */
.quick-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.quick-text {
    font-size: 0.75rem;
    text-align: center;
}

/* Dark mode */
:root[data-theme="dark"] .quick-scroll {
    background-color: #1e1e1e;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

    :root[data-theme="dark"] .quick-scroll::-webkit-scrollbar-thumb {
        background: #555;
    }
