/* Estilos para páginas de curso */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-content h1 {
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.page-content h2 {
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* BLOCOS - Destaque visual */
.course-block {
    background: #f8f9ff;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.course-block .block-title {
    color: #667eea;
    font-size: 22px;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

.tab-title {
    color: #764ba2;
    font-size: 18px;
    margin: 20px 0 15px 0;
    font-weight: 600;
}

/* TABS - Separação clara */
.tab-content {
    background: white;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.tab-content h2 {
    color: #764ba2;
    margin-top: 0;
    border-bottom: 2px solid #764ba2;
    padding-bottom: 10px;
}

.page-content h3 {
    color: #764ba2;
    margin-top: 25px;
    margin-bottom: 12px;
}

.page-content p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.page-content strong {
    color: #2c3e50;
}

.page-content ul,
.page-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.page-content .tip {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.page-content .tip:before {
    content: "💡 Dica: ";
    font-weight: bold;
    color: #1976D2;
}

.page-content .warning {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.page-content .warning:before {
    content: "⚠️ Atenção: ";
    font-weight: bold;
    color: #e65100;
}

.page-content hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .page-content {
        padding: 15px;
    }
    
    .page-content h1 {
        font-size: 24px;
    }
    
    .page-content h2 {
        font-size: 20px;
    }
    
    .course-block {
        padding: 15px;
    }
}

/* ========================================
   TERMINAL ESTILO DEV (DARK THEME)
   ======================================== */

.aicourse-content-box {
    position: relative;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.aicourse-content-box-header {
    background: #2d2d30;
    border-bottom: 1px solid #3e3e42;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aicourse-content-label {
    font-size: 11px;
    font-weight: 600;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.aicourse-btn-copy {
    background: #0e639c;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aicourse-btn-copy:hover {
    background: #1177bb;
}

.aicourse-btn-copy:active {
    background: #0d5a8f;
}

.aicourse-btn-copy.copied {
    background: #16825d;
}

.aicourse-content-inner {
    padding: 20px;
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
    line-height: 1.6;
    color: #d4d4d4;
    font-size: 14px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    background: #1e1e1e;
}

/* Scrollbar customizada escura */
.aicourse-content-inner::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.aicourse-content-inner::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.aicourse-content-inner::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 6px;
    border: 2px solid #1e1e1e;
}

.aicourse-content-inner::-webkit-scrollbar-thumb:hover {
    background: #4e4e4e;
}

/* Seleção de texto no terminal */
.aicourse-content-inner::selection {
    background: #264f78;
    color: #ffffff;
}

.aicourse-content-inner::-moz-selection {
    background: #264f78;
    color: #ffffff;
}
