/* Central de Ajuda - Wess Systems Minimalista Moderno (preto, cinza escuro, vermelho) */
:root {
    --tc-black: #0a0a0a;
    --tc-dark: #111111;
    --tc-gray: #1a1a1a;
    --tc-gray-mid: #2a2a2a;
    --tc-text: #ffffff;
    --tc-text-muted: #999999;
    --tc-text-dim: #666666;
    --tc-red: #ff0000;
    --tc-red-dark: #cc0000;
    --tc-border: rgba(255, 255, 255, 0.06);
}

.tutoriais-body {
    background: var(--tc-black);
    color: var(--tc-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.tc-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.tc-sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--tc-dark);
    border-right: 1px solid var(--tc-border);
    padding: 24px 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.tc-sidebar-search {
    padding: 0 20px 20px;
}

.tc-sidebar-search input {
    width: 100%;
    background: var(--tc-gray);
    border: 1px solid var(--tc-border);
    color: var(--tc-text);
    padding: 10px 14px 10px 36px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.tc-sidebar-search input:focus {
    border-color: var(--tc-red);
}

.tc-sidebar-search input::placeholder {
    color: var(--tc-text-dim);
}

.tc-sidebar-search-wrap {
    position: relative;
}

.tc-sidebar-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tc-text-dim);
    font-size: 14px;
}

.tc-sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tc-sidebar-section {
    margin-bottom: 8px;
}

.tc-sidebar-section-title {
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--tc-text-muted);
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
}

.tc-sidebar-section-title:hover {
    color: var(--tc-red);
}

.tc-sidebar-section-title i {
    font-size: 10px;
    transition: transform 0.2s;
}

.tc-sidebar-section.open .tc-sidebar-section-title i {
    transform: rotate(180deg);
}

.tc-sidebar-section-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tc-sidebar-section-links li {
    margin: 0;
}

.tc-sidebar-section-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 32px;
    color: var(--tc-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.tc-sidebar-section-links a:hover {
    color: var(--tc-text);
    background: rgba(255, 255, 255, 0.03);
}

.tc-sidebar-section-links a.active {
    color: var(--tc-red);
    background: rgba(255, 0, 0, 0.08);
    border-left-color: var(--tc-red);
}

.tc-sidebar-support {
    margin-top: 24px;
    padding: 20px;
    border-top: 1px solid var(--tc-border);
}

.tc-sidebar-support a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tc-text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 0;
    transition: color 0.2s;
}

.tc-sidebar-support a:hover {
    color: var(--tc-red);
}

/* Main content */
.tc-main {
    flex: 1;
    padding: 40px 48px 80px;
    max-width: 900px;
}

.tc-main h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tc-text);
    margin: 0 0 12px 0;
}

.tc-main .tc-subtitle {
    font-size: 1.1rem;
    color: var(--tc-text-muted);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.tc-main h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--tc-red);
    margin: 32px 0 16px 0;
}

.tc-main h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tc-text);
    margin: 24px 0 10px 0;
}

.tc-main p {
    color: var(--tc-text-muted);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.tc-main ul {
    color: var(--tc-text-muted);
    line-height: 1.8;
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.tc-main li {
    margin-bottom: 6px;
}

.tc-main code, .tc-main .tc-cmd {
    background: var(--tc-gray);
    color: var(--tc-red);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Boxes */
.tc-box {
    padding: 20px 24px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tc-box i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tc-box-warning {
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.tc-box-warning i {
    color: var(--tc-red);
}

.tc-box-tip {
    background: rgba(255, 0, 0, 0.06);
    border: 1px solid rgba(255, 0, 0, 0.15);
}

.tc-box-tip i {
    color: var(--tc-red);
}

.tc-box-info {
    background: var(--tc-gray);
    border: 1px solid var(--tc-border);
}

.tc-box-info i {
    color: var(--tc-red);
}

/* Buttons */
.tc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.tc-btn-primary {
    background: var(--tc-red);
    color: var(--tc-text);
}

.tc-btn-primary:hover {
    background: var(--tc-red-dark);
    transform: translateY(-1px);
}

.tc-btn-secondary {
    background: var(--tc-gray-mid);
    color: var(--tc-text);
    border: 1px solid var(--tc-border);
}

.tc-btn-secondary:hover {
    border-color: var(--tc-red);
    color: var(--tc-red);
}

.tc-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Command table */
.tc-cmd-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.tc-cmd-table th,
.tc-cmd-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--tc-border);
}

.tc-cmd-table th {
    font-size: 12px;
    font-weight: 700;
    color: var(--tc-text-muted);
    text-transform: uppercase;
}

.tc-cmd-table td {
    color: var(--tc-text-muted);
}

.tc-cmd-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.tc-cmd-table .tc-cmd {
    background: transparent;
    padding: 0;
}

.tc-cmd-section {
    margin: 32px 0;
}

.tc-cmd-section h3 {
    font-size: 1rem;
    color: var(--tc-red);
    margin-bottom: 12px;
}

/* Tutorial cards (listing grid) */
.tc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.tc-card {
    background: var(--tc-dark);
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.tc-card:hover {
    border-color: var(--tc-red);
    box-shadow: 0 4px 24px rgba(255, 0, 0, 0.1);
}

.tc-card-thumb {
    width: 100%;
    height: 180px;
    background: var(--tc-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--tc-red);
    opacity: 0.6;
}

.tc-card-body {
    padding: 24px;
}

.tc-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tc-text);
    margin: 0 0 8px 0;
}

.tc-card-badge {
    font-size: 12px;
    color: var(--tc-text-dim);
    margin-bottom: 12px;
}

/* Bot panel mockup */
.tc-panel-mock {
    background: var(--tc-gray);
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    padding: 32px;
    margin: 24px 0;
}

.tc-panel-mock h4 {
    font-size: 1.1rem;
    color: var(--tc-text);
    margin: 0 0 8px 0;
}

.tc-panel-mock p {
    color: var(--tc-text-muted);
    font-size: 14px;
    margin: 0 0 24px 0;
}

.tc-panel-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-panel-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--tc-dark);
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    color: var(--tc-text);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tc-panel-btn:hover {
    border-color: var(--tc-red);
}

.tc-panel-btn i {
    color: var(--tc-red);
}

/* Numbered list */
.tc-steps {
    counter-reset: step;
}

.tc-steps > div {
    margin-bottom: 28px;
    padding-left: 48px;
    position: relative;
}

.tc-steps > div::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--tc-red);
    color: var(--tc-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.tc-steps h3 {
    margin-top: 0;
}

/* Video section */
.tc-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.tc-video-card {
    background: var(--tc-dark);
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    overflow: hidden;
}

.tc-video-thumb {
    height: 160px;
    background: var(--tc-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--tc-red);
    opacity: 0.5;
}

.tc-video-title {
    padding: 16px;
    font-size: 14px;
    color: var(--tc-text);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .tc-sidebar { display: none; }
}
