.quiz-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    overflow: hidden;
    position: relative;
    padding: 1rem 1.2rem 1.2rem;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quiz-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.quiz-priority-bar {
    height: 8px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px 16px 0 0;
}

.quiz-status-dot {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: qz-pulse 2s infinite;
}

@keyframes qz-pulse {
    0%   { opacity: 1; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}

.bar-published  { background: #e8622a; }
.bar-draft      { background: #d4542a; }
.bar-archived   { background: #a8a8a8; }
.dot-published  { background: #28a745; }
.dot-draft      { background: #ffc107; }
.dot-archived   { background: #6c757d; }

.quiz-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 20px;
}

.quiz-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.quiz-info-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
}

.quiz-info-item i {
    width: 14px;
    margin-right: 0.5rem;
    color: #495057;
}

.quiz-card-badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.qz-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    border: none;
}

.qz-badge-type      { background: rgba(23, 162, 184, 0.15); color: #0c5460; }
.qz-badge-published { background: rgba(40, 167, 69, 0.1);   color: #155724; }
.qz-badge-draft     { background: rgba(255, 193, 7, 0.1);   color: #856404; }
.qz-badge-archived  { background: rgba(108, 117, 125, 0.1); color: #6c757d; }

.quiz-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.quiz-card-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.quiz-card-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.session-row {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.session-row:last-child {
    border-bottom: none;
}
