/* quiz-pages-style.css */

.ll-quiz-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.ll-quiz-page-card {
    display: block;
    /* make the whole tile clickable */
    text-decoration: none;
    /* no underline */
    color: inherit;
    /* use body text color */
    text-align: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    cursor: pointer;
}

.ll-quiz-page-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    border-color: #e2e2e2;
}

.ll-quiz-page-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

/* Shared look for link/button inside the card */
.ll-quiz-page-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* When the trigger is a <button> (popup mode), neutralize native button styles */
button.ll-quiz-page-link.ll-quiz-page-trigger {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: inherit;
    cursor: pointer;
}

.ll-quiz-page-name {
    margin: 0 0 6px 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.25;
}

.ll-quiz-pages-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 18px;
    flex-wrap: wrap;
}

.ll-quiz-pages-select {
    min-width: 240px;
    padding: 6px 8px;
}

.ll-quiz-pages-go {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #d4d4d4;
    background: #f6f6f6;
    cursor: pointer;
}

.ll-quiz-pages-go:hover {
    background: #f0f0f0;
}