/* --- Overlay --- */
.tut-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7); /* Darker, solid overlay */
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tut-overlay.open {
    opacity: 1;
}

/* --- Modal Container --- */
.tut-modal {
    width: 700px;
    max-width: 95%;
    background: #09090b; /* Solid Dark Background */
    border: 1px solid #27272a;
    border-radius: 8px; /* Sharper corners like your UI */
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(10px);
    transition: transform 0.2s ease;
}

.tut-overlay.open .tut-modal {
    transform: translateY(0);
}

/* --- Header --- */
.tut-header {
    height: 60px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #27272a;
    background: #18181b; /* Slightly lighter header */
}

.header-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.tut-close-btn {
    background: transparent;
    border: none;
    color: #71717a;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.tut-close-btn:hover {
    color: #fff;
    background: #27272a;
}

/* --- Body --- */
.tut-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.tut-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- List Row Item --- */
.tut-row {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tut-row:hover:not(.disabled) {
    border-color: #3f3f46;
    background: #202024;
}

.tut-row.disabled {
    opacity: 0.5;
    cursor: default;
    background: #0e0e10;
    border-style: dashed;
}

/* Icon Box */
.tut-icon-box {
    width: 40px;
    height: 40px;
    background: #27272a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #a1a1aa;
    margin-right: 16px;
    flex-shrink: 0;
}

.tut-row:hover:not(.disabled) .tut-icon-box {
    color: #fff;
    background: #3b82f6; /* Accent color on hover */
}

/* Info Column */
.tut-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tut-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tut-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.status-pill {
    font-size: 10px;
    background: #27272a;
    color: #71717a;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.tut-desc {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
}

.tut-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #71717a;
    margin-top: 4px;
}

.meta-dot {
    font-size: 8px;
    color: #3f3f46;
}

.level-beginner { color: #34d399; }
.level-intermediate { color: #60a5fa; }
.level-advanced { color: #fb923c; }

/* Action Column */
.tut-action {
    margin-left: 20px;
}

.btn-tut-start {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-tut-start:hover {
    background: #2563eb;
}

.lock-icon {
    color: #3f3f46;
    font-size: 14px;
    padding: 0 12px;
}

/* --- Footer --- */
.tut-footer {
    height: 40px;
    background: #18181b;
    border-top: 1px solid #27272a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #52525b;
}

.tut-footer i {
    margin-right: 6px;
}