/* LD Quiz Download — DC Benk */

.dc-benk-download-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* Block directly on the quiz page (after learndash-quiz-after hook) */
.dc-benk-quiz-page-download {
    margin: 20px 0;
    padding: 14px 16px;
    background: #f0f6fc;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
}

.dc-benk-download-label {
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.dc-benk-download-label small {
    font-weight: 400;
    color: #64748b;
    font-size: 0.85em;
}

.dc-benk-download-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dc-benk-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px !important;
    border: 0;
    background: #f59e0b;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: filter 120ms ease, transform 120ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.dc-benk-action-btn:hover,
.dc-benk-action-btn:focus {
    background: #ea9805;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.dc-benk-action-btn:active {
    transform: translateY(0);
}

.dc-benk-action-btn[disabled],
.dc-benk-action-btn.is-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.dc-benk-btn-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 14px;
    margin-top: 0;
    vertical-align: middle;
}

.dc-benk-btn-icon:before {
    display: block;
    line-height: 1;
    font-size: 14px;
}

/* Modal block gets the same clean container style */
.dc-benk-download-wrap-modal {
    margin: 16px 0;
    padding: 12px 14px;
    background: #f0f6fc;
    border-radius: 10px;
}

.dc-benk-spin {
    animation: dc-benk-rotation 0.9s infinite linear;
}

@keyframes dc-benk-rotation {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
